OpenTTD
game.h
Go to the documentation of this file.
1 /* $Id: game.h 17699 2009-10-04 20:00:56Z rubidium $ */
2 
3 /*
4  * This file is part of OpenTTD.
5  * 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.
6  * 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.
7  * 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/>.
8  */
9 
15 #ifndef NETWORK_CORE_GAME_H
16 #define NETWORK_CORE_GAME_H
17 
18 #include "config.h"
19 #include "../../newgrf_config.h"
20 #include "../../date_type.h"
21 
22 #ifdef ENABLE_NETWORK
23 
30  byte clients_on;
31 };
32 
40  uint16 map_width;
41  uint16 map_height;
45  bool dedicated;
47  bool compatible;
48  bool use_password;
50  byte server_lang;
51  byte clients_max;
52  byte companies_on;
56  byte map_set;
57 };
58 
59 #endif /* ENABLE_NETWORK */
60 
61 #endif /* NETWORK_CORE_GAME_H */