ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/patches/objt.h
(Generate patch)

Comparing Daodan/src/patches/objt.h (file contents):
Revision 984 by alloc, Sun Mar 16 23:35:10 2014 UTC vs.
Revision 985 by alloc, Mon Mar 17 02:08:55 2014 UTC

# Line 4 | Line 4
4   #define M3cNumBoundingPoints 8// Do not change without changing references below
5   #define M3cNumBoundingFaces 6// Do not change without changing references below
6  
7 #define MUmVector_Add(dst, srca, srcb)\
8        do {(dst).x = (srca).x + (srcb).x;\
9        (dst).y = (srca).y + (srcb).y;\
10        (dst).z = (srca).z + (srcb).z; } while (0)
11
12 #define MUmVector_Scale(vec,s)\
13        do {(vec).x*=(s); \
14        (vec).y*=(s); \
15        (vec).z*=(s); } while (0)
16
7   typedef struct M3tPoint3D
8   {
9          float x;
# Line 77 | Line 67 | typedef struct OBJtOSD_TriggerVolume
67          char inside_script[SLcScript_MaxNameLength];
68          char exit_script[SLcScript_MaxNameLength];
69  
70 <        char note[OBJcMaxNoteChars + 1];
70 >        // TODO: +1 in orig, why do we have to shift here?
71 >        char note[OBJcMaxNoteChars + 2];
72  
73          M3tPoint3D scale;
74          int32_t id;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)