ULTIMA8: Add targettedjump GUI option

This commit is contained in:
Matthew Jimenez 2021-02-07 14:51:29 -06:00
parent 185b614043
commit c846208992
2 changed files with 11 additions and 1 deletions

View File

@ -85,6 +85,15 @@ static const ADExtraGuiOptionsMap optionsList[] = {
true
}
},
{
GAMEOPTION_TARGETED_JUMP,
{
_s("Enable jump to mouse position"),
_s("Jumping while not moving targets the mouse cursor rather than direction only."),
"targetedjump",
true
}
},
AD_EXTRA_GUI_OPTIONS_TERMINATOR
};

View File

@ -26,8 +26,9 @@ namespace Ultima {
#define GAMEOPTION_FONT_OVERRIDE GUIO_GAMEOPTIONS2
#define GAMEOPTION_FONT_ANTIALIASING GUIO_GAMEOPTIONS3
#define GAMEOPTION_FOOTSTEPS GUIO_GAMEOPTIONS4
#define GAMEOPTION_TARGETED_JUMP GUIO_GAMEOPTIONS5
#define GUI_OPTIONS_ULTIMA8 GUIO5(GUIO_NOMIDI, GAMEOPTION_ORIGINAL_SAVELOAD, GAMEOPTION_FONT_OVERRIDE, GAMEOPTION_FONT_ANTIALIASING, GAMEOPTION_FOOTSTEPS)
#define GUI_OPTIONS_ULTIMA8 GUIO6(GUIO_NOMIDI, GAMEOPTION_ORIGINAL_SAVELOAD, GAMEOPTION_FONT_OVERRIDE, GAMEOPTION_FONT_ANTIALIASING, GAMEOPTION_FOOTSTEPS, GAMEOPTION_TARGETED_JUMP)
static const UltimaGameDescription GAME_DESCRIPTIONS[] = {
#ifndef RELEASE_BUILD