- Multiplayer Improvements:

o Disabled a few ingame options, that does not work correctly with multiplayer. The user cannot enable those options.
-> TOPTION_ALLOW_REAL_TIME_SNEAK
-> TOPTION_ALLOW_CROWS
-> TOPTION_ALLOW_SOLDIER_TOOLTIPS
-> TOPTION_USE_AUTO_SAVE
-> TOPTION_TOGGLE_TURN_MODE
-> TOPTION_USE_NCTH
o When the server enters the strategy map, the airspace view is shown together with an info message how to switch sectors

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4738 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2011-10-24 10:24:00 +00:00
parent fbf7b14cf7
commit 084da4e980
14 changed files with 197 additions and 138 deletions
+15 -3
View File
@@ -28,10 +28,10 @@
// Also include Town Militia for checks regarding Mobile Militia Restrictions
#include "Town Militia.h"
// Also include Quests, for checking whether a fact is true.
#include "Quests.h"
#include "Quests.h"
#endif
#include "connect.h"
@@ -1470,6 +1470,14 @@ void TurnOnAirSpaceMode( void )
JumpToLevel( 0 );
}
// WANNE: Output info text on the airspace for changing maps
if (is_server )
{
STR16 pwString = MPServerMessage[ 13 ];
MapScreenMessage( FONT_MCOLOR_LTYELLOW, MSG_MAP_UI_POSITION_MIDDLE, pwString );
}
// dirty regions
fMapPanelDirty = TRUE;
fTeamPanelDirty = TRUE;
@@ -1817,7 +1825,11 @@ void InitMapScreenFlags( void )
fShowTeamFlag = TRUE;
fShowMilitia = FALSE;
fShowAircraftFlag = FALSE;
if (is_networked && is_server)
fShowAircraftFlag = TRUE;
else
fShowAircraftFlag = FALSE;
fShowItemsFlag = FALSE;
// HEADROCK HAM 4: Militia Restrictions