variables.h

Go to the documentation of this file.
00001 /* $Id: variables.h 16355 2009-05-18 20:17:28Z rubidium $ */
00002 
00005 #ifndef VARIABLES_H
00006 #define VARIABLES_H
00007 
00008 #ifndef VARDEF
00009 #define VARDEF extern
00010 #endif
00011 
00012 /* Amount of game ticks */
00013 VARDEF uint16 _tick_counter;
00014 
00015 /* Skip aging of cargo? */
00016 VARDEF byte _age_cargo_skip_counter;
00017 
00018 /* Also save scrollpos_x, scrollpos_y and zoom */
00019 VARDEF uint16 _disaster_delay;
00020 
00021 /* Determines how often to run the tree loop */
00022 VARDEF byte _trees_tick_ctr;
00023 
00024 /* NOSAVE: Used in palette animations only, not really important. */
00025 VARDEF int _palette_animation_counter;
00026 
00027 VARDEF uint32 _realtime_tick;
00028 
00029 VARDEF bool _do_autosave;
00030 VARDEF int _autosave_ctr;
00031 
00032 VARDEF byte _display_opt;
00033 
00034 VARDEF bool _rightclick_emulate;
00035 
00036 /* IN/OUT parameters to commands */
00037 VARDEF bool _generating_world;
00038 
00039 VARDEF char *_config_file;
00040 VARDEF char *_highscore_file;
00041 VARDEF char *_log_file;
00042 
00043 /* landscape.cpp */
00044 extern const byte _tileh_to_sprite[32];
00045 
00046 /* Forking stuff */
00047 VARDEF bool _dedicated_forks;
00048 
00049 #endif /* VARIABLES_H */

Generated on Thu Sep 24 19:35:07 2009 for OpenTTD by  doxygen 1.5.6