mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 23:50:25 +00:00
(svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpp
This commit is contained in:
parent
3bb872e7dd
commit
66a8c0a132
@ -36,7 +36,6 @@ bool _right_button_clicked; ///< Is right mouse button clicked?
|
|||||||
DrawPixelInfo _screen;
|
DrawPixelInfo _screen;
|
||||||
bool _screen_disable_anim = false; ///< Disable palette animation (important for 32bpp-anim blitter during giant screenshot)
|
bool _screen_disable_anim = false; ///< Disable palette animation (important for 32bpp-anim blitter during giant screenshot)
|
||||||
bool _exit_game;
|
bool _exit_game;
|
||||||
bool _networking; ///< are we in networking mode?
|
|
||||||
GameMode _game_mode;
|
GameMode _game_mode;
|
||||||
SwitchMode _switch_mode; ///< The next mainloop command.
|
SwitchMode _switch_mode; ///< The next mainloop command.
|
||||||
int8 _pause_game;
|
int8 _pause_game;
|
||||||
|
@ -43,6 +43,7 @@ DECLARE_POSTFIX_INCREMENT(ClientID);
|
|||||||
typedef ClientIndex NetworkClientInfoID;
|
typedef ClientIndex NetworkClientInfoID;
|
||||||
DEFINE_OLD_POOL_GENERIC(NetworkClientInfo, NetworkClientInfo);
|
DEFINE_OLD_POOL_GENERIC(NetworkClientInfo, NetworkClientInfo);
|
||||||
|
|
||||||
|
bool _networking; ///< are we in networking mode?
|
||||||
bool _network_server; ///< network-server is active
|
bool _network_server; ///< network-server is active
|
||||||
bool _network_available; ///< is network mode available?
|
bool _network_available; ///< is network mode available?
|
||||||
bool _network_dedicated; ///< are we a dedicated server?
|
bool _network_dedicated; ///< are we a dedicated server?
|
||||||
|
Loading…
Reference in New Issue
Block a user