Added new modes for get_game_mod to match Crafty's; implemented HookCalls function to reduce code duplication #66

This commit is contained in:
phobos2077
2017-03-26 19:41:04 +07:00
parent 945f4696d7
commit c32dc7664e
10 changed files with 127 additions and 75 deletions
+4
View File
@@ -14,6 +14,10 @@
#define INVENTORY (0x1000)
#define AUTOMAP (0x2000)
#define SKILLDEX (0x4000)
#define INTFACEUSE (0x8000)
#define INTFACELOOT (0x10000)
#define BARTER (0x20000)
#define HEROWIN (0x40000)
//Valid arguments to register_hook
#define HOOK_TOHIT (0)