diff options
Diffstat (limited to 'sky/struc.h')
-rw-r--r-- | sky/struc.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sky/struc.h b/sky/struc.h index 85ae3b685a..c348bf5562 100644 --- a/sky/struc.h +++ b/sky/struc.h @@ -48,6 +48,12 @@ struct dataFileHeader { uint16 s_compressed_size; }; +struct GrafixPtr { // replacement for old grafixProg pointer. More savegame compatible. + uint8 ptrType; // ptr to autoroute / to compact / to turntable + uint16 ptrTarget; // compact / turntable number + uint16 pos; // position +}; + struct TurnTable { uint16 *turnTableUp[5]; uint16 *turnTableDown[5]; @@ -106,7 +112,7 @@ struct ExtCompact { uint16 arTargetX; uint16 arTargetY; - void *animScratch; // data area for AR + uint16 *animScratch; // data area for AR uint16 megaSet; MegaSet *megaSet0; @@ -147,7 +153,7 @@ struct Compact { uint16 flag; // a use any time flag uint16 mood; // high level - stood or not - uint16 *grafixProg; + GrafixPtr grafixProg; uint16 offset; uint16 mode; // which mcode block |