# variables.h

Go to the documentation of this file.

    00001 /* $Id$ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
    00006  * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    00007  * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
    00008  */
    00009
    00012 #ifndef VARIABLES_H
    00013 #define VARIABLES_H
    00014
    00015 #ifndef VARDEF
    00016 #define VARDEF extern
    00017 #endif
    00018
    00019 /* Amount of game ticks */
    00020 VARDEF uint16 _tick_counter;
    00021
    00022 /* Also save scrollpos_x, scrollpos_y and zoom */
    00023 VARDEF uint16 _disaster_delay;
    00024
    00025 /* Determines how often to run the tree loop */
    00026 VARDEF byte _trees_tick_ctr;
    00027
    00028 /* NOSAVE: Used in palette animations only, not really important. */
    00029 VARDEF int _palette_animation_counter;
    00030
    00031 VARDEF uint32 _realtime_tick;
    00032
    00033 VARDEF bool _do_autosave;
    00034
    00035 VARDEF byte _display_opt;
    00036
    00037 VARDEF bool _rightclick_emulate;
    00038
    00039 /* IN/OUT parameters to commands */
    00040 VARDEF bool _generating_world;
    00041
    00042 VARDEF char *_config_file;
    00043 VARDEF char *_highscore_file;
    00044 VARDEF char *_log_file;
    00045
    00046 /* landscape.cpp */
    00047 extern const byte _tileh_to_sprite[32];
    00048
    00049 /* Forking stuff */
    00050 VARDEF bool _dedicated_forks;
    00051
    00052 #endif /* VARIABLES_H */