shithub: duke3d

Download patch

ref: 655efea65ce66230dd62ce1a9bfcec22ba276f35
parent: f6d4da9935ec70a03a5721a419bc06c955a670ce
author: unknown <fabien@fabien-PC.(none)>
date: Wed Dec 12 19:25:40 EST 2012

Added .gitignore filters. Added comment in a.c

--- a/.gitignore
+++ b/.gitignore
@@ -11,4 +11,4 @@
 *.opensdf
 DebugVC7
 bin
-vcxproj.user
+*vcxproj.user
--- a/Engine/src/a.c
+++ b/Engine/src/a.c
@@ -10,6 +10,13 @@
 #include "platform.h"
 #include "build.h"
 
+//FCS: In order to see how the engine renders different part of the screen you can set the following macros
+//VISUALIZE RENDERER
+#define RENDER_DRAW_WALL_BORDERS 1
+#define RENDER_DRAW_WALL_INSIDE 1
+#define RENDER_DRAW_CEILING_AND_FLOOR 1
+//END VISUALIZE RENDERER
+
 #define shrd(a,b,c) (((b)<<(32-(c))) | ((a)>>(c)))
 #define shld(a,b,c) (((b)>>(32-(c))) | ((a)<<(c)))
 
@@ -220,9 +227,7 @@
 	    temp = ((unsigned)vplce) >> mach3_al;
         
 	    temp = ((unsigned char *)bufplce)[temp];
-        //temp = ((unsigned int *)bufplce)[temp];
-        
-    //    if (dest < (get_framebuffer()+(640*480)))
+      
         *dest = ((unsigned char*)palookupoffse)[temp];
 	    vplce += vince;
 	    dest += fixchain;