Ignore:
Timestamp:
Nov 10, 2005, 9:41:13 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • absolute shitloads of 64 bit fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/extend.cpp

    r2 r17  
    44
    55  Simple object             (power ups, non-moving objects)
    6     long x,y;
    7     schar direction;
    8     ushort otype,state
    9     ushort current_frame;
     6    int32_t x,y;
     7    int8_t direction;
     8    uint16_t otype,state
     9    uint16_t current_frame;
    1010    extension *
    1111
    1212
    1313  Moving object             (simple lisp controlled characters)
    14      uchar flags;
    15      long xvel,yvel,xacel,yacel;
    16      uchar fx,fy,fxvel,fyvel,fxacel,fyacel,aitype;
    17      ushort aistate,aistate_time;
    18      unsigned short hp,mp,
     14     uint8_t flags;
     15     int32_t xvel,yvel,xacel,yacel;
     16     uint8_t fx,fy,fxvel,fyvel,fxacel,fyacel,aitype;
     17     uint16_t aistate,aistate_time;
     18     uint16_t hp,mp,
    1919     extension *
    2020
    2121
    2222  Complex objects          (can controll lights, other characters, and have a neural net ai)
    23     uchar tobjs,tlights;
     23    uint8_t tobjs,tlights;
    2424    object_list *                       
    2525    light_list *
    2626    nnet_info *
    27     schar fade_dir, frame_dir;       
    28     unsigned char fade_count,fade_max;
     27    int8_t fade_dir, frame_dir;       
     28    uint8_t fade_count,fade_max;
    2929    morph_char *morph_status;
    3030
Note: See TracChangeset for help on using the changeset viewer.