- hacks to make IF launch again after gamefunc changes in 57cb22f135.

Also re-ordered gamefuncs to 1:1 match EDuke32.
This commit is contained in:
Mitchell Richters 2020-05-11 20:41:47 +10:00 committed by Christoph Oelckers
parent 8730bd9dda
commit aad2b3a782
2 changed files with 10 additions and 2 deletions

View file

@ -189,12 +189,16 @@ enum GameFunction_t
gamefunc_Quick_Kick,
gamefunc_Next_Weapon,
gamefunc_Previous_Weapon,
gamefunc_Show_Console, // unused, but re-inserted for padding/compatibility for IF.
gamefunc_Show_DukeMatch_Scores,
gamefunc_Dpad_Select,
gamefunc_Dpad_Aiming,
gamefunc_AutoRun, // unused, but re-inserted for padding/compatibility for IF.
gamefunc_Last_Weapon,
gamefunc_Quick_Save, // unused, but re-inserted for padding/compatibility for IF.
gamefunc_Quick_Load, // unused, but re-inserted for padding/compatibility for IF.
gamefunc_Alt_Weapon,
gamefunc_Third_Person_View,
gamefunc_Show_DukeMatch_Scores,
gamefunc_Toggle_Crouch, // This is the last one used by EDuke32.
NUM_ACTIONS
};

View file

@ -5626,12 +5626,16 @@ static const char* actions[] = {
"Quick_Kick",
"Next_Weapon",
"Previous_Weapon",
"Show_Console", // unused, but re-inserted for padding/compatibility for IF.
"Show_DukeMatch_Scores",
"Dpad_Select",
"Dpad_Aiming",
"Autorun", // unused, but re-inserted for padding/compatibility for IF.
"Last_Weapon",
"Quick_Save", // unused, but re-inserted for padding/compatibility for IF.
"Quick_Load", // unused, but re-inserted for padding/compatibility for IF.
"Alt_Weapon",
"Third_Person_View",
"Show_DukeMatch_Scores",
"Toggle_Crouch", // This is the last one used by EDuke32.
};
int GameInterface::app_main()