2006-04-13 20:47:06 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
2010-05-25 10:56:00 +00:00
|
|
|
Copyright (C) 2010 EDuke32 developers and contributors
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2010-05-25 10:56:00 +00:00
|
|
|
This file is part of EDuke32.
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2007-02-08 04:19:39 +00:00
|
|
|
EDuke32 is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License version 2
|
|
|
|
as published by the Free Software Foundation.
|
2006-04-13 20:47:06 +00:00
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
2014-07-20 08:55:56 +00:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2006-04-13 20:47:06 +00:00
|
|
|
*/
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
// function.h
|
|
|
|
|
|
|
|
// file created by makehead.exe
|
|
|
|
// these headers contain default key assignments, as well as
|
|
|
|
// default button assignments and game function names
|
|
|
|
// axis defaults are also included
|
|
|
|
|
|
|
|
|
2014-11-22 12:32:56 +00:00
|
|
|
#ifndef function_public_h_
|
|
|
|
#define function_public_h_
|
2014-11-26 04:39:23 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
2006-04-13 20:47:06 +00:00
|
|
|
#endif
|
|
|
|
|
2018-05-04 22:42:31 +00:00
|
|
|
#define NUMGAMEFUNCTIONS 60
|
2006-04-25 01:56:24 +00:00
|
|
|
#define MAXGAMEFUNCLEN 32
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2007-02-16 00:11:25 +00:00
|
|
|
extern char gamefunctions[NUMGAMEFUNCTIONS][MAXGAMEFUNCLEN];
|
2017-06-17 11:41:54 +00:00
|
|
|
extern const char keydefaults[NUMGAMEFUNCTIONS*2][MAXGAMEFUNCLEN];
|
|
|
|
extern const char oldkeydefaults[NUMGAMEFUNCTIONS*2][MAXGAMEFUNCLEN];
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2008-11-20 14:06:36 +00:00
|
|
|
enum GameFunction_t
|
2006-04-13 20:47:06 +00:00
|
|
|
{
|
|
|
|
gamefunc_Move_Forward,
|
|
|
|
gamefunc_Move_Backward,
|
|
|
|
gamefunc_Turn_Left,
|
|
|
|
gamefunc_Turn_Right,
|
|
|
|
gamefunc_Strafe,
|
|
|
|
gamefunc_Fire,
|
|
|
|
gamefunc_Open,
|
|
|
|
gamefunc_Run,
|
|
|
|
gamefunc_AutoRun,
|
|
|
|
gamefunc_Jump,
|
|
|
|
gamefunc_Crouch,
|
|
|
|
gamefunc_Look_Up,
|
|
|
|
gamefunc_Look_Down,
|
|
|
|
gamefunc_Look_Left,
|
|
|
|
gamefunc_Look_Right,
|
|
|
|
gamefunc_Strafe_Left,
|
|
|
|
gamefunc_Strafe_Right,
|
|
|
|
gamefunc_Aim_Up,
|
|
|
|
gamefunc_Aim_Down,
|
|
|
|
gamefunc_Weapon_1,
|
|
|
|
gamefunc_Weapon_2,
|
|
|
|
gamefunc_Weapon_3,
|
|
|
|
gamefunc_Weapon_4,
|
|
|
|
gamefunc_Weapon_5,
|
|
|
|
gamefunc_Weapon_6,
|
|
|
|
gamefunc_Weapon_7,
|
|
|
|
gamefunc_Weapon_8,
|
|
|
|
gamefunc_Weapon_9,
|
|
|
|
gamefunc_Weapon_10,
|
|
|
|
gamefunc_Inventory,
|
|
|
|
gamefunc_Inventory_Left,
|
|
|
|
gamefunc_Inventory_Right,
|
|
|
|
gamefunc_Holo_Duke,
|
|
|
|
gamefunc_Jetpack,
|
|
|
|
gamefunc_NightVision,
|
|
|
|
gamefunc_MedKit,
|
|
|
|
gamefunc_TurnAround,
|
|
|
|
gamefunc_SendMessage,
|
|
|
|
gamefunc_Map,
|
|
|
|
gamefunc_Shrink_Screen,
|
|
|
|
gamefunc_Enlarge_Screen,
|
|
|
|
gamefunc_Center_View,
|
|
|
|
gamefunc_Holster_Weapon,
|
|
|
|
gamefunc_Show_Opponents_Weapon,
|
|
|
|
gamefunc_Map_Follow_Mode,
|
|
|
|
gamefunc_See_Coop_View,
|
|
|
|
gamefunc_Mouse_Aiming,
|
|
|
|
gamefunc_Toggle_Crosshair,
|
|
|
|
gamefunc_Steroids,
|
|
|
|
gamefunc_Quick_Kick,
|
|
|
|
gamefunc_Next_Weapon,
|
|
|
|
gamefunc_Previous_Weapon,
|
2008-11-20 14:06:36 +00:00
|
|
|
gamefunc_Show_Console,
|
2010-06-22 21:50:01 +00:00
|
|
|
gamefunc_Show_DukeMatch_Scores,
|
|
|
|
gamefunc_Dpad_Select,
|
2018-01-26 04:35:23 +00:00
|
|
|
gamefunc_Dpad_Aiming,
|
|
|
|
gamefunc_Alt_Weapon,
|
2018-03-07 04:20:50 +00:00
|
|
|
gamefunc_Last_Weapon,
|
2018-05-04 22:42:31 +00:00
|
|
|
gamefunc_Quick_Save,
|
|
|
|
gamefunc_Quick_Load,
|
2006-04-13 20:47:06 +00:00
|
|
|
};
|
2014-11-26 04:39:23 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2006-04-13 20:47:06 +00:00
|
|
|
#endif
|
|
|
|
#endif
|