# variables.h

Go to the documentation of this file.

    00001 /* $Id: variables.h 15412 2009-02-08 12:58:14Z peter1138 $ */
    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 what station to operate on in the
    00022  *  tick handler. */
    00023 VARDEF uint16 _station_tick_ctr;
    00024
    00025 /* Iterator through all towns in OnTick_Town */
    00026 VARDEF uint32 _cur_town_ctr;
    00027 /* Frequency iterator at the same place */
    00028 VARDEF uint32 _cur_town_iter;
    00029
    00030 VARDEF uint _cur_company_tick_index;
    00031 VARDEF uint _next_competitor_start;
    00032
    00033 /* Determines how often to run the tree loop */
    00034 VARDEF byte _trees_tick_ctr;
    00035
    00036 /* NOSAVE: Used in palette animations only, not really important. */
    00037 VARDEF int _palette_animation_counter;
    00038
    00039 VARDEF uint32 _realtime_tick;
    00040
    00041 VARDEF bool _do_autosave;
    00042 VARDEF int _autosave_ctr;
    00043
    00044 VARDEF byte _display_opt;
    00045 VARDEF int _caret_timer;
    00046
    00047 VARDEF bool _rightclick_emulate;
    00048
    00049 /* IN/OUT parameters to commands */
    00050 VARDEF bool _generating_world;
    00051
    00052 /* Used when switching from the intro menu. */
    00053 VARDEF byte _switch_mode;
    00054
    00055 VARDEF char _savegame_format[8];
    00056
    00057 VARDEF char *_config_file;
    00058 VARDEF char *_highscore_file;
    00059 VARDEF char *_log_file;
    00060
    00061 /* landscape.cpp */
    00062 extern const byte _tileh_to_sprite[32];
    00063
    00064 /* misc */
    00065 VARDEF char _screenshot_name[128];
    00066
    00067 /* Forking stuff */
    00068 VARDEF bool _dedicated_forks;
    00069
    00070 #endif /* VARIABLES_H */