diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index fdb4e37..dc09f9c 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -33,28 +33,19 @@ jobs: - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v1.0.2 - #- name: Restore NuGet packages - # working-directory: ${{env.GITHUB_WORKSPACE}} - # run: nuget restore ${{env.SOLUTION_FILE_PATH}} + # ENABLE THIS ON FIRST TIME SETUP + #- name: Install Strawberry Perl for Shaders compilation + # run: choco install strawberryperl - - name: Install Strawberry Perl for Shaders compilation - run: choco install strawberryperl + - name: Install Shader Dependencies + run: cpan String::CRC32 - #- name: Build (Legacy VS2010 Version) - # working-directory: ${{env.GITHUB_WORKSPACE}} - # # Add additional options to the MSBuild command line here (like platform or verbosity level). - # # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference - # run: | - # & "C:/Program Files (x86)/MSBuild/12.0/Bin/MSBuild.exe" /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} - name: Compile Shaders working-directory: ${{env.GITHUB_WORKSPACE}} - run: | - cd ./materialsystem/swarmshaders/ - dir ../../devtools/bin/ - ./buildshaders.bat deferred_shaders + run: ./materialsystem/swarmshaders/buildshaders.bat game_shader_generic_swarm deferred_shaders - - name: Build (VS2022 Version) + - name: Build working-directory: ${{env.GITHUB_WORKSPACE}} # Add additional options to the MSBuild command line here (like platform or verbosity level). # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference diff --git a/.gitignore b/.gitignore index 5fefd59..0214c75 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,8 @@ materialsystem/swarmshaders/Release_dx9/ ipch/ materialsystem/shaderlib/Debug/ materialsystem/shaderlib/Release/ -*.vsidx -/.vs -/.vs/SourceDEFUN/v17/Solution.VC.db-shm -/.vs/SourceDEFUN/v17/Browse.VC.db +/build +/materialsystem/shaderlib/.vs +*.user +/materialsystem/swarmshaders/.vs +*.filters diff --git a/CMakeLists.txt b/CMakeLists.txt index b752d9f..aedea5a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,259 +1,10 @@ -# oh yes sir, the Linux support is gonna be here soon +cmake_minimum_required(VERSION 3.10) -# TODO: -# WASNT TESTED YET -# MORE CMAKE THINGIES (line 81-85) -# CHECK IF IT WILL EVEN COMPILE +# Project Name and Version +project(SourceDEFUN VERSION 1.0.0) -cmake_minimum_required(VERSION 3.18 FATAL_ERROR) - -set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "" FORCE) - -if (APPLE) - # Secton: UNTESTED - # NOTE: You will need to pass this as a command line parameter for the Xcode generator -DCMAKE_OSX_ARCHITECTURES=i386 - # Also note only Xcode 9.4.1 and earlier support i386 - set(CMAKE_OSX_ARCHITECTURES i386) - set(CMAKE_OSX_DEPLOYMENT_TARGET 10.9) - set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT "dwarf-with-dsym") -endif() - -project(SourceDEFUN) - -# For some reason, checking if CMAKE_BUILD_TYPE is defined is unreliable -# So simply check if it's empty instead -if ("${CMAKE_BUILD_TYPE}" STREQUAL "") - set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type" FORCE) -endif() - -# Modern VS versions default to C++14 anyway, so make it consistent -# But in the future we may want so support C++20 -set(CMAKE_CXX_STANDARD 14) -set(CMAKE_CXX_STANDARD_REQUIRED ON) -set(CMAKE_CXX_VISIBILITY_PRESET hidden) -set_property(GLOBAL PROPERTY USE_FOLDERS ON) - -# This is a way to emulate groups.vgc -set(BUILD_GROUP "game" CACHE STRING "Build Group") - -# For the CMake GUIs that support a combobox list -set_property(CACHE BUILD_GROUP PROPERTY STRINGS - "everything" - "game" - "shaders" -) - -# Which game are we building? -set(BUILD_GAME "hl2" CACHE STRING "Build Game") - -set_property( - CACHE BUILD_GAME PROPERTY STRINGS - "defunmod" -) - -set(SRCDIR "${CMAKE_CURRENT_LIST_DIR}") -set(GAMEDIR "${CMAKE_CURRENT_LIST_DIR}/game") -# It's a commented code don't highlight ok? | set(THIRDPARTYDIR "${SRCDIR}/thirdparty") - -# Compile options that are populated and set for each target depending on their type -set(ADDITIONAL_COMPILE_OPTIONS_EXE) -set(ADDITIONAL_COMPILE_OPTIONS_DLL) -set(ADDITIONAL_COMPILE_OPTIONS_LIB) - -# Libraries that are linked to for each target depending on their type -set(ADDITIONAL_LINK_LIBRARIES_EXE) -set(ADDITIONAL_LINK_LIBRARIES_DLL) - -# Linker options that are populated and set for each target depending on their type -set(ADDITIONAL_LINK_OPTIONS_EXE) -set(ADDITIONAL_LINK_OPTIONS_DLL) -set(ADDITIONAL_LINK_OPTIONS_LIB) - -# Sources that are added to each target depending on their type -set(ADDITIONAL_SOURCES_EXE) -set(ADDITIONAL_SOURCES_DLL) -set(ADDITIONAL_SOURCES_LIB) - -# Compile definitions that are added to each target depending on their type -set(ADDITIONAL_COMPILE_DEFINITIONS_EXE) -set(ADDITIONAL_COMPILE_DEFINITIONS_DLL) -set(ADDITIONAL_COMPILE_DEFINITIONS_LIB) - -include("_cmake_scripts/pch_skip.cmake") -include("_cmake_scripts/platform_dirs.cmake") -include("_cmake_scripts/base.cmake") -include("_cmake_scripts/video_base.cmake") -include("_cmake_scripts/postbuild.cmake") - -set(LIBPUBLIC "${SRCDIR}/lib/public${PLATSUBDIR}") -set(LIBCOMMON "${SRCDIR}/lib/common${PLATSUBDIR}") - -link_directories( - ${LIBPUBLIC} - ${LIBCOMMON} -) - -include_directories( - "${SRCDIR}/common" - "${SRCDIR}/public" - "${SRCDIR}/public/tier0" - "${SRCDIR}/public/tier1" - "${SRCDIR}/public/tier2" # Not sure if necessary - "${SRCDIR}/public/tier3" # Ditto -) - -add_compile_definitions($<$:DEBUG> $<$:_DEBUG>) -add_compile_definitions($<$:NDEBUG>) - -if (${IS_WINDOWS}) - include("_cmake_scripts/windows_base.cmake") -elseif (${IS_LINUX} OR ${IS_OSX}) - include("_cmake_scripts/posix_base.cmake") -endif() - -include("_cmake_scripts/groups.cmake") - -# Store all targets in a variable name ( See: https://stackoverflow.com/questions/37434946/how-do-i-iterate-over-all-cmake-targets-programmatically/62311397#62311397 ) -function(get_all_targets var) - set(targets) - get_all_targets_recursive(targets ${CMAKE_CURRENT_SOURCE_DIR}) - set(${var} ${targets} PARENT_SCOPE) -endfunction() - -macro(get_all_targets_recursive targets dir) - get_property(subdirectories DIRECTORY ${dir} PROPERTY SUBDIRECTORIES) - foreach(subdir ${subdirectories}) - get_all_targets_recursive(${targets} ${subdir}) - endforeach() - - get_property(current_targets DIRECTORY ${dir} PROPERTY BUILDSYSTEM_TARGETS) - list(APPEND ${targets} ${current_targets}) -endmacro() - -get_all_targets(ALL_TARGETS) - -# Set of helper functions to add defintions/options/libs for each target in a filtered way -function(add_compile_definitions_filtered target definitions) - foreach(additional_definition IN LISTS ${definitions}) - set(SHOULD_EXCLUDE 0) - # Exclude the compile definition if target defines an exclude list - foreach(exclude IN LISTS "${target}_exclude_compile_definitions") - if (${additional_definition} STREQUAL ${exclude}) - set(SHOULD_EXCLUDE 1) - break() - endif() - endforeach() - if (NOT ${SHOULD_EXCLUDE}) - target_compile_definitions(${target} PRIVATE ${additional_definition}) - endif() - endforeach() -endfunction() - - -function(add_compile_options_filtered target options) - foreach(additional_option IN LISTS ${options}) - set(SHOULD_EXCLUDE 0) - # Exclude the compile options if target defines an exclude list - foreach(exclude IN LISTS "${target}_exclude_compile_options") - if (${additional_option} STREQUAL ${exclude}) - set(SHOULD_EXCLUDE 1) - break() - endif() - endforeach() - if (NOT ${SHOULD_EXCLUDE}) - target_compile_options(${target} PRIVATE "$<$:${additional_option}>") - endif() - endforeach() -endfunction() - -function(add_sources_filtered target sources) - foreach(additional_source IN LISTS ${sources}) - set(SHOULD_EXCLUDE 0) - # Exclude the source if target defines an exclude list - foreach(exclude IN LISTS "${target}_exclude_source") - if (${additional_source} STREQUAL ${exclude}) - set(SHOULD_EXCLUDE 1) - break() - endif() - endforeach() - if (NOT ${SHOULD_EXCLUDE}) - target_sources(${target} PRIVATE ${additional_source}) - endif() - endforeach() -endfunction() - -function(add_libraries_filtered target libraries) - foreach(additional_lib IN LISTS ${libraries}) - set(SHOULD_EXCLUDE 0) - # Exclude the lib if target defines an exclude list - foreach(exclude IN LISTS "${target}_exclude_lib") - if (${additional_lib} STREQUAL ${exclude}) - set(SHOULD_EXCLUDE 1) - break() - endif() - endforeach() - if (NOT ${SHOULD_EXCLUDE}) - get_target_property(libraries ${target} LINK_LIBRARIES) - # Don't bother adding it if the target already links it manually - foreach(lib IN LISTS libraries) - if (${additional_lib} STREQUAL ${lib}) - set(SHOULD_EXCLUDE 1) - break() - endif() - endforeach() - endif() - if (NOT ${SHOULD_EXCLUDE}) - target_link_libraries(${target} PRIVATE ${additional_lib}) - endif() - endforeach() -endfunction() - -# Iterates over all the targets and add necessary definitions/options/libs -# This is an incredible hack, but it allows for targets to specify exclude lists -# This allows us to emulate -$File and such from VPC -foreach(target ${ALL_TARGETS}) - # Define an empty exclude list if one isn't defined - if (NOT DEFINED "${target}_exclude_compile_options") - set("${target}_exclude_compile_options") - endif() - - # Define an empty exclude list if one isn't defined - if (NOT DEFINED "${target}_exclude_lib") - set("${target}_exclude_lib") - endif() - - # Define an empty exclude list if one isn't defined - if (NOT DEFINED "${target}_exclude_source") - set("${target}_exclude_source") - endif() - - get_target_property(target_type ${target} TYPE) - if (${target_type} STREQUAL "EXECUTABLE") - add_compile_options_filtered(${target} ADDITIONAL_COMPILE_OPTIONS_EXE) - add_libraries_filtered(${target} ADDITIONAL_LINK_LIBRARIES_EXE) - add_sources_filtered(${target} ADDITIONAL_SOURCES_EXE) - target_link_options(${target} PRIVATE ${ADDITIONAL_LINK_OPTIONS_EXE}) - target_compile_definitions(${target} PRIVATE MEMOVERRIDE_MODULE=$) - add_compile_definitions_filtered(${target} ADDITIONAL_COMPILE_DEFINITIONS_EXE) - - # Only applies to Linux and OSX - target_strip_symbols(${target}) - elseif((${target_type} STREQUAL "SHARED_LIBRARY") OR (${target_type} STREQUAL "MODULE_LIBRARY")) - add_compile_options_filtered(${target} ADDITIONAL_COMPILE_OPTIONS_DLL) - add_libraries_filtered(${target} ADDITIONAL_LINK_LIBRARIES_DLL) - add_sources_filtered(${target} ADDITIONAL_SOURCES_DLL) - target_link_options(${target} PRIVATE ${ADDITIONAL_LINK_OPTIONS_DLL}) - target_compile_definitions(${target} PRIVATE MEMOVERRIDE_MODULE=$ DLLNAME=$) - add_compile_definitions_filtered(${target} ADDITIONAL_COMPILE_DEFINITIONS_DLL) - - # Only applies to Linux and OSX - target_strip_symbols(${target}) - elseif(${target_type} STREQUAL "STATIC_LIBRARY") - add_compile_options_filtered(${target} ADDITIONAL_COMPILE_OPTIONS_LIB) - add_sources_filtered(${target} ADDITIONAL_SOURCES_LIB) - target_link_options(${target} PRIVATE ${ADDITIONAL_LINK_OPTIONS_LIB}) - target_compile_definitions(${target} PRIVATE LIBNAME=$) - add_compile_definitions_filtered(${target} ADDITIONAL_COMPILE_DEFINITIONS_LIB) - endif() - -endforeach() +# Add subdirectories as projects +add_subdirectory(game/client) +add_subdirectory(game/server) +add_subdirectory(materialsystem/swarmshaders) +add_subdirectory(materialsystem/shaderlib) diff --git a/LICENSE b/LICENSE index 5c304d1..f50e2c4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,201 +1,21 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. +MIT License + +Copyright (c) 2024 Secton + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 465691b..0be48fc 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ Quake >>> GoldSRC >>> Source >> Alien Swarm > Deferred > SourceDEFUN - [x] Deferred lighting (from Alien Swarm Deferred) - [x] PBR (Physically based Rendering) - [ ] Linux Support + - [ ] DXVK Support (man i wish it was possible to support Vulkan instead of DXVK) - [ ] First Person Camera, ported to Alien Swarm branch - [ ] Ambient Occlusion - [ ] SourceDEFUN Mod Installer (does moving mod to sourcemods for you and more stuff) diff --git a/SourceDEFUN.sln b/SourceDEFUN.sln index fbd4dcc..6f19e24 100644 --- a/SourceDEFUN.sln +++ b/SourceDEFUN.sln @@ -1,5 +1,5 @@  -Microsoft Visual Studio Solution File, Format Version 11.00 +Microsoft Visual Studio Solution File, Format Version 14.00 # Visual Studio 2022 # WARNING TO WINDOWS USERS: This file might not be up to date since my [Sectonidse] primary OS is Linux. Just in case you know. Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "client", "game\client\swarm_skeleton_client.vcxproj", "{A26C0361-6B09-9E3D-5194-C9CB89243710}" diff --git a/configs/activities.json b/configs/activities.json new file mode 100644 index 0000000..b653f57 --- /dev/null +++ b/configs/activities.json @@ -0,0 +1,37 @@ +{ +"1": [ + "This is Activities file! It has all the activities for NPC/Playermodels! ", + "But how to work with it you say? Here's how: ", + " 1. Every named key dictionary is a prefix for some activity. ", + " 1.1. Do you see dictionary ACT with array RUN and value AIM? ", + " 1.2. Well if we combine the path, we get: 'ACT_RUN_AIM!' ", + " 1.3. Then this 'ACT_RUN_AIM' gets registered by ai_activity.cpp [we'll call it reader] ", + " 2. Why is there a 0 in keys? ", + " 2.1. It's there for a reason. It tells the reader to not expect any more dictionaties. ", + " 2.2. So if i pick FLY from ACT, it'll be ACT_FLY! ", + " 3. Why is there a space sometimes in keys? ", + " 3.1. It tells the compiler to not add underscore (_) to activity name. ", + " 3.2. Example: ACT > DIE > BACKWARD = ACT_DIEBACKWARD ", + " 4. Why is there a 0 in first value of array? ", + " 4.1. It tells the reader to use the current path as an activity. ", + " 4.2. Example: ACT > WALK > 0 = ACT_WALK ", + " 5. What does number 1 mean? ", + " 5.1. It means 'stop reading. altogether'. ", + " 5.2. So if there array with key '1', then the reader will just ignore it. ", + " 5.3. That means you can make pseudo-comments here, like the one you're reading right now! ", + " 5.4. Example: ACT > 1 = [skip to next key/parent dictionary] ", + "-----------------------------------------------------------------------------------------------", + "Okay smart guy, well why won't you design a simpler system? ", + " A: I mean don't you like it? Would you like typing a lot of ACT_WEAPON_*_*? I would not. " +], +"ACT": { + "0": ["INVALID", "RESET", "IDLE", "TRANSITION", "SCRIPT_CUSTOM_MOVE", "FLY", "HOVER", "GLIDE", "SWIM", "JUMP", "HOP", "LEAP", "LAND", "SHIPLADDER_UP", "SHIPLADDER_DOWN", "STRAFE_LEFT", "STRAFE_RIGHT", "ROLL_LEFT", "ROLL_RIGHT", "TURN_LEFT", "TURN_RIGHT", "CROUCH", "CROUCHIDLE", "STAND", "USE", "ALIEN_BURROW_IDLE", "ALIEN_BURROW_OUT"], + "RUN": [0, "AIM", "CROUCH", "CROUCH_AIM", "PROTECTED"], + "WALK": [0, "AIM", "CROUCH", "CROUCH_AIM"], + "COVER": [0, "MED", "LOW"], + "RANGE": ["ATTACK1", "ATTACK2", "ATTACK1_LOW", "ATTACK2_LOW"], + "DIE ": ["SIMPLE", "BACKWARD", "FORWARD", "VIOLENT", "RAGDOLL"], + "CLIMB": ["UP", "DOWN", "DISMOUNT"] +}, +"1": "Needs finishing!" +} diff --git a/create_solution.cmd b/create_solution.cmd new file mode 100644 index 0000000..6db4791 --- /dev/null +++ b/create_solution.cmd @@ -0,0 +1 @@ +cmake -B build -A Win32 \ No newline at end of file diff --git a/dx10sdk/utilities/dx9_30/readme.md b/dx10sdk/utilities/dx9_30/readme.md new file mode 100644 index 0000000..b13ec21 --- /dev/null +++ b/dx10sdk/utilities/dx9_30/readme.md @@ -0,0 +1,8 @@ +# DX10SDK for SourceDEFUN +Probably useless, but it's still better to have at least some kind of upgrade. + +I'm not sure if that'll work but it's worth trying. + +This file exists because you can't just create folders in GitHub: you must create a new file to do that. It works by writing the folder name and typing "/" before the file name. + +It was taken from Alien Swarm: Reactive Drop, but it wasn't changed because it's literally a dll diff --git a/game/client/CMakeLists.txt b/game/client/CMakeLists.txt new file mode 100644 index 0000000..0f6ad0c --- /dev/null +++ b/game/client/CMakeLists.txt @@ -0,0 +1,1429 @@ +project(swarm_skeleton_client) + +# source files +set(SOURCE_FILES + ../../common/language.cpp + ../shared/deferred/CDefLight.cpp + ../shared/deferred/CDefLightContainer.cpp + ../shared/deferred/CDefLightGlobal.cpp + ../shared/deferred/deferred_shared_common.cpp + ../shared/predicted_viewmodel.cpp + ../shared/sdk/sdk_fx_shared.cpp + ../shared/sdk/sdk_gamemovement.cpp + ../shared/sdk/sdk_gamerules.cpp + ../shared/sdk/sdk_playeranimstate.cpp + ../shared/sdk/sdk_player_shared.cpp + ../shared/sdk/sdk_usermessages.cpp + ../shared/sdk/sdk_weapon_parse.cpp + ../shared/sdk/weapon_mp5.cpp + ../shared/sdk/weapon_pistol.cpp + ../shared/sdk/weapon_sdkbase.cpp + achievement_notification_panel.cpp + ../shared/achievement_saverestore.cpp + ../shared/achievementmgr.cpp + ../shared/activitylist.cpp + ../shared/ai_criteria.cpp + ../shared/ai_responsesystem.cpp + ../shared/ai_speechconcept.cpp + ../shared/ammodef.cpp + animatedentitytextureproxy.cpp + animatedoffsettextureproxy.cpp + animatedtextureproxy.cpp + AnimateSpecificTextureProxy.cpp + ../shared/animation.cpp + ../shared/base_playeranimstate.cpp + ../shared/baseachievement.cpp + baseanimatedtextureproxy.cpp + baseclientrendertargets.cpp + ../shared/basecombatcharacter_shared.cpp + ../shared/basecombatweapon_shared.cpp + ../shared/baseentity_shared.cpp + ../shared/basegrenade_shared.cpp + ../shared/baseparticleentity.cpp + ../shared/baseplayer_shared.cpp + ../shared/baseviewmodel_shared.cpp + ../shared/beam_shared.cpp + beamdraw.cpp + ../../common/blackbox_helper.cpp + ../../public/bone_accessor.cpp + bone_merge_cache.cpp + c_ai_basehumanoid.cpp + c_ai_basenpc.cpp + c_baseanimating.cpp + c_baseanimatingoverlay.cpp + c_basecombatcharacter.cpp + c_basecombatweapon.cpp + c_basedoor.cpp + c_baseentity.cpp + c_baseflex.cpp + c_baselesson.cpp + c_baseplayer.cpp + c_basetoggle.cpp + c_baseviewmodel.cpp + c_beamspotlight.cpp + c_breakableprop.cpp + c_colorcorrection.cpp + c_colorcorrectionvolume.cpp + c_dynamiclight.cpp + c_entitydissolve.cpp + c_entityflame.cpp + c_entityfreezing.cpp + c_entityparticletrail.cpp + c_env_ambient_light.cpp + c_env_dof_controller.cpp + c_env_fog_controller.cpp + c_env_global_light.cpp + c_env_particlescript.cpp + c_env_projectedtexture.cpp + c_env_screenoverlay.cpp + c_env_tonemap_controller.cpp + c_fire_smoke.cpp + c_fish.cpp + c_func_areaportalwindow.cpp + c_func_breakablesurf.cpp + c_func_brush.cpp + c_func_conveyor.cpp + c_func_dust.cpp + c_func_lod.cpp + deferred/cascade_t.cpp + deferred/cdeferred_manager_client.cpp + deferred/clight_editor.cpp + deferred/clight_manager.cpp + deferred/DefCookieProjectable.cpp + deferred/DefCookieTexture.cpp + deferred/deferred_client_common.cpp + deferred/deferred_rt.cpp + deferred/def_light_t.cpp + deferred/flashlighteffect_deferred.cpp + deferred/IDeferredExtClient.cpp + deferred/materialsystem_passthru.cpp + deferred/vgui/projectable_factory.cpp + deferred/vgui/vgui_editor_controls.cpp + deferred/vgui/vgui_editor_props.cpp + deferred/vgui/vgui_editor_root.cpp + deferred/vgui/vgui_marquee.cpp + deferred/vgui/vgui_particles.cpp + deferred/vgui/vgui_projectable.cpp + deferred/viewrender_deferred.cpp + hl2/C_Func_Monitor.cpp + c_func_movelinear.cpp + c_func_occluder.cpp + c_func_reflective_glass.cpp + c_func_rotating.cpp + c_func_smokevolume.cpp + c_func_tracktrain.cpp + c_gameinstructor.cpp + c_gib.cpp + c_hairball.cpp + c_info_overlay_accessor.cpp + c_lightglow.cpp + C_MaterialModifyControl.cpp + c_movie_display.cpp + c_particle_system.cpp + c_physbox.cpp + c_physics_prop_statue.cpp + c_physicsprop.cpp + c_physmagnet.cpp + c_pixel_visibility.cpp + c_plasma.cpp + c_playerresource.cpp + c_point_camera.cpp + c_point_commentary_node.cpp + c_postprocesscontroller.cpp + c_prop_hallucination.cpp + c_props.cpp + c_ragdoll_manager.cpp + c_rope.cpp + c_rumble.cpp + c_sceneentity.cpp + c_shadowcontrol.cpp + c_slideshow_display.cpp + c_soundscape.cpp + c_spatialentity.cpp + c_spotlight_end.cpp + c_sprite.cpp + c_sprite_perfmonitor.cpp + c_sun.cpp + c_sunlightshadowcontrol.cpp + c_surfacerender.cpp + c_team.cpp + c_tesla.cpp + c_test_proxytoggle.cpp + c_triggers.cpp + c_user_message_register.cpp + c_vehicle_choreo_generic.cpp + c_vehicle_jeep.cpp + c_vguiscreen.cpp + hl2/c_waterbullet.cpp + C_WaterLODControl.cpp + c_world.cpp + camomaterialproxy.cpp + cdll_bounded_cvars.cpp + cdll_client_int.cpp + cdll_util.cpp + cl_mat_stub.cpp + classmap.cpp + ../../public/client_class.cpp + client_factorylist.cpp + client_thinklist.cpp + clientalphaproperty.cpp + cliententitylist.cpp + clientleafsystem.cpp + clientmode_shared.cpp + clientshadowmgr.cpp + clientsideeffects.cpp + clientsideeffects_test.cpp + ../../public/closedcaptions.cpp + ../shared/collisionproperty.cpp + ../../public/collisionutils.cpp + colorcorrectionmgr.cpp + commentary_modelviewer.cpp + ../../common/compiledcaptionswap.cpp + convarproxy.cpp + ../../public/crtmemdebug.cpp + cycleproxy.cpp + ../shared/death_pose.cpp + ../../common/debug_dll_check.cpp + ../shared/debugoverlay_shared.cpp + ../shared/decals.cpp + detailobjectsystem.cpp + ../../public/dt_recv.cpp + ../../public/dt_utlvector_common.cpp + ../../public/dt_utlvector_recv.cpp + dummyproxy.cpp + ../shared/effect_dispatch_data.cpp + EffectsClient.cpp + ../shared/ehandle.cpp + ../shared/entitylist_base.cpp + entityoriginmaterialproxy.cpp + ../shared/EntityParticleTrail_Shared.cpp + ../shared/env_detail_controller.cpp + ../shared/env_wind_shared.cpp + ../shared/eventlist.cpp + ../../public/filesystem_helpers.cpp + flashlighteffect.cpp + foundryhelpers_client.cpp + ../shared/func_ladder.cpp + functionproxy.cpp + fx_blood.cpp + fx_cube.cpp + fx_explosion.cpp + fx_fleck.cpp + fx_impact.cpp + fx_interpvalue.cpp + fx_quad.cpp + fx_shelleject.cpp + fx_staticline.cpp + fx_tracer.cpp + fx_trail.cpp + fx_water.cpp + ../shared/game_timescale_shared.cpp + ../shared/gamemovement.cpp + ../shared/gamerules.cpp + ../shared/gamerules_register.cpp + ../shared/GameStats.cpp + ../shared/gamestringpool.cpp + gametrace_client.cpp + ../shared/gamevars_shared.cpp + glow_outline_effect.cpp + glow_overlay.cpp + ../shared/hintmessage.cpp + ../shared/hintsystem.cpp + history_resource.cpp + hltvcamera.cpp + hud.cpp + hud_basechat.cpp + hud_basetimer.cpp + hud_bitmapnumericdisplay.cpp + hud_closecaption.cpp + hud_crosshair.cpp + hud_element_helper.cpp + hud_lcd.cpp + hud_locator_target.cpp + hud_msg.cpp + hud_numericdisplay.cpp + hud_pdump.cpp + hud_redraw.cpp + ../shared/igamesystem.cpp + hud_weapon.cpp + in_camera.cpp + in_joystick.cpp + in_main.cpp + in_mouse.cpp + in_trackir.cpp + initializer.cpp + ../../public/tier1/interpolatedvar.cpp + ../../public/interpolatortypes.cpp + IsNPCProxy.cpp + ../../public/jigglebones.cpp + lampbeamproxy.cpp + lamphaloproxy.cpp + ../shared/mapentities_shared.cpp + materialproxydict.cpp + mathproxy.cpp + matrixproxy.cpp + ../../public/tier0/memoverride.cpp + menu.cpp + message.cpp + modelrendersystem.cpp + movehelper_client.cpp + ../shared/movevars_shared.cpp + ../shared/mp_shareddefs.cpp + ../shared/multiplay_gamerules.cpp + ../../public/networkvar.cpp + object_motion_blur_effect.cpp + ../shared/obstacle_pushaway.cpp + panelmetaclassmgr.cpp + particle_collision.cpp + particle_litsmokeemitter.cpp + ../shared/particle_parse.cpp + ../shared/particle_property.cpp + particle_proxies.cpp + particle_simple3d.cpp + particlemgr.cpp + particles_attractor.cpp + particles_ez.cpp + particles_localspace.cpp + particles_new.cpp + particles_simple.cpp + ../shared/particlesystemquery.cpp + perfvisualbenchmark.cpp + ../../public/phonemeconverter.cpp + physics.cpp + physics_main_client.cpp + ../shared/physics_main_shared.cpp + ../shared/physics_saverestore.cpp + ../shared/physics_shared.cpp + physpropclientside.cpp + playerandobjectenumerator.cpp + ../shared/point_bonusmaps_accessor.cpp + ../shared/point_posecontroller.cpp + ../../public/posedebugger.cpp + ../shared/precache_register.cpp + ../shared/predictableid.cpp + prediction.cpp + ../shared/predictioncopy.cpp + ../shared/predictioncopy_helpers.cpp + ../shared/predictioncopy_test.cpp + ../shared/props_shared.cpp + proxyentity.cpp + ProxyHealth.cpp + proxyplayer.cpp + proxypupil.cpp + ragdoll.cpp + ../shared/ragdoll_shared.cpp + ../../common/randoverride.cpp + recvproxy.cpp + rendertexture.cpp + replaycamera.cpp + ../shared/rope_helpers.cpp + ../../public/rope_physics.cpp + ../shared/saverestore.cpp + ../shared/sceneentity_shared.cpp + ../../public/scratchpad3d.cpp + ../../public/ScratchPadUtils.cpp + ScreenSpaceEffects.cpp + ../../public/sentence.cpp + ../shared/sequence_Transitioner.cpp + ../shared/sheetsimulator.cpp + ShaderEditor/SEdit_ModelRender.cpp + ShaderEditor/ShaderEditorSystem.cpp + sdk/clientmode_sdk.cpp + sdk/c_sdk_jukebox.cpp + sdk/c_sdk_lesson.cpp + sdk/c_sdk_player.cpp + sdk/gameui/backgroundmenubutton.cpp + sdk/gameui/basesavegamedialog.cpp + sdk/gameui/bitmapimagepanel.cpp + sdk/gameui/commandcheckbutton.cpp + sdk/gameui/contentcontroldialog.cpp + sdk/gameui/createmultiplayergamebotpage.cpp + sdk/gameui/createmultiplayergamedialog.cpp + sdk/gameui/createmultiplayergamegameplaypage.cpp + sdk/gameui/createmultiplayergameserverpage.cpp + sdk/gameui/customtabexplanationdialog.cpp + sdk/gameui/cvarnegatecheckbutton.cpp + sdk/gameui/cvarslider.cpp + sdk/gameui/cvartextentry.cpp + sdk/gameui/cvartogglecheckbutton.cpp + sdk/gameui/gameconsole.cpp + sdk/gameui/gameconsoledialog.cpp + sdk/gameui/gameui_interface.cpp + sdk/gameui/gameui_util.cpp + sdk/gameui/keytogglecheckbutton.cpp + sdk/gameui/labeledcommandcombobox.cpp + sdk/gameui/loadingdialog.cpp + sdk/gameui/loadingtippanel.cpp + sdk/gameui/logofile.cpp + sdk/gameui/modinfo.cpp + sdk/gameui/mousemessageforwardingpanel.cpp + sdk/gameui/multiplayeradvanceddialog.cpp + sdk/gameui/optionsdialog.cpp + sdk/gameui/optionssubaudio.cpp + sdk/gameui/optionssubdifficulty.cpp + sdk/gameui/optionssubgame.cpp + sdk/gameui/optionssubkeyboard.cpp + sdk/gameui/optionssubmouse.cpp + sdk/gameui/optionssubmultiplayer.cpp + sdk/gameui/optionssubportal.cpp + sdk/gameui/optionssubvideo.cpp + sdk/gameui/optionssubvoice.cpp + sdk/gameui/panellistpanel.cpp + sdk/gameui/playerlistdialog.cpp + sdk/gameui/rungameengine.cpp + sdk/gameui/scriptobject.cpp + sdk/gameui/sdk/basemodframe.cpp + sdk/gameui/sdk/basemodpanel.cpp + sdk/gameui/sdk/gamemodes.cpp + sdk/gameui/sdk/uiavatarimage.cpp + sdk/gameui/sdk/uigamedata.cpp + sdk/gameui/sdk/uigamedata_invite.cpp + sdk/gameui/sdk/uigamedata_storage.cpp + sdk/gameui/sdk/vachievements.cpp + sdk/gameui/sdk/vaddonassociation.cpp + sdk/gameui/sdk/vaddons.cpp + sdk/gameui/sdk/vattractscreen.cpp + sdk/gameui/sdk/vaudio.cpp + sdk/gameui/sdk/vaudiovideo.cpp + sdk/gameui/sdk/vcloud.cpp + sdk/gameui/sdk/vcontrolleroptions.cpp + sdk/gameui/sdk/vcontrolleroptionsbuttons.cpp + sdk/gameui/sdk/vcontrolleroptionssticks.cpp + sdk/gameui/sdk/vcustomcampaigns.cpp + sdk/gameui/sdk/vdownloadcampaign.cpp + sdk/gameui/sdk/vdownloads.cpp + sdk/gameui/sdk/vdropdownmenu.cpp + sdk/gameui/sdk/vflyoutmenu.cpp + sdk/gameui/sdk/vfooterpanel.cpp + sdk/gameui/sdk/vfoundgames.cpp + sdk/gameui/sdk/vfoundgroupgames.cpp + sdk/gameui/sdk/vfoundpublicgames.cpp + sdk/gameui/sdk/vgamelobby.cpp + sdk/gameui/sdk/vgamelobbychat.cpp + sdk/gameui/sdk/vgameoptions.cpp + sdk/gameui/sdk/vgamesettings.cpp + sdk/gameui/sdk/vgenericconfirmation.cpp + sdk/gameui/sdk/vgenericpanellist.cpp + sdk/gameui/sdk/vgenericwaitscreen.cpp + sdk/gameui/sdk/vgetlegacydata.cpp + sdk/gameui/sdk/vhybridbutton.cpp + sdk/gameui/sdk/vingamechapterselect.cpp + sdk/gameui/sdk/vingamedifficultyselect.cpp + sdk/gameui/sdk/vingamekickplayerlist.cpp + sdk/gameui/sdk/vingamemainmenu.cpp + sdk/gameui/sdk/vjukebox.cpp + sdk/gameui/sdk/vkeyboard.cpp + sdk/gameui/sdk/vkeyboardmouse.cpp + sdk/gameui/sdk/vleaderboard.cpp + sdk/gameui/sdk/vloadingprogress.cpp + sdk/gameui/sdk/vmainmenu.cpp + sdk/gameui/sdk/vmenubackground.cpp + sdk/gameui/sdk/vmultiplayer.cpp + sdk/gameui/sdk/voptions.cpp + sdk/gameui/sdk/vpasswordentry.cpp + sdk/gameui/sdk/vquickjoin.cpp + sdk/gameui/sdk/vquickjoingroups.cpp + sdk/gameui/sdk/vsignindialog.cpp + sdk/gameui/sdk/vslidercontrol.cpp + sdk/gameui/sdk/vspinnercontrol.cpp + sdk/gameui/sdk/vsteamcloudconfirmation.cpp + sdk/gameui/sdk/vtransitionscreen.cpp + sdk/gameui/sdk/vvideo.cpp + sdk/gameui/sdk/vvoteoptions.cpp + sdk/gameui/sys_utils.cpp + sdk/gameui/textentrybox.cpp + sdk/gameui/urlbutton.cpp + sdk/gameui/vcontrolslistpanel.cpp + sdk/gameui/vguisystemmoduleloader.cpp + sdk/sdk_fx_impacts.cpp + sdk/sdk_fx_tracers.cpp + sdk/sdk_fx_weaponfx.cpp + sdk/sdk_input.cpp + sdk/sdk_prediction.cpp + sdk/vgui/nb_button.cpp + sdk/vgui/nb_header_footer.cpp + sdk/vgui/nb_horiz_list.cpp + sdk/vgui/nb_select_level_entry.cpp + sdk/vgui/nb_select_level_panel.cpp + sdk/vgui/sdk_hud_ammo.cpp + sdk/vgui/sdk_hud_chat.cpp + sdk/vgui/sdk_hud_health.cpp + sdk/vgui/sdk_hud_weaponselection.cpp + sdk/vgui/sdk_loading_panel.cpp + sdk/vgui/sdk_logo_panel.cpp + sdk/vgui/sdk_vgui_music_importer.cpp + sdk/vgui_rootpanel_sdk.cpp + simple_keys.cpp + ../../public/simple_physics.cpp + ../shared/simtimer.cpp + ../shared/singleplay_gamerules.cpp + ../shared/SoundEmitterSystem.cpp + ../shared/soundenvelope.cpp + ../../public/SoundParametersInternal.cpp + spatialentitymgr.cpp + splinepatch.cpp + ../shared/Sprite.cpp + spritemodel.cpp + ../shared/SpriteTrail.cpp + ../shared/steamworks_gamestats.cpp + ../../public/stringregistry.cpp + ../../public/studio.cpp + ../shared/studio_shared.cpp + ../shared/takedamageinfo.cpp + ../shared/teamplay_gamerules.cpp + ../shared/teamplayroundbased_gamerules.cpp + ../shared/test_ehandle.cpp + text_message.cpp + texturescrollmaterialproxy.cpp + timematerialproxy.cpp + toggletextureproxy.cpp + ../shared/usercmd.cpp + ../shared/usermessages.cpp + ../shared/util_shared.cpp + ../../public/vallocator.cpp + ../shared/vehicle_viewblend_shared.cpp + vgui_avatarimage.cpp + vgui_basepanel.cpp + vgui_bindpanel.cpp + vgui_bitmapbutton.cpp + vgui_bitmapimage.cpp + vgui_bitmappanel.cpp + vgui_centerstringpanel.cpp + vgui_consolepanel.cpp + ../../public/vgui_controls/vgui_controls.cpp + vgui_debugoverlaypanel.cpp + vgui_fpspanel.cpp + vgui_game_viewport.cpp + vgui_grid.cpp + vgui_hudvideo.cpp + vgui_int.cpp + vgui_loadingdiscpanel.cpp + vgui_messagechars.cpp + vgui_movie_display.cpp + vgui_netgraphpanel.cpp + vgui_slideshow_display_screen.cpp + vgui_video.cpp + view.cpp + view_beams.cpp + view_effects.cpp + view_scene.cpp + viewangleanim.cpp + ViewConeImage.cpp + viewdebug.cpp + viewpostprocess.cpp + viewrender.cpp + ../shared/voice_banmgr.cpp + voice_menu.cpp + ../shared/voice_status.cpp + vscript_client.cpp + ../shared/vscript_shared.cpp + warp_overlay.cpp + WaterLODMaterialProxy.cpp + ../shared/weapon_parse.cpp + weapon_selection.cpp + weapons_resource.cpp + WorldDimsProxy.cpp + stdafx.cpp + c_basetempentity.cpp + c_effects.cpp + c_impact_effects.cpp + c_movie_explosion.cpp + c_particle_fire.cpp + c_particle_smokegrenade.cpp + c_prop_vehicle.cpp + c_recipientfilter.cpp + c_smoke_trail.cpp + c_smokestack.cpp + c_steamjet.cpp + c_stickybolt.cpp + c_te.cpp + c_te_armorricochet.cpp + c_te_basebeam.cpp + c_te_beamentpoint.cpp + c_te_beaments.cpp + c_te_beamfollow.cpp + c_te_beamlaser.cpp + c_te_beampoints.cpp + c_te_beamring.cpp + c_te_beamringpoint.cpp + c_te_beamspline.cpp + c_te_bloodsprite.cpp + c_te_bloodstream.cpp + c_te_breakmodel.cpp + c_te_bspdecal.cpp + c_te_bubbles.cpp + c_te_bubbletrail.cpp + c_te_clientprojectile.cpp + c_te_decal.cpp + c_te_dynamiclight.cpp + c_te_effect_dispatch.cpp + c_te_energysplash.cpp + c_te_explosion.cpp + c_te_fizz.cpp + c_te_footprint.cpp + c_te_glassshatter.cpp + c_te_glowsprite.cpp + c_te_impact.cpp + c_te_killplayerattachments.cpp + c_te_largefunnel.cpp + c_te_legacytempents.cpp + c_te_muzzleflash.cpp + c_te_particlesystem.cpp + c_te_physicsprop.cpp + c_te_playerdecal.cpp + c_te_projecteddecal.cpp + c_te_showline.cpp + c_te_smoke.cpp + c_te_sparks.cpp + c_te_sprite.cpp + c_te_spritespray.cpp + c_te_worlddecal.cpp + c_testtraceline.cpp + c_tracer.cpp + fx.cpp + fx_discreetline.cpp + fx_envelope.cpp + fx_line.cpp + fx_sparks.cpp + particlesphererenderer.cpp + smoke_fog_overlay.cpp + game_controls/basemodel_panel.cpp + game_controls/baseviewport.cpp + game_controls/ClientScoreBoardDialog.cpp + game_controls/commandmenu.cpp + game_controls/IconPanel.cpp + game_controls/intromenu.cpp + game_controls/MapOverview.cpp + game_controls/NavProgress.cpp + game_controls/SpectatorGUI.cpp + game_controls/teammenu.cpp + game_controls/vguitextwindow.cpp + hl2/c_antlion_dust.cpp + hl2/c_ar2_explosion.cpp + hl2/c_basehelicopter.cpp + hl2/c_npc_combinegunship.cpp + hl2/c_rotorwash.cpp + mp3player.cpp + ../../public/tools/bonelist.cpp + entity_client_tools.cpp + toolframework_client.cpp +) + +# header files +set(HEADER_FILES + ../../materialsystem/swarmshaders/deferred_global_common.h + ../../materialsystem/swarmshaders/IDeferredExt.h + ../shared/deferred/CDefLight.h + ../shared/deferred/CDefLightContainer.h + ../shared/deferred/CDefLightGlobal.h + ../shared/deferred/deferred_shared_common.h + ../shared/predicted_viewmodel.h + ../shared/sdk/sdk_fx_shared.h + ../shared/sdk/sdk_gamerules.h + ../shared/sdk/sdk_movedata.h + ../shared/sdk/sdk_playeranimstate.h + ../shared/sdk/sdk_player_shared.h + ../shared/sdk/sdk_weapon_parse.h + ../shared/sdk/weapon_sdkbase.h + achievement_notification_panel.h + ../shared/achievement_saverestore.h + ../shared/achievementmgr.h + ../shared/ai_criteria.h + ../shared/ai_responsesystem.h + ../shared/ai_speechconcept.h + ../shared/baseachievement.h + ../../common/blackbox_helper.h + c_baselesson.h + c_basetoggle.h + c_colorcorrection.h + c_env_ambient_light.h + c_env_projectedtexture.h + c_gameinstructor.h + c_physics_prop_statue.h + c_postprocesscontroller.h + c_props.h + c_slideshow_display.h + c_spatialentity.h + cdll_bounded_cvars.h + commentary_modelviewer.h + deferred/cascade_t.h + deferred/cdeferred_manager_client.h + deferred/clight_editor.h + deferred/clight_manager.h + deferred/DefCookieProjectable.h + deferred/DefCookieTexture.h + deferred/deferred_client_common.h + deferred/deferred_rt.h + deferred/def_light_t.h + deferred/flashlighteffect_deferred.h + deferred/IDefCookie.h + deferred/materialsystem_passthru.h + deferred/vgui/projectable_factory.h + deferred/vgui/vgui_deferred.h + deferred/vgui/vgui_editor_controls.h + deferred/vgui/vgui_editor_props.h + deferred/vgui/vgui_marquee.h + deferred/vgui/vgui_particles.h + deferred/vgui/vgui_projectable.h + deferred/viewrender_deferred.h + foundryhelpers_client.h + ../shared/game_timescale_shared.h + hud_locator_target.h + ../../engine/iblackbox.h + modelrendersystem.h + ../shared/particle_parse.h + ../shared/particle_property.h + ../shared/point_bonusmaps_accessor.h + ../shared/postprocess_shared.h + ../shared/sharedvar.h + ShaderEditor/ISEdit_ModelRender.h + ShaderEditor/IVShaderEditor.h + ShaderEditor/SEdit_ModelRender.h + ShaderEditor/ShaderEditorSystem.h + sdk/clientmode_sdk.h + sdk/c_sdk_jukebox.h + sdk/c_sdk_player.h + sdk/gameui/backgroundmenubutton.h + sdk/gameui/basepanel.h + sdk/gameui/basesavegamedialog.h + sdk/gameui/bitmapimagepanel.h + sdk/gameui/cdkeyentrydialog.h + sdk/gameui/commandcheckbutton.h + sdk/gameui/contentcontroldialog.h + sdk/gameui/createmultiplayergamebotpage.h + sdk/gameui/createmultiplayergamedialog.h + sdk/gameui/createmultiplayergamegameplaypage.h + sdk/gameui/createmultiplayergameserverpage.h + sdk/gameui/customtabexplanationdialog.h + sdk/gameui/cvarnegatecheckbutton.h + sdk/gameui/cvarslider.h + sdk/gameui/cvartextentry.h + sdk/gameui/cvartogglecheckbutton.h + sdk/gameui/engineinterface.h + sdk/gameui/gameconsole.h + sdk/gameui/gameconsoledialog.h + sdk/gameui/gameui_interface.h + sdk/gameui/gameui_util.h + sdk/gameui/keytogglecheckbutton.h + sdk/gameui/labeledcommandcombobox.h + sdk/gameui/loadingdialog.h + sdk/gameui/loadingtippanel.h + sdk/gameui/modinfo.h + sdk/gameui/mousemessageforwardingpanel.h + sdk/gameui/multiplayeradvanceddialog.h + sdk/gameui/optionsdialog.h + sdk/gameui/optionssubaudio.h + sdk/gameui/optionssubdifficulty.h + sdk/gameui/optionssubgame.h + sdk/gameui/optionssubkeyboard.h + sdk/gameui/optionssubmouse.h + sdk/gameui/optionssubmultiplayer.h + sdk/gameui/optionssubportal.h + sdk/gameui/optionssubvideo.h + sdk/gameui/optionssubvoice.h + sdk/gameui/panellistpanel.h + sdk/gameui/playerlistdialog.h + sdk/gameui/rungameengine.h + sdk/gameui/scriptobject.h + sdk/gameui/sdk/basemodframe.h + sdk/gameui/sdk/basemodpanel.h + sdk/gameui/sdk/basemodui.h + sdk/gameui/sdk/gamemodes.h + sdk/gameui/sdk/uiavatarimage.h + sdk/gameui/sdk/uigamedata.h + sdk/gameui/sdk/vachievements.h + sdk/gameui/sdk/vaddonassociation.h + sdk/gameui/sdk/vaddons.h + sdk/gameui/sdk/vattractscreen.h + sdk/gameui/sdk/vaudio.h + sdk/gameui/sdk/vaudiovideo.h + sdk/gameui/sdk/vcloud.h + sdk/gameui/sdk/vcontrolleroptions.h + sdk/gameui/sdk/vcontrolleroptionsbuttons.h + sdk/gameui/sdk/vcontrolleroptionssticks.h + sdk/gameui/sdk/vcustomcampaigns.h + sdk/gameui/sdk/vdownloadcampaign.h + sdk/gameui/sdk/vdownloads.h + sdk/gameui/sdk/vdropdownmenu.h + sdk/gameui/sdk/vflyoutmenu.h + sdk/gameui/sdk/vfooterpanel.h + sdk/gameui/sdk/vfoundgames.h + sdk/gameui/sdk/vfoundgroupgames.h + sdk/gameui/sdk/vfoundpublicgames.h + sdk/gameui/sdk/vgamelobby.h + sdk/gameui/sdk/vgamelobbychat.h + sdk/gameui/sdk/vgameoptions.h + sdk/gameui/sdk/vgamesettings.h + sdk/gameui/sdk/vgenericconfirmation.h + sdk/gameui/sdk/vgenericpanellist.h + sdk/gameui/sdk/vgenericwaitscreen.h + sdk/gameui/sdk/vgetlegacydata.h + sdk/gameui/sdk/vhybridbutton.h + sdk/gameui/sdk/vingamechapterselect.h + sdk/gameui/sdk/vingamedifficultyselect.h + sdk/gameui/sdk/vingamekickplayerlist.h + sdk/gameui/sdk/vingamemainmenu.h + sdk/gameui/sdk/vjukebox.h + sdk/gameui/sdk/vkeyboard.h + sdk/gameui/sdk/vkeyboardmouse.h + sdk/gameui/sdk/vleaderboard.h + sdk/gameui/sdk/vloadingprogress.h + sdk/gameui/sdk/vmainmenu.h + sdk/gameui/sdk/vmultiplayer.h + sdk/gameui/sdk/voptions.h + sdk/gameui/sdk/vpasswordentry.h + sdk/gameui/sdk/vquickjoin.h + sdk/gameui/sdk/vquickjoingroups.h + sdk/gameui/sdk/vsignindialog.h + sdk/gameui/sdk/vslidercontrol.h + sdk/gameui/sdk/vspinnercontrol.h + sdk/gameui/sdk/vsteamcloudconfirmation.h + sdk/gameui/sdk/vtransitionscreen.h + sdk/gameui/sdk/vvideo.h + sdk/gameui/sdk/vvoteoptions.h + sdk/gameui/sys_utils.h + sdk/gameui/textentrybox.h + sdk/gameui/urlbutton.h + sdk/gameui/vcontrolslistpanel.h + sdk/gameui/vguisystemmoduleloader.h + sdk/sdk_input.h + sdk/vgui/nb_button.h + sdk/vgui/nb_header_footer.h + sdk/vgui/nb_horiz_list.h + sdk/vgui/nb_select_level_entry.h + sdk/vgui/nb_select_level_panel.h + sdk/vgui/sdk_hud_chat.h + sdk/vgui/sdk_loading_panel.h + sdk/vgui/sdk_logo_panel.h + sdk/vgui/sdk_vgui_music_importer.h + spatialentitymgr.h + vgui_avatarimage.h + viewdebug.h + viewpostprocess.h + vscript_client.h + ../shared/vscript_shared.h + game_controls/basemodel_panel.h + hl2/c_basehelicopter.h + mp3player.h + ../../public/tools/bonelist.h + toolframework_client.h + animationlayer.h + baseanimatedtextureproxy.h + baseclientrendertargets.h + beamdraw.h + bone_merge_cache.h + c_ai_basenpc.h + c_baseanimating.h + c_baseanimatingoverlay.h + c_basecombatcharacter.h + c_basecombatweapon.h + c_basedoor.h + c_baseentity.h + c_baseflex.h + c_baseplayer.h + c_basetempentity.h + c_baseviewmodel.h + c_breakableprop.h + c_effects.h + c_entitydissolve.h + c_entityflame.h + c_entityfreezing.h + c_env_fog_controller.h + c_fire_smoke.h + c_func_dust.h + c_func_reflective_glass.h + c_gib.h + c_impact_effects.h + c_movie_display.h + c_physbox.h + c_physicsprop.h + c_pixel_visibility.h + c_playerlocaldata.h + c_playerresource.h + c_point_camera.h + c_prop_vehicle.h + c_recipientfilter.h + c_rope.h + c_rumble.h + c_sceneentity.h + c_smoke_trail.h + c_soundscape.h + c_sprite.h + c_sun.h + c_surfacerender.h + c_te_basebeam.h + c_te_effect_dispatch.h + c_te_legacytempents.h + c_te_particlesystem.h + c_team.h + c_tesla.h + c_tracer.h + c_triggers.h + c_user_message_register.h + c_vehicle_jeep.h + c_vguiscreen.h + c_weapon__stubs.h + c_world.h + cbase.h + cdll_client_int.h + cdll_util.h + cl_animevent.h + cl_mat_stub.h + client_factorylist.h + client_thinklist.h + clientalphaproperty.h + cliententitylist.h + clientleafsystem.h + clientmode.h + clientmode_shared.h + clientsideeffects.h + colorcorrectionmgr.h + detailobjectsystem.h + enginesprite.h + flashlighteffect.h + fontabc.h + functionproxy.h + fx.h + fx_blood.h + #cstrike/fx_cs_blood.h + fx_discreetline.h + fx_envelope.h + fx_explosion.h + fx_fleck.h + fx_impact.h + fx_interpvalue.h + fx_line.h + fx_quad.h + fx_sparks.h + fx_staticline.h + fx_trail.h + fx_water.h + ../shared/GameEventListener.h + glow_outline_effect.h + glow_overlay.h + ../shared/hintmessage.h + ../shared/hintsystem.h + history_resource.h + hltvcamera.h + hud.h + hud_basechat.h + hud_basetimer.h + hud_bitmapnumericdisplay.h + hud_chat.h + hud_closecaption.h + hud_crosshair.h + hud_element_helper.h + hud_lcd.h + hud_macros.h + hud_numericdisplay.h + hud_pdump.h + #cstrike/hud_radar.h + hud_vehicle.h + hudelement.h + hudtexturehandle.h + iclassmap.h + icliententityinternal.h + iclientmode.h + iclientshadowmgr.h + iclientvehicle.h + iconsole.h + idebugoverlaypanel.h + ifpspanel.h + ihudlcd.h + iinput.h + iloadingdisc.h + imaterialproxydict.h + imessagechars.h + in_main.h + inetgraphpanel.h + initializer.h + input.h + ../../public/tier1/interpolatedvar.h + iprofiling.h + itextmessage.h + ivieweffects.h + iviewrender.h + iviewrender_beams.h + ivmodemanager.h + kbutton.h + keybindinglistener.h + menu.h + movehelper_client.h + networkstringtable_clientdll.h + object_motion_blur_effect.h + panelmetaclassmgr.h + particle_collision.h + particle_iterators.h + particle_litsmokeemitter.h + particle_prototype.h + particle_simple3d.h + particle_util.h + particledraw.h + particlemgr.h + particles_attractor.h + particles_ez.h + particles_localspace.h + particles_new.h + particles_simple.h + particlesphererenderer.h + perfvisualbenchmark.h + physics.h + physpropclientside.h + playerandobjectenumerator.h + playerenumerator.h + prediction.h + prediction_private.h + proxyentity.h + ragdoll.h + ragdollexplosionenumerator.h + recvproxy.h + rendertexture.h + replaycamera.h + ScreenSpaceEffects.h + simple_keys.h + smoke_fog_overlay.h + splinepatch.h + ../../public/steam/steam_api.h + TeamBitmapImage.h + tempent.h + text_message.h + timedevent.h + toggletextureproxy.h + vgui_basepanel.h + vgui_bindpanel.h + vgui_bitmapbutton.h + vgui_bitmapimage.h + vgui_bitmappanel.h + vgui_entityimagepanel.h + vgui_entitypanel.h + vgui_grid.h + vgui_helpers.h + vgui_hudvideo.h + vgui_imagehealthpanel.h + vgui_int.h + vgui_video.h + vguicenterprint.h + view.h + view_scene.h + viewangleanim.h + ViewConeImage.h + viewrender.h + weapon_selection.h + weapons_resource.h + ../../public/vgui_controls/AnimationController.h + ../../public/basehandle.h + ../../public/tier0/basetypes.h + ../../public/tier1/bitbuf.h + ../../public/bitvec.h + ../../public/bone_accessor.h + ../../public/bone_setup.h + ../../public/bspfile.h + ../../public/bspflags.h + ../../public/bsptreedata.h + ../../public/mathlib/bumpvects.h + ../../public/vgui_controls/Button.h + ../../public/cdll_int.h + ../../public/tier1/characterset.h + ../../public/tier1/checksum_md5.h + ../../public/vgui_controls/CircularProgressBar.h + ../../public/client_class.h + ../../public/client_render_handle.h + ../../public/client_textmessage.h + ../../public/clientstats.h + ../../public/closedcaptions.h + ../../public/cmodel.h + ../../public/vphysics/collision_set.h + ../../public/collisionutils.h + ../../public/Color.h + ../../public/vgui_controls/ComboBox.h + ../../public/tier0/commonmacros.h + ../../public/mathlib/compressed_light_cube.h + ../../public/mathlib/compressed_vector.h + ../../public/con_nprint.h + ../../public/const.h + ../../public/vphysics/constraints.h + ../../public/vgui_controls/Controls.h + ../../public/tier1/convar.h + ../../public/coordsize.h + ../../public/crtmemdebug.h + ../../public/vgui/Cursor.h + ../../public/vgui/Dar.h + ../../public/datamap.h + ../../public/tier0/dbg.h + ../../public/dlight.h + ../../public/dt_common.h + ../../public/dt_recv.h + ../../public/dt_send.h + ../../public/dt_utlvector_common.h + ../../public/dt_utlvector_recv.h + ../../public/edict.h + ../../public/vgui_controls/EditablePanel.h + ../../public/tier0/fasttimer.h + ../../public/filesystem.h + ../../public/filesystem_helpers.h + ../../public/tier1/fmtstr.h + ../../public/vgui_controls/FocusNavGroup.h + ../../public/vphysics/friction.h + ../../public/gamebspfile.h + ../../public/gametrace.h + ../../public/globalvars_base.h + ../../public/vgui_controls/HTML.h + ../../public/iachievementmgr.h + ../../public/appframework/IAppSystem.h + ../../public/iclientalphaproperty.h + ../../public/icliententity.h + ../../public/icliententitylist.h + ../../public/engine/IClientLeafSystem.h + ../../public/iclientnetworkable.h + ../../public/vgui/IClientPanel.h + ../../public/iclientrenderable.h + ../../public/game/client/iclientrendertargets.h + ../../public/iclientthinkable.h + ../../public/iclientunknown.h + ../../public/engine/ICollideable.h + ../../public/tier0/icommandline.h + ../../public/icvar.h + ../../public/iefx.h + ../../public/engine/IEngineSound.h + ../../public/engine/IEngineTrace.h + ../../public/ienginevgui.h + ../../public/igameevents.h + ../../public/igameresources.h + ../../public/IGameUIFuncs.h + ../../public/ihandleentity.h + ../../public/vgui/IHTML.h + ../../public/vgui/IImage.h + ../../public/vgui/IInput.h + ../../public/vgui/IInputInternal.h + ../../public/vstdlib/IKeyValuesSystem.h + ../../public/vgui/ILocalize.h + ../../public/vgui_controls/Image.h + ../../public/vgui_controls/ImageList.h + ../../public/vgui_controls/ImagePanel.h + ../../public/imapoverview.h + ../../public/materialsystem/imaterial.h + ../../public/materialsystem/imaterialproxy.h + ../../public/materialsystem/imaterialsystem.h + ../../public/materialsystem/imaterialsystemhardwareconfig.h + ../../public/materialsystem/imaterialsystemstub.h + ../../public/materialsystem/imaterialvar.h + ../../public/VGuiMatSurface/IMatSystemSurface.h + ../../public/materialsystem/imesh.h + ../../public/inetchannelinfo.h + ../../public/tier1/interface.h + ../../public/interpolatortypes.h + ../../public/tier2/interval.h + ../../public/vgui/IPanel.h + ../../public/iprediction.h + ../../public/irecipientfilter.h + ../../public/isaverestore.h + ../../public/vgui/IScheme.h + ../../public/iscratchpad3d.h + ../../public/iserverentity.h + ../../public/iservernetworkable.h + ../../public/iserverunknown.h + ../../public/engine/ishadowmgr.h + ../../public/SoundEmitterSystem/isoundemittersystembase.h + ../../public/ispatialpartition.h + ../../public/engine/IStaticPropMgr.h + ../../public/istudiorender.h + ../../public/vgui/ISurface.h + ../../public/vgui/ISystem.h + ../../public/materialsystem/itexture.h + ../../public/engine/ivdebugoverlay.h + ../../public/vgui/IVGui.h + ../../public/game/client/iviewport.h + ../../public/engine/ivmodelinfo.h + ../../public/engine/ivmodelrender.h + ../../public/ivrenderview.h + ../../public/jigglebones.h + ../../public/vgui/KeyCode.h + ../../public/tier1/KeyValues.h + ../../public/tier0/l2cache.h + ../../public/vgui_controls/Label.h + ../../public/tier1/lerp_functions.h + ../../public/vgui_controls/ListPanel.h + ../../public/mathlib/mathlib.h + ../../public/tier0/mem.h + ../../public/tier0/memalloc.h + ../../public/tier0/memdbgoff.h + ../../public/tier0/memdbgon.h + ../../public/tier1/mempool.h + ../../public/vgui_controls/Menu.h + ../../public/vgui_controls/MenuItem.h + ../../public/vgui_controls/MessageMap.h + ../../public/model_types.h + ../../public/vgui/MouseCode.h + ../../public/mouthinfo.h + ../../public/networkstringtabledefs.h + ../../public/networkvar.h + ../../public/vphysics/object_hash.h + ../../public/overlaytext.h + ../../public/vgui_controls/Panel.h + ../../public/vgui_controls/PanelAnimationVar.h + ../../public/vgui_controls/PanelListPanel.h + ../../public/vgui_controls/PHandle.h + ../../public/pixelwriter.h + ../../public/tier0/platform.h + ../../public/PlayerState.h + ../../public/mathlib/polyhedron.h + ../../public/tier1/processor_detect.h + ../../public/tier0/protected_things.h + ../../public/r_efx.h + ../../public/vstdlib/random.h + ../../public/tier1/rangecheckedvar.h + ../../public/vgui_controls/RichText.h + ../../public/rope_physics.h + ../../public/rope_shared.h + ../../public/saverestoretypes.h + ../../public/scratchpad3d.h + ../../public/ScratchPadUtils.h + ../../public/vgui_controls/ScrollBar.h + ../../public/vgui_controls/SectionedListPanel.h + ../../public/sentence.h + ../../public/server_class.h + ../../public/shake.h + ../../public/shattersurfacetypes.h + ../../public/simple_physics.h + ../../public/tier1/smartptr.h + ../../public/soundchars.h + ../../public/soundflags.h + ../../public/soundinfo.h + ../../public/string_t.h + ../../public/tier1/stringpool.h + ../../public/stringregistry.h + ../../public/tier1/strtools.h + ../../public/studio.h + ../../public/surfinfo.h + ../../public/vgui_controls/TextEntry.h + ../../public/vgui_controls/TextImage.h + ../../public/texture_group_names.h + ../../public/vgui_controls/TreeView.h + ../../public/tier1/utlbidirectionalset.h + ../../public/tier1/utlbuffer.h + ../../public/tier1/utldict.h + ../../public/tier1/utlfixedmemory.h + ../../public/tier1/utlhash.h + ../../public/tier1/utllinkedlist.h + ../../public/tier1/utlmap.h + ../../public/tier1/utlmemory.h + ../../public/tier1/utlmultilist.h + ../../public/tier1/utlpriorityqueue.h + ../../public/tier1/utlqueue.h + ../../public/tier1/utlrbtree.h + ../../public/tier1/utlstack.h + ../../public/tier1/utlsymbol.h + ../../public/tier1/utlvector.h + ../../public/vallocator.h + ../../public/vcollide.h + ../../public/vcollide_parse.h + ../../public/mathlib/vector.h + ../../public/mathlib/vector2d.h + ../../public/mathlib/vector4d.h + ../../public/vgui/VGUI.h + ../../public/view_shared.h + ../../public/mathlib/vmatrix.h + ../../public/vphysics_interface.h + ../../public/mathlib/vplane.h + ../../public/tier0/vprof.h + ../../public/vstdlib/vstdlib.h + ../../public/vtf/vtf.h + ../../public/vgui_controls/WizardPanel.h + ../../public/vgui_controls/WizardSubPanel.h + ../../public/worldsize.h + ../../public/zip_uncompressed.h + ../shared/activitylist.h + ../shared/ai_activity.h + ../shared/ai_debug_shared.h + ../shared/ammodef.h + ../shared/animation.h + ../shared/apparent_velocity_helper.h + ../shared/base_playeranimstate.h + #../shared/cstrike/basecsgrenade_projectile.h + ../shared/baseentity_shared.h + ../shared/basegrenade_shared.h + ../shared/hl2/basehlcombatweapon_shared.h + ../shared/baseparticleentity.h + ../shared/baseplayer_shared.h + ../shared/baseviewmodel_shared.h + ../shared/beam_flags.h + ../shared/beam_shared.h + ../shared/cellcoord.h + ../shared/choreoactor.h + ../shared/choreochannel.h + ../shared/choreoevent.h + ../shared/choreoscene.h + ../shared/collisionproperty.h + ../shared/death_pose.h + ../shared/decals.h + ../shared/effect_color_tables.h + ../shared/effect_dispatch_data.h + ../shared/ehandle.h + ../shared/entitydatainstantiator.h + ../shared/entitylist_base.h + ../shared/entityparticletrail_shared.h + ../shared/env_detail_controller.h + ../shared/env_wind_shared.h + ../shared/eventlist.h + ../shared/func_dust_shared.h + ../shared/func_ladder.h + #../shared/cstrike/fx_cs_shared.h + ../shared/gameeventdefs.h + ../shared/gamemovement.h + ../shared/gamerules.h + ../shared/gamerules_register.h + ../shared/GameStats.h + ../shared/gamestringpool.h + ../shared/gamevars_shared.h + ../shared/groundlink.h + ../shared/hl2/hl2_player_shared.h + ../shared/hl2/hl_movedata.h + ../shared/ichoreoeventcallback.h + ../shared/IEffects.h + ../shared/igamemovement.h + ../shared/igamesystem.h + ../shared/imovehelper.h + ../shared/in_buttons.h + ../shared/iplayeranimstate.h + ../shared/ipredictionsystem.h + ../shared/itempents.h + ../shared/IVehicle.h + ../shared/mapdata_shared.h + ../shared/mapentities_shared.h + ../shared/movevars_shared.h + ../shared/mp_shareddefs.h + ../shared/multiplay_gamerules.h + ../shared/npcevent.h + ../shared/obstacle_pushaway.h + ../shared/physics_saverestore.h + ../shared/physics_shared.h + ../shared/playernet_vars.h + ../shared/point_posecontroller.h + ../shared/positionwatcher.h + ../shared/precache_register.h + ../shared/precipitation_shared.h + ../shared/predictable_entity.h + ../shared/predictableid.h + ../shared/predictioncopy.h + ../shared/ragdoll_shared.h + ../../public/responserules/response_types.h + ../shared/rope_helpers.h + ../shared/saverestore.h + ../shared/saverestore_bitstring.h + ../shared/saverestore_utlclass.h + ../shared/saverestore_utlsymbol.h + ../shared/saverestore_utlvector.h + ../shared/sceneentity_shared.h + ../shared/scriptevent.h + ../shared/sequence_Transitioner.h + ../shared/shared_classnames.h + ../shared/shareddefs.h + ../shared/sharedInterface.h + ../shared/sheetsimulator.h + ../shared/shot_manipulator.h + ../shared/simtimer.h + ../shared/singleplay_gamerules.h + ../shared/solidsetdefaults.h + ../shared/soundenvelope.h + ../shared/Sprite.h + ../shared/SpriteTrail.h + ../shared/steamworks_gamestats.h + ../shared/sun_shared.h + ../shared/takedamageinfo.h + ../shared/teamplay_gamerules.h + ../shared/teamplayroundbased_gamerules.h + ../shared/tempentity.h + ../shared/touchlink.h + ../shared/usercmd.h + ../shared/usermessages.h + ../shared/util_shared.h + ../shared/vehicle_choreo_generic_shared.h + ../shared/vehicle_viewblend_shared.h + ../shared/vgui_defaultinputsignal.h + ../shared/viewport_panel_names.h + ../shared/voice_banmgr.h + ../shared/voice_common.h + ../shared/voice_gamemgr.h + ../shared/voice_status.h + ../shared/vphysics_sound.h + #../shared/cstrike/weapon_flashbang.h + #../shared/cstrike/weapon_hegrenade.h + #../shared/weapon_ifmsteadycam.h + ../shared/weapon_parse.h + ../shared/weapon_proficiency.h + game_controls/baseviewport.h + game_controls/clientscoreboarddialog.h + game_controls/commandmenu.h + game_controls/IconPanel.h + game_controls/imagemouseoverbutton.h + game_controls/intromenu.h + game_controls/mapoverview.h + game_controls/mouseoverhtmlbutton.h + game_controls/mouseoverpanelbutton.h + game_controls/NavProgress.h + game_controls/spectatorgui.h + game_controls/teammenu.h + game_controls/vguitextwindow.h +) + +# header directories +include_directories( + ./hl2 + ./sdk + ./sdk/vgui + ../statemachine + ../../game/shared/multiplayer + ../../game/shared/sdk + ../../common + ../../public + ../../public/tier0 + ../../public/tier1 + ../../game/shared + ./game_controls + ../../game/client/sdk/gameui +) + +# link directories +link_directories( + ../../lib/common + ../../lib/public +) + +# link libraries +link_libraries( + winmm.lib + ../../lib/public/bitmap.lib + ../../lib/public/bonesetup.lib + ../../lib/public/choreoobjects.lib + ../../lib/public/dmxloader.lib + ../../lib/public/interfaces.lib + ../../lib/common/jpeglib.lib + ../../lib/public/mathlib.lib + ../../lib/public/matsys_controls.lib + ../../lib/public/npsclient.lib + ../../lib/public/particles.lib + ../../lib/public/raytrace.lib + ../../lib/public/responserules_runtime.lib + ../../lib/public/steam_api.lib + ../../lib/public/tier0.lib + ../../lib/public/tier1.lib + ../../lib/public/tier2.lib + ../../lib/public/tier3.lib + ../../lib/public/vgui_controls.lib + ../../lib/public/videocfg.lib + ../../lib/public/vpklib.lib + ../../lib/public/vstdlib.lib + ../../lib/public/vtf.lib +) + +add_library(swarm_skeleton_client SHARED ${SOURCE_FILES} ${HEADER_FILES}) + +# Target compiler and platform (assuming Visual Studio) +target_compile_features(swarm_skeleton_client PRIVATE) + +# Add preprocessor definitions +set(PREPROCESSOR_DEFINITIONS WIN32;_WIN32;NDEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;DLLNAME=client;VPCGAME=swarm;VPCGAMECAPS=SWARM;_DLL_EXT=.dll;COMPILER_MSVC32;COMPILER_MSVC;MEMOVERRIDE_MODULE=client;NO_STRING_T;CLIENT_DLL;VECTOR;VERSION_SAFE_STEAM_API_INTERFACES;PROTECTED_THINGS_ENABLE;strncpy=use_Q_strncpy_instead;_snprintf=use_Q_snprintf_instead;ENABLE_HTMLWINDOW;fopen=dont_use_fopen;SDK_CLIENT_DLL;SDK_DLL;SPLIT_SCREEN_STUBS;GAMEUI_EMBEDDED;GAMEUI_EXPORTS;DEFERRED_DEV) +add_compile_definitions(${PREPROCESSOR_DEFINITIONS}) + +# Optional: Set output directory for the library +set_target_properties(swarm_skeleton_client PROPERTIES OUTPUT_DIRECTORY client.dll) diff --git a/game/server/CMakeLists.txt b/game/server/CMakeLists.txt new file mode 100644 index 0000000..da428ef --- /dev/null +++ b/game/server/CMakeLists.txt @@ -0,0 +1,1120 @@ +project(swarm_skeleton_server) + +# source files +set(SOURCE_FILES + ../shared/achievement_saverestore.cpp + ../shared/achievementmgr.cpp + ../shared/activitylist.cpp + ../shared/deferred/CDefLight.cpp + ../shared/deferred/CDefLightContainer.cpp + ../shared/deferred/CDefLightGlobal.cpp + ../shared/deferred/deferred_shared_common.cpp + ../shared/predicted_viewmodel.cpp + ../shared/sdk/sdk_fx_shared.cpp + ../shared/sdk/sdk_gamemovement.cpp + ../shared/sdk/sdk_gamerules.cpp + ../shared/sdk/sdk_playeranimstate.cpp + ../shared/sdk/sdk_player_shared.cpp + ../shared/sdk/sdk_shareddefs.cpp + ../shared/sdk/sdk_usermessages.cpp + ../shared/sdk/sdk_weapon_parse.cpp + ../shared/sdk/weapon_mp5.cpp + ../shared/sdk/weapon_pistol.cpp + ../shared/sdk/weapon_sdkbase.cpp + ai_activity.cpp + ai_addon.cpp + ai_agent.cpp + ai_baseactor.cpp + ai_basehumanoid.cpp + ai_basenpc.cpp + ai_basenpc_flyer.cpp + ai_basenpc_flyer_new.cpp + ai_basenpc_movement.cpp + ai_basenpc_physicsflyer.cpp + ai_basenpc_schedule.cpp + ai_basenpc_squad.cpp + ai_behavior.cpp + ai_behavior_assault.cpp + ai_behavior_fear.cpp + ai_behavior_fightfromcover.cpp + ai_behavior_follow.cpp + ai_behavior_lead.cpp + ai_behavior_rappel.cpp + ai_behavior_standoff.cpp + ai_blended_movement.cpp + ai_concommands.cpp + ai_condition.cpp + ../shared/ai_criteria.cpp + ai_default.cpp + ai_dynamiclink.cpp + ai_event.cpp + ai_expresserfollowup.cpp + ai_goalentity.cpp + ai_hint.cpp + ai_hull.cpp + ai_initutils.cpp + AI_Interest_Target.cpp + ai_link.cpp + ai_localnavigator.cpp + ai_looktarget.cpp + ai_memory.cpp + ai_motor.cpp + ai_moveprobe.cpp + ai_moveshoot.cpp + ai_movesolver.cpp + ai_namespaces.cpp + ai_navigator.cpp + ai_network.cpp + ai_networkmanager.cpp + ai_node.cpp + ai_pathfinder.cpp + ai_planesolver.cpp + ai_playerally.cpp + ai_relationship.cpp + ../shared/ai_responsesystem.cpp + ai_route.cpp + ai_saverestore.cpp + ai_schedule.cpp + ai_scriptconditions.cpp + ai_senses.cpp + ai_sentence.cpp + ai_speech.cpp + ../shared/ai_speechconcept.cpp + ai_speechfilter.cpp + ai_speechqueue.cpp + ai_squad.cpp + ai_squadslot.cpp + ai_tacticalservices.cpp + ai_task.cpp + ai_trackpather.cpp + ai_utils.cpp + ai_waypoint.cpp + ambientgeneric.cpp + ../shared/ammodef.cpp + ../shared/animation.cpp + ../shared/base_playeranimstate.cpp + base_transmit_proxy.cpp + ../shared/baseachievement.cpp + baseanimating.cpp + BaseAnimatingOverlay.cpp + basecombatcharacter.cpp + ../shared/basecombatcharacter_shared.cpp + basecombatweapon.cpp + ../shared/basecombatweapon_shared.cpp + baseentity.cpp + ../shared/baseentity_shared.cpp + baseflex.cpp + ../shared/basegrenade_shared.cpp + basemultiplayerplayer.cpp + ../shared/baseparticleentity.cpp + ../shared/baseplayer_shared.cpp + baseviewmodel.cpp + ../shared/baseviewmodel_shared.cpp + ../shared/beam_shared.cpp + beamspotlight.cpp + bitstring.cpp + bmodels.cpp + ../../public/tools/bonelist.cpp + buttons.cpp + cbase.cpp + cbaseprojectile.cpp + client.cpp + ../../public/closedcaptions.cpp + coerciblevariant_t.cpp + ../shared/collisionproperty.cpp + ../../public/collisionutils.cpp + colorcorrection.cpp + colorcorrectionvolume.cpp + CommentarySystem.cpp + controlentities.cpp + cplane.cpp + CRagdollMagnet.cpp + cvisibilitymonitor.cpp + damagemodifier.cpp + ../shared/death_pose.cpp + ../../common/debug_dll_check.cpp + ../shared/debugoverlay_shared.cpp + ../shared/decals.cpp + deferred/cdeferred_manager_server.cpp + doors.cpp + ../../public/dt_send.cpp + ../../public/dt_utlvector_common.cpp + ../../public/dt_utlvector_send.cpp + dynamiclight.cpp + ../../public/editor_sendcommand.cpp + ../shared/effect_dispatch_data.cpp + effects.cpp + EffectsServer.cpp + ../shared/ehandle.cpp + entityblocker.cpp + EntityDissolve.cpp + EntityFlame.cpp + EntityFreezing.cpp + entitylist.cpp + ../shared/entitylist_base.cpp + EntityParticleTrail.cpp + ../shared/EntityParticleTrail_Shared.cpp + env_ambient_light.cpp + env_debughistory.cpp + ../shared/env_detail_controller.cpp + env_dof_controller.cpp + env_effectsscript.cpp + env_entity_maker.cpp + env_global_light.cpp + env_instructor_hint.cpp + env_particlescript.cpp + env_player_surface_trigger.cpp + env_projectedtexture.cpp + env_screenoverlay.cpp + env_texturetoggle.cpp + env_tonemap_controller.cpp + ../shared/env_wind_shared.cpp + env_zoom.cpp + EnvBeam.cpp + EnvFade.cpp + EnvHudHint.cpp + EnvLaser.cpp + EnvMessage.cpp + envmicrophone.cpp + EnvShake.cpp + EnvSpark.cpp + ../shared/eventlist.cpp + EventLog.cpp + explode.cpp + ../../public/filesystem_helpers.cpp + filters.cpp + fire_smoke.cpp + fish.cpp + flex_expresser.cpp + fogcontroller.cpp + fogvolume.cpp + foundryhelpers_server.cpp + fourwheelvehiclephysics.cpp + func_areaportal.cpp + func_areaportalbase.cpp + func_areaportalwindow.cpp + func_break.cpp + func_breakablesurf.cpp + func_dust.cpp + func_instance_io_proxy.cpp + ../shared/func_ladder.cpp + func_ladder_endpoint.cpp + func_lod.cpp + hl2/Func_Monitor.cpp + func_movelinear.cpp + func_occluder.cpp + func_reflective_glass.cpp + func_smokevolume.cpp + game.cpp + ../shared/game_timescale_shared.cpp + game_ui.cpp + gamehandle.cpp + gameinterface.cpp + ../shared/gamemovement.cpp + ../shared/gamerules.cpp + ../shared/gamerules_register.cpp + ../shared/GameStats.cpp + GameStats_BasicStatsFunctions.cpp + ../shared/gamestringpool.cpp + gametrace_dll.cpp + ../shared/gamevars_shared.cpp + gameweaponmanager.cpp + genericactor.cpp + genericmonster.cpp + gib.cpp + global_event_log.cpp + globals.cpp + globalstate.cpp + grenadethrown.cpp + guntarget.cpp + h_ai.cpp + h_export.cpp + hierarchy.cpp + ../shared/hintmessage.cpp + ../shared/hintsystem.cpp + hltvdirector.cpp + ../shared/igamesystem.cpp + info_camera_link.cpp + info_overlay_accessor.cpp + inforemarkable.cpp + init_factory.cpp + intermission.cpp + ../../public/interpolatortypes.cpp + item_world.cpp + ../../public/keyframe/keyframe.cpp + lightglow.cpp + lights.cpp + logic_measure_movement.cpp + logic_navigation.cpp + logic_playerproxy.cpp + logic_playmovie.cpp + logic_random_outputs.cpp + logicauto.cpp + logicentities.cpp + logicrelay.cpp + ../../public/map_utils.cpp + mapentities.cpp + ../shared/mapentities_shared.cpp + maprules.cpp + MaterialModifyControl.cpp + ../../public/tier0/memoverride.cpp + message_entity.cpp + modelentities.cpp + ../shared/ModelSoundsCache.cpp + monstermaker.cpp + movehelper_server.cpp + movement.cpp + ../shared/movevars_shared.cpp + movie_display.cpp + ../shared/mp_shareddefs.cpp + ../shared/multiplay_gamerules.cpp + ndebugoverlay.cpp + ../../public/networkvar.cpp + npc_vehicledriver.cpp + ../shared/obstacle_pushaway.cpp + particle_light.cpp + ../shared/particle_parse.cpp + particle_system.cpp + ../shared/particlesystemquery.cpp + pathcorner.cpp + pathtrack.cpp + phys_controller.cpp + physconstraint.cpp + physics.cpp + physics_bone_follower.cpp + physics_cannister.cpp + physics_fx.cpp + physics_impact_damage.cpp + physics_main.cpp + ../shared/physics_main_shared.cpp + physics_npc_solver.cpp + physics_prop_ragdoll.cpp + physics_prop_statue.cpp + ../shared/physics_saverestore.cpp + ../shared/physics_shared.cpp + physobj.cpp + player.cpp + player_command.cpp + player_lagcompensation.cpp + player_pickup.cpp + player_resource.cpp + player_voice_listener.cpp + playerinfomanager.cpp + playerlocaldata.cpp + plugin_check.cpp + ../shared/point_bonusmaps_accessor.cpp + point_camera.cpp + point_devshot_camera.cpp + point_entity_finder.cpp + point_event_proxy.cpp + point_playermoveconstraint.cpp + ../shared/point_posecontroller.cpp + point_spotlight.cpp + point_template.cpp + pointanglesensor.cpp + PointAngularVelocitySensor.cpp + pointhurt.cpp + pointteleport.cpp + postprocesscontroller.cpp + ../shared/precache_register.cpp + ../shared/predictableid.cpp + prop_hallucination.cpp + props.cpp + ../shared/props_shared.cpp + ../shared/querycache.cpp + ragdoll_manager.cpp + ../shared/ragdoll_shared.cpp + RagdollBoogie.cpp + ../../common/randoverride.cpp + recipientfilter.cpp + ../../public/registry.cpp + replaydirector.cpp + rope.cpp + ../shared/rope_helpers.cpp + ../../public/rope_physics.cpp + ../shared/saverestore.cpp + ../shared/SceneCache.cpp + sceneentity.cpp + ../shared/sceneentity_shared.cpp + ../../public/scratchpad3d.cpp + scratchpad_gamedll_helpers.cpp + ../../public/ScratchPadUtils.cpp + scripted.cpp + scriptedtarget.cpp + sdk/npc_infected.cpp + sdk/sdk_bot_temp.cpp + sdk/sdk_client.cpp + sdk/sdk_fire.cpp + sdk/sdk_gameinterface.cpp + sdk/sdk_player.cpp + sdk/sdk_playermove.cpp + sendproxy.cpp + ../shared/sequence_Transitioner.cpp + ../../public/server_class.cpp + serverbenchmark_base.cpp + ServerNetworkProperty.cpp + shadowcontrol.cpp + ../shared/sheetsimulator.cpp + ../../public/simple_physics.cpp + ../shared/simtimer.cpp + ../shared/singleplay_gamerules.cpp + skyboxswapper.cpp + SkyCamera.cpp + slideshow_display.cpp + sound.cpp + ../shared/SoundEmitterSystem.cpp + soundent.cpp + ../shared/soundenvelope.cpp + ../../public/SoundParametersInternal.cpp + soundscape.cpp + soundscape_system.cpp + spatialentity.cpp + spotlightend.cpp + ../shared/Sprite.cpp + sprite_perfmonitor.cpp + ../shared/steamworks_gamestats.cpp + ../../public/stringregistry.cpp + ../../public/studio.cpp + ../shared/studio_shared.cpp + subs.cpp + sun.cpp + sunlightshadowcontrol.cpp + ../shared/takedamageinfo.cpp + tanktrain.cpp + team.cpp + ../shared/teamplay_gamerules.cpp + TemplateEntities.cpp + tempmonster.cpp + tesla.cpp + ../shared/test_ehandle.cpp + test_proxytoggle.cpp + test_stressentities.cpp + testfunctions.cpp + testtraceline.cpp + textstatsmgr.cpp + timedeventmgr.cpp + trains.cpp + triggers.cpp + ../shared/usercmd.cpp + util.cpp + ../shared/util_shared.cpp + variant_t.cpp + vehicle_base.cpp + vehicle_baseserver.cpp + ../shared/vehicle_viewblend_shared.cpp + ../../public/vgui_controls/vgui_controls.cpp + vgui_gamedll_int.cpp + vguiscreen.cpp + ../shared/voice_gamemgr.cpp + vscript_server.cpp + ../shared/vscript_shared.cpp + waterbullet.cpp + WaterLODControl.cpp + wcedit.cpp + ../shared/weapon_parse.cpp + ../shared/weapon_proficiency.cpp + weight_button.cpp + world.cpp + stdafx.cpp + basetempentity.cpp + event_tempentity_tester.cpp + movie_explosion.cpp + particle_fire.cpp + particle_smokegrenade.cpp + plasma.cpp + smoke_trail.cpp + smokestack.cpp + ../shared/SpriteTrail.cpp + steamjet.cpp + te.cpp + te_armorricochet.cpp + te_basebeam.cpp + te_beamentpoint.cpp + te_beaments.cpp + te_beamfollow.cpp + te_beamlaser.cpp + te_beampoints.cpp + te_beamring.cpp + te_beamringpoint.cpp + te_beamspline.cpp + te_bloodsprite.cpp + te_bloodstream.cpp + te_breakmodel.cpp + te_bspdecal.cpp + te_bubbles.cpp + te_bubbletrail.cpp + te_clientprojectile.cpp + te_decal.cpp + te_dynamiclight.cpp + te_effect_dispatch.cpp + te_energysplash.cpp + te_explosion.cpp + te_fizz.cpp + te_footprintdecal.cpp + hl2/te_gaussexplosion.cpp + te_glassshatter.cpp + te_glowsprite.cpp + te_impact.cpp + te_killplayerattachments.cpp + te_largefunnel.cpp + te_muzzleflash.cpp + te_particlesystem.cpp + te_physicsprop.cpp + te_playerdecal.cpp + te_projecteddecal.cpp + te_showline.cpp + te_smoke.cpp + te_sparks.cpp + te_sprite.cpp + te_spritespray.cpp + te_worlddecal.cpp + ../shared/usermessages.cpp + nav_area.cpp + nav_colors.cpp + nav_edit.cpp + nav_entities.cpp + nav_file.cpp + nav_generate.cpp + nav_ladder.cpp + nav_merge.cpp + nav_mesh.cpp + nav_mesh_factory.cpp + nav_node.cpp + nav_simplify.cpp + hl2/ai_behavior_actbusy.cpp + hl2/ai_spotlight.cpp + hl2/antlion_dust.cpp + hl2/ar2_explosion.cpp + hl2/cbasehelicopter.cpp + hl2/cbasespriteprojectile.cpp + hl2/env_speaker.cpp + hl2/hl2_eventlog.cpp + hl2/look_door.cpp + hl2/monster_dummy.cpp + hl2/npc_attackchopper.cpp + hl2/npc_bullseye.cpp + hl2/npc_combinegunship.cpp + hl2/npc_enemyfinder.cpp + hl2/rotorwash.cpp + entity_tools_server.cpp + toolframework_server.cpp +) + +# header files +set(HEADER_FILES + ../shared/achievement_saverestore.h + ../shared/achievementmgr.h + ../shared/activitylist.h + ../shared/ai_activity.h + ../shared/deferred/CDefLight.h + ../shared/deferred/CDefLightContainer.h + ../shared/deferred/CDefLightGlobal.h + ../shared/deferred/deferred_shared_common.h + ../shared/predicted_viewmodel.h + ../shared/sdk/sdk_fx_shared.h + ../shared/sdk/sdk_gamerules.h + ../shared/sdk/sdk_movedata.h + ../shared/sdk/sdk_playeranimstate.h + ../shared/sdk/sdk_player_shared.h + ../shared/sdk/sdk_shareddefs.h + ../shared/sdk/sdk_weapon_parse.h + ../shared/sdk/weapon_sdkbase.h + ai_addon.h + ai_agent.h + ai_baseactor.h + ai_basehumanoid.h + ai_basenpc.h + ai_basenpc_flyer.h + ai_basenpc_flyer_new.h + ai_basenpc_physicsflyer.h + ai_behavior.h + ai_behavior_assault.h + ai_behavior_fear.h + ai_behavior_fightfromcover.h + ai_behavior_follow.h + ai_behavior_lead.h + ai_behavior_rappel.h + ai_behavior_standoff.h + ai_behavior_template.h + ai_behavior_template_generate.h + ai_blended_movement.h + ai_component.h + ai_condition.h + ../shared/ai_criteria.h + ai_debug.h + ../shared/ai_debug_shared.h + ai_default.h + ai_dynamiclink.h + ai_goalentity.h + ai_hint.h + ai_hull.h + ai_initutils.h + AI_Interest_Target.h + ai_link.h + ai_localnavigator.h + ai_looktarget.h + ai_memory.h + ai_motor.h + ai_moveprobe.h + ai_moveshoot.h + ai_movesolver.h + ai_movetypes.h + ai_namespaces.h + ai_navgoaltype.h + ai_navigator.h + ai_navtype.h + ai_network.h + ai_networkmanager.h + ai_node.h + ai_npcstate.h + ai_obstacle_type.h + ai_pathfinder.h + ai_planesolver.h + ai_playerally.h + ../shared/ai_responsesystem.h + ai_route.h + ai_routedist.h + ai_saverestore.h + ai_schedule.h + ai_scriptconditions.h + ai_senses.h + ai_sentence.h + ai_speech.h + ../shared/ai_speechconcept.h + ai_speechfilter.h + ai_speechqueue.h + ai_squad.h + ai_squadslot.h + ai_tacticalservices.h + ai_task.h + ai_trackpather.h + ai_utils.h + ai_waypoint.h + ambientgeneric.h + ../shared/animation.h + ../shared/apparent_velocity_helper.h + ../shared/baseachievement.h + baseanimating.h + BaseAnimatingOverlay.h + basecombatcharacter.h + basecombatweapon.h + ../shared/basecombatweapon_shared.h + baseentity.h + ../shared/baseentity_shared.h + baseflex.h + ../shared/basegrenade_shared.h + basemultiplayerplayer.h + ../shared/baseparticleentity.h + ../shared/baseplayer_shared.h + BasePropDoor.h + basetoggle.h + baseviewmodel.h + ../shared/baseviewmodel_shared.h + ../shared/beam_shared.h + bitstring.h + ../../public/bone_setup.h + buttons.h + cbase.h + cbaseprojectile.h + ../shared/choreoactor.h + ../shared/choreochannel.h + ../shared/choreoevent.h + ../shared/choreoscene.h + client.h + ../shared/collisionproperty.h + ../../public/collisionutils.h + colorcorrection.h + CRagdollMagnet.h + cvisibilitymonitor.h + ../shared/debugoverlay_shared.h + deferred/cdeferred_manager_server.h + deferred/deferred_server_common.h + doors.h + ../../public/edict.h + ../../public/editor_sendcommand.h + ../shared/effect_color_tables.h + effects.h + ../../public/eiface.h + enginecallback.h + entityapi.h + entityblocker.h + EntityDissolve.h + EntityFlame.h + EntityFreezing.h + entityinput.h + entitylist.h + entityoutput.h + EntityParticleTrail.h + ../shared/entityparticletrail_shared.h + env_ambient_light.h + env_debughistory.h + env_dof_controller.h + env_player_surface_trigger.h + env_projectedtexture.h + env_tonemap_controller.h + ../shared/env_wind_shared.h + env_zoom.h + EnvLaser.h + EnvMessage.h + envmicrophone.h + ../../public/event_flags.h + event_tempentity_tester.h + ../shared/eventlist.h + eventqueue.h + explode.h + filters.h + fire_smoke.h + fish.h + fogvolume.h + foundryhelpers_server.h + fourwheelvehiclephysics.h + func_areaportalbase.h + func_areaportalwindow.h + func_break.h + func_breakablesurf.h + ../shared/func_dust_shared.h + func_movelinear.h + game.h + ../shared/game_timescale_shared.h + gameinterface.h + ../shared/gamemovement.h + ../shared/gamerules.h + ../shared/GameStats.h + ../shared/gamestringpool.h + ../shared/gamevars_shared.h + gameweaponmanager.h + generic_classmap.h + gib.h + global_event_log.h + globalstate.h + globalstate_private.h + grenadethrown.h + hierarchy.h + ../shared/hintmessage.h + ../shared/hintsystem.h + #../../common/hl2orange.spa.h + hltvdirector.h + ../shared/ichoreoeventcallback.h + ../shared/igamesystem.h + info_camera_link.h + inforemarkable.h + init_factory.h + ../../public/interpolatortypes.h + ../../public/tier2/interval.h + ../../public/iregistry.h + ../shared/iscenetokenprocessor.h + iservervehicle.h + items.h + ../../public/ivoiceserver.h + ../../public/keyframe/keyframe.h + lights.h + locksounds.h + logic_random_outputs.h + maprules.h + ../../public/mathlib/mathlib.h + ../../public/model_types.h + monstermaker.h + movehelper_server.h + movie_explosion.h + ../shared/multiplay_gamerules.h + ndebugoverlay.h + networkstringtable_gamedll.h + ../../public/networkstringtabledefs.h + ../shared/obstacle_pushaway.h + particle_fire.h + particle_light.h + ../shared/particle_parse.h + particle_smokegrenade.h + pathtrack.h + ../../public/vphysics/performance.h + phys_controller.h + physics.h + physics_bone_follower.h + physics_collisionevent.h + physics_npc_solver.h + physics_prop_ragdoll.h + physics_prop_statue.h + ../shared/physics_saverestore.h + ../shared/physics_shared.h + physobj.h + player.h + player_command.h + player_lagcompensation.h + player_pickup.h + player_resource.h + playerlocaldata.h + ../shared/point_bonusmaps_accessor.h + point_camera.h + ../shared/point_posecontroller.h + point_template.h + ../../public/mathlib/polyhedron.h + ../shared/positionwatcher.h + ../shared/postprocess_shared.h + postprocesscontroller.h + ../shared/precache_register.h + ../shared/predictableid.h + props.h + pushentity.h + ../shared/ragdoll_shared.h + RagdollBoogie.h + recipientfilter.h + replaydirector.h + rope.h + ../../public/rope_physics.h + ../../public/rope_shared.h + ../shared/saverestore.h + ../shared/saverestore_bitstring.h + ../shared/saverestore_utlsymbol.h + ../shared/saverestore_utlvector.h + sceneentity.h + scripted.h + scriptedtarget.h + ../shared/scriptevent.h + ../../public/server_class.h + sdk/sdk_bot_temp.h + sdk/sdk_fire.h + sdk/sdk_player.h + serverbenchmark_base.h + ServerNetworkProperty.h + ../shared/sharedvar.h + ../../public/shattersurfacetypes.h + ../shared/sheetsimulator.h + ../../public/simple_physics.h + ../shared/simtimer.h + ../shared/singleplay_gamerules.h + ../shared/solidsetdefaults.h + soundent.h + soundscape.h + spark.h + spatialentity.h + spotlightend.h + ../shared/Sprite.h + ../shared/SpriteTrail.h + ../../public/vphysics/stats.h + ../../public/steam/steam_api.h + ../../public/stringregistry.h + team.h + ../shared/teamplay_gamerules.h + ../shared/tempentity.h + TemplateEntities.h + ../shared/touchlink.h + trains.h + triggers.h + util.h + vehicle_sounds.h + vgui_gamedll_int.h + vguiscreen.h + ../../public/mathlib/vmatrix.h + ../shared/voice_common.h + ../shared/voice_gamemgr.h + vscript_server.h + ../shared/vscript_shared.h + waterbullet.h + wcedit.h + ../shared/weapon_parse.h + ../shared/weapon_proficiency.h + world.h + plasma.h + smoke_trail.h + smokestack.h + steamjet.h + te.h + te_basebeam.h + te_particlesystem.h + nav.h + nav_area.h + nav_colors.h + nav_entities.h + nav_ladder.h + nav_mesh.h + nav_node.h + nav_pathfind.h + hl2/ai_behavior_actbusy.h + hl2/ai_interactions.h + hl2/ai_spotlight.h + hl2/antlion_dust.h + hl2/ar2_explosion.h + hl2/cbasehelicopter.h + hl2/cbasespriteprojectile.h + hl2/energy_wave.h + hl2/env_speaker.h + hl2/npc_attackchopper.h + hl2/npc_bullseye.h + hl2/rotorwash.h + #../../public/mathlib/amd3dx.h + ../shared/ammodef.h + ../shared/base_playeranimstate.h + base_transmit_proxy.h + ../../public/basehandle.h + basetempentity.h + ../../public/tier0/basetypes.h + ../shared/beam_flags.h + ../../public/tier1/bitbuf.h + ../../public/bittools.h + ../../public/bitvec.h + ../../public/bone_accessor.h + ../../public/tools/bonelist.h + ../../public/bspfile.h + ../../public/bspflags.h + ../../public/mathlib/bumpvects.h + #../../public/cache_user.h + ../shared/cellcoord.h + ../../public/tier1/characterset.h + ../../public/tier1/checksum_md5.h + ../../public/client_class.h + ../../public/client_textmessage.h + ../../public/closedcaptions.h + ../../public/cmodel.h + coerciblevariant_t.h + ../../public/vphysics/collision_set.h + ../../public/Color.h + ../../public/tier0/commonmacros.h + ../../public/mathlib/compressed_light_cube.h + ../../public/mathlib/compressed_vector.h + ../../public/const.h + ../../public/vphysics/constraints.h + ../../public/coordsize.h + cplane.h + damagemodifier.h + #../../public/tier1/datalru.h + ../../public/datamap.h + ../../public/tier0/dbg.h + ../shared/death_pose.h + ../shared/decals.h + ../../public/dlight.h + ../../public/dt_common.h + ../../public/dt_recv.h + ../../public/dt_send.h + ../../public/dt_utlvector_common.h + ../../public/dt_utlvector_send.h + ../shared/effect_dispatch_data.h + ../shared/ehandle.h + ../shared/entitydatainstantiator.h + ../shared/entitylist_base.h + ../shared/env_detail_controller.h + EventLog.h + ../shared/expressionsample.h + ../../public/tier0/fasttimer.h + ../../public/filesystem.h + ../../public/filesystem_helpers.h + ../../public/tier1/fmtstr.h + fogcontroller.h + ../../public/vphysics/friction.h + ../shared/func_ladder.h + ../shared/gameeventdefs.h + ../shared/GameEventListener.h + ../shared/gamerules_register.h + ../../public/gametrace.h + globals.h + ../../public/globalvars_base.h + ../shared/groundlink.h + ../shared/hl2/hl2_vehicle_radar.h + ../../public/iachievementmgr.h + ../../public/appframework/IAppSystem.h + ../../public/icliententity.h + ../../public/iclientnetworkable.h + ../../public/iclientrenderable.h + ../../public/iclientunknown.h + ../../public/engine/ICollideable.h + ../../public/tier0/icommandline.h + ../../public/icvar.h + ../shared/IEffects.h + ../../public/engine/IEngineSound.h + ../../public/engine/IEngineTrace.h + ../../public/igameevents.h + ../shared/igamemovement.h + ../../public/ihandleentity.h + ../../public/ihltv.h + ../../public/ihltvdirector.h + ../../public/vstdlib/IKeyValuesSystem.h + ilagcompensationmanager.h + ../../public/vgui/ILocalize.h + #../../public/ImageLoader.h + ../../public/materialsystem/imaterial.h + ../../public/materialsystem/imaterialsystem.h + ../../public/materialsystem/imaterialvar.h + ../shared/imovehelper.h + ../shared/in_buttons.h + ../../public/inetchannelinfo.h + ../shared/iplayeranimstate.h + ../shared/ipredictionsystem.h + ../../public/irecipientfilter.h + ../../public/isaverestore.h + ../../public/iscratchpad3d.h + ../../public/iserverentity.h + ../../public/iservernetworkable.h + ../../public/iserverunknown.h + ../../public/SoundEmitterSystem/isoundemittersystembase.h + ../../public/ispatialpartition.h + ../../public/engine/IStaticPropMgr.h + ../shared/itempents.h + ../../public/engine/ivdebugoverlay.h + ../shared/IVehicle.h + #../../public/engine/IVEngineCache.h + ../../public/engine/ivmodelinfo.h + ../../public/tier1/KeyValues.h + ../../public/tier0/l2cache.h + logic_playerproxy.h + logicrelay.h + ../../public/map_utils.h + mapentities.h + ../shared/mapentities_shared.h + ../../public/tier0/mem.h + ../../public/tier0/memalloc.h + ../../public/tier0/memdbgoff.h + ../../public/tier0/memdbgon.h + modelentities.h + ../shared/movevars_shared.h + ../shared/mp_shareddefs.h + ../../public/networkvar.h + npc_vehicledriver.h + ../shared/npcevent.h + ../../public/vphysics/object_hash.h + #../shared/particle_dispatch_shared.h + particle_system.h + physics_cannister.h + physics_fx.h + physics_impact_damage.h + ../../public/tier0/platform.h + ../../public/vphysics/player_controller.h + player_voice_listener.h + playerinfomanager.h + ../shared/playernet_vars.h + ../../public/PlayerState.h + ../shared/precipitation_shared.h + ../shared/predictable_entity.h + ../shared/predictioncopy.h + ../../public/tier1/processor_detect.h + ../shared/props_shared.h + ../../public/tier0/protected_things.h + ../shared/querycache.h + ../../public/vstdlib/random.h + ../../public/responserules/response_types.h + ../shared/rope_helpers.h + ../shared/saverestore_stringtable.h + ../shared/saverestore_utlclass.h + ../shared/saverestore_utlmap.h + ../shared/saverestore_utlrbtree.h + ../../public/saverestoretypes.h + ../../public/scratchpad3d.h + scratchpad_gamedll_helpers.h + ../../public/ScratchPadUtils.h + sendprop_priorities.h + sendproxy.h + ../../public/shake.h + ../shared/shared_classnames.h + ../shared/shareddefs.h + ../shared/sharedInterface.h + ../shared/shot_manipulator.h + SkyCamera.h + ../../public/soundchars.h + ../shared/soundenvelope.h + ../../public/soundflags.h + soundscape_system.h + ../../public/stdstring.h + ../shared/steamworks_gamestats.h + ../../public/string_t.h + ../../public/tier1/stringpool.h + ../../public/tier1/strtools.h + ../../public/studio.h + ../shared/sun_shared.h + ../shared/takedamageinfo.h + te_effect_dispatch.h + tesla.h + test_stressentities.h + textstatsmgr.h + ../../public/texture_group_names.h + timedeventmgr.h + ../shared/usercmd.h + ../shared/usermessages.h + ../shared/util_shared.h + ../../public/UtlCachedFileData.h + ../../public/tier1/utldict.h + #../../public/tier1/utlfixedlinkedlist.h + ../../public/tier1/utlfixedmemory.h + ../../public/tier1/utlhash.h + ../../public/tier1/utllinkedlist.h + ../../public/tier1/utlmap.h + ../../public/tier1/utlmemory.h + ../../public/tier1/utlmultilist.h + ../../public/tier1/utlpriorityqueue.h + ../../public/tier1/utlrbtree.h + ../../public/tier1/UtlSortVector.h + ../../public/tier1/utlvector.h + ../../public/vallocator.h + variant_t.h + ../../public/vcollide.h + ../../public/vcollide_parse.h + #../../public/tier0/vcr_shared.h + #../../public/tier0/vcrmode.h + ../../public/mathlib/vector.h + ../../public/mathlib/vector2d.h + ../../public/mathlib/vector4d.h + vehicle_base.h + vehicle_baseserver.h + ../shared/vehicle_viewblend_shared.h + ../../public/vphysics/vehicles.h + ../../public/vgui/VGUI.h + ../../public/vphysics_interface.h + ../shared/vphysics_sound.h + ../../public/mathlib/vplane.h + ../../public/tier0/vprof.h + ../../public/vstdlib/vstdlib.h + ../../public/winlite.h + ../../public/worldsize.h + ../../public/zip_uncompressed.h + toolframework_server.h +) + +# header directories +include_directories( + ../../common + ../../public + ../../public/tier0 + ../../public/tier1 + ../../game/shared + ../../game/server/NextBot + ../../game/server + ./hl2 + ../../game/shared/hl2 + ./sdk + ../../game/shared/sdk + ../../utils/common +) + +# link directories +link_directories( + ../../lib/common + ../../lib/public +) + +# link libraries +link_libraries( + winmm.lib + ../../lib/public/bonesetup.lib + ../../lib/public/choreoobjects.lib + ../../lib/public/dmxloader.lib + ../../lib/public/interfaces.lib + ../../lib/public/mathlib.lib + ../../lib/public/particles.lib + ../../lib/public/responserules_runtime.lib + ../../lib/public/steam_api.lib + ../../lib/public/tier0.lib + ../../lib/public/tier1.lib + ../../lib/public/tier2.lib + ../../lib/public/tier3.lib + ../../lib/public/vgui_controls.lib + ../../lib/public/vstdlib.lib +) + +add_library(swarm_skeleton_server SHARED ${SOURCE_FILES} ${HEADER_FILES}) + +# Target compiler and platform (assuming Visual Studio) +target_compile_features(swarm_skeleton_server PRIVATE) + +# Add preprocessor definitions +set(PREPROCESSOR_DEFINITIONS WIN32;_WIN32;_DEBUG;DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;DLLNAME=server;VPCGAME=swarm;VPCGAMECAPS=SWARM;_DLL_EXT=.dll;COMPILER_MSVC32;COMPILER_MSVC;MEMOVERRIDE_MODULE=server;GAME_DLL;VECTOR;VERSION_SAFE_STEAM_API_INTERFACES;PROTECTED_THINGS_ENABLE;sprintf=use_Q_snprintf_instead_of_sprintf;strncpy=use_Q_strncpy_instead;_snprintf=use_Q_snprintf_instead;SDK_SERVER_DLL;SDK_DLL) +add_compile_definitions(${PREPROCESSOR_DEFINITIONS}) + +# Optional: Set output directory for the library +set_target_properties(swarm_skeleton_server PROPERTIES OUTPUT_DIRECTORY server.dll) diff --git a/materialsystem/shaderlib/CMakeLists.txt b/materialsystem/shaderlib/CMakeLists.txt new file mode 100644 index 0000000..015a57b --- /dev/null +++ b/materialsystem/shaderlib/CMakeLists.txt @@ -0,0 +1,84 @@ +# Set the project name +project(shaderlib) + +# Location of source files relative to this CMakeLists.txt +set(SOURCE_FILES + BaseShader.cpp + ShaderDLL.cpp + shaderlib_cvar.cpp +) + +# Location of header files relative to this CMakeLists.txt +set(HEADER_FILES + ../../public/shaderlib/BaseShader.h + ../../public/tier0/basetypes.h + ../../public/tier0/commonmacros.h + ../../public/shaderlib/cshader.h + ../../public/tier0/dbg.h + ../../public/tier0/fasttimer.h + ../../public/appframework/IAppSystem.h + ../../public/tier0/icommandline.h + ../../public/icvar.h + ../../public/materialsystem/imaterial.h + ../../public/materialsystem/imaterialsystem.h + ../../public/materialsystem/imaterialsystemhardwareconfig.h + ../../public/materialsystem/imaterialvar.h + ../../public/materialsystem/imesh.h + ../../public/materialsystem/IShader.h + ../../public/materialsystem/ishaderapi.h + ../IShaderSystem.h + ../../public/materialsystem/itexture.h + ../../public/materialsystem/materialsystem_config.h + ../../public/mathlib/mathlib.h + ../../public/tier0/memdbgoff.h + ../../public/tier0/memdbgon.h + ../../public/tier0/platform.h + ../../public/tier0/protected_things.h + ../../public/shaderlib/ShaderDLL.h + shaderDLL_Global.h + shaderlib_cvar.h + ../../public/string_t.h + ../../public/tier1/strtools.h + ../../public/tier1/utlmemory.h + ../../public/tier1/utlvector.h + ../../public/mathlib/vector.h + ../../public/mathlib/vector2d.h + ../../public/mathlib/vector4d.h + ../../public/mathlib/vmatrix.h + ../../public/mathlib/vplane.h + ../../public/vstdlib/vstdlib.h +) + +include_directories( + ../../common + ../../public + ../../public/tier0 + ../../public/tier1 + ../../public/mathlib + ../../public/shaderlib + ../../public/materialsystem + ../../public/appframework + ../../materialsystem +) + +# Add compiler flags based on configuration (Debug/Release) +if(CMAKE_BUILD_TYPE MATCHES "Debug") + # Debug flags (e.g. disable optimizations) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Od") +else() + # Release flags (e.g. enable optimizations) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /O2") +endif() + +# Add source and header files +add_library(shaderlib STATIC ${SOURCE_FILES} ${HEADER_FILES}) + +# Target compiler and platform (assuming Visual Studio) +target_compile_features(shaderlib PRIVATE) + +# Add preprocessor definitions +set(PREPROCESSOR_DEFINITIONS WIN32;_WIN32;_DEBUG;DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;VPCGAME=swarm;VPCGAMECAPS=SWARM;_DLL_EXT=.dll;COMPILER_MSVC32;COMPILER_MSVC;LIBNAME=shaderlib;FAST_MATERIALVAR_ACCESS) +add_compile_definitions(${PREPROCESSOR_DEFINITIONS}) + +# Optional: Set output directory for the library +set_target_properties(shaderlib PROPERTIES OUTPUT_DIRECTORY ../../lib/public) diff --git a/materialsystem/swarmshaders/CMakeLists.txt b/materialsystem/swarmshaders/CMakeLists.txt new file mode 100644 index 0000000..cd4bfcb --- /dev/null +++ b/materialsystem/swarmshaders/CMakeLists.txt @@ -0,0 +1,105 @@ +project(game_shader_generic_deferred) + +# source files +set(SOURCE_FILES + BaseVSShader.cpp + deferred_model.cpp + deferred_brush.cpp + IDeferredExt.cpp + debug_shadow.cpp + lighting_global.cpp + debug_lightingctrl.cpp + lighting_pass_basic.cpp + lighting_pass_volum.cpp + defpass_shadow.cpp + defpass_gbuffer.cpp + defpass_composite.cpp + lighting_volume.cpp + lighting_world.cpp + volume_prepass.cpp + blur.cpp + volume_blend.cpp + deferred_utility.cpp + radiosity_global.cpp + debug_radiosity_grid.cpp + radiosity_propagate.cpp + radiosity_blend.cpp + screenspace_shading.cpp + deferred_decalModulate.cpp + screenspace_combine.cpp + pbr_dx9.cpp +) + +# header files +set(HEADER_FILES + BaseVSShader.h + deferred_context.h + deferred_includes.h + deferred_utility.h + IDeferredExt.h + lighting_helper.h + deferred_global_common.h + cpp_shader_constant_register_map.h + common_fxc.h + common_hlsl_cpp_consts.h + common_pragmas.h + common_ps_fxc.h + common_vertexlitgeneric_dx9.h + common_vs_fxc.h + commandbuilder.h + common_deferred_fxc.h + lighting_pass_basic.h + common_lighting_fxc.h + common_shadowmapping_fxc.h + lighting_pass_volum.h + defpass_shadow.h + defpass_gbuffer.h + defpass_composite.h + pbr_common_ps2_3_x.h +) + +# header directories +include_directories( + ../../common + ../../public + ../../public/tier0 + ../../public/tier1 + ../../dx9sdk/include + fxctmp9 + include + vshtmp9 +) + +# link directories +link_directories( + ../../lib/common + ../../lib/public +) + +# link libraries +link_libraries( + version.lib + winmm.lib + ../../dx9sdk/lib/d3dx9 + ../../public/interfaces + ../../public/mathlib + ../../public/matsys_controls + ../../public/shaderlib + ../../public/tier0 + ../../public/tier1 + ../../public/tier2 + ../../public/tier3 + ../../public/vstdlib +) + +add_library(game_shader_generic_deferred SHARED ${SOURCE_FILES} ${HEADER_FILES}) + +# Target compiler and platform (assuming Visual Studio) +target_compile_features(game_shader_generic_deferred PRIVATE) + +# Add preprocessor definitions +set(PREPROCESSOR_DEFINITIONS WIN32;_WIN32;_DEBUG;DEBUG;_WINDOWS;_USRDLL;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;STDSHADER_DX9_DLL_EXPORT;FAST_MATERIALVAR_ACCESS;COMPILER_MSVC;COMPILER_MSVC32) +add_compile_definitions(${PREPROCESSOR_DEFINITIONS}) + +# Optional: Set output directory for the library +set_target_properties(game_shader_generic_deferred PROPERTIES OUTPUT_DIRECTORY Release_dx9/game_shader_generic_deferred.dll) diff --git a/materialsystem/swarmshaders/buildshaders.bat b/materialsystem/swarmshaders/buildshaders.bat index f50fae1..92f15cc 100644 --- a/materialsystem/swarmshaders/buildshaders.bat +++ b/materialsystem/swarmshaders/buildshaders.bat @@ -3,7 +3,7 @@ set TTEXE=time /t echo. -rem echo ==================== buildshaders %* ================== +echo -----<| buildshaders |>----- %TTEXE% -cur-Q set tt_start=%ERRORLEVEL% set tt_chkpt=%tt_start% @@ -69,9 +69,7 @@ set ChangeToDir=%SDKBINDIR% if /i "%4" NEQ "-source" goto NoSourceDirSpecified -goto SKIPBULLSHITCHANGE set SrcDirBase=%~5 -:SKIPBULLSHITCHANGE REM ** use the -game parameter to tell us where to put the files set targetdir=%~3\shaders @@ -125,16 +123,16 @@ if exist vcslist.txt del /f /q vcslist.txt REM **************** REM Generate a makefile for the shader project REM **************** -perl %SrcDirBase%/devtools/bin/updateshaders.pl" -source . +perl %SrcDirBase%/devtools/bin/updateshaders.pl -source . REM **************** REM Run the makefile, generating minimal work/build list for fxc files, go ahead and compile vsh and psh files. REM **************** -rem cmake -G "NMake Makefiles" /S /C /F makefile.%inputbase% clean > clean.txt 2>&1 +rem cmake -G "NMake Makefiles" /S /C /F ./makefile.%inputbase% echo Building inc files, asm vcs files, and VMPI worklist for %inputbase%... REM https://cmake.org/cmake/help/v3.30/generator/NMake%20Makefiles.html very helpful of you cmake -cmake -G "NMake Makefiles" /S makefile.%inputbase% +cmake -G "NMake Makefiles" /S ./makefile.%inputbase% REM **************** REM Copy the inc files to their target diff --git a/materialsystem/swarmshaders/commandbuilder.h b/materialsystem/swarmshaders/commandbuilder.h index a9cf7ca..f8a491d 100644 --- a/materialsystem/swarmshaders/commandbuilder.h +++ b/materialsystem/swarmshaders/commandbuilder.h @@ -42,7 +42,7 @@ template class CFixedCommandStorageBuffer FORCEINLINE void EnsureCapacity( size_t sz ) { - Assert( m_nNumBytesRemaining >= sz ); + //Assert( m_nNumBytesRemaining >= sz ); } template FORCEINLINE void Put( T const &nValue ) diff --git a/materialsystem/swarmshaders/game_shader_generic_swarm.sln b/materialsystem/swarmshaders/game_shader_generic_swarm.sln index c25e258..08727e9 100644 --- a/materialsystem/swarmshaders/game_shader_generic_swarm.sln +++ b/materialsystem/swarmshaders/game_shader_generic_swarm.sln @@ -1,6 +1,6 @@  -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 +Microsoft Visual Studio Solution File, Format Version 14.00 +# Visual Studio 2022 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "game_shader_generic_swarm", "game_shader_generic_swarm.vcxproj", "{C8D2DC83-E117-7576-7B43-10C844264C51}" EndProject Global