variables.h
changeset 4261 2ec8f5a9747b
parent 4253 6fadea8a8043
child 4285 72b3f7d6c891
equal deleted inserted replaced
4260:8a9824f6e501 4261:2ec8f5a9747b
    36 /* These are the default options for a new game */
    36 /* These are the default options for a new game */
    37 VARDEF GameOptions _opt_newgame;
    37 VARDEF GameOptions _opt_newgame;
    38 
    38 
    39 // Pointer to one of the two _opt OR _opt_newgame structs
    39 // Pointer to one of the two _opt OR _opt_newgame structs
    40 VARDEF GameOptions *_opt_ptr;
    40 VARDEF GameOptions *_opt_ptr;
    41 
       
    42 // Current date
       
    43 VARDEF uint16 _date;
       
    44 VARDEF uint16 _date_fract;
       
    45 
    41 
    46 // Amount of game ticks
    42 // Amount of game ticks
    47 VARDEF uint16 _tick_counter;
    43 VARDEF uint16 _tick_counter;
    48 
    44 
    49 // This one is not used anymore.
    45 // This one is not used anymore.
   255 
   251 
   256 // NOSAVE: Used in palette animations only, not really important.
   252 // NOSAVE: Used in palette animations only, not really important.
   257 VARDEF int _timer_counter;
   253 VARDEF int _timer_counter;
   258 
   254 
   259 
   255 
   260 // NOSAVE: can be determined from _date
       
   261 VARDEF byte _cur_year;
       
   262 VARDEF byte _cur_month;
       
   263 
       
   264 VARDEF uint32 _frame_counter;
   256 VARDEF uint32 _frame_counter;
   265 
   257 
   266 VARDEF bool _is_old_ai_player; // current player is an oldAI player? (enables a lot of cheats..)
   258 VARDEF bool _is_old_ai_player; // current player is an oldAI player? (enables a lot of cheats..)
   267 
   259 
   268 VARDEF bool _do_autosave;
   260 VARDEF bool _do_autosave;