File diff r2153:b45e3461c6c4 → r2154:83cf5a3d6634
variables.h
Show inline comments
 
#ifndef VARIABLES_H
 
#define VARIABLES_H
 

	
 
#include "player.h"
 

	
 
// ********* START OF SAVE REGION
 
#if !defined(MAX_PATH)
 
# define MAX_PATH 260
 
#endif
 

	
 
// Prices and also the fractional part.
 
@@ -262,15 +260,12 @@ VARDEF int _timer_counter;
 

	
 

	
 
// NOSAVE: can be determined from _date
 
VARDEF byte _cur_year;
 
VARDEF byte _cur_month;
 

	
 
// NOSAVE: can be determined from player structs
 
VARDEF byte _player_colors[MAX_PLAYERS];
 

	
 
VARDEF bool _in_state_game_loop;
 
VARDEF uint32 _frame_counter;
 

	
 
VARDEF bool _is_ai_player; // current player is an AI player? - Can be removed if new AI is done
 

	
 
VARDEF bool _do_autosave;
 
@@ -286,13 +281,12 @@ VARDEF byte _game_mode;
 

	
 
VARDEF StringID _error_message;
 
VARDEF StringID _error_message_2;
 
VARDEF int32 _additional_cash_required;
 

	
 
VARDEF uint32 _decode_parameters[20];
 
VARDEF PlayerID _current_player;
 

	
 
VARDEF int _docommand_recursive;
 

	
 
VARDEF uint32 _pressed_key; // Low 8 bits = ASCII, High 16 bits = keycode
 
VARDEF bool _ctrl_pressed;  // Is Ctrl pressed?
 
VARDEF bool _shift_pressed;  // Is Alt pressed?