]> git.pld-linux.org Git - packages/d2x-xl.git/blobdiff - d2x-xl-byte.patch
- add byte type
[packages/d2x-xl.git] / d2x-xl-byte.patch
diff --git a/d2x-xl-byte.patch b/d2x-xl-byte.patch
new file mode 100644 (file)
index 0000000..2d19992
--- /dev/null
@@ -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};
This page took 0.160719 seconds and 4 git commands to generate.