diff options
author | Strangerke | 2016-09-04 08:47:13 +0200 |
---|---|---|
committer | Strangerke | 2016-09-04 08:47:13 +0200 |
commit | 4eeeea2c8d8cacbc52da370a54021913dcd37e0f (patch) | |
tree | 9f21c135ff757a094e7259efe7504d9caa65276f /engines/dm/menus.h | |
parent | ef144e1e8b90badc0bbbe2e7b624fd4ac08c7bc6 (diff) | |
download | scummvm-rg350-4eeeea2c8d8cacbc52da370a54021913dcd37e0f.tar.gz scummvm-rg350-4eeeea2c8d8cacbc52da370a54021913dcd37e0f.tar.bz2 scummvm-rg350-4eeeea2c8d8cacbc52da370a54021913dcd37e0f.zip |
DM: Refactoring, enforce the use of ChampionIndex
Diffstat (limited to 'engines/dm/menus.h')
-rw-r--r-- | engines/dm/menus.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/dm/menus.h b/engines/dm/menus.h index 1d37651bf8..ab6e00269a 100644 --- a/engines/dm/menus.h +++ b/engines/dm/menus.h @@ -36,6 +36,8 @@ namespace DM { #define kM1_damageCantReach -1 // @ CM1_DAMAGE_CANT_REACH #define kM2_damageNoAmmunition -2 // @ CM2_DAMAGE_NO_AMMUNITION +#define k2_SpellAreaAvailableSymbols 2 // @ C2_SPELL_AREA_AVAILABLE_SYMBOLS +#define k3_SpellAreaChampionSymbols 3 // @ C3_SPELL_AREA_CHAMPION_SYMBOLS #define k0x8000_hitNonMaterialCreatures 0x8000 // @ MASK0x8000_HIT_NON_MATERIAL_CREATURES @@ -90,7 +92,7 @@ public: const char *getActionName(ChampionAction actionIndex); // @ F0384_MENUS_GetActionName void drawSpellAreaControls(ChampionIndex champIndex); // @ F0393_MENUS_DrawSpellAreaControls void buildSpellAreaLine(int16 spellAreaBitmapLine);// @ F0392_MENUS_BuildSpellAreaLine - void setMagicCasterAndDrawSpellArea(int16 champIndex); // @ F0394_MENUS_SetMagicCasterAndDrawSpellArea + void setMagicCasterAndDrawSpellArea(ChampionIndex champIndex); // @ F0394_MENUS_SetMagicCasterAndDrawSpellArea void drawEnabledMenus(); // @ F0457_START_DrawEnabledMenus_CPSF int16 getClickOnSpellCastResult(); // @ F0408_MENUS_GetClickOnSpellCastResult int16 getChampionSpellCastResult(uint16 champIndex); // @ F0412_MENUS_GetChampionSpellCastResult |