diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e0991c0a..dec2015a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -192,14 +192,12 @@ option(FORCE_INTERNAL_GME "Use internal gme" ON) set( ZD_FASTMATH_FLAG "" ) if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE ) set( ZD_FASTMATH_FLAG "-ffast-math" ) -else() - if( MSVC ) - set( ZD_FASTMATH_FLAG "/fp:fast" ) - endif() +elseif( MSVC ) + set( ZD_FASTMATH_FLAG "/fp:fast" ) endif() if( ZLIB_FOUND AND NOT FORCE_INTERNAL_ZLIB ) - message( STATUS "Using system zlib" ) + message( STATUS "Using system zlib, includes found at ${ZLIB_INCLUDE_DIR}" ) else() message( STATUS "Using internal zlib" ) add_subdirectory( zlib ) @@ -209,7 +207,7 @@ else() endif() if( JPEG_FOUND AND NOT FORCE_INTERNAL_JPEG ) - message( STATUS "Using system jpeg library" ) + message( STATUS "Using system jpeg library, includes found at ${JPEG_INCLUDE_DIR}" ) else() message( STATUS "Using internal jpeg library" ) add_subdirectory( jpeg-6b ) @@ -219,7 +217,7 @@ else() endif() if( BZIP2_FOUND AND NOT FORCE_INTERNAL_BZIP2 ) - message( STATUS "Using system bzip2 library" ) + message( STATUS "Using system bzip2 library, includes found at ${BZIP2_INCLUDE_DIR}" ) else() message( STATUS "Using internal bzip2 library" ) add_subdirectory( bzip2 ) @@ -229,7 +227,7 @@ else() endif() if( GME_FOUND AND NOT FORCE_INTERNAL_GME ) - message( STATUS "Using system gme library ${GME_INCLUDE_DIR}" ) + message( STATUS "Using system gme library, includes found at ${GME_INCLUDE_DIR}" ) else() message( STATUS "Using internal gme library" ) add_subdirectory( game-music-emu ) diff --git a/dumb/CMakeLists.txt b/dumb/CMakeLists.txt index 8455e6d15..63ce020e1 100644 --- a/dumb/CMakeLists.txt +++ b/dumb/CMakeLists.txt @@ -9,9 +9,9 @@ set( CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -DDEBUGMODE=1" ) if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE ) set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-pointer-sign -Wno-uninitialized" ) - if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "4.5") + if( NOT CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_VERSION VERSION_GREATER "4.5" ) set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-but-set-variable" ) - endif(NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "4.5") + endif() endif() # Enable fast flag for dumb diff --git a/game-music-emu/CMakeLists.txt b/game-music-emu/CMakeLists.txt index 3251b5c02..8ceb1b4b7 100644 --- a/game-music-emu/CMakeLists.txt +++ b/game-music-emu/CMakeLists.txt @@ -33,50 +33,51 @@ endif() set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ZD_FASTMATH_FLAG}" ) # Default emulators to build (all of them! ;) -if (NOT DEFINED USE_GME_AY) - SET(USE_GME_AY 1 CACHE BOOL "Enable support for Spectrum ZX music emulation") -endif() +# [ZDoom] No options, enable all of them by default. +#if (NOT DEFINED USE_GME_AY) + SET(USE_GME_AY 1 BOOL "Enable support for Spectrum ZX music emulation") +#endif() -if (NOT DEFINED USE_GME_GBS) - SET(USE_GME_GBS 1 CACHE BOOL "Enable support for Game Boy music emulation") -endif() +#if (NOT DEFINED USE_GME_GBS) + SET(USE_GME_GBS 1 BOOL "Enable support for Game Boy music emulation") +#endif() -if (NOT DEFINED USE_GME_GYM) - SET(USE_GME_GYM 1 CACHE BOOL "Enable Sega MegaDrive/Genesis music emulation") -endif() +#if (NOT DEFINED USE_GME_GYM) + SET(USE_GME_GYM 1 BOOL "Enable Sega MegaDrive/Genesis music emulation") +#endif() -if (NOT DEFINED USE_GME_HES) - SET(USE_GME_HES 1 CACHE BOOL "Enable PC Engine/TurboGrafx-16 music emulation") -endif() +#if (NOT DEFINED USE_GME_HES) + SET(USE_GME_HES 1 BOOL "Enable PC Engine/TurboGrafx-16 music emulation") +#endif() -if (NOT DEFINED USE_GME_KSS) - SET(USE_GME_KSS 1 CACHE BOOL "Enable MSX or other Z80 systems music emulation") -endif() +#if (NOT DEFINED USE_GME_KSS) + SET(USE_GME_KSS 1 BOOL "Enable MSX or other Z80 systems music emulation") +#endif() -if (NOT DEFINED USE_GME_NSF) - SET(USE_GME_NSF 1 CACHE BOOL "Enable NES NSF music emulation") -endif() +#if (NOT DEFINED USE_GME_NSF) + SET(USE_GME_NSF 1 BOOL "Enable NES NSF music emulation") +#endif() -if (NOT DEFINED USE_GME_NSFE) - SET(USE_GME_NSFE 1 CACHE BOOL "Enable NES NSFE and NSF music emulation") -endif() +#if (NOT DEFINED USE_GME_NSFE) + SET(USE_GME_NSFE 1 BOOL "Enable NES NSFE and NSF music emulation") +#endif() -if (NOT DEFINED USE_GME_SAP) - SET(USE_GME_SAP 1 CACHE BOOL "Enable Atari SAP music emulation") -endif() +#if (NOT DEFINED USE_GME_SAP) + SET(USE_GME_SAP 1 BOOL "Enable Atari SAP music emulation") +#endif() -if (NOT DEFINED USE_GME_SPC) - SET(USE_GME_SPC 1 CACHE BOOL "Enable SNES SPC music emulation") -endif() +#if (NOT DEFINED USE_GME_SPC) + SET(USE_GME_SPC 1 BOOL "Enable SNES SPC music emulation") +#endif() -if (NOT DEFINED USE_GME_VGM) - SET(USE_GME_VGM 1 CACHE BOOL "Enable Sega VGM/VGZ music emulation") -endif() +#if (NOT DEFINED USE_GME_VGM) + SET(USE_GME_VGM 1 BOOL "Enable Sega VGM/VGZ music emulation") +#endif() -if (USE_GME_NSFE AND NOT USE_GME_NSF) - MESSAGE(" -- NSFE support requires NSF, enabling NSF support. --") - SET(USE_GME_NSF 1 CACHE BOOL "Enable NES NSF music emulation" FORCE) -endif() +#if (USE_GME_NSFE AND NOT USE_GME_NSF) + # MESSAGE(" -- NSFE support requires NSF, enabling NSF support. --") + SET(USE_GME_NSF 1 BOOL "Enable NES NSF music emulation") +#endif() # Check for GCC "visibility" support. if (CMAKE_COMPILER_IS_GNUCXX) diff --git a/gdtoa/CMakeLists.txt b/gdtoa/CMakeLists.txt index c16542283..4dff4c30d 100644 --- a/gdtoa/CMakeLists.txt +++ b/gdtoa/CMakeLists.txt @@ -8,8 +8,8 @@ if( MSVC ) set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4554 /wd4102" ) endif() -if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE ) - set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra" ) +if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE ) + set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra" ) endif() # Enable fast flag for gdtoa diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5dc18207a..86adf047a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required( VERSION 2.8.7 ) if( COMMAND cmake_policy ) cmake_policy( SET CMP0003 NEW ) -endif( COMMAND cmake_policy ) +endif() include( CheckCXXSourceCompiles ) include( CheckFunctionExists ) @@ -50,7 +50,7 @@ endif() # a system-wide version. # Construct version numbers for searching for the FMOD library on Linux. -set( MINOR_VERSIONS "50" "49" "48" "47" "46" "45" "44" "43" "42" "41" +set( MINOR_VERSIONS "61" "50" "49" "48" "47" "46" "45" "44" "43" "42" "41" "40" "39" "38" "37" "36" "35" "34" "33" "32" "31" "30" "29" "28" "27" "26" "25" "24" "23" "22" "21" "20" "21" "19" "18" "17" "16" "15" "14" "13" "12" "11" "10" "09" "08" "07" "06" "05" "04" "03" @@ -74,7 +74,12 @@ set( FMOD_DIR_VERSIONS ${FMOD_DIR_VERSIONS} "../fmod" ) foreach( majver ${MAJOR_VERSIONS} ) foreach( minver ${MINOR_VERSIONS} ) set( FMOD_VERSIONS ${FMOD_VERSIONS} "fmodex${X64}-4.${majver}.${minver}" ) - set( FMOD_DIR_VERSIONS ${FMOD_DIR_VERSIONS} "${CMAKE_HOME_DIRECTORY}/fmodapi4${majver}${minver}linux${X64}" ) + # FMOD Ex version 4.44 unified 32-bit and 64-bit linux packages into one. + if( NOT majver EQUAL "44" ) + set( FMOD_DIR_VERSIONS ${FMOD_DIR_VERSIONS} "${CMAKE_HOME_DIRECTORY}/fmodapi4${majver}${minver}linux${X64}" ) + else() + set( FMOD_DIR_VERSIONS ${FMOD_DIR_VERSIONS} "${CMAKE_HOME_DIRECTORY}/fmodapi4${majver}${minver}linux" ) + endif() endforeach() foreach( dir ${FMOD_DIR_VERSIONS} ) set( FMOD_LOCAL_INC_DIRS ${FMOD_LOCAL_INC_DIRS} "${dir}/api/inc" ) @@ -355,7 +360,7 @@ if( NOT NO_ASM ) # string( REGEX REPLACE ".*version ([0-9]+[.][0-9]+).*" "\\1" NASM_VER "${NASM_VER_STRING}" ) # if( NOT NASM_VER LESS 2 ) # message( SEND_ERROR "NASM version should be 2 or later. (Installed version is ${NASM_VER}.)" ) - # endif( NOT NASM_VER LESS 2 ) + # endif() endif() if( NOT NO_ASM ) @@ -430,7 +435,7 @@ if (NOT ZDOOM_USE_SSE2) set( SSE1_ENABLE -arch:SSE ) set( SSE2_ENABLE -arch:SSE2 ) set( SSE_MATTERS YES ) - endif( ) + endif() endif() endif() @@ -544,7 +549,7 @@ if( UNIX ) message( STATUS "Could not find clock_gettime. Timing statistics will not be available." ) add_definitions( -DNO_CLOCK_GETTIME ) endif() - else( NOT CLOCK_GETTIME_IN_RT ) + else() set( ZDOOM_LIBS ${ZDOOM_LIBS} rt ) endif() endif() @@ -592,12 +597,12 @@ if( MPG123_FOUND ) set( ZDOOM_LIBS ${ZDOOM_LIBS} "${MPG123_LIBRARIES}" ) include_directories( "${MPG123_INCLUDE_DIR}" ) endif() -if( NOT DYN_FLUIDSYNTH) +if( NOT DYN_FLUIDSYNTH ) if( FLUIDSYNTH_FOUND ) set( ZDOOM_LIBS ${ZDOOM_LIBS} "${FLUIDSYNTH_LIBRARIES}" ) include_directories( "${FLUIDSYNTH_INCLUDE_DIR}" ) endif() -else( NOT DYN_FLUIDSYNTH ) +else() set( ZDOOM_LIBS ${ZDOOM_LIBS} ${CMAKE_DL_LIBS} ) endif() diff --git a/src/c_cmds.cpp b/src/c_cmds.cpp index ca9ddaf6e..70f36bea9 100644 --- a/src/c_cmds.cpp +++ b/src/c_cmds.cpp @@ -777,15 +777,16 @@ CCMD (warp) Printf ("You can only warp inside a level.\n"); return; } - if (argv.argc() != 3) + if (argv.argc() < 3 || argv.argc() > 4) { - Printf ("Usage: warp \n"); + Printf ("Usage: warp [z]\n"); } else { Net_WriteByte (DEM_WARPCHEAT); Net_WriteWord (atoi (argv[1])); Net_WriteWord (atoi (argv[2])); + Net_WriteWord (argv.argc() == 3 ? ONFLOORZ/65536 : atoi (argv[3])); } } diff --git a/src/d_net.cpp b/src/d_net.cpp index 88b4372fb..774333005 100644 --- a/src/d_net.cpp +++ b/src/d_net.cpp @@ -2199,10 +2199,11 @@ void Net_DoCommand (int type, BYTE **stream, int player) case DEM_WARPCHEAT: { - int x, y; + int x, y, z; x = ReadWord (stream); y = ReadWord (stream); - P_TeleportMove (players[player].mo, x * 65536, y * 65536, ONFLOORZ, true); + z = ReadWord (stream); + P_TeleportMove (players[player].mo, x * 65536, y * 65536, z * 65536, true); } break; @@ -2744,9 +2745,12 @@ void Net_SkipCommand (int type, BYTE **stream) skip = strlen ((char *)(*stream)) + 1; break; + case DEM_WARPCHEAT: + skip = 6; + break; + case DEM_INVUSE: case DEM_INVDROP: - case DEM_WARPCHEAT: skip = 4; break; diff --git a/src/menu/optionmenuitems.h b/src/menu/optionmenuitems.h index 796e88c17..b4d54fd89 100644 --- a/src/menu/optionmenuitems.h +++ b/src/menu/optionmenuitems.h @@ -121,7 +121,8 @@ public: bool Activate() { - M_StartMessage("Do you really want to do this?", 0); + const char *msg = GStrings("SAFEMESSAGE"); + if (msg) M_StartMessage(msg, 0); return true; } }; diff --git a/src/oplsynth/fmopl.cpp b/src/oplsynth/fmopl.cpp index 4ecd03b14..19408bc4b 100644 --- a/src/oplsynth/fmopl.cpp +++ b/src/oplsynth/fmopl.cpp @@ -323,6 +323,10 @@ static const UINT32 ksl_tab[8*16]= }; #undef DV +/* 0 / 3.0 / 1.5 / 6.0 dB/OCT */ +static const UINT32 ksl_shift[4] = { 31, 1, 2, 0 }; + + /* sustain level table (3dB per step) */ /* 0 - 15: 0, 3, 6, 9,12,15,18,21,24,27,30,33,36,39,42,93 (dB)*/ #define SC(db) (UINT32) ( db * (2.0/ENV_STEP) ) @@ -1271,9 +1275,8 @@ void set_ksl_tl(FM_OPL *OPL,int slot,int v) { OPL_CH *CH = &OPL->P_CH[slot/2]; OPL_SLOT *SLOT = &CH->SLOT[slot&1]; - int ksl = v>>6; /* 0 / 1.5 / 3.0 / 6.0 dB/OCT */ - SLOT->ksl = ksl ? 3-ksl : 31; + SLOT->ksl = ksl_shift[v >> 6]; SLOT->TL = (v&0x3f)<<(ENV_BITS-1-7); /* 7 bits TL (bit 6 = always 0) */ SLOT->TLL = SLOT->TL + (CH->ksl_base>>SLOT->ksl); diff --git a/src/p_acs.cpp b/src/p_acs.cpp index 7155c98e6..62118bd3f 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -4564,13 +4564,13 @@ bool GetVarAddrType(AActor *self, FName varname, int index, void *&addr, PType * { PField *var = dyn_cast(self->GetClass()->Symbols.FindSymbol(varname, true)); PArray *arraytype; - BYTE *baddr = reinterpret_cast(self) + var->Offset; if (var == NULL || (var->Flags & VARF_Native)) { return false; } type = var->Type; + BYTE *baddr = reinterpret_cast(self) + var->Offset; arraytype = dyn_cast(type); if (arraytype != NULL) { diff --git a/src/p_map.cpp b/src/p_map.cpp index b77d6c55a..85cd11084 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -5495,7 +5495,7 @@ bool P_ChangeSector(sector_t *sector, int crunch, int amt, int floorOrCeil, bool // Also process all sectors that have 3D floors transferred from the // changed sector. - if (sector->e->XFloor.attached.Size()) + if (sector->e->XFloor.attached.Size() && floorOrCeil != 2) { unsigned i; sector_t* sec; @@ -5601,7 +5601,7 @@ bool P_ChangeSector(sector_t *sector, int crunch, int amt, int floorOrCeil, bool } } while (n); // repeat from scratch until all things left are marked valid - sector->CheckPortalPlane(floorOrCeil); // check for portal obstructions after everything is done. + if (floorOrCeil != 2) sector->CheckPortalPlane(floorOrCeil); // check for portal obstructions after everything is done. if (!cpos.nofit && !isreset /* && sector->MoreFlags & (SECF_UNDERWATERMASK)*/) { diff --git a/src/sc_man_scanner.re b/src/sc_man_scanner.re index d1d05b929..cc051b05f 100644 --- a/src/sc_man_scanner.re +++ b/src/sc_man_scanner.re @@ -55,6 +55,8 @@ std2: /*!re2c "/*" { goto comment; } /* C comment */ "//" (any\"\n")* "\n" { goto newline; } /* C++ comment */ + ("#region"|"#endregion") (any\"\n")* "\n" + { goto newline; } /* Region blocks [mxd] */ (["](([\\]["])|[^"])*["]) { RET(TK_StringConst); } 'stop' { RET(TK_Stop); } @@ -80,6 +82,8 @@ std2: /*!re2c "/*" { goto comment; } /* C comment */ "//" (any\"\n")* "\n" { goto newline; } /* C++ comment */ + ("#region"|"#endregion") (any\"\n")* "\n" + { goto newline; } /* Region blocks [mxd] */ /* C Keywords */ 'break' { RET(TK_Break); } @@ -269,6 +273,8 @@ std2: /*!re2c "/*" { goto comment; } /* C comment */ ("//"|";") (any\"\n")* "\n" { goto newline; } /* C++/Hexen comment */ + ("#region"|"#endregion") (any\"\n")* "\n" + { goto newline; } /* Region blocks [mxd] */ WSP+ { goto std1; } /* whitespace */ "\n" { goto newline; } @@ -287,6 +293,8 @@ std2: /*!re2c "/*" { goto comment; } /* C comment */ "//" (any\"\n")* "\n" { goto newline; } /* C++ comment */ + ("#region"|"#endregion") (any\"\n")* "\n" + { goto newline; } /* Region blocks [mxd] */ WSP+ { goto std1; } /* whitespace */ "\n" { goto newline; } diff --git a/src/textures/textures.h b/src/textures/textures.h index 36dae7e09..12169330a 100644 --- a/src/textures/textures.h +++ b/src/textures/textures.h @@ -555,8 +555,11 @@ protected: BYTE *Pixels; Span **Spans; float Speed; + int WidthOffsetMultipiler, HeightOffsetMultipiler; // [mxd] virtual void MakeTexture (DWORD time); + int NextPo2 (int v); // [mxd] + void SetupMultipliers (int width, int height); // [mxd] }; // [GRB] Eternity-like warping diff --git a/src/textures/warptexture.cpp b/src/textures/warptexture.cpp index f047f4dde..09f337136 100644 --- a/src/textures/warptexture.cpp +++ b/src/textures/warptexture.cpp @@ -44,6 +44,7 @@ FWarpTexture::FWarpTexture (FTexture *source) : GenTime (0), SourcePic (source), Pixels (0), Spans (0), Speed (1.f) { CopyInfo(source); + SetupMultipliers(128, 128); // [mxd] bWarped = 1; } @@ -138,6 +139,8 @@ void FWarpTexture::MakeTexture (DWORD time) BYTE *buffer = (BYTE *)alloca (MAX (Width, Height)); int xsize = Width; int ysize = Height; + int xmul = WidthOffsetMultipiler; // [mxd] + int ymul = HeightOffsetMultipiler; // [mxd] int xmask = WidthMask; int ymask = Height - 1; int ybits = HeightBits; @@ -149,30 +152,58 @@ void FWarpTexture::MakeTexture (DWORD time) } DWORD timebase = DWORD(time * Speed * 32 / 28); + // [mxd] Rewrote to fix animation for NPo2 textures for (y = ysize-1; y >= 0; y--) { - int xt, xf = (finesine[(timebase+y*128)&FINEMASK]>>13) & xmask; + int xf = (finesine[(timebase+y*ymul)&FINEMASK]>>13) % xsize; + if(xf < 0) xf += xsize; + int xt = xf; const BYTE *source = otherpix + y; BYTE *dest = Pixels + y; - for (xt = xsize; xt; xt--, xf = (xf+1)&xmask, dest += ysize) - *dest = source[xf << ybits]; + for (xt = xsize; xt; xt--, xf = (xf+1)%xsize, dest += ysize) + *dest = source[xf + ymask * xf]; } timebase = DWORD(time * Speed * 23 / 28); for (x = xsize-1; x >= 0; x--) { - int yt, yf = (finesine[(time+(x+17)*128)&FINEMASK]>>13) & ymask; - const BYTE *source = Pixels + (x << ybits); + int yf = (finesine[(time+(x+17)*xmul)&FINEMASK]>>13) % ysize; + if(yf < 0) yf += ysize; + int yt = yf; + const BYTE *source = Pixels + (x + ymask * x); BYTE *dest = buffer; - for (yt = ysize; yt; yt--, yf = (yf+1)&ymask) + for (yt = ysize; yt; yt--, yf = (yf+1)%ysize) *dest++ = source[yf]; - memcpy (Pixels+(x<> 1; + v |= v >> 2; + v |= v >> 4; + v |= v >> 8; + v |= v >> 16; + return ++v; +} + // [GRB] Eternity-like warping FWarp2Texture::FWarp2Texture (FTexture *source) : FWarpTexture (source) { + SetupMultipliers(256, 128); // [mxd] bWarped = 2; } @@ -194,6 +225,8 @@ void FWarp2Texture::MakeTexture (DWORD time) int xsize = Width; int ysize = Height; + int xmul = WidthOffsetMultipiler; // [mxd] + int ymul = HeightOffsetMultipiler; // [mxd] int xmask = WidthMask; int ymask = Height - 1; int ybits = HeightBits; @@ -205,18 +238,21 @@ void FWarp2Texture::MakeTexture (DWORD time) } DWORD timebase = DWORD(time * Speed * 40 / 28); - for (x = 0; x < xsize; ++x) + // [mxd] Rewrote to fix animation for NPo2 textures + for (x = 0; x < xsize; x++) { - BYTE *dest = Pixels + (x << ybits); - for (y = 0; y < ysize; ++y) + BYTE *dest = Pixels + (x + ymask * x); + for (y = 0; y < ysize; y++) { int xt = (x + 128 - + ((finesine[(y*128 + timebase*5 + 900) & FINEMASK]*2)>>FRACBITS) - + ((finesine[(x*256 + timebase*4 + 300) & FINEMASK]*2)>>FRACBITS)) & xmask; + + ((finesine[(y*ymul + timebase*5 + 900) & FINEMASK]*2)>>FRACBITS) + + ((finesine[(x*xmul + timebase*4 + 300) & FINEMASK]*2)>>FRACBITS)) % xsize; + int yt = (y + 128 - + ((finesine[(y*128 + timebase*3 + 700) & FINEMASK]*2)>>FRACBITS) - + ((finesine[(x*256 + timebase*4 + 1200) & FINEMASK]*2)>>FRACBITS)) & ymask; - *dest++ = otherpix[(xt << ybits) + yt]; + + ((finesine[(y*ymul + timebase*3 + 700) & FINEMASK]*2)>>FRACBITS) + + ((finesine[(x*xmul + timebase*4 + 1200) & FINEMASK]*2)>>FRACBITS)) % ysize; + + *dest++ = otherpix[(xt + ymask * xt) + yt]; } } } diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index 6386ccfcb..e0d0fa541 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -165,7 +165,7 @@ bool ACustomInventory::CallStateChain (AActor *actor, FState *state) stack.Call(state->ActionFunc, params, countof(params), wantret, numret); // As long as even one state succeeds, the whole chain succeeds unless aborted below. // A state that wants to jump does not count as "succeeded". - if (nextstate != NULL) + if (nextstate == NULL) { result |= retval; } @@ -2008,13 +2008,15 @@ static bool DoGiveInventory(AActor *receiver, bool orresult, VM_ARGS) DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_GiveInventory) { PARAM_ACTION_PROLOGUE; - ACTION_RETURN_BOOL(DoGiveInventory(self, false, VM_ARGS_NAMES)); + bool result = DoGiveInventory(self, false, VM_ARGS_NAMES); + ACTION_RETURN_BOOL(result); } DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_GiveToTarget) { PARAM_ACTION_PROLOGUE; - ACTION_RETURN_BOOL(DoGiveInventory(self->target, false, VM_ARGS_NAMES)); + bool result = DoGiveInventory(self->target, false, VM_ARGS_NAMES); + ACTION_RETURN_BOOL(result); } DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_GiveToChildren) @@ -2094,13 +2096,15 @@ bool DoTakeInventory(AActor *receiver, bool orresult, VM_ARGS) DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_TakeInventory) { PARAM_ACTION_PROLOGUE; - ACTION_RETURN_BOOL(DoTakeInventory(self, false, VM_ARGS_NAMES)); + bool result = DoTakeInventory(self, false, VM_ARGS_NAMES); + ACTION_RETURN_BOOL(result); } DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_TakeFromTarget) { PARAM_ACTION_PROLOGUE; - ACTION_RETURN_BOOL(DoTakeInventory(self->target, false, VM_ARGS_NAMES)); + bool result = DoTakeInventory(self->target, false, VM_ARGS_NAMES); + ACTION_RETURN_BOOL(result); } DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_TakeFromChildren) @@ -2401,7 +2405,8 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SpawnItem) AActor *mo = Spawn( missile, self->Vec3Angle(distance, self->angle, -self->floorclip + self->GetBobOffset() + zheight), ALLOW_REPLACE); int flags = (transfer_translation ? SIXF_TRANSFERTRANSLATION : 0) + (useammo ? SIXF_SETMASTER : 0); - ACTION_RETURN_BOOL(InitSpawnedItem(self, mo, flags)); // for an inventory item's use state + bool result = InitSpawnedItem(self, mo, flags); + ACTION_RETURN_BOOL(result); // for an inventory item's use state } //=========================================================================== @@ -3250,7 +3255,8 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_JumpIf) PARAM_BOOL (condition); PARAM_STATE (jump); - ACTION_RETURN_STATE(condition ? jump : NULL); + if (!condition) jump = NULL; + ACTION_RETURN_STATE(jump); } //=========================================================================== diff --git a/src/thingdef/thingdef_states.cpp b/src/thingdef/thingdef_states.cpp index 5b54d684d..f90b34c47 100644 --- a/src/thingdef/thingdef_states.cpp +++ b/src/thingdef/thingdef_states.cpp @@ -361,6 +361,10 @@ endofstate: void AddImplicitReturn(FxSequence *code, const PPrototype *proto, FScanner &sc) { + if (code == NULL) + { + return; + } if (proto == NULL || proto->ReturnTypes.Size() == 0) { // Returns nothing. Good. We can safely add an implied return. code->Add(new FxReturnStatement(NULL, sc)); @@ -368,7 +372,7 @@ void AddImplicitReturn(FxSequence *code, const PPrototype *proto, FScanner &sc) else { // Something was returned earlier in the sequence. Make it an error // instead of adding an implicit one. - sc.ScriptError("Action list must end with a return statement"); + sc.ScriptError("Action list must return a value"); } } @@ -483,8 +487,9 @@ FxExpression *ParseActions(FScanner &sc, FState state, FString statestring, Bagg proto = ReturnCheck(proto, true_proto, sc); proto = ReturnCheck(proto, false_proto, sc); // If one side does not end with a return, we don't consider the if statement - // to end with a return. - if (true_ret && (false_proto == NULL || false_ret)) + // to end with a return. If the else case is missing, it can never be considered + // as ending with a return. + if (true_ret && false_ret) { lastwasret = true; } diff --git a/src/version.h b/src/version.h index c2e96c962..29ca663f5 100644 --- a/src/version.h +++ b/src/version.h @@ -61,11 +61,11 @@ const char *GetVersionString(); // Protocol version used in demos. // Bump it if you change existing DEM_ commands or add new ones. // Otherwise, it should be safe to leave it alone. -#define DEMOGAMEVERSION 0x21D +#define DEMOGAMEVERSION 0x21E // Minimum demo version we can play. // Bump it whenever you change or remove existing DEM_ commands. -#define MINDEMOVERSION 0x21D +#define MINDEMOVERSION 0x21E // SAVEVER is the version of the information stored in level snapshots. // Note that SAVEVER is not directly comparable to VERSION. diff --git a/tools/zipdir/CMakeLists.txt b/tools/zipdir/CMakeLists.txt index d8a50da69..6a36b2cb5 100644 --- a/tools/zipdir/CMakeLists.txt +++ b/tools/zipdir/CMakeLists.txt @@ -1,9 +1,6 @@ cmake_minimum_required( VERSION 2.8.7 ) -if(NOT CMAKE_CROSSCOMPILING) - message(STATUS "${ZLIB_INCLUDE_DIR}" ) - message(STATUS "${BZIP2_INCLUDE_DIR}" ) - message(STATUS "${LZMA_INCLUDE_DIR}" ) +if( NOT CMAKE_CROSSCOMPILING ) include_directories( "${ZLIB_INCLUDE_DIR}" "${BZIP2_INCLUDE_DIR}" "${LZMA_INCLUDE_DIR}" ) add_executable( zipdir zipdir.c ) diff --git a/wadsrc/static/language.eng b/wadsrc/static/language.eng index 172cd2b4f..6f9095032 100644 --- a/wadsrc/static/language.eng +++ b/wadsrc/static/language.eng @@ -23,3 +23,32 @@ GOTCHEXARMOR = "Picked up the Chex(R) Armour."; GOTSUPERCHEXARMOR = "Picked up the Super Chex(R) Armour!"; OB_BIPEDICUS2 = "%o was slimed by an armoured bipedicus."; + +MNU_COLORPICKER = "SELECT COLOUR"; +PLYRMNU_PLAYERCOLOR = "Colour"; +DSPLYMNU_DIMCOLOR = "Dim colour"; +HUDMNU_CROSSHAIRCOLOR = "Crosshair colour"; +HUDMNU_NAMETAGCOLOR = "Nametag colour"; +ALTHUDMNU_TIMECOLOR = "Time colour"; +ALTHUDMNU_ARMORRED = "Red armour display below"; +ALTHUDMNU_ARMORYELLOW = "Yellow armour display below"; +ALTHUDMNU_ARMORGREEN = "Green armour display below"; +ALTHUDMNU_TITLECOLOR = "Map title colour"; +ALTHUDMNU_MAPTIMECOLOR = "Map time colour"; +ALTHUDMNU_HUBTIMECOLOR = "Hub time colour"; +ALTHUDMNU_TOTALTIMECOLOR = "Total time colour"; +ALTHUDMNU_COORDINATECOLOR = "Coordinate colour"; +ALTHUDMNU_STATSNAMECOLOR = "Statistics name colour"; +ALTHUDMNU_STATSCOLOR = "Statistics colour"; +AUTOMAPMNU_COLORSET = "Map colour set"; +AUTOMAPMNU_CUSTOMCOLORS = "Allow map defined colours"; +AUTOMAPMNU_SETCUSTOMCOLORS = "Set custom colours"; +MAPCOLORMNU_TITLE = "CUSTOMIZE MAP COLOURS"; +MAPCOLORMNU_DEFAULTMAPCOLORS = "Restore default custom colours"; +MSGMNU_MESSAGECOLORS = "Message Colours"; +SCRBRDMNU_HEADERCOLOR = "Header Colour"; +SCRBRDMNU_YOURCOLOR = "Your Player Colour"; +SCRBRDMNU_OTHERPLAYERCOLOR = "Other Players' Colour"; +GMPLYMNU_ALLOWARMOR = "Allow armour"; +GMPLYMNU_KEEPARMOR = "Keep armour"; +OPTVAL_MAPDEFINEDCOLORSONLY = "Map defined colours only"; diff --git a/wadsrc/static/language.enu b/wadsrc/static/language.enu index 005a3f57d..1fbf83b08 100644 --- a/wadsrc/static/language.enu +++ b/wadsrc/static/language.enu @@ -1554,7 +1554,17 @@ TXT_COMM0 = "Incoming Message"; TXT_COMM1 = "Incoming Message from BlackBird"; -// Skills: +// Menu Strings + +// Main Menu +MNU_NEWGAME = "NEW GAME"; +MNU_OPTIONS = "OPTIONS"; +MNU_GAMEFILES = "GAME FILES"; +MNU_INFO = "INFO"; +MNU_QUITGAME = "QUIT GAME"; + +// Skills +MNU_CHOOSESKILL = "CHOOSE SKILL LEVEL:"; SKILL_BABY = "I'm too young to die"; SKILL_EASY = "Hey, not too rough"; @@ -1574,40 +1584,12 @@ SSKILL_NORMAL = "Veteran"; SSKILL_HARD = "Elite"; SSKILL_NIGHTMARE = "Bloodbath"; -// Menu -MNU_NEWGAME = "NEW GAME"; -MNU_OPTIONS = "OPTIONS"; -MNU_GAMEFILES = "GAME FILES"; -MNU_INFO = "INFO"; -MNU_QUITGAME = "QUIT GAME"; - -MNU_FIGHTER = "FIGHTER"; -MNU_CLERIC = "CLERIC"; -MNU_MAGE = "MAGE"; -MNU_RANDOM = "RANDOM"; - -MNU_LOADGAME = "LOAD GAME"; -MNU_SAVEGAME = "SAVE GAME"; - -MNU_COTD = "CITY OF THE DAMNED"; -MNU_HELLSMAW = "HELL'S MAW"; -MNU_DOME = "THE DOME OF D'SPARIL"; -MNU_OSSUARY = "THE OSSUARY"; -MNU_DEMESNE = "THE STAGNANT DEMESNE"; - MNU_WETNURSE = "THOU NEEDETH A WET-NURSE"; MNU_YELLOWBELLIES = "YELLOWBELLIES-R-US"; MNU_BRINGEST = "BRINGEST THEM ONETH"; MNU_SMITE = "THOU ART A SMITE-MEISTER"; MNU_BLACKPLAGUE = "BLACK PLAGUE POSSESSES THEE"; -MNU_NOPICTURE = "No Picture"; -MNU_DIFFVERSION = "Different\nVersion"; -MNU_NOFILES = "No files"; - -MNU_CHOOSECLASS = "CHOOSE CLASS:"; -MNU_CHOOSESKILL = "CHOOSE SKILL LEVEL:"; - MNU_SQUIRE = "SQUIRE"; MNU_KNIGHT = "KNIGHT"; MNU_WARRIOR = "WARRIOR"; @@ -1626,13 +1608,725 @@ MNU_SORCERER = "SORCERER"; MNU_WARLOCK = "WARLOCK"; MNU_ARCHMAGE = "ARCHMAGE"; -MNU_PLAYERSETUP = "PLAYER SETUP"; +// Classes +MNU_CHOOSECLASS = "CHOOSE CLASS:"; +MNU_FIGHTER = "FIGHTER"; +MNU_CLERIC = "CLERIC"; +MNU_MAGE = "MAGE"; +MNU_RANDOM = "RANDOM"; +// Game Files +MNU_LOADGAME = "LOAD GAME"; +MNU_SAVEGAME = "SAVE GAME"; +MNU_NOPICTURE = "No Picture"; +MNU_DIFFVERSION = "Different\nVersion"; +MNU_NOFILES = "No files"; MNU_DELETESG = "Do you really want to delete the savegame\n"; +// Episodes +MNU_EPISODE = "Select Episode"; +MNU_COTD = "CITY OF THE DAMNED"; +MNU_HELLSMAW = "HELL'S MAW"; +MNU_DOME = "THE DOME OF D'SPARIL"; +MNU_OSSUARY = "THE OSSUARY"; +MNU_DEMESNE = "THE STAGNANT DEMESNE"; $ifgame(heretic) SWSTRING = "ONLY AVAILABLE IN THE REGISTERED VERSION"; -MNU_EPISODE = "Select Episode"; +// Options Menu +OPTMNU_TITLE = "OPTIONS"; +OPTMNU_CONTROLS = "Customize Controls"; +OPTMNU_MOUSE = "Mouse options"; +OPTMNU_JOYSTICK = "Joystick options"; +OPTMNU_PLAYER = "Player Setup"; +OPTMNU_GAMEPLAY = "Gameplay Options"; +OPTMNU_COMPATIBILITY = "Compatibility Options"; +OPTMNU_AUTOMAP = "Automap Options"; +OPTMNU_HUD = "HUD Options"; +OPTMNU_MISCELLANEOUS = "Miscellaneous Options"; +OPTMNU_NETWORK = "Network Options"; +OPTMNU_SOUND = "Sound Options"; +OPTMNU_DISPLAY = "Display Options"; +OPTMNU_VIDEO = "Set video mode"; +OPTMNU_DEFAULTS = "Reset to defaults"; +OPTMNU_RESETTOSAVED = "Reset to last saved"; +OPTMNU_CONSOLE = "Go to console"; + +// Controls Menu + +CNTRLMNU_TITLE = "CUSTOMIZE CONTROLS"; +CNTRLMNU_SWITCHTEXT1 = "ENTER to change, BACKSPACE to clear"; +CNTRLMNU_SWITCHTEXT2 = "Press new key for control, ESC to cancel"; +CNTRLMNU_CONTROLS = "Controls"; +CNTRLMNU_ATTACK = "Fire"; +CNTRLMNU_ALTATTACK = "Secondary Fire"; +CNTRLMNU_RELOAD = "Weapon Reload"; +CNTRLMNU_ZOOM = "Weapon Zoom"; +CNTRLMNU_USER1 = "Weapon State 1"; +CNTRLMNU_USER2 = "Weapon State 2"; +CNTRLMNU_USER3 = "Weapon State 3"; +CNTRLMNU_USER4 = "Weapon State 4"; +CNTRLMNU_USE = "Use / Open"; +CNTRLMNU_FORWARD = "Move forward"; +CNTRLMNU_BACK = "Move backward"; +CNTRLMNU_MOVELEFT = "Strafe left"; +CNTRLMNU_MOVERIGHT = "Strafe right"; +CNTRLMNU_TURNLEFT = "Turn left"; +CNTRLMNU_TURNRIGHT = "Turn right"; +CNTRLMNU_TURN180 = "Quick Turn"; +CNTRLMNU_JUMP = "Jump"; +CNTRLMNU_CROUCH = "Crouch"; +CNTRLMNU_TOGGLECROUCH = "Crouch Toggle"; +CNTRLMNU_MOVEUP = "Fly / Swim up"; +CNTRLMNU_MOVEDOWN = "Fly / Swim down"; +CNTRLMNU_LAND = "Stop flying"; +CNTRLMNU_MOUSELOOK = "Mouse look"; +CNTRLMNU_KEYBOARDLOOK = "Keyboard look"; +CNTRLMNU_LOOKUP = "Look up"; +CNTRLMNU_LOOKDOWN = "Look down"; +CNTRLMNU_CENTERVIEW = "Center view"; +CNTRLMNU_RUN = "Run"; +CNTRLMNU_TOGGLERUN = "Toggle Run"; +CNTRLMNU_STRAFE = "Strafe"; +CNTRLMNU_SCOREBOARD = "Show Scoreboard"; +CNTRLMNU_TOGGLESCOREBOARD = "Toggle Scoreboard"; +CNTRLMNU_CHAT = "Chat"; +CNTRLMNU_SAY = "Say"; +CNTRLMNU_TEAMSAY = "Team say"; +CNTRLMNU_WEAPONS = "Weapons"; +CNTRLMNU_NEXTWEAPON = "Next weapon"; +CNTRLMNU_PREVIOUSWEAPON = "Previous weapon"; +CNTRLMNU_SLOT1 = "Weapon Slot 1"; +CNTRLMNU_SLOT2 = "Weapon Slot 2"; +CNTRLMNU_SLOT3 = "Weapon Slot 3"; +CNTRLMNU_SLOT4 = "Weapon Slot 4"; +CNTRLMNU_SLOT5 = "Weapon Slot 5"; +CNTRLMNU_SLOT6 = "Weapon Slot 6"; +CNTRLMNU_SLOT7 = "Weapon Slot 7"; +CNTRLMNU_SLOT8 = "Weapon Slot 8"; +CNTRLMNU_SLOT9 = "Weapon Slot 9"; +CNTRLMNU_SLOT0 = "Weapon Slot 0"; +CNTRLMNU_INVENTORY = "Inventory"; +CNTRLMNU_USEITEM = "Activate item"; +CNTRLMNU_USEALLITEMS = "Activate all items"; +CNTRLMNU_NEXTITEM = "Next item"; +CNTRLMNU_PREVIOUSITEM = "Previous item"; +CNTRLMNU_DROPITEM = "Drop item"; +CNTRLMNU_QUERYITEM = "Query item"; +CNTRLMNU_DROPWEAPON = "Drop weapon"; +CNTRLMNU_OTHER = "Other"; +CNTRLMNU_AUTOMAP = "Toggle automap"; +CNTRLMNU_CHASECAM = "Chasecam"; +CNTRLMNU_COOPSPY = "Coop spy"; +CNTRLMNU_SCREENSHOT = "Screenshot"; +CNTRLMNU_CONSOLE = "Open console"; +CNTRLMNU_POPUPS = "Strife Popup Screens"; +CNTRLMNU_MISSION = "Mission objectives"; +CNTRLMNU_KEYS = "Keys list"; +CNTRLMNU_STATS = "Weapons/ammo/stats"; + +// Mouse Menu + +MOUSEMNU_TITLE = "MOUSE OPTIONS"; +MOUSEMNU_ENABLEMOUSE = "Enable mouse"; +MOUSEMNU_MOUSEINMENU = "Enable mouse in menus"; +MOUSEMNU_SHOWBACKBUTTON = "Show back button"; +MOUSEMNU_CURSOR = "Cursor"; +MOUSEMNU_SENSITIVITY = "Overall sensitivity"; +MOUSEMNU_NOPRESCALE = "Prescale mouse movement"; +MOUSEMNU_SMOOTHMOUSE = "Smooth mouse movement"; +MOUSEMNU_TURNSPEED = "Turning speed"; +MOUSEMNU_MOUSELOOKSPEED = "Mouselook speed"; +MOUSEMNU_FORWBACKSPEED = "Forward/Backward speed"; +MOUSEMNU_STRAFESPEED = "Strafing speed"; +MOUSEMNU_ALWAYSMOUSELOOK = "Always Mouselook"; +MOUSEMNU_INVERTMOUSE = "Invert Mouse"; +MOUSEMNU_LOOKSPRING = "Lookspring"; +MOUSEMNU_LOOKSTRAFE = "Lookstrafe"; + +// Joystick Menu + +JOYMNU_CONFIG = "CONFIGURE CONTROLLER"; +JOYMNU_OPTIONS = "CONTROLLER OPTIONS"; + +// Player Setup Menu +PLYRMNU_PLAYERSETUP = "PLAYER SETUP"; +PLYRMNU_NAME = "Name"; +PLYRMNU_TEAM = "Team"; +PLYRMNU_PLAYERCOLOR = "Color"; +PLYRMNU_RED = "Red"; +PLYRMNU_GREEN = "Green"; +PLYRMNU_BLUE = "Blue"; +PLYRMNU_PLAYERCLASS = "Class"; +PLYRMNU_PLAYERSKIN = "Skin"; +PLYRMNU_PLAYERGENDER = "Gender"; +PLYRMNU_AUTOAIM = "Autoaim"; +PLYRMNU_SWITCHONPICKUP = "Switch on pickup"; +PLYRMNU_ALWAYSRUN = "Always Run"; + +// Display Options +DSPLYMNU_TITLE = "DISPLAY OPTIONS"; +DSPLYMNU_SCOREBOARD = "Scoreboard Options"; +DSPLYMNU_SCREENSIZE = "Screen size"; +DSPLYMNU_BRIGHTNESS = "Brightness"; +DSPLYMNU_VSYNC = "Vertical Sync"; +DSPLYMNU_CAPFPS = "Rendering Interpolation"; +DSPLYMNU_COLUMNMETHOD = "Column render mode"; +DSPLYMNU_WIPETYPE = "Screen wipe style"; +DSPLYMNU_SHOWENDOOM = "Show ENDOOM screen"; +DSPLYMNU_PALLETEHACK = "DirectDraw palette hack"; // Not used +DSPLYMNU_ATTACHEDSURFACES = "Use attached surfaces"; // Not used +DSPLYMNU_STRETCHSKY = "Stretch short skies"; +DSPLYMNU_DRAWFUZZ = "Use fuzz effect"; +DSPLYMNU_TRANSSOUL = "Lost Soul translucency"; +DSPLYMNU_FAKECONTRAST = "Use fake contrast"; +DSPLYMNU_ROCKETTRAILS = "Rocket Trails"; +DSPLYMNU_BLOODTYPE = "Blood Type"; +DSPLYMNU_PUFFTYPE = "Bullet Puff Type"; +DSPLYMNU_MAXPARTICLES = "Number of particles"; +DSPLYMNU_MAXDECALS = "Number of decals"; +DSPLYMNU_PLAYERSPRITES = "Show player sprites"; +DSPLYMNU_DEATHCAM = "Death camera"; +DSPLYMNU_TELEZOOM = "Teleporter zoom"; +DSPLYMNU_QUAKEINTENSITY = "Earthquake shake intensity"; +DSPLYMNU_NOMONSTERINTERPOLATION = "Interpolate monster movement"; +DSPLYMNU_MENUDIM = "Menu dim"; +DSPLYMNU_DIMCOLOR = "Dim color"; + +// HUD Options +HUDMNU_TITLE = "HUD Options"; +HUDMNU_ALTHUD = "Alternative HUD"; +HUDMNU_MESSAGE = "Message Options"; +HUDMNU_CROSSHAIR = "Default Crosshair"; +HUDMNU_FORCECROSSHAIR = "Force default crosshair"; +HUDMNU_GROWCROSSHAIR = "Grow crosshair when picking up items"; +HUDMNU_CROSSHAIRCOLOR = "Crosshair color"; +HUDMNU_CROSSHAIRHEALTH = "Crosshair shows health"; +HUDMNU_CROSSHAIRSCALE = "Scale crosshair"; +HUDMNU_NAMETAGS = "Display nametags"; +HUDMNU_NAMETAGCOLOR = "Nametag color"; +HUDMNU_SCALESTATBAR = "Stretch status bar"; +HUDMNU_SCALEFULLSCREENHUD = "Stretch Fullscreen HUD"; +HUDMNU_OLDOUCH = "Use old ouch mug shot formula"; +HUDMNU_HEXENFLASHES = "Hexen weapon flashes"; +HUDMNU_POISONFLASHES = "Poison damage flashes"; +HUDMNU_ICEFLASHES = "Ice death flashes"; +HUDMNU_HAZARDFLASHES = "Poison Buildup flashes"; + +// AltHUD Options +ALTHUDMNU_TITLE = "Alternative HUD"; +ALTHUDMNU_ENABLE = "Enable alternative HUD"; +ALTHUDMNU_SCALEHUD = "Stretch alternative HUD"; +ALTHUDMNU_SHOWSECRETS = "Show secret count"; +ALTHUDMNU_SHOWMONSTERS = "Show monster count"; +ALTHUDMNU_SHOWITEMS = "Show item count"; +ALTHUDMNU_SHOWSTATS = "Show stamina and accuracy"; +ALTHUDMNU_SHOWBERSERK = "Show berserk"; +ALTHUDMNU_SHOWWEAPONS = "Show weapons"; +ALTHUDMNU_SHOWAMMO = "Show ammo for"; +ALTHUDMNU_SHOWTIME = "Show time"; +ALTHUDMNU_TIMECOLOR = "Time color"; +ALTHUDMNU_SHOWLAG = "Show network latency"; +ALTHUDMNU_AMMORED = "Red ammo display below %"; +ALTHUDMNU_AMMOYELLOW = "Yellow ammo display below %"; +ALTHUDMNU_HEALTHRED = "Red health display below"; +ALTHUDMNU_HEALTHYELLOW = "Yellow health display below"; +ALTHUDMNU_HEALTHGREEN = "Green health display below"; +ALTHUDMNU_ARMORRED = "Red armor display below"; +ALTHUDMNU_ARMORYELLOW = "Yellow armor display below"; +ALTHUDMNU_ARMORGREEN = "Green armor display below"; +ALTHUDMNU_AUTOMAPHUD = "Alternative Automap HUD"; +ALTHUDMNU_TITLECOLOR = "Map title color"; +ALTHUDMNU_MAPTIMECOLOR = "Map time color"; +ALTHUDMNU_HUBTIMECOLOR = "Hub time color"; +ALTHUDMNU_TOTALTIMECOLOR = "Total time color"; +ALTHUDMNU_COORDINATECOLOR = "Coordinate color"; +ALTHUDMNU_COORDINATEMODE = "Coordinate mode"; +ALTHUDMNU_STATSNAMECOLOR = "Statistics name color"; +ALTHUDMNU_STATSCOLOR = "Statistics color"; + +// Misc. Options +MISCMNU_TITLE = "Miscellaneous Options"; +MISCMNU_MERGEKEYS = "Merge left+right Alt/Ctrl/Shift"; +MISCMNU_WINFULLSCREENTOGGLE = "Alt-Enter toggles fullscreen"; +MISCMNU_MACFULLSCREENTOGGLE = "Command-F toggles fullscreen"; +MISCMNU_QUERYIWAD = "Show IWAD selection dialog"; +MISCMNU_ALLCHEATS = "Enable cheats from all games"; +MISCMNU_ENABLEAUTOSAVES = "Enable autosaves"; +MISCMNU_AUTOSAVECOUNT = "Number of autosaves"; +MISCMNU_DEHLOAD = "Load *.deh/*.bex lumps"; +MISCMNU_CACHENODES = "Cache nodes"; +MISCMNU_CACHETIME = "Time threshold for node caching"; +MISCMNU_CLEARNODECACHE = "Clear node cache"; + +// Automap Options +AUTOMAPMNU_TITLE = "AUTOMAP OPTIONS"; +AUTOMAPMNU_COLORSET = "Map color set"; +AUTOMAPMNU_CUSTOMCOLORS = "Allow map defined colors"; +AUTOMAPMNU_SETCUSTOMCOLORS = "Set custom colors"; +AUTOMAPMNU_CONTROLS = "Customize map controls"; +AUTOMAPMNU_ROTATE = "Rotate automap"; +AUTOMAPMNU_OVERLAY = "Overlay automap"; +AUTOMAPMNU_TEXTURED = "Enable textured display"; +AUTOMAPMNU_FOLLOW = "Follow player"; +AUTOMAPMNU_SHOWITEMS = "Show item counts"; +AUTOMAPMNU_SHOWMONSTERS = "Show monster counts"; +AUTOMAPMNU_SHOWSECRETS = "Show secret counts"; +AUTOMAPMNU_SHOWTIME = "Show time elapsed"; +AUTOMAPMNU_SHOWTOTALTIME = "Show total time elapsed"; +AUTOMAPMNU_MAPSECRETS = "Show secrets on map"; +AUTOMAPMNU_SHOWMAPLABEL = "Show map label"; +AUTOMAPMNU_DRAWMAPBACK = "Draw map background"; +AUTOMAPMNU_SHOWKEYS = "Show keys (cheat)"; +AUTOMAPMNU_SHOWTRIGGERLINES = "Show trigger lines"; +AUTOMAPMNU_SHOWTHINGSPRITES = "Show things as sprites"; + +// Automap Controls +MAPCNTRLMNU_TITLE = "CUSTOMIZE MAP CONTROLS"; +MAPCNTRLMNU_CONTROLS = "Map Controls"; +MAPCNTRLMNU_PANLEFT = "Pan left"; +MAPCNTRLMNU_PANRIGHT = "Pan right"; +MAPCNTRLMNU_PANUP = "Pan up"; +MAPCNTRLMNU_PANDOWN = "Pan down"; +MAPCNTRLMNU_ZOOMIN = "Zoom in"; +MAPCNTRLMNU_ZOOMOUT = "Zoom out"; +MAPCNTRLMNU_TOGGLEZOOM = "Toggle zoom"; +MAPCNTRLMNU_TOGGLEFOLLOW = "Toggle follow"; +MAPCNTRLMNU_TOGGLEGRID = "Toggle grid"; +MAPCNTRLMNU_TOGGLETEXTURE = "Toggle texture"; +MAPCNTRLMNU_SETMARK = "Set mark"; +MAPCNTRLMNU_CLEARMARK = "Clear mark"; + +// Automap Colors +MAPCOLORMNU_TITLE = "CUSTOMIZE MAP COLORS"; +MAPCOLORMNU_DEFAULTMAPCOLORS = "Restore default custom colors"; +MAPCOLORMNU_BACKCOLOR = "Background"; +MAPCOLORMNU_YOURCOLOR = "You"; +MAPCOLORMNU_WALLCOLOR = "1-sided walls"; +MAPCOLORMNU_FDWALLCOLOR = "2-sided walls with different floors"; +MAPCOLORMNU_CDWALLCOLOR = "2-sided walls with different ceilings"; +MAPCOLORMNU_EFWALLCOLOR = "2-sided walls with 3D floors"; +MAPCOLORMNU_GRIDCOLOR = "Map grid"; +MAPCOLORMNU_XHAIRCOLOR = "Center point"; +MAPCOLORMNU_NOTSEENCOLOR = "Not-yet-seen walls"; +MAPCOLORMNU_LOCKEDCOLOR = "Locked doors"; +MAPCOLORMNU_INTRALEVELCOLOR = "Teleporter to the same map"; +MAPCOLORMNU_INTERLEVELCOLOR = "Teleporter to a different map"; +MAPCOLORMNU_SECRETSECTORCOLOR = "Secret sector"; +MAPCOLORMNU_SPECIALWALLCOLOR = "Special trigger lines"; +MAPCOLORMNU_CHEATMODE = "Cheat Mode"; +MAPCOLORMNU_TSWALLCOLOR = "Invisible 2-sided walls"; +MAPCOLORMNU_SECRETWALLCOLOR = "Secret walls"; +MAPCOLORMNU_THINGCOLOR = "Actors"; +MAPCOLORMNU_MONSTERCOLOR = "Monsters"; +MAPCOLORMNU_NONCOUNTINGMONSTERCOLOR = "non-counting Monsters"; +MAPCOLORMNU_FRIENDCOLOR = "Friends"; +MAPCOLORMNU_ITEMCOLOR = "Items"; +MAPCOLORMNU_COUNTITEMCOLOR = "Count Items"; +MAPCOLORMNU_OVERLAY = "Overlay Mode"; +MAPCOLORMNU_OVCHEATMODE = "Overlay Cheat Mode"; + +// Message Options +MSGMNU_TITLE = "MESSAGES"; +MSGMNU_SHOWMESSAGES = "Show messages"; +MSGMNU_SHOWOBITUARIES = "Show obituaries"; +MSGMNU_SHOWSECRETS = "Show secret notifications"; +MSGMNU_SCALETEXT = "Scale text in high res"; +MSGMNU_MESSAGELEVEL = "Minimum message level"; +MSGMNU_CENTERMESSAGES = "Center messages"; +MSGMNU_MESSAGECOLORS = "Message Colors"; +MSGMNU_ITEMPICKUP = "Item Pickup"; +MSGMNU_OBITUARIES = "Obituaries"; +MSGMNU_CRITICALMESSAGES = "Critical Messages"; +MSGMNU_CHATMESSAGES = "Chat Messages"; +MSGMNU_TEAMMESSAGES = "Team Messages"; +MSGMNU_CENTEREDMESSAGES = "Centered Messages"; +MSGMNU_SCREENSHOTMESSAGES = "Screenshot messages"; +MSGMNU_LONGSAVEMESSAGES = "Detailed save messages"; + +// Scoreboard Options +SCRBRDMNU_TITLE = "SCOREBOARD OPTIONS"; +SCRBRDMNU_COOPERATIVE = "Cooperative Options"; +SCRBRDMNU_ENABLE = "Enable Scoreboard"; +SCRBRDMNU_HEADERCOLOR = "Header Color"; +SCRBRDMNU_YOURCOLOR = "Your Player Color"; +SCRBRDMNU_OTHERPLAYERCOLOR = "Other Players' Color"; +SCRBRDMNU_DEATHMATCH = "Deathmatch Options"; +SCRBRDMNU_TEAMDEATHMATCH = "Team Deathmatch Options"; + +// Gameplay Menu +GMPLYMNU_TITLE = "GAMEPLAY OPTIONS"; +GMPLYMNU_TEAMPLAY = "Teamplay"; +GMPLYMNU_TEAMDAMAGE = "Team damage scalar"; +GMPLYMNU_SMARTAUTOAIM = "Smart Autoaim"; +GMPLYMNU_FALLINGDAMAGE = "Falling damage"; +GMPLYMNU_DROPWEAPON = "Drop weapon"; +GMPLYMNU_DOUBLEAMMO = "Double ammo"; +GMPLYMNU_INFINITEAMMO = "Infinite ammo"; +GMPLYMNU_INFINITEINVENTORY = "Infinite inventory"; +GMPLYMNU_NOMONSTERS = "No monsters"; +GMPLYMNU_NOMONSTERSTOEXIT = "No monsters to exit"; +GMPLYMNU_MONSTERSRESPAWN = "Monsters respawn"; +GMPLYMNU_NORESPAWN = "No respawn"; +GMPLYMNU_ITEMSRESPAWN = "Items respawn"; +GMPLYMNU_SUPERRESPAWN = "Big powerups respawn"; +GMPLYMNU_FASTMONSTERS = "Fast monsters"; +GMPLYMNU_DEGENERATION = "Degeneration"; +GMPLYMNU_NOAUTOAIM = "Allow Autoaim"; +GMPLYMNU_ALLOWSUICIDE = "Allow Suicide"; +GMPLYMNU_ALLOWJUMP = "Allow jump"; +GMPLYMNU_ALLOWCROUCH = "Allow crouch"; +GMPLYMNU_ALLOWFREELOOK = "Allow freelook"; +GMPLYMNU_ALLOWFOV = "Allow FOV"; +GMPLYMNU_BFGFREEAIM = "Allow BFG aiming"; +GMPLYMNU_ALLOWAUTOMAP = "Allow automap"; +GMPLYMNU_AUTOMAPALLIES = "Automap allies"; +GMPLYMNU_ALLOWSPYING = "Allow spying"; +GMPLYMNU_CHASECAM = "Chasecam cheat"; +GMPLYMNU_DONTCHECKAMMO = "Check ammo for weapon switch"; +GMPLYMNU_KILLBOSSSPAWNS = "Icon's death kills its spawns"; +GMPLYMNU_NOCOUNTENDMONSTER = "End sector counts for kill %"; +GMPLYMNU_DEATHMATCH = "Deathmatch Settings"; +GMPLYMNU_WEAPONSSTAY = "Weapons stay"; +GMPLYMNU_ALLOWPOWERUPS = "Allow powerups"; +GMPLYMNU_ALLOWHEALTH = "Allow health"; +GMPLYMNU_ALLOWARMOR = "Allow armor"; +GMPLYMNU_SPAWNFARTHEST = "Spawn farthest"; +GMPLYMNU_SAMEMAP = "Same map"; +GMPLYMNU_FORCERESPAWN = "Force respawn"; +GMPLYMNU_ALLOWEXIT = "Allow exit"; +GMPLYMNU_BARRELSRESPAWN = "Barrels respawn"; +GMPLYMNU_RESPAWNPROTECTION = "Respawn protection"; +GMPLYMNU_LOSEFRAG = "Lose frag if fragged"; +GMPLYMNU_KEEPFRAGS = "Keep frags gained"; +GMPLYMNU_NOTEAMSWITCH = "No team switching"; +GMPLYMNU_COOPERATIVE = "Cooperative Settings"; +GMPLYMNU_MULTIPLAYERWEAPONS = "Spawn multi. weapons"; +GMPLYMNU_LOSEINVENTORY = "Lose entire inventory"; +GMPLYMNU_KEEPKEYS = "Keep keys"; +GMPLYMNU_KEEPWEAPONS = "Keep weapons"; +GMPLYMNU_KEEPARMOR = "Keep armor"; +GMPLYMNU_KEEPPOWERUPS = "Keep powerups"; +GMPLYMNU_KEEPAMMO = "Keep ammo"; +GMPLYMNU_LOSEHALFAMMO = "Lose half ammo"; +GMPLYMNU_SPAWNWHEREDIED = "Spawn where died"; + +// Compatibility Options +CMPTMNU_TITLE = "COMPATIBILITY OPTIONS"; +CMPTMNU_MODE = "Compatibility mode"; +CMPTMNU_ACTORBEHAVIOR = "Actor Behavior"; +CMPTMNU_CORPSEGIBS = "Crushed monsters can be resurrected"; +CMPTMNU_NOBLOCKFRIENDS = "Friendly monsters aren't blocked"; +CMPTMNU_LIMITPAIN = "Limit Pain Elementals' Lost Souls"; +CMPTMNU_MBFMONSTERMOVE = "Monster movement is affected by effects"; +CMPTMNU_CROSSDROPOFF = "Monsters cannot cross dropoffs"; +CMPTMNU_DROPOFF = "Monsters get stuck over dropoffs"; +CMPTMNU_INVISIBILITY = "Monsters see invisible players"; +CMPTMNU_MINOTAUR = "No Minotaur floor flames in water"; +CMPTMNU_NOTOSSDROPS = "Spawn item drops on the floor"; +CMPTMNU_DEHACKEDBEHAVIOR = "DehackEd Behavior"; +CMPTMNU_DEHHEALTH = "DEH health settings like Doom2.exe"; +CMPTMNU_MUSHROOM = "Original A_Mushroom speed in DEH mods"; +CMPTMNU_MAPACTIONBEHAVIOR = "Map/Action Behavior"; +CMPTMNU_USEBLOCKING = "All special lines can block "; +CMPTMNU_ANYBOSSDEATH = "Allow any bossdeath for level special"; +CMPTMNU_NODOORLIGHT = "Disable BOOM door light effect"; +CMPTMNU_LIGHT = "Find neighboring light like Doom"; +CMPTMNU_SHORTTEX = "Find shortest textures like Doom"; +CMPTMNU_STAIRS = "Use buggier stair building"; +CMPTMNU_FLOORMOVE = "Use Doom's floor motion behavior"; +CMPTMNU_POINTONLINE = "Use Doom's point-on-line algorithm"; +CMPTMNU_PHYSICSBEHAVIOR = "Physics Behavior"; +CMPTMNU_NOPASSOVER = "Actors are infinitely tall"; +CMPTMNU_BOOMSCROLL = "Boom scrollers are additive"; +CMPTMNU_BADANGLES = "Cannot travel straight NSEW"; +CMPTMNU_WALLRUN = "Enable wall running"; +CMPTMNU_RAVENSCROLL = "Raven scrollers use original speed"; +CMPTMNU_TRACE = "Self ref. sectors don't block shots"; +CMPTMNU_HITSCAN = "Use Doom code for hitscan checks"; +CMPTMNU_MISSILECLIP = "Use Doom heights for missile clipping"; +CMPTMNU_RENDERINGBEHAVIOR = "Rendering Behavior"; +CMPTMNU_POLYOBJ = "Draw polyobjects like Hexen"; +CMPTMNU_MASKEDMIDTEX = "Ignore Y offsets on masked midtextures"; +CMPTMNU_SPRITESORT = "Invert sprite sorting"; +CMPTMNU_SOUNDBEHAVIOR = "Sound Behavior"; +CMPTMNU_SOUNDSLOTS = "Cripple sound for silent BFG trick"; +CMPTMNU_SILENTPICKUP = "Don't let others hear your pickups"; +CMPTMNU_SILENTINSTANTFLOORS = "Inst. moving floors are not silent"; +CMPTMNU_SECTORSOUNDS = "Sector sounds use center as source"; +CMPTMNU_SOUNDCUTOFF = "Sounds stop when actor vanishes"; +CMPTMNU_SOUNDTARGET = "Use original sound target handling"; + +// Sound Options +SNDMNU_TITLE = "SOUND OPTIONS"; +SNDMNU_SFXVOLUME = "Sounds volume"; +SNDMNU_MENUVOLUME = "Menu volume"; +SNDMNU_MUSICVOLUME = "Music volume"; +SNDMNU_MIDIDEVICE = "MIDI device"; +SNDMNU_UNDERWATERREVERB = "Underwater reverb"; +SNDMNU_RANDOMIZEPITCHES = "Randomize pitches"; +SNDMNU_CHANNELS = "Sound channels"; +SNDMNU_BACKEND = "Sound backend"; +SNDMNU_FMOD = "FMOD options"; +SNDMNU_OPENAL = "OpenAL options"; +SNDMNU_RESTART = "Restart sound"; +SNDMNU_ADVANCED = "Advanced options"; +SNDMNU_MODREPLAYER = "Module replayer options"; + +// Fmod Options +FMODMNU_TITLE = "FMOD OPTIONS"; +FMODMNU_WATERCUTOFF = "Underwater cutoff"; +FMODMNU_OUTPUTSYSTEM = "Output system"; +FMODMNU_OUTPUTFORMAT = "Output format"; +FMODMNU_SPEAKERMODE = "Speaker mode"; +FMODMNU_RESAMPLER = "Resampler"; +FMODMNU_HRTFFILTER = "HRTF filter"; +FMODMNU_BUFFERSIZE = "Buffer size"; +FMODMNU_BUFFERCOUNT = "Buffer count"; + +// OpenAL Options +OPENALMNU_TITLE = "OPENAL OPTIONS"; +OPENALMNU_PLAYBACKDEVICE = "Playback device"; +OPENALMNU_ENABLEEFX = "Enable EFX"; + +// Advanced Sound Options +ADVSNDMNU_TITLE = "ADVANCED SOUND OPTIONS"; +ADVSNDMNU_SAMPLERATE = "Sample rate"; +ADVSNDMNU_OPLSYNTHESIS = "OPL Synthesis"; +ADVSNDMNU_OPLNUMCHIPS = "Number of emulated OPL chips"; +ADVSNDMNU_OPLFULLPAN = "Full MIDI stereo panning"; +ADVSNDMNU_OPLCORES = "OPL Emulator Core"; +ADVSNDMNU_GUSEMULATION = "GUS Emulation"; +ADVSNDMNU_GUSCONFIG = "GUS config file"; +ADVSNDMNU_MIDIVOICES = "MIDI voices"; +ADVSNDMNU_DMXGUS = "Read DMXGUS lumps"; +ADVSNDMNU_GUSMEMSIZE = "GUS memory size"; +ADVSNDMNU_FLUIDSYNTH = "FluidSynth"; +ADVSNDMNU_FLUIDPATCHSET = "Patch set"; +ADVSNDMNU_FLUIDGAIN = "Gain"; +ADVSNDMNU_REVERB = "Reverb"; +ADVSNDMNU_FLUIDVOICES = "MIDI voices"; +ADVSNDMNU_TIMIDITY = "Timidity++"; +ADVSNDMNU_TIMIDITYEXE = "Path for executable"; +ADVSNDMNU_TIMIDITYCHORUS = "Chorus"; +ADVSNDMNU_TIMIDITYVOLUME = "Relative volume"; +ADVSNDMNU_WILDMIDI = "WildMidi"; +ADVSNDMNU_WILDMIDICONFIG = "WildMidi config file"; + +// Module Replayer Options +MODMNU_TITLE = "MODULE REPLAYER OPTIONS"; +MODMNU_REPLAYERENGINE = "Replayer engine"; +MODMNU_MASTERVOLUME = "Master Volume"; +MODMNU_QUALITY = "Quality"; +MODMNU_VOLUMERAMPING = "Volume ramping"; +MODMNU_CHIPOMATIC = "Chip-o-matic"; + +// Video Options +VIDMNU_TITLE = "VIDEO MODE"; +VIDMNU_FULLSCREEN = "Fullscreen"; +VIDMNU_HIDPI = "Retina/HiDPI support"; +VIDMNU_ASPECTRATIO = "Aspect ratio"; +VIDMNU_FORCEASPECT = "Force aspect ratio"; +VIDMNU_5X4ASPECTRATIO = "Enable 5:4 aspect ratio"; +VIDMNU_ENTERTEXT = "Press ENTER to set mode"; +VIDMNU_TESTTEXT1 = "T to test mode for 5 seconds"; +VIDMNU_TESTTEXT2 = "Please wait 5 seconds..."; + +// Network Options +NETMNU_TITLE = "NETWORK OPTIONS"; +NETMNU_LOCALOPTIONS = "Local options"; +NETMNU_MOVEPREDICTION = "Movement prediction"; +NETMNU_LINESPECIALPREDICTION = "Predict line actions"; +NETMNU_PREDICTIONLERPSCALE = "Prediction Lerp Scale"; +NETMNU_LERPTHRESHOLD = "Lerp Threshold"; +NETMNU_HOSTOPTIONS = "Host options"; +NETMNU_EXTRATICS = "Extra Tics"; +NETMNU_TICBALANCE = "Latency balancing"; + +// Option Values +OPTVAL_OFF = "Off"; +OPTVAL_ON = "On"; +OPTVAL_MALE = "Male"; +OPTVAL_FEMALE = "Female"; +OPTVAL_OTHER = "Other"; +OPTVAL_UPPERLEFT = "Upper left"; +OPTVAL_UPPERRIGHT = "Upper right"; +OPTVAL_LOWERLEFT = "Lower left"; +OPTVAL_LOWERRIGHT = "Lower right"; +OPTVAL_TOUCHSCREENLIKE = "Touchscreen-like"; +OPTVAL_NONE = "None"; +OPTVAL_TURNING = "Turning"; +OPTVAL_LOOKINGUPDOWN = "Looking Up/Down"; +OPTVAL_MOVINGFORWARD = "Moving Forward"; +OPTVAL_STRAFING = "Strafing"; +OPTVAL_MOVINGUPDOWN = "Moving Up/Down"; +OPTVAL_INVERTED = "Inverted"; +OPTVAL_NOTINVERTED = "Not Inverted"; +OPTVAL_ORIGINAL = "Original"; +OPTVAL_OPTIMIZED = "Optimized"; +OPTVAL_PARTICLES = "Particles"; +OPTVAL_SPRITES = "Sprites"; +OPTVAL_SPRITESPARTICLES = "Sprites & Particles"; +OPTVAL_MELT = "Melt"; +OPTVAL_BURN = "Burn"; +OPTVAL_CROSSFADE = "Crossfade"; +OPTVAL_ONLYMODIFIED = "Only modified"; +OPTVAL_SMOOTH = "Smooth"; +OPTVAL_TRANSLUCENT = "Translucent"; +OPTVAL_FUZZ = "Fuzz"; +OPTVAL_SHADOW = "Shadow"; +OPTVAL_ITEMS = "Items"; +OPTVAL_WEAPONS = "Weapons"; +OPTVAL_BOTH = "Both"; +OPTVAL_ZDOOM = "ZDoom"; +OPTVAL_STRIFE = "Strife"; +OPTVAL_PLAYER = "Player"; +OPTVAL_MAP = "Map"; +OPTVAL_SCALETO640X400 = "Scale to 640x400"; +OPTVAL_PIXELDOUBLE = "Pixel double"; +OPTVAL_CURRENTWEAPON = "Current weapon"; +OPTVAL_AVAILABLEWEAPONS = "Available weapons"; +OPTVAL_ALLWEAPONS = "All weapons"; +OPTVAL_LEVELMILLISECONDS = "Level, milliseconds"; +OPTVAL_LEVELSECONDS = "Level, seconds"; +OPTVAL_LEVEL = "Level"; +OPTVAL_HUBSECONDS = "Hub, seconds"; +OPTVAL_HUB = "Hub"; +OPTVAL_TOTALSECONDS = "Total, seconds"; +OPTVAL_TOTAL = "Total"; +OPTVAL_SYSTEMSECONDS = "System, seconds"; +OPTVAL_SYSTEM = "System"; +OPTVAL_NETGAMESONLY = "Netgames only"; +OPTVAL_ALWAYS = "Always"; +OPTVAL_SCRIPTSONLY = "Scripts Only"; +OPTVAL_NEVER = "Never"; +OPTVAL_ALL = "All"; +OPTVAL_ONLYLASTONE = "Only last one"; +OPTVAL_CUSTOM = "Custom"; +OPTVAL_TRADITIONALDOOM = "Traditional Doom"; +OPTVAL_TRADITIONALSTRIFE = "Traditional Strife"; +OPTVAL_TRADITIONALRAVEN = "Traditional Raven"; +OPTVAL_ONLYWHENFOUND = "Only when found"; +OPTVAL_ONFOROVERLAYONLY = "On for overlay only"; +OPTVAL_OVERLAYNORMAL = "Overlay+Normal"; +OPTVAL_OVERLAYONLY = "Overlay Only"; +OPTVAL_NOTFORHUBS = "Not for hubs"; +OPTVAL_FRONT = "Front"; +OPTVAL_ANIMATED = "Animated"; +OPTVAL_ROTATED = "Rotated"; +OPTVAL_MAPDEFINEDCOLORSONLY = "Map defined colors only"; +OPTVAL_DOUBLE = "Double"; +OPTVAL_ITEMPICKUP = "Item Pickup"; +OPTVAL_OBITUARIES = "Obituaries"; +OPTVAL_CRITICALMESSAGES = "Critical Messages"; +OPTVAL_NEVERFRIENDS = "Never friends"; +OPTVAL_ONLYMONSTERS = "Only monsters"; +OPTVAL_HEXEN = "Hexen"; +OPTVAL_OLD = "Old"; +OPTVAL_DEFAULT = "Default"; +OPTVAL_DOOM = "Doom"; +OPTVAL_DOOMSTRICT = "Doom (strict)"; +OPTVAL_BOOM = "Boom"; +OPTVAL_BOOMSTRICT = "Boom (strict)"; +OPTVAL_MBF = "MBF"; +OPTVAL_ZDOOM2063 = "ZDoom 2.0.63"; +OPTVAL_4000HZ = "4000 Hz"; +OPTVAL_8000HZ = "8000 Hz"; +OPTVAL_11025HZ = "11025 Hz"; +OPTVAL_22050HZ = "22050 Hz"; +OPTVAL_32000HZ = "32000 Hz"; +OPTVAL_44100HZ = "44100 Hz"; +OPTVAL_48000HZ = "48000 Hz"; +OPTVAL_64SAMPLES = "64 samples"; +OPTVAL_128SAMPLES = "128 samples"; +OPTVAL_256SAMPLES = "256 samples"; +OPTVAL_512SAMPLES = "512 samples"; +OPTVAL_1024SAMPLES = "1024 samples"; +OPTVAL_2048SAMPLES = "2048 samples"; +OPTVAL_4096SAMPLES = "4096 samples"; +OPTVAL_UNLIMITED = "Unlimited"; +OPTVAL_256K = "256K"; +OPTVAL_512K = "512K"; +OPTVAL_768K = "768K"; +OPTVAL_1024K = "1024K"; +OPTVAL_MAMEOPL2 = "MAME OPL2"; +OPTVAL_DOSBOXOPL3 = "DOSBox OPL3"; +OPTVAL_JAVAOPL3 = "Java OPL3"; +OPTVAL_NUKEDOPL3 = "Nuked OPL3"; +OPTVAL_SOUNDSYSTEM = "Sound System"; +OPTVAL_FOO_DUMB = "foo_dumb"; +OPTVAL_ALIASING = "Aliasing"; +OPTVAL_LINEAR = "Linear"; +OPTVAL_CUBIC = "Cubic"; +OPTVAL_BLEP = "Band-limited step" +OPTVAL_LINEARSLOW = "Linear (Slower)"; +OPTVAL_BLAM = "Band-limited linear"; +OPTVAL_CUBICSLOW = "Cubic (Slower)"; +OPTVAL_SINC = "Sinc"; +OPTVAL_NOTEONOFFONLY = "Note on/off only"; +OPTVAL_FULLRAMPING = "Full ramping"; +OPTVAL_ALLUNACKNOWLEDGED = "All unacknowledged"; +// Colors +C_BRICK = "\cabrick"; +C_TAN = "\cbtan"; +C_GRAY = "\ccgray"; +C_GREEN = "\cdgreen"; +C_BROWN = "\cebrown"; +C_GOLD = "\cfgold"; +C_RED = "\cgred"; +C_BLUE = "\chblue"; +C_ORANGE = "\ciorange"; +C_WHITE = "\cjwhite"; +C_YELLOW = "\ckyellow"; +C_DEFAULT = "\cldefault"; +C_BLACK = "\cmblack"; +C_LIGHTBLUE = "\cnlight blue"; +C_CREAM = "\cocream"; +C_OLIVE = "\cpolive"; +C_DARKGREEN = "\cqdark green"; +C_DARKRED = "\crdark red"; +C_DARKBROWN = "\csdark brown"; +C_PURPLE = "\ctpurple"; +C_DARKGRAY = "\cudark gray"; +C_CYAN = "\cvcyan"; +// Option Strings +OPTSTR_SIMPLEARROW = "Simple arrow"; +OPTSTR_HERETIC = "Heretic"; +OPTSTR_CHEX = "Chex"; +OPTSTR_SYSTEMCURSOR = "System cursor"; +OPTSTR_DIRECTSOUND = "DirectSound"; +OPTSTR_WASAPI = "Vista WASAPI"; +OPTSTR_ASIO = "ASIO"; +OPTSTR_WAVEOUT = "WaveOut"; +OPTSTR_NOSOUND = "No Sound"; +OPTSTR_OSS = "OSS"; +OPTSTR_ALSA = "ALSA"; +OPTSTR_SDL = "SDL"; +OPTSTR_ESD = "ESD"; +OPTSTR_PULSEAUDIO = "PulseAudio"; +OPTSTR_COREAUDIO = "Core Audio"; +OPTSTR_PCM8BIT = "8-bit"; +OPTSTR_PCM16BIT = "16-bit"; +OPTSTR_PCM24BIT = "24-bit"; +OPTSTR_PCM32BIT = "32-bit"; +OPTSTR_PCMFLOAT = "32-bit float"; +OPTSTR_AUTO = "Auto"; +OPTSTR_MONO = "Mono"; +OPTSTR_STEREO = "Stereo"; +OPTSTR_PROLOGIC = "Dolby Prologic Decoder"; +OPTSTR_QUAD = "Quad"; +OPTSTR_SURROUND = "5 speakers"; +OPTSTR_5POINT1 = "5.1 speakers"; +OPTSTR_7POINT1 = "7.1 speakers"; +OPTSTR_NOINTERPOLATION = "No interpolation"; +OPTSTR_SPLINE = "Spline"; +OPTSTR_FMOD = "FMOD Ex"; +OPTSTR_OPENAL = "OpenAL"; + + + +SAFEMESSAGE = "Do you really want to do this?"; +MNU_COLORPICKER = "SELECT COLOR"; + WI_FINISHED = "finished"; WI_ENTERING = "Now entering:"; diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index 02c4ce314..13a2a2e65 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -287,26 +287,26 @@ ListMenu "SaveGameMenu" OptionValue "YesNo" { - 0, "No" - 1, "Yes" + 0, "$TXT_NO" + 1, "$TXT_YES" } OptionValue "NoYes" { - 0, "Yes" - 1, "No" + 0, "$TXT_YES" + 1, "$TXT_NO" } OptionValue "OnOff" { - 0, "Off" - 1, "On" + 0, "$OPTVAL_OFF" + 1, "$OPTVAL_ON" } OptionValue "OffOn" { - 0, "On" - 1, "Off" + 0, "$OPTVAL_ON" + 1, "$OPTVAL_OFF" } OptionMenuSettings @@ -330,25 +330,25 @@ DefaultOptionMenu OptionMenu "OptionsMenu" { - Title "OPTIONS" - Submenu "Customize Controls", "CustomizeControls" - Submenu "Mouse options", "MouseOptions" - Submenu "Joystick options", "JoystickOptions" + Title "$OPTMNU_TITLE" + Submenu "$OPTMNU_CONTROLS", "CustomizeControls" + Submenu "$OPTMNU_MOUSE", "MouseOptions" + Submenu "$OPTMNU_JOYSTICK", "JoystickOptions" StaticText " " - Submenu "Player Setup", "PlayerMenu" - Submenu "Gameplay Options", "GameplayOptions" - Submenu "Compatibility Options", "CompatibilityOptions" - Submenu "Automap Options", "AutomapOptions" - Submenu "HUD Options", "HUDOptions" - Submenu "Miscellaneous Options", "MiscOptions" - Submenu "Network Options", "NetworkOptions" - Submenu "Sound Options", "SoundOptions" - Submenu "Display Options", "VideoOptions" - Submenu "Set video mode", "VideoModeMenu" + Submenu "$OPTMNU_PLAYER", "PlayerMenu" + Submenu "$OPTMNU_GAMEPLAY", "GameplayOptions" + Submenu "$OPTMNU_COMPATIBILITY", "CompatibilityOptions" + Submenu "$OPTMNU_AUTOMAP", "AutomapOptions" + Submenu "$OPTMNU_HUD", "HUDOptions" + Submenu "$OPTMNU_MISCELLANEOUS", "MiscOptions" + Submenu "$OPTMNU_NETWORK", "NetworkOptions" + Submenu "$OPTMNU_SOUND", "SoundOptions" + Submenu "$OPTMNU_DISPLAY", "VideoOptions" + Submenu "$OPTMNU_VIDEO", "VideoModeMenu" StaticText " " - SafeCommand "Reset to defaults", "reset2defaults" - SafeCommand "Reset to last saved", "reset2saved" - Command "Go to console", "menuconsole" + SafeCommand "$OPTMNU_DEFAULTS", "reset2defaults" + SafeCommand "$OPTMNU_RESETTOSAVED", "reset2saved" + Command "$OPTMNU_CONSOLE", "menuconsole" } //------------------------------------------------------------------------------------------- @@ -359,26 +359,26 @@ OptionMenu "OptionsMenu" OptionValue "Gender" { - 0, "Male" - 1, "Female" - 2, "Other" + 0, "$OPTVAL_MALE" + 1, "$OPTVAL_FEMALE" + 2, "$OPTVAL_OTHER" } ListMenu "PlayerMenu" { - StaticTextCentered 160, 6, "$MNU_PLAYERSETUP" + StaticTextCentered 160, 6, "$PLYRMNU_PLAYERSETUP" Font "SmallFont" Linespacing 14 Position 48, 36 IfGame (Doom, Strife, Chex) { - PlayerNameBox "Name", 0, "Playerbox" + PlayerNameBox "$PLYRMNU_NAME", 0, "Playerbox" Selector "-", -16, -1 } IfGame(Heretic, Hexen) { - PlayerNameBox "Name", 5, "Playerbox" + PlayerNameBox "$PLYRMNU_NAME", 5, "Playerbox" Selector "-", -16, 1 } IfGame(Doom, Heretic, Strife, Chex) @@ -392,19 +392,19 @@ ListMenu "PlayerMenu" PlayerDisplay 220, 80, "00 07 00", "40 53 40", 1, "PlayerDisplay" } - ValueText "Team", "Team" - ValueText "Color", "Color" + ValueText "$PLYRMNU_TEAM", "Team" + ValueText "$PLYRMNU_PLAYERCOLOR", "Color" Linespacing 10 - Slider "Red", "Red", 0, 255, 16 - Slider "Green", "Green", 0, 255, 16 + Slider "$PLYRMNU_RED", "Red", 0, 255, 16 + Slider "$PLYRMNU_GREEN", "Green", 0, 255, 16 Linespacing 14 - Slider "Blue", "Blue", 0, 255, 16 - ValueText "Class", "Class" - ValueText "Skin", "Skin" - ValueText "Gender", "Gender", "Gender" - Slider "Autoaim", "Autoaim", 0, 35, 1 - ValueText "Switch on pickup", "Switch", "OffOn" - ValueText "Always Run", "AlwaysRun", "OnOff" + Slider "$PLYRMNU_BLUE", "Blue", 0, 255, 16 + ValueText "$PLYRMNU_PLAYERCLASS", "Class" + ValueText "$PLYRMNU_PLAYERSKIN", "Skin" + ValueText "$PLYRMNU_PLAYERGENDER", "Gender", "Gender" + Slider "$PLYRMNU_AUTOAIM", "Autoaim", 0, 35, 1 + ValueText "$PLYRMNU_SWITCHONPICKUP", "Switch", "OffOn" + ValueText "$PLYRMNU_ALWAYSRUN", "AlwaysRun", "OnOff" Class "PlayerMenu" } @@ -416,82 +416,82 @@ ListMenu "PlayerMenu" OptionMenu "CustomizeControls" { - Title "CUSTOMIZE CONTROLS" + Title "$CNTRLMNU_TITLE" ScrollTop 2 - StaticTextSwitchable "ENTER to change, BACKSPACE to clear", "Press new key for control, ESC to cancel", "ControlMessage" + StaticTextSwitchable "$CNTRLMNU_SWITCHTEXT1", "$CNTRLMNU_SWITCHTEXT2", "ControlMessage" StaticText "" - StaticText "Controls", 1 - Control "Fire", "+attack" - Control "Secondary Fire", "+altattack" - Control "Weapon Reload", "+reload" - Control "Weapon Zoom", "+zoom" - Control "Weapon State 1", "+user1" - Control "Weapon State 2", "+user2" - Control "Weapon State 3", "+user3" - Control "Weapon State 4", "+user4" - Control "Use / Open", "+use" - Control "Move forward", "+forward" - Control "Move backward", "+back" - Control "Strafe left", "+moveleft" - Control "Strafe right", "+moveright" - Control "Turn left", "+left" - Control "Turn right", "+right" - Control "Quick Turn", "turn180" - Control "Jump", "+jump" - Control "Crouch", "+crouch" - Control "Crouch Toggle", "crouch" - Control "Fly / Swim up", "+moveup" - Control "Fly / Swim down", "+movedown" - Control "Stop flying", "land" - Control "Mouse look", "+mlook" - Control "Keyboard look", "+klook" - Control "Look up", "+lookup" - Control "Look down", "+lookdown" - Control "Center view", "centerview" - Control "Run", "+speed" - Control "Toggle Run", "toggle cl_run" - Control "Strafe", "+strafe" - Control "Show Scoreboard", "+showscores" - Control "Toggle Scoreboard", "togglescoreboard" + StaticText "$CNTRLMNU_CONTROLS", 1 + Control "$CNTRLMNU_ATTACK", "+attack" + Control "$CNTRLMNU_ALTATTACK", "+altattack" + Control "$CNTRLMNU_RELOAD", "+reload" + Control "$CNTRLMNU_ZOOM", "+zoom" + Control "$CNTRLMNU_USER1", "+user1" + Control "$CNTRLMNU_USER2", "+user2" + Control "$CNTRLMNU_USER3", "+user3" + Control "$CNTRLMNU_USER4", "+user4" + Control "$CNTRLMNU_USE", "+use" + Control "$CNTRLMNU_FORWARD", "+forward" + Control "$CNTRLMNU_BACK", "+back" + Control "$CNTRLMNU_MOVELEFT", "+moveleft" + Control "$CNTRLMNU_MOVERIGHT", "+moveright" + Control "$CNTRLMNU_TURNLEFT", "+left" + Control "$CNTRLMNU_TURNRIGHT", "+right" + Control "$CNTRLMNU_TURN180", "turn180" + Control "$CNTRLMNU_JUMP", "+jump" + Control "$CNTRLMNU_CROUCH", "+crouch" + Control "$CNTRLMNU_TOGGLECROUCH", "crouch" + Control "$CNTRLMNU_MOVEUP", "+moveup" + Control "$CNTRLMNU_MOVEDOWN", "+movedown" + Control "$CNTRLMNU_LAND", "land" + Control "$CNTRLMNU_MOUSELOOK", "+mlook" + Control "$CNTRLMNU_KEYBOARDLOOK", "+klook" + Control "$CNTRLMNU_LOOKUP", "+lookup" + Control "$CNTRLMNU_LOOKDOWN", "+lookdown" + Control "$CNTRLMNU_CENTERVIEW", "centerview" + Control "$CNTRLMNU_RUN", "+speed" + Control "$CNTRLMNU_TOGGLERUN", "toggle cl_run" + Control "$CNTRLMNU_STRAFE", "+strafe" + Control "$CNTRLMNU_SCOREBOARD", "+showscores" + Control "$CNTRLMNU_TOGGLESCOREBOARD", "togglescoreboard" StaticText "" - StaticText "Chat", 1 - Control "Say", "messagemode" - Control "Team say", "messagemode2" + StaticText "$CNTRLMNU_CHAT", 1 + Control "$CNTRLMNU_SAY", "messagemode" + Control "$CNTRLMNU_TEAMSAY", "messagemode2" StaticText "" - StaticText "Weapons", 1 - Control "Next weapon", "weapnext" - Control "Previous weapon", "weapprev" - Control "Weapon Slot 1", "slot 1" - Control "Weapon Slot 2", "slot 2" - Control "Weapon Slot 3", "slot 3" - Control "Weapon Slot 4", "slot 4" - Control "Weapon Slot 5", "slot 5" - Control "Weapon Slot 6", "slot 6" - Control "Weapon Slot 7", "slot 7" - Control "Weapon Slot 8", "slot 8" - Control "Weapon Slot 9", "slot 9" - Control "Weapon Slot 0", "slot 0" + StaticText "$CNTRLMNU_WEAPONS", 1 + Control "$CNTRLMNU_NEXTWEAPON", "weapnext" + Control "$CNTRLMNU_PREVIOUSWEAPON", "weapprev" + Control "$CNTRLMNU_SLOT1", "slot 1" + Control "$CNTRLMNU_SLOT2", "slot 2" + Control "$CNTRLMNU_SLOT3", "slot 3" + Control "$CNTRLMNU_SLOT4", "slot 4" + Control "$CNTRLMNU_SLOT5", "slot 5" + Control "$CNTRLMNU_SLOT6", "slot 6" + Control "$CNTRLMNU_SLOT7", "slot 7" + Control "$CNTRLMNU_SLOT8", "slot 8" + Control "$CNTRLMNU_SLOT9", "slot 9" + Control "$CNTRLMNU_SLOT0", "slot 0" StaticText "" - StaticText "Inventory", 1 - Control "Activate item", "invuse" - Control "Activate all items", "invuseall" - Control "Next item", "invnext" - Control "Previous item", "invprev" - Control "Drop item", "invdrop" - Control "Query item", "invquery" - Control "Drop weapon", "weapdrop" + StaticText "$CNTRLMNU_INVENTORY", 1 + Control "$CNTRLMNU_USEITEM", "invuse" + Control "$CNTRLMNU_USEALLITEMS", "invuseall" + Control "$CNTRLMNU_NEXTITEM", "invnext" + Control "$CNTRLMNU_PREVIOUSITEM", "invprev" + Control "$CNTRLMNU_DROPITEM", "invdrop" + Control "$CNTRLMNU_QUERYITEM", "invquery" + Control "$CNTRLMNU_DROPWEAPON", "weapdrop" StaticText "" - StaticText "Other", 1 - Control "Toggle automap", "togglemap" - Control "Chasecam", "chase" - Control "Coop spy", "spynext" - Control "Screenshot", "screenshot" - Control "Open console", "toggleconsole" + StaticText "$CNTRLMNU_OTHER", 1 + Control "$CNTRLMNU_AUTOMAP", "togglemap" + Control "$CNTRLMNU_CHASECAM", "chase" + Control "$CNTRLMNU_COOPSPY", "spynext" + Control "$CNTRLMNU_SCREENSHOT", "screenshot" + Control "$CNTRLMNU_CONSOLE", "toggleconsole" StaticText "" - StaticText "Strife Popup Screens", 1 - Control "Mission objectives", "showpop 1" - Control "Keys list", "showpop 2" - Control "Weapons/ammo/stats", "showpop 3" + StaticText "$CNTRLMNU_POPUPS", 1 + Control "$CNTRLMNU_MISSION", "showpop 1" + Control "$CNTRLMNU_KEYS", "showpop 2" + Control "$CNTRLMNU_STATS", "showpop 3" } //------------------------------------------------------------------------------------------- @@ -502,53 +502,53 @@ OptionMenu "CustomizeControls" OptionValue "Corners" { - -1, "Off" - 0, "Upper left" - 1, "Upper right" - 2, "Lower left" - 3, "Lower right" + -1, "$OPTVAL_OFF" + 0, "$OPTVAL_UPPERLEFT" + 1, "$OPTVAL_UPPERRIGHT" + 2, "$OPTVAL_LOWERLEFT" + 3, "$OPTVAL_LOWERRIGHT" } OptionValue "MenuMouse" { - 0, "No" - 1, "Yes" - 2, "Touchscreen-like" + 0, "$TXT_NO" + 1, "$TXT_YES" + 2, "$OPTVAL_TOUCHSCREENLIKE" } OptionString "Cursors" { - "None", "Default" - "cursor", "Simple arrow" - "doomcurs", "Doom" - "herecurs", "Heretic" - "hexncurs", "Hexen" - "strfcurs", "Strife" - "chexcurs", "Chex" - "-", "System cursor" + "None", "$OPTVAL_DEFAULT" + "cursor", "$OPTSTR_SIMPLEARROW" + "doomcurs", "$OPTVAL_DOOM" + "herecurs", "$OPTSTR_HERETIC" + "hexncurs", "$OPTVAL_HEXEN" + "strfcurs", "$OPTVAL_STRIFE" + "chexcurs", "$OPTSTR_CHEX" + "-", "$OPTSTR_SYSTEMCURSOR" } OptionMenu "MouseOptions" { - Title "MOUSE OPTIONS" - Option "Enable mouse", "use_mouse", "YesNo" - Option "Enable mouse in menus", "m_use_mouse", "MenuMouse", "use_mouse" - Option "Show back button", "m_show_backbutton", "Corners", "use_mouse" - Option "Cursor", "vid_cursor", "Cursors" + Title "$MOUSEMNU_TITLE" + Option "$MOUSEMNU_ENABLEMOUSE", "use_mouse", "YesNo" + Option "$MOUSEMNU_MOUSEINMENU", "m_use_mouse", "MenuMouse", "use_mouse" + Option "$MOUSEMNU_SHOWBACKBUTTON", "m_show_backbutton", "Corners", "use_mouse" + Option "$MOUSEMNU_CURSOR", "vid_cursor", "Cursors" StaticText "" - Slider "Overall sensitivity", "mouse_sensitivity", 0.5, 2.5, 0.1 - Option "Prescale mouse movement", "m_noprescale", "NoYes" - Option "Smooth mouse movement", "smooth_mouse", "YesNo" + Slider "$MOUSEMNU_SENSITIVITY", "mouse_sensitivity", 0.5, 2.5, 0.1 + Option "$MOUSEMNU_NOPRESCALE", "m_noprescale", "NoYes" + Option "$MOUSEMNU_SMOOTHMOUSE", "smooth_mouse", "YesNo" StaticText "" - Slider "Turning speed", "m_yaw", 0, 2.5, 0.1 - Slider "Mouselook speed", "m_pitch", 0, 2.5, 0.1 - Slider "Forward/Backward speed", "m_forward", 0, 2.5, 0.1 - Slider "Strafing speed", "m_side", 0, 2.5, 0.1 + Slider "$MOUSEMNU_TURNSPEED", "m_yaw", 0, 2.5, 0.1 + Slider "$MOUSEMNU_MOUSELOOKSPEED", "m_pitch", 0, 2.5, 0.1 + Slider "$MOUSEMNU_FORWBACKSPEED", "m_forward", 0, 2.5, 0.1 + Slider "$MOUSEMNU_STRAFESPEED", "m_side", 0, 2.5, 0.1 StaticText "" - Option "Always Mouselook", "freelook", "OnOff" - Option "Invert Mouse", "invertmouse", "OnOff" - Option "Lookspring", "lookspring", "OnOff" - Option "Lookstrafe", "lookstrafe", "OnOff" + Option "$MOUSEMNU_ALWAYSMOUSELOOK", "freelook", "OnOff" + Option "$MOUSEMNU_INVERTMOUSE", "invertmouse", "OnOff" + Option "$MOUSEMNU_LOOKSPRING", "lookspring", "OnOff" + Option "$MOUSEMNU_LOOKSTRAFE", "lookstrafe", "OnOff" } @@ -560,29 +560,29 @@ OptionMenu "MouseOptions" OptionMenu "JoystickOptions" { - Title "CONTROLLER OPTIONS" + Title "$JOYMNU_OPTIONS" // Will be filled in by joystick code. } OptionValue "JoyAxisMapNames" { - -1, "None" - 0, "Turning" - 1, "Looking Up/Down" - 2, "Moving Forward" - 3, "Strafing" - 4, "Moving Up/Down" + -1, "$OPTVAL_NONE" + 0, "$OPTVAL_TURNING" + 1, "$OPTVAL_LOOKINGUPDOWN" + 2, "$OPTVAL_MOVINGFORWARD" + 3, "$OPTVAL_STRAFING" + 4, "$OPTVAL_MOVINGUPDOWN" } OptionValue "Inversion" { - 0, "Not Inverted" - 1, "Inverted" + 0, "$OPTVAL_NOTINVERTED" + 1, "$OPTVAL_INVERTED" } OptionMenu "JoystickConfigMenu" { - Title "CONFIGURE CONTROLLER" + Title "$JOY_CONFIG" Class "JoystickConfigMenu" // Will be filled in by joystick code. } @@ -594,60 +594,60 @@ OptionMenu "JoystickConfigMenu" // //------------------------------------------------------------------------------------------- -OptionValue ColumnMethods +OptionValue ColumnMethods { - 0.0, "Original" - 1.0, "Optimized" + 0.0, "$OPTVAL_ORIGINAL" + 1.0, "$OPTVAL_OPTIMIZED" } -OptionValue RocketTrailTypes +OptionValue RocketTrailTypes { - 0.0, "Off" - 1.0, "Particles" - 2.0, "Sprites" - 3.0, "Sprites & Particles" + 0.0, "$OPTVAL_OFF" + 1.0, "$OPTVAL_PARTICLES" + 2.0, "$OPTVAL_SPRITES" + 3.0, "$OPTVAL_SPRITESPARTICLES" } -OptionValue BloodTypes +OptionValue BloodTypes { - 0.0, "Sprites" - 1.0, "Sprites & Particles" - 2.0, "Particles" + 0.0, "$OPTVAL_SPRITES" + 1.0, "$OPTVAL_SPRITESPARTICLES" + 2.0, "$OPTVAL_PARTICLES" } -OptionValue PuffTypes +OptionValue PuffTypes { - 0.0, "Sprites" - 1.0, "Particles" + 0.0, "$OPTVAL_SPRITES" + 1.0, "$OPTVAL_PARTICLES" } -OptionValue Wipes +OptionValue Wipes { - 0.0, "None" - 1.0, "Melt" - 2.0, "Burn" - 3.0, "Crossfade" + 0.0, "$OPTVAL_NONE" + 1.0, "$OPTVAL_MELT" + 2.0, "$OPTVAL_BURN" + 3.0, "$OPTVAL_CROSSFADE" } -OptionValue Endoom +OptionValue Endoom { - 0.0, "Off" - 1.0, "On" - 2.0, "Only modified" + 0.0, "$OPTVAL_OFF" + 1.0, "$OPTVAL_ON" + 2.0, "$OPTVAL_ONLYMODIFIED" } -OptionValue Contrast +OptionValue Contrast { - 0.0, "Off" - 1.0, "On" - 2.0, "Smooth" + 0.0, "$OPTVAL_OFF" + 1.0, "$OPTVAL_ON" + 2.0, "$OPTVAL_SMOOTH" } OptionValue Fuzziness { - 0.0, "Translucent" - 1.0, "Fuzz" - 2.0, "Shadow" + 0.0, "$OPTVAL_TRANSLUCENT" + 1.0, "$OPTVAL_FUZZ" + 2.0, "$OPTVAL_SHADOW" } OptionMenu "OpenGLOptions" @@ -660,46 +660,42 @@ OptionMenu "OpenGLOptions" OptionMenu "VideoOptions" { - Title "DISPLAY OPTIONS" + Title "$DSPLYMNU_TITLE" Submenu "OpenGL Options", "OpenGLOptions" - Submenu "Scoreboard Options", "ScoreboardOptions" - StaticText " " - Slider "Screen size", "screenblocks", 3.0, 12.0, 1.0, 0 - + Submenu "$DSPLYMNU_SCOREBOARD", "ScoreboardOptions" StaticText " " Slider "Gamma correction", "Gamma", 0.75, 3.0, 0.05, 2 Slider "Brightness", "vid_brightness", -0.8,0.8, 0.05 Slider "Contrast", "vid_contrast", 0.1, 3.0, 0.1 - - Option "Vertical Sync", "vid_vsync", "OnOff" - Option "Rendering Interpolation", "cl_capfps", "OffOn" - + Option "$DSPLYMNU_VSYNC", "vid_vsync", "OnOff" + Option "$DSPLYMNU_CAPFPS", "cl_capfps", "OffOn" + StaticText " " - Option "Screen wipe style", "wipetype", "Wipes" + Option "$DSPLYMNU_WIPETYPE", "wipetype", "Wipes" IfOption(Windows) { - Option "Show ENDOOM screen", "showendoom", "Endoom" - //Option "DirectDraw palette hack", "vid_palettehack", "OnOff" - //Option "Use attached surfaces", "vid_attachedsurfaces", "OnOff" + Option "$DSPLYMNU_SHOWENDOOM", "showendoom", "Endoom" + //Option "$DSPLYMNU_PALLETEHACK", "vid_palettehack", "OnOff" + //Option "$DSPLYMNU_ATTACHEDSURFACES", "vid_attachedsurfaces", "OnOff" } - Option "Stretch short skies", "r_stretchsky", "OnOff" - Option "Use fuzz effect", "r_drawfuzz", "Fuzziness" - Slider "Lost Soul translucency", "transsouls", 0.25, 1.0, 0.05, 2 - Option "Use fake contrast", "r_fakecontrast", "Contrast" - Option "Rocket Trails", "cl_rockettrails", "RocketTrailTypes" - Option "Blood Type", "cl_bloodtype", "BloodTypes" - Option "Bullet Puff Type", "cl_pufftype", "PuffTypes" - Slider "Number of particles", "r_maxparticles", 100, 10000, 100, 0 - Slider "Number of decals", "cl_maxdecals", 0, 10000, 100, 0 - Option "Show player sprites", "r_drawplayersprites", "OnOff" - Option "Death camera", "r_deathcamera", "OnOff" - Option "Teleporter zoom", "telezoom", "OnOff" - Slider "Earthquake shake intensity", "r_quakeintensity", 0.0, 1.0, 0.05, 2 - Option "Interpolate monster movement", "nomonsterinterpolation", "NoYes" - Slider "Menu dim", "dimamount", 0, 1.0, 0.05, 2 - ColorPicker "Dim color", "dimcolor" + Option "$DSPLYMNU_STRETCHSKY", "r_stretchsky", "OnOff" + Option "$DSPLYMNU_DRAWFUZZ", "r_drawfuzz", "Fuzziness" + Slider "$DSPLYMNU_TRANSSOUL", "transsouls", 0.25, 1.0, 0.05, 2 + Option "$DSPLYMNU_FAKECONTRAST", "r_fakecontrast", "Contrast" + Option "$DSPLYMNU_ROCKETTRAILS", "cl_rockettrails", "RocketTrailTypes" + Option "$DSPLYMNU_BLOODTYPE", "cl_bloodtype", "BloodTypes" + Option "$DSPLYMNU_PUFFTYPE", "cl_pufftype", "PuffTypes" + Slider "$DSPLYMNU_MAXPARTICLES", "r_maxparticles", 100, 10000, 100, 0 + Slider "$DSPLYMNU_MAXDECALS", "cl_maxdecals", 0, 10000, 100, 0 + Option "$DSPLYMNU_PLAYERSPRITES", "r_drawplayersprites", "OnOff" + Option "$DSPLYMNU_DEATHCAM", "r_deathcamera", "OnOff" + Option "$DSPLYMNU_TELEZOOM", "telezoom", "OnOff" + Slider "$DSPLYMNU_QUAKEINTENSITY", "r_quakeintensity", 0.0, 1.0, 0.05, 2 + Option "$DSPLYMNU_NOMONSTERINTERPOLATION", "nomonsterinterpolation", "NoYes" + Slider "$DSPLYMNU_MENUDIM", "dimamount", 0, 1.0, 0.05, 2 + ColorPicker "$DSPLYMNU_DIMCOLOR", "dimcolor" } //------------------------------------------------------------------------------------------- @@ -710,36 +706,36 @@ OptionMenu "VideoOptions" OptionValue DisplayTagsTypes { - 0.0, "None" - 1.0, "Items" - 2.0, "Weapons" - 3.0, "Both" + 0.0, "$OPTVAL_NONE" + 1.0, "$OPTVAL_ITEMS" + 2.0, "$OPTVAL_WEAPONS" + 3.0, "$OPTVAL_BOTH" } OptionValue TextColors { - 0.0, "\cabrick" - 1.0, "\cbtan" - 2.0, "\ccgray" - 3.0, "\cdgreen" - 4.0, "\cebrown" - 5.0, "\cfgold" - 6.0, "\cgred" - 7.0, "\chblue" - 8.0, "\ciorange" - 9.0, "\cjwhite" - 10.0, "\ckyellow" - 11.0, "\cldefault" - 12.0, "\cmblack" - 13.0, "\cnlight blue" - 14.0, "\cocream" - 15.0, "\cpolive" - 16.0, "\cqdark green" - 17.0, "\crdark red" - 18.0, "\csdark brown" - 19.0, "\ctpurple" - 20.0, "\cudark gray" - 21.0, "\cvcyan" + 0.0, "$C_BRICK" + 1.0, "$C_TAN" + 2.0, "$C_GRAY" + 3.0, "$C_GREEN" + 4.0, "$C_BROWN" + 5.0, "$C_GOLD" + 6.0, "$C_RED" + 7.0, "$C_BLUE" + 8.0, "$C_ORANGE" + 9.0, "$C_WHITE" + 10.0, "$C_YELLOW" + 11.0, "$C_DEFAULT" + 12.0, "$C_BLACK" + 13.0, "$C_LIGHTBLUE" + 14.0, "$C_CREAM" + 15.0, "$C_OLIVE" + 16.0, "$C_DARKGREEN" + 17.0, "$C_DARKRED" + 18.0, "$C_DARKBROWN" + 19.0, "$C_PURPLE" + 20.0, "$C_DARKGRAY" + 21.0, "$C_CYAN" } OptionValue Crosshairs @@ -749,39 +745,39 @@ OptionValue Crosshairs OptionValue ZDoomHexen { - 0.0, "ZDoom" - 1.0, "Hexen" + 0.0, "$OPTVAL_ZDOOM" + 1.0, "$OPTVAL_HEXEN" } OptionValue ZDoomStrife { - 0.0, "ZDoom" - 1.0, "Strife" + 0.0, "$OPTVAL_ZDOOM" + 1.0, "$OPTVAL_STRIFE" } OptionMenu "HUDOptions" { - Title "HUD Options" - Submenu "Alternative HUD", "AltHudOptions" - Submenu "Message Options", "MessageOptions" + Title "$HUDMNU_TITLE" + Submenu "$HUDMNU_ALTHUD", "AltHudOptions" + Submenu "$HUDMNU_MESSAGE", "MessageOptions" StaticText " " - Option "Default Crosshair", "crosshair", "Crosshairs" - Option "Force default crosshair", "crosshairforce", "OnOff" - Option "Grow crosshair when picking up items", "crosshairgrow", "OnOff" - ColorPicker "Crosshair color", "crosshaircolor" - Option "Crosshair shows health", "crosshairhealth", "OnOff" - Option "Scale crosshair", "crosshairscale", "OnOff" + Option "$HUDMNU_CROSSHAIR", "crosshair", "Crosshairs" + Option "$HUDMNU_FORCECROSSHAIR", "crosshairforce", "OnOff" + Option "$HUDMNU_GROWCROSSHAIR", "crosshairgrow", "OnOff" + ColorPicker "$HUDMNU_CROSSHAIRCOLOR", "crosshaircolor" + Option "$HUDMNU_CROSSHAIRHEALTH", "crosshairhealth", "OnOff" + Option "$HUDMNU_CROSSHAIRSCALE", "crosshairscale", "OnOff" StaticText " " - Option "Display nametags", "displaynametags", "DisplayTagsTypes" - Option "Nametag color", "nametagcolor", "TextColors", "displaynametags" - Option "Stretch status bar", "st_scale", "OnOff" - Option "Stretch Fullscreen HUD", "hud_scale", "OnOff" - Option "Use old ouch mug shot formula", "st_oldouch", "OnOff" + Option "$HUDMNU_NAMETAGS", "displaynametags", "DisplayTagsTypes" + Option "$HUDMNU_NAMETAGCOLOR", "nametagcolor", "TextColors", "displaynametags" + Option "$HUDMNU_SCALESTATBAR", "st_scale", "OnOff" + Option "$HUDMNU_SCALEFULLSCREENHUD", "hud_scale", "OnOff" + Option "$HUDMNU_OLDOUCH", "st_oldouch", "OnOff" StaticText " " - Option "Hexen weapon flashes", "pf_hexenweaps", "ZDoomHexen" - Option "Poison damage flashes", "pf_poison", "ZDoomHexen" - Option "Ice death flashes", "pf_ice", "ZDoomHexen" - Option "Poison Buildup flashes", "pf_hazard", "ZDoomStrife" + Option "$HUDMNU_HEXENFLASHES", "pf_hexenweaps", "ZDoomHexen" + Option "$HUDMNU_POISONFLASHES", "pf_poison", "ZDoomHexen" + Option "$HUDMNU_ICEFLASHES", "pf_ice", "ZDoomHexen" + Option "$HUDMNU_HAZARDFLASHES", "pf_hazard", "ZDoomStrife" } //------------------------------------------------------------------------------------------- @@ -792,79 +788,79 @@ OptionMenu "HUDOptions" OptionValue "AMCoordinates" { - 0, "Player" - 1, "Map" + 0, "$OPTVAL_PLAYER" + 1, "$OPTVAL_MAP" } OptionValue "AltHUDScale" { - 0, "Off" - 1, "Scale to 640x400" - 2, "Pixel double" + 0, "$OPTVAL_OFF" + 1, "$OPTVAL_SCALETO640X400" + 2, "$OPTVAL_PIXELDOUBLE" } OptionValue "AltHUDAmmo" { - 0, "Current weapon" - 1, "Available weapons" - 2, "All weapons" + 0, "$OPTVAL_CURRENTWEAPON" + 1, "$OPTVAL_AVAILABLEWEAPONS" + 2, "$OPTVAL_ALLWEAPONS" } OptionValue "AltHUDTime" { - 0, "Off" - 1, "Level, milliseconds" - 2, "Level, seconds" - 3, "Level" - 4, "Hub, seconds" - 5, "Hub" - 6, "Total, seconds" - 7, "Total" - 8, "System, seconds" - 9, "System" + 0, "$OPTVAL_OFF" + 1, "$OPTVAL_LEVELMILLISECONDS" + 2, "$OPTVAL_LEVELSECONDS" + 3, "$OPTVAL_LEVEL" + 4, "$OPTVAL_HUBSECONDS" + 5, "$OPTVAL_HUB" + 6, "$OPTVAL_TOTALSECONDS" + 7, "$OPTVAL_TOTAL" + 8, "$OPTVAL_SYSTEMSECONDS" + 9, "$OPTVAL_SYSTEM" } OptionValue "AltHUDLag" { - 0, "Off" - 1, "Netgames only" - 2, "Always" + 0, "$OPTVAL_OFF" + 1, "$OPTVAL_NETGAMESONLY" + 2, "$OPTVAL_ALWAYS" } OptionMenu "AltHUDOptions" { - Title "Alternative HUD" + Title "$ALTHUDMNU_TITLE" //Indent 220 - Option "Enable alternative HUD", "hud_althud", "OnOff" - Option "Stretch alternative HUD", "hud_althudscale", "AltHUDScale" - Option "Show secret count", "hud_showsecrets", "OnOff" - Option "Show monster count", "hud_showmonsters", "OnOff" - Option "Show item count", "hud_showitems", "OnOff" - Option "Show stamina and accuracy", "hud_showstats", "OnOff" - Option "Show berserk", "hud_berserk_health", "OnOff" - Option "Show weapons", "hud_showweapons", "OnOff" - Option "Show ammo for", "hud_showammo", "AltHUDAmmo" - Option "Show time", "hud_showtime", "AltHUDTime" - Option "Time color", "hud_timecolor", "TextColors" - Option "Show network latency", "hud_showlag", "AltHUDLag" - Slider "Red ammo display below %", "hud_ammo_red", 0, 100, 1, 0 - Slider "Yellow ammo display below %", "hud_ammo_yellow", 0, 100, 1, 0 - Slider "Red health display below", "hud_health_red", 0, 100, 1, 0 - Slider "Yellow health display below", "hud_health_yellow", 0, 100, 1, 0 - Slider "Green health display below", "hud_health_green", 0, 100, 1, 0 - Slider "Red armor display below", "hud_armor_red", 0, 100, 1, 0 - Slider "Yellow armor display below", "hud_armor_yellow", 0, 100, 1, 0 - Slider "Green armor display below", "hud_armor_green", 0, 100, 1, 0 + Option "$ALTHUDMNU_ENABLE", "hud_althud", "OnOff" + Option "$ALTHUDMNU_SCALEHUD", "hud_althudscale", "AltHUDScale" + Option "$ALTHUDMNU_SHOWSECRETS", "hud_showsecrets", "OnOff" + Option "$ALTHUDMNU_SHOWMONSTERS", "hud_showmonsters", "OnOff" + Option "$ALTHUDMNU_SHOWITEMS", "hud_showitems", "OnOff" + Option "$ALTHUDMNU_SHOWSTATS", "hud_showstats", "OnOff" + Option "$ALTHUDMNU_SHOWBERSERK", "hud_berserk_health", "OnOff" + Option "$ALTHUDMNU_SHOWWEAPONS", "hud_showweapons", "OnOff" + Option "$ALTHUDMNU_SHOWAMMO", "hud_showammo", "AltHUDAmmo" + Option "$ALTHUDMNU_SHOWTIME", "hud_showtime", "AltHUDTime" + Option "$ALTHUDMNU_TIMECOLOR", "hud_timecolor", "TextColors" + Option "$ALTHUDMNU_SHOWLAG", "hud_showlag", "AltHUDLag" + Slider "$ALTHUDMNU_AMMORED", "hud_ammo_red", 0, 100, 1, 0 + Slider "$ALTHUDMNU_AMMOYELLOW", "hud_ammo_yellow", 0, 100, 1, 0 + Slider "$ALTHUDMNU_HEALTHRED", "hud_health_red", 0, 100, 1, 0 + Slider "$ALTHUDMNU_HEALTHYELLOW", "hud_health_yellow", 0, 100, 1, 0 + Slider "$ALTHUDMNU_HEALTHGREEN", "hud_health_green", 0, 100, 1, 0 + Slider "$ALTHUDMNU_ARMORRED", "hud_armor_red", 0, 100, 1, 0 + Slider "$ALTHUDMNU_ARMORYELLOW", "hud_armor_yellow", 0, 100, 1, 0 + Slider "$ALTHUDMNU_ARMORGREEN", "hud_armor_green", 0, 100, 1, 0 StaticText " " - StaticText "Alternative Automap HUD", 1 - option "Map title color", "hudcolor_titl", "TextColors" - option "Map time color", "hudcolor_ltim", "TextColors" - option "Hub time color", "hudcolor_time", "TextColors" - option "Total time color", "hudcolor_ttim", "TextColors" - option "Coordinate color", "hudcolor_xyco", "TextColors" - option "Coordinate mode", "map_point_coordinates", "AMCoordinates" - option "Statistics name color", "hudcolor_statnames", "TextColors" - option "Statistics color", "hudcolor_stats", "TextColors" + StaticText "$ALTHUDMNU_AUTOMAPHUD", 1 + option "$ALTHUDMNU_TITLECOLOR", "hudcolor_titl", "TextColors" + option "$ALTHUDMNU_MAPTIMECOLOR", "hudcolor_ltim", "TextColors" + option "$ALTHUDMNU_HUBTIMECOLOR", "hudcolor_time", "TextColors" + option "$ALTHUDMNU_TOTALTIMECOLOR", "hudcolor_ttim", "TextColors" + option "$ALTHUDMNU_COORDINATECOLOR", "hudcolor_xyco", "TextColors" + option "$ALTHUDMNU_COORDINATEMODE", "map_point_coordinates", "AMCoordinates" + option "$ALTHUDMNU_STATSNAMECOLOR", "hudcolor_statnames", "TextColors" + option "$ALTHUDMNU_STATSCOLOR", "hudcolor_stats", "TextColors" } //------------------------------------------------------------------------------------------- @@ -875,41 +871,41 @@ OptionMenu "AltHUDOptions" OptionValue Autosave { - 0, "Always" - 1, "Scripts Only" - 2, "Never" + 0, "$OPTVAL_ALWAYS" + 1, "$OPTVAL_SCRIPTSONLY" + 2, "$OPTVAL_NEVER" } OptionValue dehopt { - 0, "Never" - 1, "All" - 2, "Only last one" + 0, "$OPTVAL_NEVER" + 1, "$OPTVAL_ALL" + 2, "$OPTVAL_ONLYLASTONE" } OptionMenu "MiscOptions" { - Title "Miscellaneous Options" + Title "$MISCMNU_TITLE" //Indent 220 IfOption(Windows) { - Option "Merge left+right Alt/Ctrl/Shift", "k_mergekeys", "OnOff" - Option "Alt-Enter toggles fullscreen", "k_allowfullscreentoggle", "OnOff" + Option "$MISCMNU_MERGEKEYS", "k_mergekeys", "OnOff" + Option "$MISCMNU_WINFULLSCREENTOGGLE", "k_allowfullscreentoggle", "OnOff" } IfOption(Mac) { - Option "Command-F toggles fullscreen", "k_allowfullscreentoggle", "OnOff" + Option "$MISCMNU_MACFULLSCREENTOGGLE", "k_allowfullscreentoggle", "OnOff" } - Option "Show IWAD selection dialog", "queryiwad", "OnOff" + Option "$MISCMNU_QUERYIWAD", "queryiwad", "OnOff" StaticText " " - Option "Enable cheats from all games", "allcheats", "OnOff" - Option "Enable autosaves", "disableautosave", "Autosave" - Slider "Number of autosaves", "autosavecount", 1, 20, 1, 0 - Option "Load *.deh/*.bex lumps", "dehload", "dehopt" + Option "$MISCMNU_ALLCHEATS", "allcheats", "OnOff" + Option "$MISCMNU_ENABLEAUTOSAVES", "disableautosave", "Autosave" + Slider "$MISCMNU_AUTOSAVECOUNT", "autosavecount", 1, 20, 1, 0 + Option "$MISCMNU_DEHLOAD", "dehload", "dehopt" StaticText " " - Option "Cache nodes", "gl_cachenodes", "OnOff" - Slider "Time threshold for node caching", "gl_cachetime", 0.0, 2.0, 0.1 - SafeCommand "Clear node cache", "clearnodecache" + Option "$MISCMNU_CACHENODES", "gl_cachenodes", "OnOff" + Slider "$MISCMNU_CACHETIME", "gl_cachetime", 0.0, 2.0, 0.1 + SafeCommand "$MISCMNU_CLEARNODECACHE", "clearnodecache" } //------------------------------------------------------------------------------------------- @@ -920,79 +916,79 @@ OptionMenu "MiscOptions" OptionValue MapColorTypes { - 0, "Custom" - 1, "Traditional Doom" - 2, "Traditional Strife" - 3, "Traditional Raven" + 0, "$OPTVAL_CUSTOM" + 1, "$OPTVAL_TRADITIONALDOOM" + 2, "$OPTVAL_TRADITIONALSTRIFE" + 3, "$OPTVAL_TRADITIONALRAVEN" } OptionValue SecretTypes { - 0, "Never" - 1, "Only when found" - 2, "Always" + 0, "$OPTVAL_NEVER" + 1, "$OPTVAL_ONLYWHENFOUND" + 2, "$OPTVAL_ALWAYS" } OptionValue RotateTypes { - 0, "Off" - 1, "On" - 2, "On for overlay only" + 0, "$OPTVAL_OFF" + 1, "$OPTVAL_ON" + 2, "$OPTVAL_ONFOROVERLAYONLY" } OptionValue OverlayTypes { - 0, "Off" - 1, "Overlay+Normal" - 2, "Overlay Only" + 0, "$OPTVAL_OFF" + 1, "$OPTVAL_OVERLAYNORMAL" + 2, "$OPTVAL_OVERLAYONLY" } OptionValue MaplabelTypes { - 0, "Never" - 1, "Always" - 2, "Not for hubs" + 0, "$OPTVAL_NEVER" + 1, "$OPTVAL_ALWAYS" + 2, "$OPTVAL_NOTFORHUBS" } OptionValue STSTypes { - 0, "Off" - 1, "Front" - 2, "Animated" - 3, "Rotated" + 0, "$OPTVAL_OFF" + 1, "$OPTVAL_FRONT" + 2, "$OPTVAL_ANIMATED" + 3, "$OPTVAL_ROTATED" } OptionValue MapBackTypes { - 0, "Off" - 1, "On" - 2, "Map defined colors only" + 0, "$OPTVAL_OFF" + 1, "$OPTVAL_ON" + 2, "$OPTVAL_MAPDEFINEDCOLORSONLY" } OptionMenu AutomapOptions { - Title "AUTOMAP OPTIONS" - Option "Map color set", "am_colorset", "MapColorTypes" - Option "Allow map defined colors", "am_customcolors", "YesNo" - Submenu "Set custom colors", "MapColorMenu" - Submenu "Customize map controls", "MapControlsMenu" + Title "$AUTOMAPMNU_TITLE" + Option "$AUTOMAPMNU_COLORSET", "am_colorset", "MapColorTypes" + Option "$AUTOMAPMNU_CUSTOMCOLORS", "am_customcolors", "YesNo" + Submenu "$AUTOMAPMNU_SETCUSTOMCOLORS", "MapColorMenu" + Submenu "$AUTOMAPMNU_CONTROLS", "MapControlsMenu" StaticText " " - Option "Rotate automap", "am_rotate", "RotateTypes" - Option "Overlay automap", "am_overlay", "OverlayTypes" - Option "Enable textured display", "am_textured", "OnOff" - Option "Follow player", "am_followplayer", "OnOff" + Option "$AUTOMAPMNU_ROTATE", "am_rotate", "RotateTypes" + Option "$AUTOMAPMNU_OVERLAY", "am_overlay", "OverlayTypes" + Option "$AUTOMAPMNU_TEXTURED", "am_textured", "OnOff" + Option "$AUTOMAPMNU_FOLLOW", "am_followplayer", "OnOff" StaticText " " - Option "Show item counts", "am_showitems", "OnOff" - Option "Show monster counts", "am_showmonsters", "OnOff" - Option "Show secret counts", "am_showsecrets", "OnOff" - Option "Show time elapsed", "am_showtime", "OnOff" - Option "Show total time elapsed", "am_showtotaltime", "OnOff" - Option "Show secrets on map", "am_map_secrets", "SecretTypes" - Option "Show map label", "am_showmaplabel", "MaplabelTypes" - Option "Draw map background", "am_drawmapback", "MapBackTypes" - Option "Show keys (cheat)", "am_showkeys", "OnOff" - Option "Show trigger lines", "am_showtriggerlines", "OnOff" - Option "Show things as sprites", "am_showthingsprites", "STSTypes" + Option "$AUTOMAPMNU_SHOWITEMS", "am_showitems", "OnOff" + Option "$AUTOMAPMNU_SHOWMONSTERS", "am_showmonsters", "OnOff" + Option "$AUTOMAPMNU_SHOWSECRETS", "am_showsecrets", "OnOff" + Option "$AUTOMAPMNU_SHOWTIME", "am_showtime", "OnOff" + Option "$AUTOMAPMNU_SHOWTOTALTIME", "am_showtotaltime", "OnOff" + Option "$AUTOMAPMNU_MAPSECRETS", "am_map_secrets", "SecretTypes" + Option "$AUTOMAPMNU_SHOWMAPLABEL", "am_showmaplabel", "MaplabelTypes" + Option "$AUTOMAPMNU_DRAWMAPBACK", "am_drawmapback", "MapBackTypes" + Option "$AUTOMAPMNU_SHOWKEYS", "am_showkeys", "OnOff" + Option "$AUTOMAPMNU_SHOWTRIGGERLINES", "am_showtriggerlines", "OnOff" + Option "$AUTOMAPMNU_SHOWTHINGSPRITES", "am_showthingsprites", "STSTypes" } //------------------------------------------------------------------------------------------- @@ -1003,23 +999,23 @@ OptionMenu AutomapOptions OptionMenu MapControlsMenu { - Title "CUSTOMIZE MAP CONTROLS" + Title "$MAPCNTRLMNU_TITLE" ScrollTop 2 - StaticTextSwitchable "ENTER to change, BACKSPACE to clear", "Press new key for control, ESC to cancel", "ControlMessage" + StaticTextSwitchable "$CNTRLMNU_SWITCHTEXT1", "$CNTRLMNU_SWITCHTEXT2", "ControlMessage" StaticText "" - StaticText "Map Controls", 1 - MapControl "Pan left", "+am_panleft" - MapControl "Pan right", "+am_panright" - MapControl "Pan up", "+am_panup" - MapControl "Pan down", "+am_pandown" - MapControl "Zoom in", "+am_zoomin" - MapControl "Zoom out", "+am_zoomout" - MapControl "Toggle zoom", "am_gobig" - MapControl "Toggle follow", "am_togglefollow" - MapControl "Toggle grid", "am_togglegrid" - MapControl "Toggle texture","am_toggletexture" - MapControl "Set mark", "am_setmark" - MapControl "Clear mark", "am_clearmarks" + StaticText "$MAPCNTRLMNU_CONTROLS", 1 + MapControl "$MAPCNTRLMNU_PANLEFT", "+am_panleft" + MapControl "$MAPCNTRLMNU_PANRIGHT", "+am_panright" + MapControl "$MAPCNTRLMNU_PANUP", "+am_panup" + MapControl "$MAPCNTRLMNU_PANDOWN", "+am_pandown" + MapControl "$MAPCNTRLMNU_ZOOMIN", "+am_zoomin" + MapControl "$MAPCNTRLMNU_ZOOMOUT", "+am_zoomout" + MapControl "$MAPCNTRLMNU_TOGGLEZOOM", "am_gobig" + MapControl "$MAPCNTRLMNU_TOGGLEFOLLOW", "am_togglefollow" + MapControl "$MAPCNTRLMNU_TOGGLEGRID", "am_togglegrid" + MapControl "$MAPCNTRLMNU_TOGGLETEXTURE", "am_toggletexture" + MapControl "$MAPCNTRLMNU_SETMARK", "am_setmark" + MapControl "$MAPCNTRLMNU_CLEARMARK", "am_clearmarks" } //------------------------------------------------------------------------------------------- @@ -1030,56 +1026,56 @@ OptionMenu MapControlsMenu OptionMenu MapColorMenu { - Title "CUSTOMIZE MAP COLORS" - SafeCommand "Restore default custom colors", "am_restorecolors" + Title "$MAPCOLORMNU_TITLE" + SafeCommand "$MAPCOLORMNU_DEFAULTMAPCOLORS", "am_restorecolors" StaticText " " - ColorPicker "Background", "am_backcolor" - ColorPicker "You", "am_yourcolor" - ColorPicker "1-sided walls", "am_wallcolor" - ColorPicker "2-sided walls with different floors", "am_fdwallcolor" - ColorPicker "2-sided walls with different ceilings", "am_cdwallcolor" - ColorPicker "2-sided walls with 3D floors", "am_efwallcolor" - ColorPicker "Map grid", "am_gridcolor" - ColorPicker "Center point", "am_xhaircolor" - ColorPicker "Not-yet-seen walls", "am_notseencolor" - ColorPicker "Locked doors", "am_lockedcolor" - ColorPicker "Teleporter to the same map", "am_intralevelcolor" - ColorPicker "Teleporter to a different map", "am_interlevelcolor" - ColorPicker "Secret sector", "am_secretsectorcolor" - ColorPicker "Special trigger lines", "am_specialwallcolor" + ColorPicker "$MAPCOLORMNU_BACKCOLOR", "am_backcolor" + ColorPicker "$MAPCOLORMNU_YOURCOLOR", "am_yourcolor" + ColorPicker "$MAPCOLORMNU_WALLCOLOR", "am_wallcolor" + ColorPicker "$MAPCOLORMNU_FDWALLCOLOR", "am_fdwallcolor" + ColorPicker "$MAPCOLORMNU_CDWALLCOLOR", "am_cdwallcolor" + ColorPicker "$MAPCOLORMNU_EFWALLCOLOR", "am_efwallcolor" + ColorPicker "$MAPCOLORMNU_GRIDCOLOR", "am_gridcolor" + ColorPicker "$MAPCOLORMNU_XHAIRCOLOR", "am_xhaircolor" + ColorPicker "$MAPCOLORMNU_NOTSEENCOLOR", "am_notseencolor" + ColorPicker "$MAPCOLORMNU_LOCKEDCOLOR", "am_lockedcolor" + ColorPicker "$MAPCOLORMNU_INTRALEVELCOLOR", "am_intralevelcolor" + ColorPicker "$MAPCOLORMNU_INTERLEVELCOLOR", "am_interlevelcolor" + ColorPicker "$MAPCOLORMNU_SECRETSECTORCOLOR", "am_secretsectorcolor" + ColorPicker "$MAPCOLORMNU_SPECIALWALLCOLOR", "am_specialwallcolor" StaticText " " - StaticText "Cheat Mode", 1 - ColorPicker "Invisible 2-sided walls", "am_tswallcolor" - ColorPicker "Secret walls", "am_secretwallcolor" - ColorPicker "Actors", "am_thingcolor" - ColorPicker "Monsters", "am_thingcolor_monster" - ColorPicker "non-counting Monsters", "am_thingcolor_ncmonster" - ColorPicker "Friends", "am_thingcolor_friend" - ColorPicker "Items", "am_thingcolor_item" - ColorPicker "Count Items", "am_thingcolor_citem" + StaticText "$MAPCOLORMNU_CHEATMODE", 1 + ColorPicker "$MAPCOLORMNU_TSWALLCOLOR", "am_tswallcolor" + ColorPicker "$MAPCOLORMNU_SECRETWALLCOLOR", "am_secretwallcolor" + ColorPicker "$MAPCOLORMNU_THINGCOLOR", "am_thingcolor" + ColorPicker "$MAPCOLORMNU_MONSTERCOLOR", "am_thingcolor_monster" + ColorPicker "$MAPCOLORMNU_NONCOUNTINGMONSTERCOLOR", "am_thingcolor_ncmonster" + ColorPicker "$MAPCOLORMNU_FRIENDCOLOR", "am_thingcolor_friend" + ColorPicker "$MAPCOLORMNU_ITEMCOLOR", "am_thingcolor_item" + ColorPicker "$MAPCOLORMNU_COUNTITEMCOLOR", "am_thingcolor_citem" StaticText " " - StaticText "Overlay Mode", 1 - ColorPicker "You", "am_ovyourcolor" - ColorPicker "1-sided walls", "am_ovwallcolor" - ColorPicker "2-sided walls with different floors", "am_ovfdwallcolor" - ColorPicker "2-sided walls with different ceilings", "am_ovcdwallcolor" - ColorPicker "2-sided walls with 3D floors", "am_ovefwallcolor" - ColorPicker "Not-yet-seen walls", "am_ovunseencolor" - ColorPicker "Locked doors", "am_ovlockedcolor" - ColorPicker "Teleporter to the same map", "am_ovtelecolor" - ColorPicker "Teleporter to a different map", "am_ovinterlevelcolor" - ColorPicker "Secret sector", "am_ovsecretsectorcolor" - ColorPicker "Special trigger lines", "am_ovspecialwallcolor" + StaticText "$MAPCOLORMNU_OVERLAY", 1 + ColorPicker "$MAPCOLORMNU_YOURCOLOR", "am_ovyourcolor" + ColorPicker "$MAPCOLORMNU_WALLCOLOR", "am_ovwallcolor" + ColorPicker "$MAPCOLORMNU_FDWALLCOLOR", "am_ovfdwallcolor" + ColorPicker "$MAPCOLORMNU_CDWALLCOLOR", "am_ovcdwallcolor" + ColorPicker "$MAPCOLORMNU_EFWALLCOLOR", "am_ovefwallcolor" + ColorPicker "$MAPCOLORMNU_NOTSEENCOLOR", "am_ovunseencolor" + ColorPicker "$MAPCOLORMNU_LOCKEDCOLOR", "am_ovlockedcolor" + ColorPicker "$MAPCOLORMNU_INTRALEVELCOLOR", "am_ovtelecolor" + ColorPicker "$MAPCOLORMNU_INTERLEVELCOLOR", "am_ovinterlevelcolor" + ColorPicker "$MAPCOLORMNU_SECRETSECTORCOLOR", "am_ovsecretsectorcolor" + ColorPicker "$MAPCOLORMNU_SPECIALWALLCOLOR", "am_ovspecialwallcolor" StaticText " " - StaticText "Overlay Cheat Mode", 1 - ColorPicker "Invisible 2-sided walls", "am_ovotherwallscolor" - ColorPicker "Secret walls", "am_ovsecretwallcolor" - ColorPicker "Actors", "am_ovthingcolor" - ColorPicker "Monsters", "am_ovthingcolor_monster" - ColorPicker "non-counting Monsters", "am_ovthingcolor_ncmonster" - ColorPicker "Friends", "am_ovthingcolor_friend" - ColorPicker "Items", "am_ovthingcolor_item" - ColorPicker "Count Items", "am_ovthingcolor_citem" + StaticText "$MAPCOLORMNU_OVCHEATMODE", 1 + ColorPicker "$MAPCOLORMNU_TSWALLCOLOR", "am_ovotherwallscolor" + ColorPicker "$MAPCOLORMNU_SECRETWALLCOLOR", "am_ovsecretwallcolor" + ColorPicker "$MAPCOLORMNU_THINGCOLOR", "am_ovthingcolor" + ColorPicker "$MAPCOLORMNU_MONSTERCOLOR", "am_ovthingcolor_monster" + ColorPicker "$MAPCOLORMNU_NONCOUNTINGMONSTERCOLOR", "am_ovthingcolor_ncmonster" + ColorPicker "$MAPCOLORMNU_FRIENDCOLOR", "am_ovthingcolor_friend" + ColorPicker "$MAPCOLORMNU_ITEMCOLOR", "am_ovthingcolor_item" + ColorPicker "$MAPCOLORMNU_COUNTITEMCOLOR", "am_ovthingcolor_citem" } //------------------------------------------------------------------------------------------- @@ -1090,7 +1086,7 @@ OptionMenu MapColorMenu OptionMenu ColorPickerMenu { - Title "SELECT COLOR" + Title "$MNU_COLORPICKER" // This menu will be created by the calling code } @@ -1103,39 +1099,39 @@ OptionMenu ColorPickerMenu OptionValue ScaleValues { - 0, "Off" - 1, "On" - 2, "Double" + 0, "$OPTVAL_OFF" + 1, "$OPTVAL_ON" + 2, "$OPTVAL_DOUBLE" } OptionValue MessageLevels { - 0.0, "Item Pickup" - 1.0, "Obituaries" - 2.0, "Critical Messages" + 0.0, "$OPTVAL_ITEMPICKUP" + 1.0, "$OPTVAL_OBITUARIES" + 2.0, "$OPTVAL_CRITICALMESSAGES" } OptionMenu MessageOptions { - Title "MESSAGES" - Option "Show messages", "show_messages", "OnOff" - Option "Show obituaries", "show_obituaries", "OnOff" - Option "Show secret notifications", "cl_showsecretmessage", "OnOff" - Option "Scale text in high res", "con_scaletext", "ScaleValues" - Option "Minimum message level", "msg", "MessageLevels" - Option "Center messages", "con_centernotify", "OnOff" + Title "$MSGMNU_TITLE" + Option "$MSGMNU_SHOWMESSAGES", "show_messages", "OnOff" + Option "$MSGMNU_SHOWOBITUARIES", "show_obituaries", "OnOff" + Option "$MSGMNU_SHOWSECRETS", "cl_showsecretmessage", "OnOff" + Option "$MSGMNU_SCALETEXT", "con_scaletext", "ScaleValues" + Option "$MSGMNU_MESSAGELEVEL", "msg", "MessageLevels" + Option "$MSGMNU_CENTERMESSAGES", "con_centernotify", "OnOff" StaticText " " - StaticText "Message Colors", 1 + StaticText "$MSGMNU_MESSAGECOLORS", 1 StaticText " " - Option "Item Pickup", "msg0color", "TextColors" - Option "Obituaries", "msg1color", "TextColors" - Option "Critical Messages", "msg2color", "TextColors" - Option "Chat Messages", "msg3color", "TextColors" - Option "Team Messages", "msg4color", "TextColors" - Option "Centered Messages", "msgmidcolor", "TextColors" + Option "$MSGMNU_ITEMPICKUP", "msg0color", "TextColors" + Option "$MSGMNU_OBITUARIES", "msg1color", "TextColors" + Option "$MSGMNU_CRITICALMESSAGES", "msg2color", "TextColors" + Option "$MSGMNU_CHATMESSAGES", "msg3color", "TextColors" + Option "$MSGMNU_TEAMMESSAGES", "msg4color", "TextColors" + Option "$MSGMNU_CENTEREDMESSAGES", "msgmidcolor", "TextColors" StaticText " " - Option "Screenshot messages", "screenshot_quiet", "OffOn" - Option "Detailed save messages", "longsavemessages", "OnOff" + Option "$MSGMNU_SCREENSHOTMESSAGES", "screenshot_quiet", "OffOn" + Option "$MSGMNU_LONGSAVEMESSAGES", " longsavemessages", "OnOff" } //------------------------------------------------------------------------------------------- @@ -1146,27 +1142,27 @@ OptionMenu MessageOptions OptionMenu ScoreboardOptions { - Title "SCOREBOARD OPTIONS" - StaticText "Cooperative Options", 1 + Title "$SCRBRDMNU_TITLE" + StaticText "$SCRBRDMNU_COOPERATIVE", 1 StaticText " " - Option "Enable Scoreboard", "sb_cooperative_enable", "YesNo" - Option "Header Color", "sb_cooperative_headingcolor", "TextColors" - Option "Your Player Color", "sb_cooperative_yourplayercolor", "TextColors" - Option "Other Players' Color", "sb_cooperative_otherplayercolor", "TextColors" + Option "$SCRBRDMNU_ENABLE", "sb_cooperative_enable", "YesNo" + Option "$SCRBRDMNU_HEADERCOLOR", "sb_cooperative_headingcolor", "TextColors" + Option "$SCRBRDMNU_YOURCOLOR", "sb_cooperative_yourplayercolor", "TextColors" + Option "$SCRBRDMNU_OTHERPLAYERCOLOR", "sb_cooperative_otherplayercolor", "TextColors" StaticText " " StaticText " " - StaticText "Deathmatch Options", 1 + StaticText "$SCRBRDMNU_DEATHMATCH", 1 StaticText " " - Option "Enable Scoreboard", "sb_deathmatch_enable", "YesNo" - Option "Header Color", "sb_deathmatch_headingcolor", "TextColors" - Option "Your Player Color", "sb_deathmatch_yourplayercolor", "TextColors" - Option "Other Players' Color", "sb_deathmatch_otherplayercolor", "TextColors" + Option "$SCRBRDMNU_ENABLE", "sb_deathmatch_enable", "YesNo" + Option "$SCRBRDMNU_HEADERCOLOR", "sb_deathmatch_headingcolor", "TextColors" + Option "$SCRBRDMNU_YOURCOLOR", "sb_deathmatch_yourplayercolor", "TextColors" + Option "$SCRBRDMNU_OTHERPLAYERCOLOR", "sb_deathmatch_otherplayercolor", "TextColors" StaticText " " StaticText " " - StaticText "Team Deathmatch Options", 1 + StaticText "$SCRBRDMNU_TEAMDEATHMATCH", 1 StaticText " " - Option "Enable Scoreboard", "sb_teamdeathmatch_enable", "YesNo" - Option "Header Color", "sb_teamdeathmatch_headingcolor", "TextColors" + Option "$SCRBRDMNU_ENABLE", "sb_teamdeathmatch_enable", "YesNo" + Option "$SCRBRDMNU_HEADERCOLOR", "sb_teamdeathmatch_headingcolor", "TextColors" } /*======================================= @@ -1177,92 +1173,92 @@ OptionMenu ScoreboardOptions OptionValue SmartAim { - 0.0, "Off" - 1.0, "On" - 2.0, "Never friends" - 3.0, "Only monsters" + 0.0, "$OPTVAL_OFF" + 1.0, "$OPTVAL_ON" + 2.0, "$OPTVAL_NEVERFRIENDS" + 3.0, "$OPTVAL_ONLYMONSTERS" } OptionValue FallingDM { - 0, "Off" - 1, "Old" - 2, "Hexen" - 3, "Strife" + 0, "$OPTVAL_OFF" + 1, "$OPTVAL_OLD" + 2, "$OPTVAL_HEXEN" + 3, "$OPTVAL_STRIFE" } OptionValue JumpCrouchFreeLook { - 0, "Default" - 1, "Off" - 2, "On" + 0, "$OPTVAL_DEFAULT" + 1, "$OPTVAL_OFF" + 2, "$OPTVAL_ON" } OptionMenu GameplayOptions { - Title "GAMEPLAY OPTIONS" + Title "$GMPLYMNU_TITLE" //Indent 222 - Option "Teamplay", "teamplay", "OnOff" - Slider "Team damage scalar", "teamdamage", 0, 1, 0.05 + Option "$GMPLYMNU_TEAMPLAY", "teamplay", "OnOff" + Slider "$GMPLYMNU_TEAMDAMAGE", "teamdamage", 0, 1, 0.05 StaticText " " - Option "Smart Autoaim", "sv_smartaim", "SmartAim" + Option "$GMPLYMNU_SMARTAUTOAIM", "sv_smartaim", "SmartAim" StaticText " " - Option "Falling damage", "sv_fallingdamage", "FallingDM" - Option "Drop weapon", "sv_weapondrop", "YesNo" - Option "Double ammo", "sv_doubleammo", "YesNo" - Option "Infinite ammo", "sv_infiniteammo", "YesNo" - Option "Infinite inventory", "sv_infiniteinventory", "YesNo" - Option "No monsters", "sv_nomonsters", "YesNo" - Option "No monsters to exit", "sv_killallmonsters", "YesNo" - Option "Monsters respawn", "sv_monsterrespawn", "YesNo" - Option "No respawn", "sv_norespawn", "YesNo" - Option "Items respawn", "sv_itemrespawn", "YesNo" - Option "Big powerups respawn", "sv_respawnsuper", "YesNo" - Option "Fast monsters", "sv_fastmonsters", "YesNo" - Option "Degeneration", "sv_degeneration", "YesNo" - Option "Allow Autoaim", "sv_noautoaim", "NoYes" - Option "Allow Suicide", "sv_disallowsuicide", "NoYes" - Option "Allow jump", "sv_jump", "JumpCrouchFreeLook" - Option "Allow crouch", "sv_crouch", "JumpCrouchFreeLook" - Option "Allow freelook", "sv_freelook", "JumpCrouchFreeLook" - Option "Allow FOV", "sv_nofov", "NoYes" - Option "Allow BFG aiming", "sv_nobfgaim", "NoYes" - Option "Allow automap", "sv_noautomap", "NoYes" - Option "Automap allies", "sv_noautomapallies", "NoYes" - Option "Allow spying", "sv_disallowspying", "NoYes" - Option "Chasecam cheat", "sv_chasecam", "YesNo" - Option "Check ammo for weapon switch", "sv_dontcheckammo", "NoYes" - Option "Icon's death kills its spawns", "sv_killbossmonst", "YesNo" - Option "End sector counts for kill %", "sv_nocountendmonst", "NoYes" + Option "$GMPLYMNU_FALLINGDAMAGE", "sv_fallingdamage", "FallingDM" + Option "$GMPLYMNU_DROPWEAPON", "sv_weapondrop", "YesNo" + Option "$GMPLYMNU_DOUBLEAMMO", "sv_doubleammo", "YesNo" + Option "$GMPLYMNU_INFINITEAMMO", "sv_infiniteammo", "YesNo" + Option "$GMPLYMNU_INFINITEINVENTORY", "sv_infiniteinventory", "YesNo" + Option "$GMPLYMNU_NOMONSTERS", "sv_nomonsters", "YesNo" + Option "$GMPLYMNU_NOMONSTERSTOEXIT", "sv_killallmonsters", "YesNo" + Option "$GMPLYMNU_MONSTERSRESPAWN", "sv_monsterrespawn", "YesNo" + Option "$GMPLYMNU_NORESPAWN", "sv_norespawn", "YesNo" + Option "$GMPLYMNU_ITEMSRESPAWN", "sv_itemrespawn", "YesNo" + Option "$GMPLYMNU_SUPERRESPAWN", "sv_respawnsuper", "YesNo" + Option "$GMPLYMNU_FASTMONSTERS", "sv_fastmonsters", "YesNo" + Option "$GMPLYMNU_DEGENERATION", "sv_degeneration", "YesNo" + Option "$GMPLYMNU_NOAUTOAIM", "sv_noautoaim", "NoYes" + Option "$GMPLYMNU_ALLOWSUICIDE", "sv_disallowsuicide", "NoYes" + Option "$GMPLYMNU_ALLOWJUMP", "sv_jump", "JumpCrouchFreeLook" + Option "$GMPLYMNU_ALLOWCROUCH", "sv_crouch", "JumpCrouchFreeLook" + Option "$GMPLYMNU_ALLOWFREELOOK", "sv_freelook", "JumpCrouchFreeLook" + Option "$GMPLYMNU_ALLOWFOV", "sv_nofov", "NoYes" + Option "$GMPLYMNU_BFGFREEAIM", "sv_nobfgaim", "NoYes" + Option "$GMPLYMNU_ALLOWAUTOMAP", "sv_noautomap", "NoYes" + Option "$GMPLYMNU_AUTOMAPALLIES", "sv_noautomapallies", "NoYes" + Option "$GMPLYMNU_ALLOWSPYING", "sv_disallowspying", "NoYes" + Option "$GMPLYMNU_CHASECAM", "sv_chasecam", "YesNo" + Option "$GMPLYMNU_DONTCHECKAMMO", "sv_dontcheckammo", "NoYes" + Option "$GMPLYMNU_KILLBOSSSPAWNS", "sv_killbossmonst", "YesNo" + Option "$GMPLYMNU_NOCOUNTENDMONSTER", "sv_nocountendmonst", "NoYes" StaticText " " - StaticText "Deathmatch Settings",1 - Option "Weapons stay", "sv_weaponstay", "YesNo" - Option "Allow powerups", "sv_noitems", "NoYes" - Option "Allow health", "sv_nohealth", "NoYes" - Option "Allow armor", "sv_noarmor", "NoYes" - Option "Spawn farthest", "sv_spawnfarthest", "YesNo" - Option "Same map", "sv_samelevel", "YesNo" - Option "Force respawn", "sv_forcerespawn", "YesNo" - Option "Allow exit", "sv_noexit", "NoYes" - Option "Barrels respawn", "sv_barrelrespawn", "YesNo" - Option "Respawn protection", "sv_respawnprotect", "YesNo" - Option "Lose frag if fragged", "sv_losefrag", "YesNo" - Option "Keep frags gained", "sv_keepfrags", "YesNo" - Option "No team switching", "sv_noteamswitch", "YesNo" + StaticText "$GMPLYMNU_DEATHMATCH",1 + Option "$GMPLYMNU_WEAPONSSTAY", "sv_weaponstay", "YesNo" + Option "$GMPLYMNU_ALLOWPOWERUPS", "sv_noitems", "NoYes" + Option "$GMPLYMNU_ALLOWHEALTH", "sv_nohealth", "NoYes" + Option "$GMPLYMNU_ALLOWARMOR", "sv_noarmor", "NoYes" + Option "$GMPLYMNU_SPAWNFARTHEST", "sv_spawnfarthest", "YesNo" + Option "$GMPLYMNU_SAMEMAP", "sv_samelevel", "YesNo" + Option "$GMPLYMNU_FORCERESPAWN", "sv_forcerespawn", "YesNo" + Option "$GMPLYMNU_ALLOWEXIT", "sv_noexit", "NoYes" + Option "$GMPLYMNU_BARRELSRESPAWN", "sv_barrelrespawn", "YesNo" + Option "$GMPLYMNU_RESPAWNPROTECTION", "sv_respawnprotect", "YesNo" + Option "$GMPLYMNU_LOSEFRAG", "sv_losefrag", "YesNo" + Option "$GMPLYMNU_KEEPFRAGS", "sv_keepfrags", "YesNo" + Option "$GMPLYMNU_NOTEAMSWITCH", "sv_noteamswitch", "YesNo" StaticText " " - StaticText "Cooperative Settings",1 - Option "Spawn multi. weapons", "sv_noweaponspawn", "NoYes" - Option "Lose entire inventory", "sv_cooploseinventory", "YesNo" - Option "Keep keys", "sv_cooplosekeys", "NoYes" - Option "Keep weapons", "sv_cooploseweapons", "NoYes" - Option "Keep armor", "sv_cooplosearmor", "NoYes" - Option "Keep powerups", "sv_cooplosepowerups", "NoYes" - Option "Keep ammo", "sv_cooploseammo", "NoYes" - Option "Lose half ammo", "sv_coophalveammo", "YesNo" - Option "Spawn where died", "sv_samespawnspot", "YesNo" + StaticText "$GMPLYMNU_COOPERATIVE",1 + Option "$GMPLYMNU_MULTIPLAYERWEAPONS", "sv_noweaponspawn", "NoYes" + Option "$GMPLYMNU_LOSEINVENTORY", "sv_cooploseinventory", "YesNo" + Option "$GMPLYMNU_KEEPKEYS", "sv_cooplosekeys", "NoYes" + Option "$GMPLYMNU_KEEPWEAPONS", "sv_cooploseweapons", "NoYes" + Option "$GMPLYMNU_KEEPARMOR", "sv_cooplosearmor", "NoYes" + Option "$GMPLYMNU_KEEPPOWERUPS", "sv_cooplosepowerups", "NoYes" + Option "$GMPLYMNU_KEEPAMMO", "sv_cooploseammo", "NoYes" + Option "$GMPLYMNU_LOSEHALFAMMO", "sv_coophalveammo", "YesNo" + Option "$GMPLYMNU_SPAWNWHEREDIED", "sv_samespawnspot", "YesNo" Class "GameplayMenu" } @@ -1275,74 +1271,74 @@ OptionMenu GameplayOptions OptionValue CompatModes { - 0, "Default" - 1, "Doom" - 2, "Doom (strict)" - 3, "Boom" - 6, "Boom (strict)" - 5, "MBF" - 4, "ZDoom 2.0.63" + 0, "$OPTVAL_DEFAULT" + 1, "$OPTVAL_DOOM" + 2, "$OPTVAL_DOOMSTRICT" + 3, "$OPTVAL_BOOM" + 6, "$OPTVAL_BOOMSTRICT" + 5, "$OPTVAL_MBF" + 4, "$OPTVAL_ZDOOM2063" } OptionMenu "CompatibilityOptions" { - Title "COMPATIBILITY OPTIONS" - Option "Compatibility mode", "compatmode", "CompatModes", "", 1 + Title "$CMPTMNU_TITLE" + Option "$CMPTMNU_MODE", "compatmode", "CompatModes", "", 1 StaticText " " - StaticText "Actor Behavior",1 - Option "Crushed monsters can be resurrected", "compat_CORPSEGIBS", "YesNo" - Option "Friendly monsters aren't blocked", "compat_NOBLOCKFRIENDS", "YesNo" - Option "Limit Pain Elementals' Lost Souls", "compat_LIMITPAIN", "YesNo" - Option "Monster movement is affected by effects", "compat_MBFMONSTERMOVE", "YesNo" - Option "Monsters cannot cross dropoffs", "compat_CROSSDROPOFF", "YesNo" - Option "Monsters get stuck over dropoffs", "compat_DROPOFF", "YesNo" - Option "Monsters see invisible players", "compat_INVISIBILITY", "YesNo" - Option "No Minotaur floor flames in water", "compat_MINOTAUR", "YesNo" - Option "Spawn item drops on the floor", "compat_NOTOSSDROPS", "YesNo" + StaticText "$CMPTMNU_ACTORBEHAVIOR",1 + Option "$CMPTMNU_CORPSEGIBS", "compat_CORPSEGIBS", "YesNo" + Option "$CMPTMNU_NOBLOCKFRIENDS", "compat_NOBLOCKFRIENDS", "YesNo" + Option "$CMPTMNU_LIMITPAIN", "compat_LIMITPAIN", "YesNo" + Option "$CMPTMNU_MBFMONSTERMOVE", "compat_MBFMONSTERMOVE", "YesNo" + Option "$CMPTMNU_CROSSDROPOFF", "compat_CROSSDROPOFF", "YesNo" + Option "$CMPTMNU_DROPOFF", "compat_DROPOFF", "YesNo" + Option "$CMPTMNU_INVISIBILITY", "compat_INVISIBILITY", "YesNo" + Option "$CMPTMNU_MINOTAUR", "compat_MINOTAUR", "YesNo" + Option "$CMPTMNU_NOTOSSDROPS", "compat_NOTOSSDROPS", "YesNo" StaticText " " - StaticText "DehackEd Behavior",1 - Option "DEH health settings like Doom2.exe", "compat_DEHHEALTH", "YesNo" - Option "Original A_Mushroom speed in DEH mods", "compat_MUSHROOM", "YesNo" + StaticText "$CMPTMNU_DEHACKEDBEHAVIOR",1 + Option "$CMPTMNU_DEHHEALTH", "compat_DEHHEALTH", "YesNo" + Option "$CMPTMNU_MUSHROOM", "compat_MUSHROOM", "YesNo" StaticText " " - StaticText "Map/Action Behavior",1 - Option "All special lines can block ", "compat_USEBLOCKING", "YesNo" - Option "Allow any bossdeath for level special", "compat_ANYBOSSDEATH", "YesNo" - Option "Disable BOOM door light effect", "compat_NODOORLIGHT", "YesNo" - Option "Find neighboring light like Doom", "compat_LIGHT", "YesNo" - Option "Find shortest textures like Doom", "compat_SHORTTEX", "YesNo" - Option "Use buggier stair building", "compat_stairs", "YesNo" - Option "Use Doom's floor motion behavior", "compat_floormove", "YesNo" - Option "Use Doom's point-on-line algorithm", "compat_pointonline", "YesNo" + StaticText "$CMPTMNU_MAPACTIONBEHAVIOR",1 + Option "$CMPTMNU_USEBLOCKING", "compat_USEBLOCKING", "YesNo" + Option "$CMPTMNU_ANYBOSSDEATH", "compat_ANYBOSSDEATH", "YesNo" + Option "$CMPTMNU_NODOORLIGHT", "compat_NODOORLIGHT", "YesNo" + Option "$CMPTMNU_LIGHT", "compat_LIGHT", "YesNo" + Option "$CMPTMNU_SHORTTEX", "compat_SHORTTEX", "YesNo" + Option "$CMPTMNU_STAIRS", "compat_stairs", "YesNo" + Option "$CMPTMNU_FLOORMOVE", "compat_floormove", "YesNo" + Option "$CMPTMNU_POINTONLINE", "compat_pointonline", "YesNo" StaticText " " - StaticText "Physics Behavior",1 - Option "Actors are infinitely tall", "compat_nopassover", "YesNo" - Option "Boom scrollers are additive", "compat_BOOMSCROLL", "YesNo" - Option "Cannot travel straight NSEW", "compat_badangles", "YesNo" - Option "Enable wall running", "compat_WALLRUN", "YesNo" - Option "Raven scrollers use original speed", "compat_RAVENSCROLL", "YesNo" - Option "Self ref. sectors don't block shots", "compat_TRACE", "YesNo" - Option "Use Doom code for hitscan checks", "compat_HITSCAN", "YesNo" - Option "Use Doom heights for missile clipping", "compat_MISSILECLIP", "YesNo" + StaticText "$CMPTMNU_PHYSICSBEHAVIOR",1 + Option "$CMPTMNU_NOPASSOVER", "compat_nopassover", "YesNo" + Option "$CMPTMNU_BOOMSCROLL", "compat_BOOMSCROLL", "YesNo" + Option "$CMPTMNU_BADANGLES", "compat_badangles", "YesNo" + Option "$CMPTMNU_WALLRUN", "compat_WALLRUN", "YesNo" + Option "$CMPTMNU_RAVENSCROLL", "compat_RAVENSCROLL", "YesNo" + Option "$CMPTMNU_TRACE", "compat_TRACE", "YesNo" + Option "$CMPTMNU_HITSCAN", "compat_HITSCAN", "YesNo" + Option "$CMPTMNU_MISSILECLIP", "compat_MISSILECLIP", "YesNo" StaticText " " - StaticText "Rendering Behavior",1 - Option "Draw polyobjects like Hexen", "compat_POLYOBJ", "YesNo" - Option "Ignore Y offsets on masked midtextures", "compat_MASKEDMIDTEX", "YesNo" - Option "Invert sprite sorting", "compat_SPRITESORT", "YesNo" + StaticText "$CMPTMNU_RENDERINGBEHAVIOR",1 + Option "$CMPTMNU_POLYOBJ", "compat_POLYOBJ", "YesNo" + Option "$CMPTMNU_MASKEDMIDTEX", "compat_MASKEDMIDTEX", "YesNo" + Option "$CMPTMNU_SPRITESORT", "compat_SPRITESORT", "YesNo" StaticText " " - StaticText "Sound Behavior",1 - Option "Cripple sound for silent BFG trick", "compat_soundslots", "YesNo" - Option "Don't let others hear your pickups", "compat_SILENTPICKUP", "YesNo" - Option "Inst. moving floors are not silent", "compat_silentinstantfloors", "YesNo" - Option "Sector sounds use center as source", "compat_SECTORSOUNDS", "YesNo" - Option "Sounds stop when actor vanishes", "compat_soundcutoff", "YesNo" - Option "Use original sound target handling", "compat_SOUNDTARGET", "YesNo" + StaticText "$CMPTMNU_SOUNDBEHAVIOR",1 + Option "$CMPTMNU_SOUNDSLOTS", "compat_soundslots", "YesNo" + Option "$CMPTMNU_SILENTPICKUP", "compat_SILENTPICKUP", "YesNo" + Option "$CMPTMNU_SILENTINSTANTFLOORS", "compat_silentinstantfloors", "YesNo" + Option "$CMPTMNU_SECTORSOUNDS", "compat_SECTORSOUNDS", "YesNo" + Option "$CMPTMNU_SOUNDCUTOFF", "compat_soundcutoff", "YesNo" + Option "$CMPTMNU_SOUNDTARGET", "compat_SOUNDTARGET", "YesNo" Class "CompatibilityMenu" } @@ -1355,33 +1351,33 @@ OptionMenu "CompatibilityOptions" OptionValue SampleRates { - 0, "Default" - 4000, "4000 Hz" - 8000, "8000 Hz" - 11025, "11025 Hz" - 22050, "22050 Hz" - 32000, "32000 Hz" - 44100, "44100 Hz" - 48000, "48000 Hz" + 0, "$OPTVAL_DEFAULT" + 4000, "$OPTVAL_4000HZ" + 8000, "$OPTVAL_8000HZ" + 11025, "$OPTVAL_11025HZ" + 22050, "$OPTVAL_22050HZ" + 32000, "$OPTVAL_32000HZ" + 44100, "$OPTVAL_44100HZ" + 48000, "$OPTVAL_48000HZ" } OptionValue BufferSizes { - 0, "Default" - 64, "64 samples" - 128, "128 samples" - 256, "256 samples" - 512, "512 samples" - 1024, "1024 samples" - 2048, "2048 samples" - 4096, "4096 samples" + 0, "$OPTVAL_DEFAULT" + 64, "$OPTVAL_64SAMPLES" + 128, "$OPTVAL_128SAMPLES" + 256, "$OPTVAL_256SAMPLES" + 512, "$OPTVAL_512SAMPLES" + 1024, "$OPTVAL_1024SAMPLES" + 2048, "$OPTVAL_2048SAMPLES" + 4096, "$OPTVAL_4096SAMPLES" } OptionValue BufferCounts { - 0, "Default" + 0, "$OPTVAL_DEFAULT" 2, "2" 3, "3" 4, "4" @@ -1398,30 +1394,30 @@ OptionValue BufferCounts OptionString SoundOutputsWindows { - "Default", "Default" - "DirectSound", "DirectSound" - "WASAPI", "Vista WASAPI" - "ASIO", "ASIO" - "WaveOut", "WaveOut" - "No sound", "No sound" + "Default", "$OPTVAL_DEFAULT" + "DirectSound", "$OPTSTR_DIRECTSOUND" + "WASAPI", "$OPTSTR_WASAPI" + "ASIO", "$OPTSTR_ASIO" + "WaveOut", "$OPTSTR_WAVEOUT" + "No sound", "$OPTSTR_NOSOUND" } OptionString SoundOutputsUnix { - "Default", "Default" - "OSS", "OSS" - "ALSA", "ALSA" - "SDL", "SDL" - "ESD", "ESD" - "PulseAudio", "PulseAudio" - "No sound", "No sound" + "Default", "$OPTVAL_DEFAULT" + "OSS", "$OPTSTR_OSS" + "ALSA", "$OPTSTR_ALSA" + "SDL", "$OPTSTR_SDL" + "ESD", "$OPTSTR_ESD" + "PulseAudio", "$OPTSTR_PULSEAUDIO" + "No sound", "$OPTSTR_NOSOUND" } OptionString SoundOutputsMac { - "Core Audio", "Core Audio" - "No sound", "No sound" + "Core Audio", "$OPTSTR_COREAUDIO" + "No sound", "$OPTSTR_NOSOUND" } OptionString ALDevices @@ -1431,86 +1427,86 @@ OptionString ALDevices OptionString OutputFormats { - "PCM-8", "8-bit" - "PCM-16", "16-bit" - "PCM-24", "24-bit" - "PCM-32", "32-bit" - "PCM-Float", "32-bit float" + "PCM-8", "$OPTSTR_PCM8BIT" + "PCM-16", "$OPTSTR_PCM16BIT" + "PCM-24", "$OPTSTR_PCM24BIT" + "PCM-32", "$OPTSTR_PCM32BIT" + "PCM-Float", "$OPTSTR_PCMFLOAT" } OptionString SpeakerModes { - "Auto", "Auto" - "Mono", "Mono" - "Stereo", "Stereo" - "Prologic", "Dolby Prologic Decoder" - "Quad", "Quad" - "Surround", "5 speakers" - "5.1", "5.1 speakers" - "7.1", "7.1 speakers" + "Auto", "$OPTSTR_AUTO" + "Mono", "$OPTSTR_MONO" + "Stereo", "$OPTSTR_STEREO" + "Prologic", "$OPTSTR_PROLOGIC" + "Quad", "$OPTSTR_QUAD" + "Surround", "$OPTSTR_SURROUND" + "5.1", "$OPTSTR_5POINT1" + "7.1", "$OPTSTR_7POINT1" } OptionString Resamplers { - "NoInterp", "No interpolation" - "Linear", "Linear" - "Cubic", "Cubic" - "Spline", "Spline" + "NoInterp", "$OPTSTR_NOINTERPOLATION" + "Linear", "$OPTVAL_LINEAR" + "Cubic", "$OPTVAL_CUBIC" + "Spline", "$OPTSTR_SPLINE" } OptionString SoundBackends { - "fmod", "FMOD Ex" - "openal", "OpenAL" - "null", "No Sound" + "fmod", "$OPTSTR_FMOD" + "openal", "$OPTSTR_OPENAL" + "null", "$OPTSTR_NOSOUND" } OptionString SoundBackendsFModOnly { - "fmod", "FMOD Ex" - "null", "No Sound" + "fmod", "$OPTSTR_FMOD" + "null", "$OPTSTR_NOSOUND" } OptionString SoundBackendsOpenALOnly { - "openal", "OpenAL" - "null", "No Sound" + "openal", "$OPTSTR_OPENAL" + "null", "$OPTSTR_NOSOUND" } OptionMenu FMODSoundItems { - Title "FMOD OPTIONS" - Slider "Underwater cutoff", "snd_waterlp", 0.0, 2000.0, 50.0, 0 + Title "$FMODMNU_TITLE" + Slider "$FMODMNU_WATERCUTOFF", "snd_waterlp", 0.0, 2000.0, 50.0, 0 IfOption(Windows) { - Option "Output system", "snd_output", "SoundOutputsWindows" + Option "$FMODMNU_OUTPUTSYSTEM", "snd_output", "SoundOutputsWindows" } IfOption(Unix) { - Option "Output system", "snd_output", "SoundOutputsUnix" + Option "$FMODMNU_OUTPUTSYSTEM", "snd_output", "SoundOutputsUnix" } IfOption(Mac) { - Option "Output system", "snd_output", "SoundOutputsMac" + Option "$FMODMNU_OUTPUTSYSTEM", "snd_output", "SoundOutputsMac" } - Option "Output format", "snd_output_format", "OutputFormats" - Option "Speaker mode", "snd_speakermode", "SpeakerModes" - Option "Resampler", "snd_resampler", "Resamplers" - Option "HRTF filter", "snd_hrtf", "OnOff" + Option "$FMODMNU_OUTPUTFORMAT", "snd_output_format", "OutputFormats" + Option "$FMODMNU_SPEAKERMODE", "snd_speakermode", "SpeakerModes" + Option "$FMODMNU_RESAMPLER", "snd_resampler", "Resamplers" + Option "$FMODMNU_HRTFFILTER", "snd_hrtf", "OnOff" StaticText " " - Option "Buffer size", "snd_buffersize", "BufferSizes" - Option "Buffer count", "snd_buffercount", "BufferCounts" + Option "$FMODMNU_BUFFERSIZE", "snd_buffersize", "BufferSizes" + Option "$FMODMNU_BUFFERCOUNT", "snd_buffercount", "BufferCounts" } OptionMenu OpenALSoundItems { - Title "OPENAL OPTIONS" - Option "Playback device", "snd_aldevice", "ALDevices" - Option "Enable EFX", "snd_efx", "OnOff" + Title "$OPENALMNU_TITLE" + Option "$OPENALMNU_PLAYBACKDEVICE", "snd_aldevice", "ALDevices" + Option "$OPENALMNU_ENABLEEFX", "snd_efx", "OnOff" } @@ -1521,50 +1517,50 @@ OptionValue MidiDevices OptionMenu SoundOptions { - Title "SOUND OPTIONS" - Slider "Sounds volume", "snd_sfxvolume", 0, 1, 0.05 - Slider "Menu volume", "snd_menuvolume", 0, 1, 0.05 - Slider "Music volume", "snd_musicvolume", 0, 1, 0.05 - Option "MIDI device", "snd_mididevice", "MidiDevices" + Title "$SNDMNU_TITLE" + Slider "$SNDMNU_SFXVOLUME", "snd_sfxvolume", 0, 1, 0.05 + Slider "$SNDMNU_MENUVOLUME", "snd_menuvolume", 0, 1, 0.05 + Slider "$SNDMNU_MUSICVOLUME", "snd_musicvolume", 0, 1, 0.05 + Option "$SNDMNU_MIDIDEVICE", "snd_mididevice", "MidiDevices" StaticText " " - Option "Underwater reverb", "snd_waterreverb", "OnOff" - Option "Randomize pitches", "snd_pitched", "OnOff" - Slider "Sound channels", "snd_channels", 8, 256, 8, 0 + Option "$SNDMNU_UNDERWATERREVERB", "snd_waterreverb", "OnOff" + Option "$SNDMNU_RANDOMIZEPITCHES", "snd_pitched", "OnOff" + Slider "$SNDMNU_CHANNELS", "snd_channels", 8, 256, 8, 0 StaticText " " ifoption(fmodex) { ifoption(openal) { - Option "Sound backend", "snd_backend", "SoundBackends" + Option "$SNDMNU_BACKEND", "snd_backend", "SoundBackends" } else { - Option "Sound backend", "snd_backend", "SoundBackendsFModOnly" + Option "$SNDMNU_BACKEND", "snd_backend", "SoundBackendsFModOnly" } } else { ifoption(openal) { - Option "Sound backend", "snd_backend", "SoundBackendsOpenALOnly" + Option "$SNDMNU_BACKEND", "snd_backend", "SoundBackendsOpenALOnly" } } ifoption(fmodex) { - Submenu "FMOD options", "FMODSoundItems" + Submenu "$SNDMNU_FMOD", "FMODSoundItems" } ifoption(openal) { - Submenu "OpenAL options", "OpenALSoundItems" + Submenu "$SNDMNU_OPENAL", "OpenALSoundItems" } StaticText " " - Command "Restart sound", "snd_reset" + Command "$SNDMNU_RESTART", "snd_reset" StaticText " " - Submenu "Advanced options", "AdvSoundOptions" - Submenu "Module replayer options", "ModReplayerOptions" + Submenu "$SNDMNU_ADVANCED", "AdvSoundOptions" + Submenu "$SNDMNU_MODREPLAYER", "ModReplayerOptions" } /*======================================= @@ -1575,53 +1571,53 @@ OptionMenu SoundOptions OptionValue GusMemory { - 0, "Unlimited" - 1, "256K" - 2, "512K" - 3, "768K" - 4, "1024K" + 0, "$OPTVAL_UNLIMITED" + 1, "$OPTVAL_256K" + 2, "$OPTVAL_512K" + 3, "$OPTVAL_768K" + 4, "$OPTVAL_1024K" } OptionValue OplCores { - 0, "MAME OPL2" - 1, "DOSBox OPL3" - 2, "Java OPL3" - 3, "Nuked OPL3" + 0, "$OPTVAL_MAMEOPL2" + 1, "$OPTVAL_DOSBOXOPL3" + 2, "$OPTVAL_JAVAOPL3" + 3, "$OPTVAL_NUKEDOPL3" } OptionMenu AdvSoundOptions { - Title "ADVANCED SOUND OPTIONS" - Option "Sample rate", "snd_samplerate", "SampleRates" + Title "$ADVSNDMNU_TITLE" + Option "$ADVSNDMNU_SAMPLERATE", "snd_samplerate", "SampleRates" StaticText " " - StaticText "OPL Synthesis", 1 - Slider "Number of emulated OPL chips", "opl_numchips", 1, 8, 1, 0 - Option "Full MIDI stereo panning", "opl_fullpan", "OnOff" - Option "OPL Emulator Core", "opl_core", "OplCores" + StaticText "$ADVSNDMNU_OPLSYNTHESIS", 1 + Slider "$ADVSNDMNU_OPLNUMCHIPS", "opl_numchips", 1, 8, 1, 0 + Option "$ADVSNDMNU_OPLFULLPAN", "opl_fullpan", "OnOff" + Option "$ADVSNDMNU_OPLCORES", "opl_core", "OplCores" StaticText " " - StaticText "GUS Emulation", 1 - TextField "GUS config file", "midi_config" - Slider "MIDI voices", "midi_voices", 16, 256, 4, 0 - Option "Read DMXGUS lumps", "midi_dmxgus", "OnOff" - Option "GUS memory size", "gus_memsize", "GusMemory" + StaticText "$ADVSNDMNU_GUSEMULATION", 1 + TextField "$ADVSNDMNU_GUSCONFIG", "midi_config" + Slider "$ADVSNDMNU_MIDIVOICES", "midi_voices", 16, 256, 4, 0 + Option "$ADVSNDMNU_DMXGUS", "midi_dmxgus", "OnOff" + Option "$ADVSNDMNU_GUSMEMSIZE", "gus_memsize", "GusMemory" StaticText " " - StaticText "FluidSynth", 1 - TextField "Patch set", "fluid_patchset" - Slider "Gain", "fluid_gain", 0, 10, 0.5, 1 - Option "Reverb", "fluid_reverb", "OnOff" - Slider "MIDI voices", "fluid_voices", 16, 4096, 16, 1 + StaticText "$ADVSNDMNU_FLUIDSYNTH", 1 + TextField "$ADVSNDMNU_FLUIDPATCHSET", "fluid_patchset" + Slider "$ADVSNDMNU_FLUIDGAIN", "fluid_gain", 0, 10, 0.5, 1 + Option "$ADVSNDMNU_REVERB", "fluid_reverb", "OnOff" + Slider "$ADVSNDMNU_FLUIDVOICES", "fluid_voices", 16, 4096, 16, 1 // Leaving out the more advanced stuff for now. StaticText " " - StaticText "Timidity++", 1 - TextField "Path for executable", "timidity_exe" - Option "Reverb", "timidity_reverb", "OnOff" - Option "Chorus", "timidity_chorus", "OnOff" - Slider "Relative volume", "timidity_mastervolume", 0, 4, 0.2, 1 + StaticText "$ADVSNDMNU_TIMIDITY", 1 + TextField "$ADVSNDMNU_TIMIDITYEXE", "timidity_exe" + Option "$ADVSNDMNU_REVERB", "timidity_reverb", "OnOff" + Option "$ADVSNDMNU_TIMIDITYCHORUS", "timidity_chorus", "OnOff" + Slider "$ADVSNDMNU_TIMIDITYVOLUME", "timidity_mastervolume", 0, 4, 0.2, 1 StaticText " " - StaticText "WildMidi", 1 - TextField "WildMidi config file", "wildmidi_config" - Option "Reverb", "wildmidi_reverb", "OnOff" + StaticText "$ADVSNDMNU_WILDMIDI", 1 + TextField "$ADVSNDMNU_WILDMIDICONFIG", "wildmidi_config" + Option "$ADVSNDMNU_REVERB", "wildmidi_reverb", "OnOff" } /*======================================= @@ -1632,43 +1628,43 @@ OptionMenu AdvSoundOptions OptionValue ModReplayers { - 0.0, "Sound System" - 1.0, "foo_dumb" + 0.0, "$OPTVAL_SOUNDSYSTEM" + 1.0, "$OPTVAL_FOO_DUMB" } OptionValue ModQuality { - 0.0, "Aliasing" - 1.0, "Linear" - 2.0, "Cubic" - 3.0, "Band-limited step" // BLEP - 4.0, "Linear (Slower)" - 5.0, "Band-limited linear" // BLAM - 6.0, "Cubic (Slower)" - 7.0, "Sinc" + 0.0, "$OPTVAL_ALIASING" + 1.0, "$OPTVAL_LINEAR" + 2.0, "$OPTVAL_CUBIC" + 3.0, "$OPTVAL_BLEP" // Band-limited step + 4.0, "$OPTVAL_LINEARSLOW" + 5.0, "$OPTVAL_BLAM" // Band-limited linear + 6.0, "$OPTVAL_CUBICSLOW" + 7.0, "$OPTVAL_SINC" } OptionValue ModVolumeRamps { - 0.0, "None" - 1.0, "Note on/off only" - 2.0, "Full ramping" + 0.0, "$OPTVAL_NONE" + 1.0, "$OPTVAL_NOTEONOFFONLY" + 2.0, "$OPTVAL_FULLRAMPING" } OptionMenu ModReplayerOptions { - Title "MODULE REPLAYER OPTIONS" - Option "Replayer engine", "mod_dumb", "ModReplayers" + Title "$MODMNU_TITLE" + Option "$MODMNU_REPLAYERENGINE", "mod_dumb", "ModReplayers" StaticText " " - Slider "Master Volume", "mod_dumb_mastervolume", 1, 16, 0.5, 1 - Option "Sample rate", "mod_samplerate", "SampleRates", "mod_dumb" - Option "Quality", "mod_interp", "ModQuality", "mod_dumb" - Option "Volume ramping", "mod_volramp", "ModVolumeRamps", "mod_dumb" + Slider "$MODMNU_MASTERVOLUME", "mod_dumb_mastervolume", 1, 16, 0.5, 1 + Option "$ADVSNDMNU_SAMPLERATE", "mod_samplerate", "SampleRates", "mod_dumb" + Option "$MODMNU_QUALITY", "mod_interp", "ModQuality", "mod_dumb" + Option "$MODMNU_VOLUMERAMPING", "mod_volramp", "ModVolumeRamps", "mod_dumb" StaticText " " - Option "Chip-o-matic", "mod_autochip", "OnOff", "mod_dumb" + Option "$MODMNU_CHIPOMATIC", "mod_autochip", "OnOff", "mod_dumb" // TODO if the menu system is ever rewritten: Provide a decent // mechanism to edit the chip-o-matic settings like you can with // the foo_dumb preferences in foobar2000. @@ -1682,7 +1678,7 @@ OptionMenu ModReplayerOptions OptionValue ForceRatios { - 0.0, "Off" + 0.0, "$OPTVAL_OFF" 3.0, "4:3" 1.0, "16:9" 5.0, "17:10" @@ -1695,7 +1691,7 @@ OptionValue Ratios 1.0, "16:9" 2.0, "16:10" 3.0, "17:10" - -1, "All" + -1, "$OPTVAL_ALL" } OptionValue RatiosTFT { @@ -1704,21 +1700,21 @@ OptionValue RatiosTFT 1.0, "16:9" 2.0, "16:10" 3.0, "17:10" - -1, "All" + -1, "$OPTVAL_ALL" } OptionMenu VideoModeMenu { - Title "VIDEO MODE" + Title "$VIDMNU_TITLE" - Option "Fullscreen", "fullscreen", "YesNo" + Option "$VIDMNU_FULLSCREEN", "fullscreen", "YesNo" IfOption(Mac) { - Option "Retina/HiDPI support", "vid_hidpi", "YesNo" + Option "$VIDMNU_HIDPI", "vid_hidpi", "YesNo" } - Option "Aspect ratio", "menu_screenratios", "Ratios" - Option "Force aspect ratio", "vid_aspect", "ForceRatios" - Option "Enable 5:4 aspect ratio","vid_tft", "YesNo" + Option "$VIDMNU_ASPECTRATIO", "menu_screenratios", "Ratios" + Option "$VIDMNU_FORCEASPECT", "vid_aspect", "ForceRatios" + Option "$VIDMNU_5X4ASPECTRATIO", "vid_tft", "YesNo" StaticText " " ScreenResolution "res_0" ScreenResolution "res_1" @@ -1730,9 +1726,9 @@ OptionMenu VideoModeMenu ScreenResolution "res_7" ScreenResolution "res_8" ScreenResolution "res_9" - StaticTextSwitchable "Press ENTER to set mode", "", "VMEnterText" + StaticTextSwitchable "$VIDMNU_ENTERTEXT", "", "VMEnterText" StaticText " " - StaticTextSwitchable "T to test mode for 5 seconds", "Please wait 5 seconds...", "VMTestText" + StaticTextSwitchable "$VIDMNU_TESTTEXT1", "$VIDMNU_TESTTEXT2", "VMTestText" class VideoModeMenu } @@ -1744,22 +1740,22 @@ OptionMenu VideoModeMenu OptionMenu NetworkOptions { - Title "NETWORK OPTIONS" - StaticText "Local options", 1 - Option "Movement prediction", "cl_noprediction", "OffOn" - Option "Predict line actions", "cl_predict_specials", "OnOff" - Slider "Prediction Lerp Scale", "cl_predict_lerpscale", 0.0, 0.5, 0.05 - Slider "Lerp Threshold", "cl_predict_lerpthreshold", 0.1, 16.0, 0.1 + Title "$NETMNU_TITLE" + StaticText "$NETMNU_LOCALOPTIONS", 1 + Option "$NETMNU_MOVEPREDICTION", "cl_noprediction", "OffOn" + Option "$NETMNU_LINESPECIALPREDICTION", "cl_predict_specials", "OnOff" + Slider "$NETMNU_PREDICTIONLERPSCALE", "cl_predict_lerpscale", 0.0, 0.5, 0.05 + Slider "$NETMNU_LERPTHRESHOLD", "cl_predict_lerpthreshold", 0.1, 16.0, 0.1 StaticText " " - StaticText "Host options", 1 - Option "Extra Tics", "net_extratic", "ExtraTicMode" - Option "Latency balancing", "net_ticbalance", "OnOff" + StaticText "$NETMNU_HOSTOPTIONS", 1 + Option "$NETMNU_EXTRATICS", "net_extratic", "ExtraTicMode" + Option "$NETMNU_TICBALANCE", "net_ticbalance", "OnOff" } OptionValue ExtraTicMode { - 0, "None" + 0, "$OPTVAL_NONE" 1, "1" - 2, "All unacknowledged" + 2, "$OPTVAL_ALLUNACKNOWLEDGED" }