mirror of
https://github.com/id-Software/quake2-rerelease-dll.git
synced 2025-03-14 12:20:45 +00:00
Removal of techs
This commit is contained in:
parent
03a3ee15a2
commit
7862a2bd9d
11 changed files with 637 additions and 1352 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,4 +1,6 @@
|
|||
.vscode
|
||||
build
|
||||
*.dylib
|
||||
_deps
|
||||
_deps
|
||||
CMakeCache.txt
|
||||
CMakeFiles
|
||||
|
|
|
@ -1,469 +0,0 @@
|
|||
# This is the CMakeCache file.
|
||||
# For build in directory: /home/dino/Documents/git/quake2-rerelease-dll/rerelease
|
||||
# It was generated by CMake: /usr/local/bin/cmake
|
||||
# You can edit this file to change values found and used by cmake.
|
||||
# If you do not want to change any of the values, simply exit the editor.
|
||||
# If you do want to change a value, simply edit, save, and exit the editor.
|
||||
# The syntax for the file is as follows:
|
||||
# KEY:TYPE=VALUE
|
||||
# KEY is the name of a variable in the cache.
|
||||
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
|
||||
# VALUE is the current value for the KEY.
|
||||
|
||||
########################
|
||||
# EXTERNAL cache entries
|
||||
########################
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/x86_64-w64-mingw32-addr2line
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_AR:FILEPATH=/usr/bin/x86_64-w64-mingw32-ar
|
||||
|
||||
//Choose the type of build, options are: None Debug Release RelWithDebInfo
|
||||
// MinSizeRel ...
|
||||
CMAKE_BUILD_TYPE:STRING=
|
||||
|
||||
//Enable/Disable color output during build.
|
||||
CMAKE_COLOR_MAKEFILE:BOOL=ON
|
||||
|
||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/x86_64-w64-mingw32-gcc-ar
|
||||
|
||||
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/x86_64-w64-mingw32-gcc-ranlib
|
||||
|
||||
//compile flags
|
||||
CMAKE_CXX_FLAGS:STRING=-lm -ldl -fPIE -pie -lfmt
|
||||
|
||||
//Flags used by the CXX compiler during DEBUG builds.
|
||||
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the CXX compiler during MINSIZEREL builds.
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the CXX compiler during RELEASE builds.
|
||||
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//Libraries linked by default with all C++ applications.
|
||||
CMAKE_CXX_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
|
||||
|
||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/x86_64-w64-mingw32-gcc-ar
|
||||
|
||||
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/x86_64-w64-mingw32-gcc-ranlib
|
||||
|
||||
//Flags used by the C compiler during all build types.
|
||||
CMAKE_C_FLAGS:STRING=
|
||||
|
||||
//Flags used by the C compiler during DEBUG builds.
|
||||
CMAKE_C_FLAGS_DEBUG:STRING=-g
|
||||
|
||||
//Flags used by the C compiler during MINSIZEREL builds.
|
||||
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
|
||||
|
||||
//Flags used by the C compiler during RELEASE builds.
|
||||
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
|
||||
//Flags used by the C compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//Libraries linked by default with all C applications.
|
||||
CMAKE_C_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_DLLTOOL:FILEPATH=/usr/bin/x86_64-w64-mingw32-dlltool
|
||||
|
||||
//Flags used by the linker during all build types.
|
||||
CMAKE_EXE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during DEBUG builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during MINSIZEREL builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during RELEASE builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during RELWITHDEBINFO builds.
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Enable/Disable output of compile commands during generation.
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
|
||||
|
||||
//Value Computed by CMake.
|
||||
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/dino/Documents/git/quake2-rerelease-dll/rerelease/CMakeFiles/pkgRedirects
|
||||
|
||||
//Convert GNU import libraries to MS format (requires Visual Studio)
|
||||
CMAKE_GNUtoMS:BOOL=OFF
|
||||
|
||||
//Install path prefix, prepended onto install directories.
|
||||
CMAKE_INSTALL_PREFIX:PATH=/usr/local
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_LINKER:FILEPATH=/usr/bin/x86_64-w64-mingw32-ld
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// all build types.
|
||||
CMAKE_MODULE_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// DEBUG builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// MINSIZEREL builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELEASE builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of modules during
|
||||
// RELWITHDEBINFO builds.
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_NM:FILEPATH=/usr/bin/x86_64-w64-mingw32-nm
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJCOPY:FILEPATH=/usr/bin/x86_64-w64-mingw32-objcopy
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_OBJDUMP:FILEPATH=/usr/bin/x86_64-w64-mingw32-objdump
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_DESCRIPTION:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
|
||||
|
||||
//Value Computed by CMake
|
||||
CMAKE_PROJECT_NAME:STATIC=game
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_RANLIB:FILEPATH=/usr/bin/x86_64-w64-mingw32-ranlib
|
||||
|
||||
//Flags for Windows Resource Compiler during all build types.
|
||||
CMAKE_RC_FLAGS:STRING=
|
||||
|
||||
//Flags for Windows Resource Compiler during DEBUG builds.
|
||||
CMAKE_RC_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags for Windows Resource Compiler during MINSIZEREL builds.
|
||||
CMAKE_RC_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags for Windows Resource Compiler during RELEASE builds.
|
||||
CMAKE_RC_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags for Windows Resource Compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_READELF:FILEPATH=/usr/bin/x86_64-w64-mingw32-readelf
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during all build types.
|
||||
CMAKE_SHARED_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of shared libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//If set, runtime paths are not added when installing shared libraries,
|
||||
// but are added when building.
|
||||
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
|
||||
|
||||
//If set, runtime paths are not added when using shared libraries.
|
||||
CMAKE_SKIP_RPATH:BOOL=NO
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during all build types.
|
||||
CMAKE_STATIC_LINKER_FLAGS:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during DEBUG builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during MINSIZEREL builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELEASE builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
|
||||
|
||||
//Flags used by the linker during the creation of static libraries
|
||||
// during RELWITHDEBINFO builds.
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_STRIP:FILEPATH=/usr/bin/x86_64-w64-mingw32-strip
|
||||
|
||||
//Path to a program.
|
||||
CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND
|
||||
|
||||
//The CMake toolchain file
|
||||
CMAKE_TOOLCHAIN_FILE:FILEPATH=/home/dino/Documents/git/quake2-rerelease-dll/rerelease/mingw-w64-x86_64.cmake
|
||||
|
||||
//If this value is on, makefiles will be generated without the
|
||||
// .SILENT directive, and all commands will be echoed to the console
|
||||
// during the make. This is useful for debugging only. With Visual
|
||||
// Studio IDE projects all commands are done without /nologo.
|
||||
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
|
||||
|
||||
//Arguments to supply to pkg-config
|
||||
PKG_CONFIG_ARGN:STRING=
|
||||
|
||||
//pkg-config executable
|
||||
PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config
|
||||
|
||||
//The directory containing a CMake configuration file for fmt.
|
||||
fmt_DIR:PATH=fmt_DIR-NOTFOUND
|
||||
|
||||
//Value Computed by CMake
|
||||
game_BINARY_DIR:STATIC=/home/dino/Documents/git/quake2-rerelease-dll/rerelease
|
||||
|
||||
//Value Computed by CMake
|
||||
game_IS_TOP_LEVEL:STATIC=ON
|
||||
|
||||
//Value Computed by CMake
|
||||
game_SOURCE_DIR:STATIC=/home/dino/Documents/git/quake2-rerelease-dll/rerelease
|
||||
|
||||
//Path to a library.
|
||||
pkgcfg_lib_fmt_fmt:FILEPATH=pkgcfg_lib_fmt_fmt-NOTFOUND
|
||||
|
||||
|
||||
########################
|
||||
# INTERNAL cache entries
|
||||
########################
|
||||
|
||||
//ADVANCED property for variable: CMAKE_ADDR2LINE
|
||||
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_AR
|
||||
CMAKE_AR-ADVANCED:INTERNAL=1
|
||||
//This is the directory where this CMakeCache.txt was created
|
||||
CMAKE_CACHEFILE_DIR:INTERNAL=/home/dino/Documents/git/quake2-rerelease-dll/rerelease
|
||||
//Major version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
||||
//Minor version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_MINOR_VERSION:INTERNAL=27
|
||||
//Patch version of cmake used to create the current loaded cache
|
||||
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
|
||||
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
||||
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//Path to CMake executable.
|
||||
CMAKE_COMMAND:INTERNAL=/usr/local/bin/cmake
|
||||
//Path to cpack program executable.
|
||||
CMAKE_CPACK_COMMAND:INTERNAL=/usr/local/bin/cpack
|
||||
//Path to ctest program executable.
|
||||
CMAKE_CTEST_COMMAND:INTERNAL=/usr/local/bin/ctest
|
||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
|
||||
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
|
||||
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS
|
||||
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
|
||||
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
|
||||
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
|
||||
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES
|
||||
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
|
||||
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
|
||||
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS
|
||||
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
|
||||
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
|
||||
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
|
||||
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
|
||||
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_DLLTOOL
|
||||
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
|
||||
//Path to cache edit program executable.
|
||||
CMAKE_EDIT_COMMAND:INTERNAL=/usr/local/bin/ccmake
|
||||
//Executable file format
|
||||
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
|
||||
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
|
||||
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
|
||||
//Name of external makefile project generator.
|
||||
CMAKE_EXTRA_GENERATOR:INTERNAL=
|
||||
//Name of generator.
|
||||
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
|
||||
//Generator instance identifier.
|
||||
CMAKE_GENERATOR_INSTANCE:INTERNAL=
|
||||
//Name of generator platform.
|
||||
CMAKE_GENERATOR_PLATFORM:INTERNAL=
|
||||
//Name of generator toolset.
|
||||
CMAKE_GENERATOR_TOOLSET:INTERNAL=
|
||||
//Source directory with the top level CMakeLists.txt file for this
|
||||
// project
|
||||
CMAKE_HOME_DIRECTORY:INTERNAL=/home/dino/Documents/git/quake2-rerelease-dll/rerelease
|
||||
//ADVANCED property for variable: CMAKE_LINKER
|
||||
CMAKE_LINKER-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
|
||||
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
|
||||
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
|
||||
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_NM
|
||||
CMAKE_NM-ADVANCED:INTERNAL=1
|
||||
//number of local generators
|
||||
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_OBJCOPY
|
||||
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_OBJDUMP
|
||||
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
|
||||
//Platform information initialized
|
||||
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RANLIB
|
||||
CMAKE_RANLIB-ADVANCED:INTERNAL=1
|
||||
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RC_FLAGS
|
||||
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
|
||||
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
|
||||
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
|
||||
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_READELF
|
||||
CMAKE_READELF-ADVANCED:INTERNAL=1
|
||||
//Path to CMake installation.
|
||||
CMAKE_ROOT:INTERNAL=/usr/local/share/cmake-3.27
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
|
||||
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
|
||||
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
|
||||
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_SKIP_RPATH
|
||||
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
|
||||
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
|
||||
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
|
||||
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
|
||||
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_STRIP
|
||||
CMAKE_STRIP-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: CMAKE_TAPI
|
||||
CMAKE_TAPI-ADVANCED:INTERNAL=1
|
||||
//uname command
|
||||
CMAKE_UNAME:INTERNAL=/usr/bin/uname
|
||||
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
|
||||
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
|
||||
//Details about finding PkgConfig
|
||||
FIND_PACKAGE_MESSAGE_DETAILS_PkgConfig:INTERNAL=[/usr/bin/pkg-config][v0.29.2()]
|
||||
//ADVANCED property for variable: PKG_CONFIG_ARGN
|
||||
PKG_CONFIG_ARGN-ADVANCED:INTERNAL=1
|
||||
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
|
||||
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
|
||||
//linker supports push/pop state
|
||||
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
|
||||
__pkg_config_arguments_fmt:INTERNAL=fmt
|
||||
__pkg_config_checked_fmt:INTERNAL=1
|
||||
fmt_CFLAGS:INTERNAL=
|
||||
fmt_CFLAGS_I:INTERNAL=
|
||||
fmt_CFLAGS_OTHER:INTERNAL=
|
||||
fmt_FOUND:INTERNAL=1
|
||||
fmt_INCLUDEDIR:INTERNAL=/usr/include
|
||||
fmt_INCLUDE_DIRS:INTERNAL=
|
||||
fmt_LDFLAGS:INTERNAL=-L/usr/lib/x86_64-linux-gnu;-lfmt
|
||||
fmt_LDFLAGS_OTHER:INTERNAL=
|
||||
fmt_LIBDIR:INTERNAL=/usr/lib/x86_64-linux-gnu
|
||||
fmt_LIBRARIES:INTERNAL=fmt
|
||||
fmt_LIBRARY_DIRS:INTERNAL=/usr/lib/x86_64-linux-gnu
|
||||
fmt_LIBS:INTERNAL=
|
||||
fmt_LIBS_L:INTERNAL=
|
||||
fmt_LIBS_OTHER:INTERNAL=
|
||||
fmt_LIBS_PATHS:INTERNAL=
|
||||
fmt_MODULE_NAME:INTERNAL=fmt
|
||||
fmt_PREFIX:INTERNAL=/usr
|
||||
fmt_STATIC_CFLAGS:INTERNAL=
|
||||
fmt_STATIC_CFLAGS_I:INTERNAL=
|
||||
fmt_STATIC_CFLAGS_OTHER:INTERNAL=
|
||||
fmt_STATIC_INCLUDE_DIRS:INTERNAL=
|
||||
fmt_STATIC_LDFLAGS:INTERNAL=-L/usr/lib/x86_64-linux-gnu;-lfmt
|
||||
fmt_STATIC_LDFLAGS_OTHER:INTERNAL=
|
||||
fmt_STATIC_LIBDIR:INTERNAL=
|
||||
fmt_STATIC_LIBRARIES:INTERNAL=fmt
|
||||
fmt_STATIC_LIBRARY_DIRS:INTERNAL=/usr/lib/x86_64-linux-gnu
|
||||
fmt_STATIC_LIBS:INTERNAL=
|
||||
fmt_STATIC_LIBS_L:INTERNAL=
|
||||
fmt_STATIC_LIBS_OTHER:INTERNAL=
|
||||
fmt_STATIC_LIBS_PATHS:INTERNAL=
|
||||
fmt_VERSION:INTERNAL=8.1.1
|
||||
fmt_fmt_INCLUDEDIR:INTERNAL=
|
||||
fmt_fmt_LIBDIR:INTERNAL=
|
||||
fmt_fmt_PREFIX:INTERNAL=
|
||||
fmt_fmt_VERSION:INTERNAL=
|
||||
//ADVANCED property for variable: pkgcfg_lib_fmt_fmt
|
||||
pkgcfg_lib_fmt_fmt-ADVANCED:INTERNAL=1
|
||||
prefix_result:INTERNAL=/usr/lib/x86_64-linux-gnu
|
||||
|
|
@ -3,6 +3,9 @@ project(game)
|
|||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED on)
|
||||
|
||||
set(CMAKE_C_COMPILER "gcc")
|
||||
set(CMAKE_CXX_COMPILER "g++")
|
||||
|
||||
set(GAME_SRC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/bots/bot_debug.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/bots/bot_exports.cpp
|
||||
|
@ -103,8 +106,8 @@ set(GAME_SRC
|
|||
set(CMAKE_CXX_FLAGS "-lm -ldl -fPIE -pie -lfmt" CACHE STRING "compile flags" FORCE)
|
||||
add_compile_options(-DKEX_Q2_GAME -DKEX_Q2GAME_EXPORTS -DNO_FMT_SOURCE -DKEX_Q2GAME_DYNAMIC)
|
||||
add_library(game SHARED ${GAME_SRC} )
|
||||
#target_include_directories(game PUBLIC /usr/local/Cellar/jsoncpp/1.9.5/include /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/)
|
||||
target_include_directories(game PUBLIC /usr/include/jsoncpp)
|
||||
target_include_directories(game PUBLIC /usr/local/Cellar/jsoncpp/1.9.5/include /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/)
|
||||
#target_include_directories(game PUBLIC /usr/include/jsoncpp)
|
||||
|
||||
set_target_properties(game PROPERTIES
|
||||
POSITION_INDEPENDENT_CODE ON
|
||||
|
|
1153
actionlite/Makefile
1153
actionlite/Makefile
File diff suppressed because it is too large
Load diff
|
@ -150,13 +150,6 @@ void Player_UpdateState( edict_t * player ) {
|
|||
// NOTE: to be the "best", and last the "worst". You don't need to add
|
||||
// NOTE: entries for things like armor shards, only actual armors.
|
||||
// NOTE: Check "Max_Armor_Types" to raise/lower the armor count.
|
||||
armorInfo_t * armorInfo = player->sv.armor_info;
|
||||
armorInfo[ 0 ].item_id = IT_ARMOR_BODY;
|
||||
armorInfo[ 0 ].max_count = bodyarmor_info.max_count;
|
||||
armorInfo[ 1 ].item_id = IT_ARMOR_COMBAT;
|
||||
armorInfo[ 1 ].max_count = combatarmor_info.max_count;
|
||||
armorInfo[ 2 ].item_id = IT_ARMOR_JACKET;
|
||||
armorInfo[ 2 ].max_count = jacketarmor_info.max_count;
|
||||
|
||||
gi.Info_ValueForKey( player->client->pers.userinfo, "name", player->sv.netname, sizeof( player->sv.netname ) );
|
||||
|
||||
|
|
|
@ -95,7 +95,8 @@ int imageindex_ctfsb1;
|
|||
int imageindex_ctfsb2;
|
||||
int modelindex_flag1, modelindex_flag2; // [Paril-KEX]
|
||||
|
||||
constexpr item_id_t tech_ids[] = { IT_TECH_RESISTANCE, IT_TECH_STRENGTH, IT_TECH_HASTE, IT_TECH_REGENERATION };
|
||||
// No techs
|
||||
//constexpr item_id_t tech_ids[] = { IT_TECH_RESISTANCE, IT_TECH_STRENGTH, IT_TECH_HASTE, IT_TECH_REGENERATION };
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -1052,16 +1053,16 @@ void SetCTFStats(edict_t *ent)
|
|||
}
|
||||
|
||||
// tech icon
|
||||
i = 0;
|
||||
ent->client->ps.stats[STAT_CTF_TECH] = 0;
|
||||
for (; i < q_countof(tech_ids); i++)
|
||||
{
|
||||
if (ent->client->pers.inventory[tech_ids[i]])
|
||||
{
|
||||
ent->client->ps.stats[STAT_CTF_TECH] = gi.imageindex(GetItemByIndex(tech_ids[i])->icon);
|
||||
break;
|
||||
}
|
||||
}
|
||||
// i = 0;
|
||||
// ent->client->ps.stats[STAT_CTF_TECH] = 0;
|
||||
// for (; i < q_countof(tech_ids); i++)
|
||||
// {
|
||||
// if (ent->client->pers.inventory[tech_ids[i]])
|
||||
// {
|
||||
// ent->client->ps.stats[STAT_CTF_TECH] = gi.imageindex(GetItemByIndex(tech_ids[i])->icon);
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
|
||||
if (ctf->integer)
|
||||
{
|
||||
|
@ -1452,7 +1453,7 @@ void CTFWeapon_Grapple(edict_t *ent)
|
|||
}
|
||||
|
||||
prevstate = ent->client->weaponstate;
|
||||
Weapon_Generic(ent, 5, 10, 31, 36, pause_frames, fire_frames,
|
||||
Weapon_Generic(ent, 5, 10, 31, 36, 5, 5, pause_frames, fire_frames,
|
||||
CTFWeapon_Grapple_Fire);
|
||||
|
||||
// if the the attack button is still down, stay in the firing frame
|
||||
|
@ -1792,38 +1793,38 @@ void CTFHasTech(edict_t *who)
|
|||
|
||||
gitem_t *CTFWhat_Tech(edict_t *ent)
|
||||
{
|
||||
int i;
|
||||
// int i;
|
||||
|
||||
i = 0;
|
||||
for (; i < q_countof(tech_ids); i++)
|
||||
{
|
||||
if (ent->client->pers.inventory[tech_ids[i]])
|
||||
{
|
||||
return GetItemByIndex(tech_ids[i]);
|
||||
}
|
||||
}
|
||||
// i = 0;
|
||||
// for (; i < q_countof(tech_ids); i++)
|
||||
// {
|
||||
// if (ent->client->pers.inventory[tech_ids[i]])
|
||||
// {
|
||||
// return GetItemByIndex(tech_ids[i]);
|
||||
// }
|
||||
// }
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool CTFPickup_Tech(edict_t *ent, edict_t *other)
|
||||
{
|
||||
int i;
|
||||
// bool CTFPickup_Tech(edict_t *ent, edict_t *other)
|
||||
// {
|
||||
// int i;
|
||||
|
||||
i = 0;
|
||||
for (; i < q_countof(tech_ids); i++)
|
||||
{
|
||||
if (other->client->pers.inventory[tech_ids[i]])
|
||||
{
|
||||
CTFHasTech(other);
|
||||
return false; // has this one
|
||||
}
|
||||
}
|
||||
// i = 0;
|
||||
// for (; i < q_countof(tech_ids); i++)
|
||||
// {
|
||||
// if (other->client->pers.inventory[tech_ids[i]])
|
||||
// {
|
||||
// CTFHasTech(other);
|
||||
// return false; // has this one
|
||||
// }
|
||||
// }
|
||||
|
||||
// client only gets one tech
|
||||
other->client->pers.inventory[ent->item->id]++;
|
||||
other->client->ctf_regentime = level.time;
|
||||
return true;
|
||||
}
|
||||
// // client only gets one tech
|
||||
// other->client->pers.inventory[ent->item->id]++;
|
||||
// other->client->ctf_regentime = level.time;
|
||||
// return true;
|
||||
// }
|
||||
|
||||
static void SpawnTech(gitem_t *item, edict_t *spot);
|
||||
|
||||
|
@ -1975,131 +1976,6 @@ void CTFResetTech()
|
|||
SpawnTechs(nullptr);
|
||||
}
|
||||
|
||||
int CTFApplyResistance(edict_t *ent, int dmg)
|
||||
{
|
||||
float volume = 1.0;
|
||||
|
||||
if (ent->client && ent->client->silencer_shots)
|
||||
volume = 0.2f;
|
||||
|
||||
if (dmg && ent->client && ent->client->pers.inventory[IT_TECH_RESISTANCE])
|
||||
{
|
||||
// make noise
|
||||
gi.sound(ent, CHAN_AUX, gi.soundindex("ctf/tech1.wav"), volume, ATTN_NORM, 0);
|
||||
return dmg / 2;
|
||||
}
|
||||
return dmg;
|
||||
}
|
||||
|
||||
int CTFApplyStrength(edict_t *ent, int dmg)
|
||||
{
|
||||
if (dmg && ent->client && ent->client->pers.inventory[IT_TECH_STRENGTH])
|
||||
{
|
||||
return dmg * 2;
|
||||
}
|
||||
return dmg;
|
||||
}
|
||||
|
||||
bool CTFApplyStrengthSound(edict_t *ent)
|
||||
{
|
||||
float volume = 1.0;
|
||||
|
||||
if (ent->client && ent->client->silencer_shots)
|
||||
volume = 0.2f;
|
||||
|
||||
if (ent->client &&
|
||||
ent->client->pers.inventory[IT_TECH_STRENGTH])
|
||||
{
|
||||
if (ent->client->ctf_techsndtime < level.time)
|
||||
{
|
||||
ent->client->ctf_techsndtime = level.time + 1_sec;
|
||||
if (ent->client->quad_time > level.time)
|
||||
gi.sound(ent, CHAN_AUX, gi.soundindex("ctf/tech2x.wav"), volume, ATTN_NORM, 0);
|
||||
else
|
||||
gi.sound(ent, CHAN_AUX, gi.soundindex("ctf/tech2.wav"), volume, ATTN_NORM, 0);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CTFApplyHaste(edict_t *ent)
|
||||
{
|
||||
if (ent->client &&
|
||||
ent->client->pers.inventory[IT_TECH_HASTE])
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
void CTFApplyHasteSound(edict_t *ent)
|
||||
{
|
||||
float volume = 1.0;
|
||||
|
||||
if (ent->client && ent->client->silencer_shots)
|
||||
volume = 0.2f;
|
||||
|
||||
if (ent->client &&
|
||||
ent->client->pers.inventory[IT_TECH_HASTE] &&
|
||||
ent->client->ctf_techsndtime < level.time)
|
||||
{
|
||||
ent->client->ctf_techsndtime = level.time + 1_sec;
|
||||
gi.sound(ent, CHAN_AUX, gi.soundindex("ctf/tech3.wav"), volume, ATTN_NORM, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void CTFApplyRegeneration(edict_t *ent)
|
||||
{
|
||||
bool noise = false;
|
||||
gclient_t *client;
|
||||
int index;
|
||||
float volume = 1.0;
|
||||
|
||||
client = ent->client;
|
||||
if (!client)
|
||||
return;
|
||||
|
||||
if (ent->client->silencer_shots)
|
||||
volume = 0.2f;
|
||||
|
||||
if (client->pers.inventory[IT_TECH_REGENERATION])
|
||||
{
|
||||
if (client->ctf_regentime < level.time)
|
||||
{
|
||||
client->ctf_regentime = level.time;
|
||||
if (ent->health < 150)
|
||||
{
|
||||
ent->health += 5;
|
||||
if (ent->health > 150)
|
||||
ent->health = 150;
|
||||
client->ctf_regentime += 500_ms;
|
||||
noise = true;
|
||||
}
|
||||
index = ArmorIndex(ent);
|
||||
if (index && client->pers.inventory[index] < 150)
|
||||
{
|
||||
client->pers.inventory[index] += 5;
|
||||
if (client->pers.inventory[index] > 150)
|
||||
client->pers.inventory[index] = 150;
|
||||
client->ctf_regentime += 500_ms;
|
||||
noise = true;
|
||||
}
|
||||
}
|
||||
if (noise && ent->client->ctf_techsndtime < level.time)
|
||||
{
|
||||
ent->client->ctf_techsndtime = level.time + 1_sec;
|
||||
gi.sound(ent, CHAN_AUX, gi.soundindex("ctf/tech4.wav"), volume, ATTN_NORM, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool CTFHasRegeneration(edict_t *ent)
|
||||
{
|
||||
if (ent->client &&
|
||||
ent->client->pers.inventory[IT_TECH_REGENERATION])
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
void CTFSay_Team(edict_t *who, const char *msg_in)
|
||||
{
|
||||
edict_t *cl_ent;
|
||||
|
|
|
@ -113,20 +113,21 @@ void CTFGrapplePull(edict_t *self);
|
|||
void CTFResetGrapple(edict_t *self);
|
||||
|
||||
// TECH
|
||||
gitem_t *CTFWhat_Tech(edict_t *ent);
|
||||
bool CTFPickup_Tech(edict_t *ent, edict_t *other);
|
||||
void CTFDrop_Tech(edict_t *ent, gitem_t *item);
|
||||
void CTFDeadDropTech(edict_t *ent);
|
||||
void CTFSetupTechSpawn();
|
||||
int CTFApplyResistance(edict_t *ent, int dmg);
|
||||
int CTFApplyStrength(edict_t *ent, int dmg);
|
||||
bool CTFApplyStrengthSound(edict_t *ent);
|
||||
bool CTFApplyHaste(edict_t *ent);
|
||||
void CTFApplyHasteSound(edict_t *ent);
|
||||
void CTFApplyRegeneration(edict_t *ent);
|
||||
bool CTFHasRegeneration(edict_t *ent);
|
||||
void CTFRespawnTech(edict_t *ent);
|
||||
void CTFResetTech();
|
||||
// No techs in Action CTF
|
||||
//gitem_t *CTFWhat_Tech(edict_t *ent);
|
||||
//bool CTFPickup_Tech(edict_t *ent, edict_t *other);
|
||||
// void CTFDrop_Tech(edict_t *ent, gitem_t *item);
|
||||
// void CTFDeadDropTech(edict_t *ent);
|
||||
// void CTFSetupTechSpawn();
|
||||
// int CTFApplyResistance(edict_t *ent, int dmg);
|
||||
// int CTFApplyStrength(edict_t *ent, int dmg);
|
||||
// bool CTFApplyStrengthSound(edict_t *ent);
|
||||
// bool CTFApplyHaste(edict_t *ent);
|
||||
// void CTFApplyHasteSound(edict_t *ent);
|
||||
// void CTFApplyRegeneration(edict_t *ent);
|
||||
// bool CTFHasRegeneration(edict_t *ent);
|
||||
// void CTFRespawnTech(edict_t *ent);
|
||||
// void CTFResetTech();
|
||||
|
||||
void CTFOpenJoinMenu(edict_t *ent);
|
||||
bool CTFStartClient(edict_t *ent);
|
||||
|
|
|
@ -1589,18 +1589,18 @@ void Drop_Special (edict_t *ent, gitem_t *item)
|
|||
void DropSpecialItem (edict_t * ent)
|
||||
{
|
||||
// this is the order I'd probably want to drop them in...
|
||||
if (INV_AMMO(ent, LASER_NUM))
|
||||
Drop_Special (ent, GET_ITEM(LASER_NUM));
|
||||
else if (INV_AMMO(ent, SLIP_NUM))
|
||||
Drop_Special (ent, GET_ITEM(SLIP_NUM));
|
||||
else if (INV_AMMO(ent, SIL_NUM))
|
||||
Drop_Special (ent, GET_ITEM(SIL_NUM));
|
||||
else if (INV_AMMO(ent, BAND_NUM))
|
||||
Drop_Special (ent, GET_ITEM(BAND_NUM));
|
||||
else if (INV_AMMO(ent, HELM_NUM))
|
||||
Drop_Special (ent, GET_ITEM(HELM_NUM));
|
||||
else if (INV_AMMO(ent, KEV_NUM))
|
||||
Drop_Special (ent, GET_ITEM(KEV_NUM));
|
||||
if (INV_AMMO(ent, IT_ITEM_LASERSIGHT))
|
||||
Drop_Special (ent, GetItemByIndex(IT_ITEM_LASERSIGHT));
|
||||
else if (INV_AMMO(ent, IT_ITEM_SLIPPERS))
|
||||
Drop_Special (ent, GetItemByIndex(IT_ITEM_SLIPPERS));
|
||||
else if (INV_AMMO(ent, IT_ITEM_SLIPPERS))
|
||||
Drop_Special (ent, GetItemByIndex(IT_ITEM_SLIPPERS));
|
||||
else if (INV_AMMO(ent, IT_ITEM_BANDOLIER))
|
||||
Drop_Special (ent, GetItemByIndex(IT_ITEM_BANDOLIER));
|
||||
else if (INV_AMMO(ent, IT_ITEM_HELM))
|
||||
Drop_Special (ent, GetItemByIndex(IT_ITEM_HELM));
|
||||
else if (INV_AMMO(ent, IT_ITEM_VEST))
|
||||
Drop_Special (ent, GetItemByIndex(IT_ITEM_VEST));
|
||||
}
|
||||
|
||||
//======================================================================
|
||||
|
|
|
@ -1245,14 +1245,6 @@ void weapon_grenadelauncher_fire(edict_t *ent)
|
|||
G_RemoveAmmo(ent);
|
||||
}
|
||||
|
||||
void Weapon_GrenadeLauncher(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 34, 51, 59, 0 };
|
||||
constexpr int fire_frames[] = { 6, 0 };
|
||||
|
||||
Weapon_Generic(ent, 5, 16, 59, 64, pause_frames, fire_frames, weapon_grenadelauncher_fire);
|
||||
}
|
||||
|
||||
/*
|
||||
======================================================================
|
||||
|
||||
|
@ -1293,14 +1285,6 @@ void Weapon_RocketLauncher_Fire(edict_t *ent)
|
|||
G_RemoveAmmo(ent);
|
||||
}
|
||||
|
||||
void Weapon_RocketLauncher(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 25, 33, 42, 50, 0 };
|
||||
constexpr int fire_frames[] = { 5, 0 };
|
||||
|
||||
Weapon_Generic(ent, 4, 12, 50, 54, pause_frames, fire_frames, Weapon_RocketLauncher_Fire);
|
||||
}
|
||||
|
||||
/*
|
||||
======================================================================
|
||||
|
||||
|
@ -1346,14 +1330,6 @@ void Weapon_Blaster_Fire(edict_t *ent)
|
|||
Blaster_Fire(ent, vec3_origin, damage, false, EF_BLASTER);
|
||||
}
|
||||
|
||||
void Weapon_Blaster(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 19, 32, 0 };
|
||||
constexpr int fire_frames[] = { 5, 0 };
|
||||
|
||||
Weapon_Generic(ent, 4, 8, 52, 55, pause_frames, fire_frames, Weapon_Blaster_Fire);
|
||||
}
|
||||
|
||||
void Weapon_HyperBlaster_Fire(edict_t *ent)
|
||||
{
|
||||
float rotation;
|
||||
|
@ -1702,13 +1678,6 @@ void weapon_shotgun_fire(edict_t *ent)
|
|||
G_RemoveAmmo(ent);
|
||||
}
|
||||
|
||||
void Weapon_Shotgun(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 22, 28, 34, 0 };
|
||||
constexpr int fire_frames[] = { 8, 0 };
|
||||
|
||||
Weapon_Generic(ent, 7, 18, 36, 39, pause_frames, fire_frames, weapon_shotgun_fire);
|
||||
}
|
||||
|
||||
void weapon_supershotgun_fire(edict_t *ent)
|
||||
{
|
||||
|
@ -1750,14 +1719,6 @@ void weapon_supershotgun_fire(edict_t *ent)
|
|||
G_RemoveAmmo(ent);
|
||||
}
|
||||
|
||||
void Weapon_SuperShotgun(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 29, 42, 57, 0 };
|
||||
constexpr int fire_frames[] = { 7, 0 };
|
||||
|
||||
Weapon_Generic(ent, 6, 17, 57, 61, pause_frames, fire_frames, weapon_supershotgun_fire);
|
||||
}
|
||||
|
||||
/*
|
||||
======================================================================
|
||||
|
||||
|
@ -1796,14 +1757,6 @@ void weapon_railgun_fire(edict_t *ent)
|
|||
G_RemoveAmmo(ent);
|
||||
}
|
||||
|
||||
void Weapon_Railgun(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 56, 0 };
|
||||
constexpr int fire_frames[] = { 4, 0 };
|
||||
|
||||
Weapon_Generic(ent, 3, 18, 56, 61, pause_frames, fire_frames, weapon_railgun_fire);
|
||||
}
|
||||
|
||||
/*
|
||||
======================================================================
|
||||
|
||||
|
@ -1861,14 +1814,6 @@ void weapon_bfg_fire(edict_t *ent)
|
|||
G_RemoveAmmo(ent);
|
||||
}
|
||||
|
||||
void Weapon_BFG(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 39, 45, 50, 55, 0 };
|
||||
constexpr int fire_frames[] = { 9, 17, 0 };
|
||||
|
||||
Weapon_Generic(ent, 8, 32, 54, 58, pause_frames, fire_frames, weapon_bfg_fire);
|
||||
}
|
||||
|
||||
//======================================================================
|
||||
|
||||
void weapon_disint_fire(edict_t *self)
|
||||
|
@ -1891,14 +1836,6 @@ void weapon_disint_fire(edict_t *self)
|
|||
G_RemoveAmmo(self);
|
||||
}
|
||||
|
||||
void Weapon_Beta_Disintegrator(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 30, 37, 45, 0 };
|
||||
constexpr int fire_frames[] = { 17, 0 };
|
||||
|
||||
Weapon_Generic(ent, 16, 23, 46, 50, pause_frames, fire_frames, weapon_disint_fire);
|
||||
}
|
||||
|
||||
//======================================================================
|
||||
// Action Add
|
||||
//======================================================================
|
||||
|
|
|
@ -25,14 +25,6 @@ void weapon_prox_fire(edict_t *ent)
|
|||
G_RemoveAmmo(ent);
|
||||
}
|
||||
|
||||
void Weapon_ProxLauncher(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 34, 51, 59, 0 };
|
||||
constexpr int fire_frames[] = { 6, 0 };
|
||||
|
||||
Weapon_Generic(ent, 5, 16, 59, 64, pause_frames, fire_frames, weapon_prox_fire);
|
||||
}
|
||||
|
||||
void weapon_tesla_fire(edict_t *ent, bool held)
|
||||
{
|
||||
vec3_t start, dir;
|
||||
|
@ -247,13 +239,6 @@ void weapon_tracker_fire(edict_t *self)
|
|||
G_RemoveAmmo(self);
|
||||
}
|
||||
|
||||
void Weapon_Disintegrator(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 14, 19, 23, 0 };
|
||||
constexpr int fire_frames[] = { 5, 0 };
|
||||
|
||||
Weapon_Generic(ent, 4, 9, 29, 34, pause_frames, fire_frames, weapon_tracker_fire);
|
||||
}
|
||||
|
||||
/*
|
||||
======================================================================
|
||||
|
|
|
@ -42,14 +42,6 @@ void weapon_ionripper_fire(edict_t *ent)
|
|||
G_RemoveAmmo(ent);
|
||||
}
|
||||
|
||||
void Weapon_Ionripper(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 36, 0 };
|
||||
constexpr int fire_frames[] = { 6, 0 };
|
||||
|
||||
Weapon_Generic(ent, 5, 7, 36, 39, pause_frames, fire_frames, weapon_ionripper_fire);
|
||||
}
|
||||
|
||||
//
|
||||
// Phalanx
|
||||
//
|
||||
|
@ -118,14 +110,6 @@ void weapon_phalanx_fire(edict_t *ent)
|
|||
P_AddWeaponKick(ent, ent->client->v_forward * -2, { -2.f, 0.f, 0.f });
|
||||
}
|
||||
|
||||
void Weapon_Phalanx(edict_t *ent)
|
||||
{
|
||||
constexpr int pause_frames[] = { 29, 42, 55, 0 };
|
||||
constexpr int fire_frames[] = { 7, 8, 0 };
|
||||
|
||||
Weapon_Generic(ent, 5, 20, 58, 63, pause_frames, fire_frames, weapon_phalanx_fire);
|
||||
}
|
||||
|
||||
/*
|
||||
======================================================================
|
||||
|
||||
|
|
Loading…
Reference in a new issue