1 //------------------------------------------------------------------------- 2 /* 3 Copyright (C) 2010-2019 EDuke32 developers and contributors 4 Copyright (C) 2019 Nuke.YKT 5 6 This file is part of NBlood. 7 8 NBlood is free software; you can redistribute it and/or 9 modify it under the terms of the GNU General Public License version 2 10 as published by the Free Software Foundation. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 15 16 See the GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with this program; if not, write to the Free Software 20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 */ 22 //------------------------------------------------------------------------- 23 24 // function.h 25 26 // file created by makehead.exe 27 // these headers contain default key assignments, as well as 28 // default button assignments and game function names 29 // axis defaults are also included 30 31 32 #ifndef function_public_h_ 33 #define function_public_h_ 34 #ifdef __cplusplus 35 extern "C" { 36 #endif 37 38 #define NUMGAMEFUNCTIONS 55 39 #define MAXGAMEFUNCLEN 32 40 41 extern char gamefunctions[NUMGAMEFUNCTIONS][MAXGAMEFUNCLEN]; 42 extern const char keydefaults[NUMGAMEFUNCTIONS*2][MAXGAMEFUNCLEN]; 43 extern const char oldkeydefaults[NUMGAMEFUNCTIONS*2][MAXGAMEFUNCLEN]; 44 45 enum GameFunction_t 46 { 47 gamefunc_Move_Forward, 48 gamefunc_Move_Backward, 49 gamefunc_Turn_Left, 50 gamefunc_Turn_Right, 51 gamefunc_Turn_Around, 52 gamefunc_Strafe, 53 gamefunc_Strafe_Left, 54 gamefunc_Strafe_Right, 55 gamefunc_Jump, 56 gamefunc_Crouch, 57 gamefunc_Run, 58 gamefunc_AutoRun, 59 gamefunc_Open, 60 gamefunc_Weapon_Fire, 61 gamefunc_Weapon_Special_Fire, 62 gamefunc_Aim_Up, 63 gamefunc_Aim_Down, 64 gamefunc_Aim_Center, 65 gamefunc_Look_Up, 66 gamefunc_Look_Down, 67 gamefunc_Tilt_Left, 68 gamefunc_Tilt_Right, 69 gamefunc_Weapon_1, 70 gamefunc_Weapon_2, 71 gamefunc_Weapon_3, 72 gamefunc_Weapon_4, 73 gamefunc_Weapon_5, 74 gamefunc_Weapon_6, 75 gamefunc_Weapon_7, 76 gamefunc_Weapon_8, 77 gamefunc_Weapon_9, 78 gamefunc_Weapon_10, 79 gamefunc_Inventory_Use, 80 gamefunc_Inventory_Left, 81 gamefunc_Inventory_Right, 82 gamefunc_Map_Toggle, 83 gamefunc_Map_Follow_Mode, 84 gamefunc_Shrink_Screen, 85 gamefunc_Enlarge_Screen, 86 gamefunc_Send_Message, 87 gamefunc_See_Coop_View, 88 gamefunc_See_Chase_View, 89 gamefunc_Mouse_Aiming, 90 gamefunc_Toggle_Crosshair, 91 gamefunc_Next_Weapon, 92 gamefunc_Previous_Weapon, 93 gamefunc_Holster_Weapon, 94 gamefunc_Show_Opponents_Weapon, 95 gamefunc_BeastVision, 96 gamefunc_CrystalBall, 97 gamefunc_JumpBoots, 98 gamefunc_MedKit, 99 gamefunc_ProximityBombs, 100 gamefunc_RemoteBombs, 101 gamefunc_Show_Console, 102 }; 103 #ifdef __cplusplus 104 } 105 #endif 106 #endif 107