2005-07-24 14:12:37 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
2009-08-21 20:21:05 +00:00
|
|
|
/*
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
2008-05-06 15:11:33 +00:00
|
|
|
/** @file variables.h Messing file that will cease to exist some time in the future. */
|
2007-04-04 04:08:47 +00:00
|
|
|
|
2004-08-09 17:04:08 +00:00
|
|
|
#ifndef VARIABLES_H
|
|
|
|
#define VARIABLES_H
|
|
|
|
|
2008-06-03 08:06:58 +00:00
|
|
|
#ifndef VARDEF
|
|
|
|
#define VARDEF extern
|
|
|
|
#endif
|
|
|
|
|
2007-04-04 04:08:47 +00:00
|
|
|
/* Amount of game ticks */
|
2004-08-09 17:04:08 +00:00
|
|
|
VARDEF uint16 _tick_counter;
|
|
|
|
|
2007-04-04 04:08:47 +00:00
|
|
|
/* Also save scrollpos_x, scrollpos_y and zoom */
|
2004-08-09 17:04:08 +00:00
|
|
|
VARDEF uint16 _disaster_delay;
|
|
|
|
|
2007-04-04 04:08:47 +00:00
|
|
|
/* Determines how often to run the tree loop */
|
2004-08-09 17:04:08 +00:00
|
|
|
VARDEF byte _trees_tick_ctr;
|
|
|
|
|
2007-04-04 04:08:47 +00:00
|
|
|
/* NOSAVE: Used in palette animations only, not really important. */
|
2007-06-22 20:04:21 +00:00
|
|
|
VARDEF int _palette_animation_counter;
|
2004-08-09 17:04:08 +00:00
|
|
|
|
2007-06-22 20:04:21 +00:00
|
|
|
VARDEF uint32 _realtime_tick;
|
2004-08-09 17:04:08 +00:00
|
|
|
|
|
|
|
VARDEF bool _do_autosave;
|
|
|
|
|
|
|
|
VARDEF byte _display_opt;
|
|
|
|
|
|
|
|
VARDEF bool _rightclick_emulate;
|
|
|
|
|
2007-04-04 04:08:47 +00:00
|
|
|
/* IN/OUT parameters to commands */
|
2004-08-09 17:04:08 +00:00
|
|
|
VARDEF bool _generating_world;
|
|
|
|
|
|
|
|
VARDEF char *_config_file;
|
2005-01-11 00:54:06 +00:00
|
|
|
VARDEF char *_highscore_file;
|
2004-12-18 14:19:21 +00:00
|
|
|
VARDEF char *_log_file;
|
2004-08-09 17:04:08 +00:00
|
|
|
|
2007-04-04 04:08:47 +00:00
|
|
|
/* landscape.cpp */
|
2004-08-09 17:04:08 +00:00
|
|
|
extern const byte _tileh_to_sprite[32];
|
|
|
|
|
2004-12-18 14:19:21 +00:00
|
|
|
/* Forking stuff */
|
|
|
|
VARDEF bool _dedicated_forks;
|
|
|
|
|
2004-08-09 17:04:08 +00:00
|
|
|
#endif /* VARIABLES_H */
|