mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Bugfix: No we have the working "AI Viewer". The needed files are already in SVN GameDir.
To use the AI Viewer build a Debug Version, go to the Strategy Screen and press F12 (thx to Heinz for support) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2589 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -398,8 +398,9 @@ BOOLEAN CreateAIViewer()
|
||||
AddTextInputField( 10, VIEWER_BOTTOM + 90, 25, 15, MSYS_PRIORITY_NORMAL, str, 2, INPUTTYPE_NUMERICSTRICT );
|
||||
|
||||
//Press buttons in based on current settings
|
||||
Assert( gGameOptions.ubDifficultyLevel >= DIF_LEVEL_EASY && gGameOptions.ubDifficultyLevel <= DIF_LEVEL_HARD );
|
||||
ButtonList[ iViewerButton[ RESET_EASY + gGameOptions.ubDifficultyLevel - DIF_LEVEL_EASY ] ]->uiFlags |= BUTTON_CLICKED_ON;
|
||||
if (gGameOptions.ubDifficultyLevel >= DIF_LEVEL_EASY && gGameOptions.ubDifficultyLevel <= DIF_LEVEL_HARD)
|
||||
ButtonList[ iViewerButton[ RESET_EASY + gGameOptions.ubDifficultyLevel - DIF_LEVEL_EASY ] ]->uiFlags |= BUTTON_CLICKED_ON;
|
||||
|
||||
ButtonList[ iViewerButton[ COMPRESSION0 ] ]->uiFlags |= BUTTON_CLICKED_ON;
|
||||
if( !GamePaused() )
|
||||
SetGameMinutesPerSecond( 0 );
|
||||
|
||||
Reference in New Issue
Block a user