tron@2186: /* $Id$ */ tron@2186: rubidium@10455: /** @file variables.h Messing file that will cease to exist some time in the future. */ glx@9574: truelight@0: #ifndef VARIABLES_H truelight@0: #define VARIABLES_H truelight@0: glx@9574: /* Amount of game ticks */ truelight@0: VARDEF uint16 _tick_counter; truelight@0: glx@9574: /* Skip aging of cargo? */ truelight@0: VARDEF byte _age_cargo_skip_counter; truelight@0: glx@9574: /* Also save scrollpos_x, scrollpos_y and zoom */ truelight@0: VARDEF uint16 _disaster_delay; truelight@0: glx@9574: /* Determines what station to operate on in the glx@9574: * tick handler. */ truelight@0: VARDEF uint16 _station_tick_ctr; truelight@0: glx@9574: /* Iterator through all towns in OnTick_Town */ pasky@1517: VARDEF uint32 _cur_town_ctr; glx@9574: /* Frequency iterator at the same place */ pasky@1529: VARDEF uint32 _cur_town_iter; truelight@0: truelight@0: VARDEF uint _cur_player_tick_index; truelight@0: VARDEF uint _next_competitor_start; truelight@0: glx@9574: /* Determines how often to run the tree loop */ truelight@0: VARDEF byte _trees_tick_ctr; truelight@0: glx@9574: /* Keep track of current game position */ truelight@0: VARDEF int _saved_scrollpos_x; truelight@0: VARDEF int _saved_scrollpos_y; truelight@0: glx@9574: /* NOSAVE: Used in palette animations only, not really important. */ glx@9629: VARDEF int _palette_animation_counter; truelight@0: truelight@0: signde@206: VARDEF uint32 _frame_counter; glx@9629: VARDEF uint32 _realtime_tick; truelight@0: truelight@0: VARDEF bool _do_autosave; truelight@0: VARDEF int _autosave_ctr; truelight@0: truelight@0: VARDEF byte _display_opt; truelight@0: VARDEF int _caret_timer; truelight@0: truelight@0: VARDEF bool _rightclick_emulate; truelight@0: glx@9574: /* IN/OUT parameters to commands */ truelight@0: VARDEF bool _generating_world; truelight@0: glx@9574: /* Used when switching from the intro menu. */ truelight@0: VARDEF byte _switch_mode; truelight@0: truelight@0: VARDEF char _savegame_format[8]; truelight@0: truelight@0: VARDEF char *_config_file; darkvater@983: VARDEF char *_highscore_file; truelight@704: VARDEF char *_log_file; truelight@0: glx@9574: /* landscape.cpp */ truelight@0: extern const byte _tileh_to_sprite[32]; truelight@0: truelight@0: /* misc */ truelight@0: VARDEF char _screenshot_name[128]; truelight@0: VARDEF byte _vehicle_design_names; truelight@0: truelight@704: /* Forking stuff */ truelight@704: VARDEF bool _dedicated_forks; truelight@704: truelight@0: #endif /* VARIABLES_H */