Mercurial > hg > openttd
view src/variables.h @ 15524:8a62b32c0c17 draft
(svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use VARDEF and put them in a more logical location
author | rubidium <rubidium@openttd.org> |
---|---|
date | Mon, 19 Jul 2010 15:44:49 +0000 |
parents | bc7926153e19 |
children | b4110108e039 |
line wrap: on
line source
/* $Id$ */ /* * This file is part of OpenTTD. * 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. * 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. * 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/>. */ /** @file variables.h Messing file that will cease to exist some time in the future. */ #ifndef VARIABLES_H #define VARIABLES_H #ifndef VARDEF #define VARDEF extern #endif /* Amount of game ticks */ VARDEF uint16 _tick_counter; /* Also save scrollpos_x, scrollpos_y and zoom */ VARDEF uint16 _disaster_delay; /* Determines how often to run the tree loop */ VARDEF byte _trees_tick_ctr; /* NOSAVE: Used in palette animations only, not really important. */ VARDEF int _palette_animation_counter; VARDEF uint32 _realtime_tick; VARDEF byte _display_opt; VARDEF bool _rightclick_emulate; /* IN/OUT parameters to commands */ VARDEF bool _generating_world; VARDEF char *_config_file; VARDEF char *_highscore_file; VARDEF char *_log_file; /* landscape.cpp */ extern const byte _tileh_to_sprite[32]; #endif /* VARIABLES_H */