packages: d2x-xl/d2x-xl-byte.patch (NEW) - add byte type

lisu lisu at pld-linux.org
Mon Oct 4 13:55:50 CEST 2010


Author: lisu                         Date: Mon Oct  4 11:55:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add byte type

---- Files affected:
packages/d2x-xl:
   d2x-xl-byte.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/d2x-xl/d2x-xl-byte.patch
diff -u /dev/null packages/d2x-xl/d2x-xl-byte.patch:1.1
--- /dev/null	Mon Oct  4 13:55:50 2010
+++ packages/d2x-xl/d2x-xl-byte.patch	Mon Oct  4 13:55:45 2010
@@ -0,0 +1,11 @@
+--- d2x-xl/main/segment.cpp~	2010-10-04 13:26:58.936847667 +0200
++++ d2x-xl/main/segment.cpp	2010-10-04 13:40:32.053514333 +0200
+@@ -13,6 +13,8 @@
+ #include "segmath.h"
+ #include "text.h"
+ 
++typedef unsigned char byte;
++
+ // Number of vertices in current mine (ie, gameData.segs.vertices, pointed to by Vp)
+ //	Translate table to get opposite CSide of a face on a CSegment.
+ char	sideOpposite [MAX_SIDES_PER_SEGMENT] = {WRIGHT, WBOTTOM, WLEFT, WTOP, WFRONT, WBACK};
================================================================


More information about the pld-cvs-commit mailing list