mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7786 3b4a5df2-a311-0410-b5c6-a8a6f20db521
45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
#ifndef _CHEATS__H_
|
|
#define _CHEATS__H_
|
|
|
|
#include "Language Defines.h"
|
|
|
|
|
|
extern UINT8 gubCheatLevel;
|
|
|
|
|
|
|
|
|
|
// GLOBALS FOR CHEAT MODE......
|
|
#ifdef GERMAN
|
|
#ifdef JA2TESTVERSION
|
|
#define STARTING_CHEAT_LEVEL 7
|
|
#elif defined JA2BETAVERSION
|
|
#define STARTING_CHEAT_LEVEL 5
|
|
#else
|
|
#define STARTING_CHEAT_LEVEL 0
|
|
#endif
|
|
#else
|
|
#ifdef JA2TESTVERSION
|
|
#define STARTING_CHEAT_LEVEL 6
|
|
#elif defined JA2BETAVERSION
|
|
#define STARTING_CHEAT_LEVEL 3
|
|
#else
|
|
#define STARTING_CHEAT_LEVEL 0
|
|
#endif
|
|
#endif
|
|
|
|
|
|
// ATE: remove cheats unless we're doing a debug build
|
|
//#ifdef JA2TESTVERSION
|
|
#define INFORMATION_CHEAT_LEVEL( ) ( gubCheatLevel >= 3 )
|
|
#define CHEATER_CHEAT_LEVEL( ) ( gubCheatLevel >= 5 )
|
|
#define DEBUG_CHEAT_LEVEL( ) ( gubCheatLevel >= 6 )
|
|
//#else
|
|
// #define INFORMATION_CHEAT_LEVEL( ) ( FALSE )
|
|
// #define CHEATER_CHEAT_LEVEL( ) ( FALSE )
|
|
// #define DEBUG_CHEAT_LEVEL( ) ( FALSE )
|
|
//#endif
|
|
|
|
#define RESET_CHEAT_LEVEL( ) ( gubCheatLevel = 0 )
|
|
|
|
#endif |