mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
New Feature: Added up to 15 game difficulty settings (by Jazz)
- Externalized the difficulty setings to "TableData\DifficultySettings.xml" file - Some INI Settings (ja2_options.ini, CTHConstants.ini and Creature_Settings.ini) moved from INI file to this xml file - see #define DIFFICULTY_SETTING git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7447 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
#include "Strategic Status.h"
|
||||
#include "Morale.h"
|
||||
|
||||
#ifdef DIFFICULTY_SETTING
|
||||
#include "GameInitOptionsScreen.h"
|
||||
#endif
|
||||
|
||||
|
||||
#define GAME_INI_FILE "Ja2.ini"
|
||||
|
||||
@@ -185,6 +189,18 @@ enum
|
||||
DIF_LEVEL_HARD,
|
||||
DIF_LEVEL_INSANE,
|
||||
DIF_LEVEL_FIVE,
|
||||
#ifdef DIFFICULTY_SETTING
|
||||
DIF_LEVEL_6,
|
||||
DIF_LEVEL_7,
|
||||
DIF_LEVEL_8,
|
||||
DIF_LEVEL_9,
|
||||
DIF_LEVEL_10,
|
||||
DIF_LEVEL_11,
|
||||
DIF_LEVEL_12,
|
||||
DIF_LEVEL_13,
|
||||
DIF_LEVEL_14,
|
||||
DIF_LEVEL_15,
|
||||
#endif
|
||||
};
|
||||
|
||||
//Enums for the difficulty levels
|
||||
|
||||
Reference in New Issue
Block a user