Ticket #1700: sky-pack.diff

File sky-pack.diff, 760 bytes (added by eriktorbjorn, 16 years ago)

Trivial patch against a September 15 CVS snapshot

  • sky/struc.h

    diff -ur --exclude=CVS ScummVM/sky/struc.h ScummVM+hack/sky/struc.h
    old new  
    3434        uint32 textWidth;
    3535};
    3636
     37#if !defined(__GNUC__)
     38#pragma START_PACK_STRUCTS
     39#endif
     40
    3741struct dataFileHeader {
    3842        uint16 flag; // bit 0: set for colour data, clear for not
    3943        // bit 1: set for compressed, clear for uncompressed
     
    4852        int16 s_offset_x;
    4953        int16 s_offset_y;
    5054        uint16 s_compressed_size;
    51 };
     55} GCC_PACK;
     56
     57#if !defined(__GNUC__)
     58#pragma END_PACK_STRUCTS
     59#endif
    5260
    5361struct GrafixPtr { // replacement for old grafixProg pointer. More savegame compatible.
    5462        uint8 ptrType; // ptr to autoroute / to compact / to turntable