Thread: PoS zout
View Single Post
  #10  
Old 11-03-2006, 11:37 AM
LostZaphod
Sarnak
 
Join Date: May 2006
Posts: 43
Default harbingers

Ok I got azone_eqg to run on windows. Using the debugger,
I have found that harbingers and others, have an issue related to polygons.
I am still looking at the buffer offsets, it may be in the wrong location within
the file or the structure used is the wrong length...

Here is a comparison of harbingers and wallofslaughter (I know the values should
be different, but they should be close not miles away)

This line is from ter.cpp and copies data from the buffer into the polygon struct,
the bottom line is harbingers, does not have correct data, where the buffer is pointed.
(about line 110, I have been cleaning up the code, so your mileage may vary)
ttri = (ter_triangle *) buffer;

in WOS
ttri
+ v1 = 0
+ v2 = 1
+ v3 = 2
+group = 6
+unk = 65536

in HAR
ttri
+ v1 = -1089951531
+ v2 = 1050283546
+ v3 = -1089728055
+group = 1050291257
+unk = -1089958747
Reply With Quote