1 //---------------------------------------------------------------------------- 2 // EDGE Default Settings 3 //---------------------------------------------------------------------------- 4 // 5 // Copyright (c) 1999-2009 The EDGE Team. 6 // 7 // This program 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. See the 15 // GNU General Public License for more details. 16 // 17 //---------------------------------------------------------------------------- 18 19 #ifndef __DEFAULT_SETTINGS__ 20 #define __DEFAULT_SETTINGS__ 21 22 // Screen resolution 23 #define CFGDEF_SCREENWIDTH (640) 24 #define CFGDEF_SCREENHEIGHT (480) 25 #define CFGDEF_SCREENBITS (32) 26 #define CFGDEF_FULLSCREEN (1) 27 28 // Controls (Key/Mouse Buttons) 29 #define CFGDEF_KEY_FIRE (KEYD_RCTRL + (KEYD_MOUSE1 << 16)) 30 #define CFGDEF_KEY_SECONDATK ('e') 31 #define CFGDEF_KEY_USE (KEYD_SPACE) 32 #define CFGDEF_KEY_UP (KEYD_UPARROW + ('w' << 16)) 33 #define CFGDEF_KEY_DOWN (KEYD_DOWNARROW + ('s' << 16)) 34 #define CFGDEF_KEY_LEFT (KEYD_LEFTARROW) 35 #define CFGDEF_KEY_RIGHT (KEYD_RIGHTARROW) 36 #define CFGDEF_KEY_FLYUP (KEYD_INSERT + ('/' << 16)) 37 #define CFGDEF_KEY_FLYDOWN (KEYD_DELETE + ('c' << 16)) 38 #define CFGDEF_KEY_SPEED (KEYD_RSHIFT) 39 #define CFGDEF_KEY_STRAFE (KEYD_RALT + (KEYD_MOUSE3 << 16)) 40 #define CFGDEF_KEY_STRAFELEFT (',' + ('a' << 16)) 41 #define CFGDEF_KEY_STRAFERIGHT ('.' + ('d' << 16)) 42 #define CFGDEF_KEY_AUTORUN (KEYD_CAPSLOCK) 43 44 #define CFGDEF_KEY_LOOKUP (KEYD_PGUP) 45 #define CFGDEF_KEY_LOOKDOWN (KEYD_PGDN) 46 #define CFGDEF_KEY_LOOKCENTER (KEYD_HOME) 47 #define CFGDEF_KEY_MLOOK ('m') 48 #define CFGDEF_KEY_ZOOM ('z' + ('\\' << 16)) 49 #define CFGDEF_KEY_MAP (KEYD_TAB) 50 #define CFGDEF_KEY_180 (0) 51 #define CFGDEF_KEY_RELOAD ('r') 52 #define CFGDEF_KEY_NEXTWEAPON (KEYD_WHEEL_UP) 53 #define CFGDEF_KEY_PREVWEAPON (KEYD_WHEEL_DN) 54 #define CFGDEF_KEY_TALK ('t') 55 #define CFGDEF_KEY_CONSOLE (KEYD_TILDE) 56 #define CFGDEF_KEY_ACTION1 ('[') 57 #define CFGDEF_KEY_ACTION2 (']') 58 59 // Controls (Analogue) 60 #define CFGDEF_MOUSE_XAXIS (2*AXIS_TURN-1) 61 #define CFGDEF_MOUSE_YAXIS (2*AXIS_MLOOK-1) 62 #define CFGDEF_MOUSESENSITIVITY (10) 63 #define CFGDEF_TURNSPEED (7) // == 1.0 (the maximum) 64 #define CFGDEF_MLOOKSPEED (7) 65 #define CFGDEF_FORWARDMOVESPEED (7) 66 #define CFGDEF_SIDEMOVESPEED (7) 67 68 #define CFGDEF_JOY_XAXIS (2*AXIS_TURN-1) 69 #define CFGDEF_JOY_YAXIS (2*AXIS_FORWARD) 70 71 // Misc 72 #define CFGDEF_MENULANGUAGE (0) 73 #define CFGDEF_SHOWMESSAGES (1) 74 75 // Sound and Music 76 #define CFGDEF_SOUND_VOLUME (8) 77 #define CFGDEF_MUSIC_VOLUME (8) 78 #define CFGDEF_SAMPLE_RATE (1) // 22050Hz 79 #define CFGDEF_SOUND_BITS (1) // 16-bit 80 #define CFGDEF_SOUND_STEREO (1) // Stereo 81 #define CFGDEF_MIX_CHANNELS (2) // 32 channels 82 #define CFGDEF_QUIET_FACTOR (1) 83 84 #ifdef LINUX 85 #define CFGDEF_MUSIC_DEVICE (1) // Timidity 86 #else 87 #define CFGDEF_MUSIC_DEVICE (0) // System 88 #endif 89 90 // Video Options 91 #define CFGDEF_CURRENT_GAMMA (2) 92 #define CFGDEF_USE_SMOOTHING (0) 93 #define CFGDEF_USE_DLIGHTS (0) 94 #define CFGDEF_DOOM_FADING (1) 95 #define CFGDEF_DETAIL_LEVEL (1) 96 #define CFGDEF_USE_MIPMAPPING (0) 97 #define CFGDEF_HQ2X_SCALING (0) 98 #define CFGDEF_SCREEN_HUD (0) 99 #define CFGDEF_SHADOWS (0) 100 #define CFGDEF_CROSSHAIR (0) 101 #define CFGDEF_MAP_OVERLAY (0) 102 #define CFGDEF_ROTATEMAP (0) 103 #define CFGDEF_INVUL_FX (2) // TEXTURED 104 #define CFGDEF_TELEPT_FLASH (1) 105 #define CFGDEF_WIPE_METHOD (1) 106 #define CFGDEF_PNG_SCRSHOTS (1) 107 #define CFGDEF_TELEPT_EFFECT (0) 108 #define CFGDEF_TELEPT_REVERSE (0) 109 #define CFGDEF_WIPE_REVERSE (0) 110 111 // Gameplay Options 112 #define CFGDEF_AUTOAIM (1) 113 #define CFGDEF_MLOOK (1) 114 #define CFGDEF_JUMP (1) 115 #define CFGDEF_CROUCH (1) 116 #define CFGDEF_KICKING (0) 117 #define CFGDEF_WEAPON_SWITCH (1) 118 #define CFGDEF_MORE_BLOOD (0) 119 #define CFGDEF_HAVE_EXTRA (0) 120 #define CFGDEF_TRUE3DGAMEPLAY (1) 121 #define CFGDEF_PASS_MISSILE (1) 122 #define CFGDEF_MENU_GRAV (MENU_GRAV_NORMAL) 123 #define CFGDEF_RES_RESPAWN (1) // Resurrect Mode 124 #define CFGDEF_ITEMRESPAWN (0) 125 #define CFGDEF_FASTPARM (0) 126 #define CFGDEF_RESPAWN (0) 127 128 #endif /* __CFGDEF_SETTINGS__ */ 129 130 //--- editor settings --- 131 // vi:ts=4:sw=4:noexpandtab 132