Documented bit 2 of g_GameFlags
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
ac5439cdf5
commit
63a8385c54
2 changed files with 19 additions and 2 deletions
|
@ -479,7 +479,7 @@ int CampLoop()
|
|||
|
||||
if (gCampActive)
|
||||
{
|
||||
if (g_GameFlags & 2 && gKeyTrg & (gKeyCancel | gKeyItem))
|
||||
if (g_GameFlags & GAME_FLAG_IS_CONTROL_ENABLED && gKeyTrg & (gKeyCancel | gKeyItem))
|
||||
{
|
||||
StopTextScript();
|
||||
break;
|
||||
|
|
19
src/Game.h
19
src/Game.h
|
@ -5,7 +5,24 @@
|
|||
enum GameFlagsValues
|
||||
{
|
||||
// To be continued
|
||||
GAME_FLAG_IS_CONTROL_ENABLED = 2, // Idk tbh
|
||||
|
||||
/**
|
||||
* While this bit is set, the game will :
|
||||
* - Disable manual movement of the character
|
||||
* - Disable shooting bullets
|
||||
* - Disable shooting Curly's nemesis
|
||||
* - Disable changing weapons
|
||||
* - Disable speeding up the display of text in TSC scripts
|
||||
* - Disable damage of the character
|
||||
* - Not display the HUD (Life, EXP, air, weapons)
|
||||
* - Disable animation of the character
|
||||
* - Disable movement of the inventory cursor
|
||||
* - Disable getting out of the inventory while on the item section
|
||||
* - Create a bullet if some other conditions are fullfilled while iterating over the stars in ActStar (If you have any idea of how that actually works, you may
|
||||
* want to replace this line with a better explanation)
|
||||
*/
|
||||
GAME_FLAG_IS_CONTROL_ENABLED = 2,
|
||||
|
||||
// To be continued
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue