1 //------------------------------------------------------------------------- 2 /* 3 Copyright (C) 1997, 2005 - 3D Realms Entertainment 4 5 This file is part of Shadow Warrior version 1.2 6 7 Shadow Warrior is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public License 9 as published by the Free Software Foundation; either version 2 10 of the License, or (at your option) any later version. 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 Original Source: 1997 - Frank Maddin and Jim Norwood 23 Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms 24 */ 25 //------------------------------------------------------------------------- 26 27 // function.h 28 29 // file created by makehead.exe 30 // these headers contain default key assignments, as well as 31 // default button assignments and game function names 32 // axis defaults are also included 33 34 35 #ifndef function_public_ 36 #define function_public_ 37 38 extern const char *gamefunctions[]; 39 40 enum 41 { 42 gamefunc_Move_Forward, 43 gamefunc_Move_Backward, 44 gamefunc_Turn_Left, 45 gamefunc_Turn_Right, 46 gamefunc_Strafe, 47 gamefunc_Fire, 48 gamefunc_Open, 49 gamefunc_Run, 50 gamefunc_AutoRun, 51 gamefunc_Jump, 52 gamefunc_Crouch, 53 gamefunc_Look_Up, 54 gamefunc_Look_Down, 55 gamefunc_Strafe_Left, 56 gamefunc_Strafe_Right, 57 gamefunc_Aim_Up, 58 gamefunc_Aim_Down, 59 gamefunc_Weapon_1, 60 gamefunc_Weapon_2, 61 gamefunc_Weapon_3, 62 gamefunc_Weapon_4, 63 gamefunc_Weapon_5, 64 gamefunc_Weapon_6, 65 gamefunc_Weapon_7, 66 gamefunc_Weapon_8, 67 gamefunc_Weapon_9, 68 gamefunc_Weapon_10, 69 gamefunc_Inventory, 70 gamefunc_Inventory_Left, 71 gamefunc_Inventory_Right, 72 gamefunc_Med_Kit, 73 gamefunc_Smoke_Bomb, 74 gamefunc_Night_Vision, 75 gamefunc_Gas_Bomb, 76 gamefunc_Flash_Bomb, 77 gamefunc_Caltrops, 78 gamefunc_TurnAround, 79 gamefunc_SendMessage, 80 gamefunc_Map, 81 gamefunc_Shrink_Screen, 82 gamefunc_Enlarge_Screen, 83 gamefunc_Center_View, 84 gamefunc_Holster_Weapon, 85 gamefunc_Map_Follow_Mode, 86 gamefunc_See_Co_Op_View, 87 gamefunc_Mouse_Aiming, 88 gamefunc_Toggle_Crosshair, 89 gamefunc_Next_Weapon, 90 gamefunc_Previous_Weapon, 91 gamefunc_Show_Menu, 92 gamefunc_Show_Console, 93 gamefunc_Alt_Weapon_Mode, 94 NUMGAMEFUNCTIONS, 95 }; 96 #endif 97