# variables.h

Go to the documentation of this file.

    00001 /* $Id: variables.h 15584 2009-02-25 21:45:14Z yexo $ */
    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 /* 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 VARDEF int _autosave_ctr;
    00035
    00036 VARDEF byte _display_opt;
    00037
    00038 VARDEF bool _rightclick_emulate;
    00039
    00040 /* IN/OUT parameters to commands */
    00041 VARDEF bool _generating_world;
    00042
    00043 VARDEF char *_config_file;
    00044 VARDEF char *_highscore_file;
    00045 VARDEF char *_log_file;
    00046
    00047 /* landscape.cpp */
    00048 extern const byte _tileh_to_sprite[32];
    00049
    00050 /* Forking stuff */
    00051 VARDEF bool _dedicated_forks;
    00052
    00053 #endif /* VARIABLES_H */