Swap indexes for gamefunc_AutoRun and gamefunc_Alt_Fire

Normally I wouldn't be in favor of changing indexes that are already exposed to scripts around, but gamefunc_AutoRun is a locally handled key that doesn't have any script events associated with it, and gamefunc_Alt_Fire is pretty important to have up near the top wherever gamefuncs are listed.

git-svn-id: https://svn.eduke32.com/eduke32@7762 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-07-06 16:30:47 +00:00 committed by Christoph Oelckers
parent 4e81b4e2f0
commit 5cfcb96768
2 changed files with 4 additions and 4 deletions

View file

@ -46,7 +46,7 @@ char gamefunctions[NUMGAMEFUNCTIONS][MAXGAMEFUNCLEN] =
"Fire", "Fire",
"Open", "Open",
"Run", "Run",
"AutoRun", "Alt_Fire",
"Jump", "Jump",
"Crouch", "Crouch",
"Look_Up", "Look_Up",
@ -110,7 +110,7 @@ char gamefunctions[NUMGAMEFUNCTIONS][MAXGAMEFUNCLEN] =
#endif #endif
"Dpad_Select", "Dpad_Select",
"Dpad_Aiming", "Dpad_Aiming",
"Alt_Fire", "AutoRun",
"Last_Used_Weapon", "Last_Used_Weapon",
"Quick_Save", "Quick_Save",
"Quick_Load", "Quick_Load",

View file

@ -51,7 +51,7 @@ enum GameFunction_t
gamefunc_Fire, gamefunc_Fire,
gamefunc_Open, gamefunc_Open,
gamefunc_Run, gamefunc_Run,
gamefunc_AutoRun, gamefunc_Alt_Fire,
gamefunc_Jump, gamefunc_Jump,
gamefunc_Crouch, gamefunc_Crouch,
gamefunc_Look_Up, gamefunc_Look_Up,
@ -99,7 +99,7 @@ enum GameFunction_t
gamefunc_Show_DukeMatch_Scores, gamefunc_Show_DukeMatch_Scores,
gamefunc_Dpad_Select, gamefunc_Dpad_Select,
gamefunc_Dpad_Aiming, gamefunc_Dpad_Aiming,
gamefunc_Alt_Fire, gamefunc_AutoRun,
gamefunc_Last_Weapon, gamefunc_Last_Weapon,
gamefunc_Quick_Save, gamefunc_Quick_Save,
gamefunc_Quick_Load, gamefunc_Quick_Load,