Use premake.
This commit is contained in:
parent
93d1380139
commit
87c1c36943
3
.gitignore
vendored
3
.gitignore
vendored
@ -56,7 +56,8 @@ Temporary Items
|
||||
*.suo
|
||||
|
||||
# Additional stuff
|
||||
Normal
|
||||
build
|
||||
premake5.exe
|
||||
|
||||
# IDA
|
||||
# =========================
|
||||
|
19
iw4.sln
19
iw4.sln
@ -1,19 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 2013
|
||||
VisualStudioVersion = 12.0.40629.0
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iw4", "iw4\iw4.vcxproj", "{38B4FC13-CEBC-4099-8698-3E62943C1EAA}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Normal|Win32 = Normal|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{38B4FC13-CEBC-4099-8698-3E62943C1EAA}.Normal|Win32.ActiveCfg = Normal|Win32
|
||||
{38B4FC13-CEBC-4099-8698-3E62943C1EAA}.Normal|Win32.Build.0 = Normal|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@ -1,46 +0,0 @@
|
||||
namespace Components
|
||||
{
|
||||
class Component
|
||||
{
|
||||
public:
|
||||
Component() {};
|
||||
virtual ~Component() {};
|
||||
virtual const char* GetName() { return "Unknown"; };
|
||||
};
|
||||
|
||||
class Loader
|
||||
{
|
||||
public:
|
||||
static void Initialize();
|
||||
static void Uninitialize();
|
||||
static void Register(Component* component);
|
||||
|
||||
private:
|
||||
static std::vector<Component*> Components;
|
||||
};
|
||||
}
|
||||
|
||||
#include "Dvar.hpp"
|
||||
#include "Maps.hpp"
|
||||
#include "Menus.hpp"
|
||||
#include "Colors.hpp"
|
||||
#include "Logger.hpp"
|
||||
#include "Window.hpp"
|
||||
#include "Command.hpp"
|
||||
#include "Console.hpp"
|
||||
#include "Network.hpp"
|
||||
#include "Party.hpp" // Destroys the order, but requires network classes :D
|
||||
#include "RawFiles.hpp"
|
||||
#include "Renderer.hpp"
|
||||
#include "UIFeeder.hpp"
|
||||
#include "UIScript.hpp"
|
||||
#include "Dedicated.hpp"
|
||||
#include "FastFiles.hpp"
|
||||
#include "Materials.hpp"
|
||||
#include "Singleton.hpp"
|
||||
#include "FileSystem.hpp"
|
||||
#include "QuickPatch.hpp"
|
||||
#include "ServerList.hpp"
|
||||
#include "AssetHandler.hpp"
|
||||
#include "Localization.hpp"
|
||||
#include "MusicalTalent.hpp"
|
144
iw4/iw4.vcxproj
144
iw4/iw4.vcxproj
@ -1,144 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Normal|Win32">
|
||||
<Configuration>Normal</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{38B4FC13-CEBC-4099-8698-3E62943C1EAA}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>iw4</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Normal|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Normal|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Normal|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<TargetName>iw4x</TargetName>
|
||||
<OutDir>$(SolutionDir)$(Configuration)\Bin\</OutDir>
|
||||
<IntDir>$(SolutionDir)$(Configuration)\Obj\</IntDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Normal|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;IW4_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>copy /y "$(TargetPath)" "D:\Games\SteamLibrary\steamapps\common\Call of Duty Modern Warfare 2\"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Components\AssetHandler.hpp" />
|
||||
<ClInclude Include="Components\Colors.hpp" />
|
||||
<ClInclude Include="Components\Command.hpp" />
|
||||
<ClInclude Include="Components\Console.hpp" />
|
||||
<ClInclude Include="Components\Dedicated.hpp" />
|
||||
<ClInclude Include="Components\Dvar.hpp" />
|
||||
<ClInclude Include="Components\FastFiles.hpp" />
|
||||
<ClInclude Include="Components\FileSystem.hpp" />
|
||||
<ClInclude Include="Components\Loader.hpp" />
|
||||
<ClInclude Include="Components\Localization.hpp" />
|
||||
<ClInclude Include="Components\Logger.hpp" />
|
||||
<ClInclude Include="Components\Maps.hpp" />
|
||||
<ClInclude Include="Components\Materials.hpp" />
|
||||
<ClInclude Include="Components\Menus.hpp" />
|
||||
<ClInclude Include="Components\MusicalTalent.hpp" />
|
||||
<ClInclude Include="Components\Network.hpp" />
|
||||
<ClInclude Include="Components\Party.hpp" />
|
||||
<ClInclude Include="Components\QuickPatch.hpp" />
|
||||
<ClInclude Include="Components\RawFiles.hpp" />
|
||||
<ClInclude Include="Components\Renderer.hpp" />
|
||||
<ClInclude Include="Components\ServerList.hpp" />
|
||||
<ClInclude Include="Components\Singleton.hpp" />
|
||||
<ClInclude Include="Components\UIFeeder.hpp" />
|
||||
<ClInclude Include="Components\UIScript.hpp" />
|
||||
<ClInclude Include="Components\Window.hpp" />
|
||||
<ClInclude Include="Game\Functions.hpp" />
|
||||
<ClInclude Include="Game\Structs.hpp" />
|
||||
<ClInclude Include="Steam\Interfaces\SteamFriends.hpp" />
|
||||
<ClInclude Include="Steam\Interfaces\SteamGameServer.hpp" />
|
||||
<ClInclude Include="Steam\Interfaces\SteamMasterServerUpdater.hpp" />
|
||||
<ClInclude Include="Steam\Interfaces\SteamMatchmaking.hpp" />
|
||||
<ClInclude Include="Steam\Interfaces\SteamNetworking.hpp" />
|
||||
<ClInclude Include="Steam\Interfaces\SteamRemoteStorage.hpp" />
|
||||
<ClInclude Include="Steam\Steam.hpp" />
|
||||
<ClInclude Include="Steam\Interfaces\SteamUser.hpp" />
|
||||
<ClInclude Include="Steam\Interfaces\SteamUtils.hpp" />
|
||||
<ClInclude Include="STDInclude.hpp" />
|
||||
<ClInclude Include="Utils\Hooking.hpp" />
|
||||
<ClInclude Include="Utils\Utils.hpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Components\AssetHandler.cpp" />
|
||||
<ClCompile Include="Components\Colors.cpp" />
|
||||
<ClCompile Include="Components\Command.cpp" />
|
||||
<ClCompile Include="Components\Console.cpp" />
|
||||
<ClCompile Include="Components\Dedicated.cpp" />
|
||||
<ClCompile Include="Components\Dvar.cpp" />
|
||||
<ClCompile Include="Components\FastFiles.cpp" />
|
||||
<ClCompile Include="Components\FileSystem.cpp" />
|
||||
<ClCompile Include="Components\Loader.cpp" />
|
||||
<ClCompile Include="Components\Localization.cpp" />
|
||||
<ClCompile Include="Components\Logger.cpp" />
|
||||
<ClCompile Include="Components\Maps.cpp" />
|
||||
<ClCompile Include="Components\Materials.cpp" />
|
||||
<ClCompile Include="Components\Menus.cpp" />
|
||||
<ClCompile Include="Components\MusicalTalent.cpp" />
|
||||
<ClCompile Include="Components\Network.cpp" />
|
||||
<ClCompile Include="Components\Party.cpp" />
|
||||
<ClCompile Include="Components\QuickPatch.cpp" />
|
||||
<ClCompile Include="Components\RawFiles.cpp" />
|
||||
<ClCompile Include="Components\Renderer.cpp" />
|
||||
<ClCompile Include="Components\ServerList.cpp" />
|
||||
<ClCompile Include="Components\Singleton.cpp" />
|
||||
<ClCompile Include="Components\UIFeeder.cpp" />
|
||||
<ClCompile Include="Components\UIScript.cpp" />
|
||||
<ClCompile Include="Components\Window.cpp" />
|
||||
<ClCompile Include="Game\Functions.cpp" />
|
||||
<ClCompile Include="Steam\Interfaces\SteamFriends.cpp" />
|
||||
<ClCompile Include="Steam\Interfaces\SteamGameServer.cpp" />
|
||||
<ClCompile Include="Steam\Interfaces\SteamMasterServerUpdater.cpp" />
|
||||
<ClCompile Include="Steam\Interfaces\SteamMatchmaking.cpp" />
|
||||
<ClCompile Include="Steam\Interfaces\SteamNetworking.cpp" />
|
||||
<ClCompile Include="Steam\Interfaces\SteamRemoteStorage.cpp" />
|
||||
<ClCompile Include="Steam\Steam.cpp" />
|
||||
<ClCompile Include="Steam\Interfaces\SteamUser.cpp" />
|
||||
<ClCompile Include="Steam\Interfaces\SteamUtils.cpp" />
|
||||
<ClCompile Include="Main.cpp">
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Normal|Win32'">false</CompileAsManaged>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Normal|Win32'">
|
||||
</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Utils\Hooking.cpp" />
|
||||
<ClCompile Include="Utils\Utils.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
@ -1,266 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Ressourcendateien">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Source">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Source\Steam">
|
||||
<UniqueIdentifier>{c97341f6-b778-4acf-bdce-24c602206b5a}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source\Steam\Interfaces">
|
||||
<UniqueIdentifier>{d46d7650-0188-47ba-865f-c78e5b7e9910}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source\Utils">
|
||||
<UniqueIdentifier>{88e00811-087a-4881-8abf-5e8eb4695a3b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source\Components">
|
||||
<UniqueIdentifier>{3e48fe95-8760-4a3d-b4b7-5b9b3025886d}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source\Components\Modules">
|
||||
<UniqueIdentifier>{ff889d4b-f01e-4c7f-9ba8-39ab0326c32b}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="Source\Game">
|
||||
<UniqueIdentifier>{42cf4b9a-e10a-4c28-ac06-2bfa9e259784}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Main.cpp">
|
||||
<Filter>Source</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Steam\Interfaces\SteamUser.cpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Steam\Interfaces\SteamUtils.cpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Steam\Interfaces\SteamFriends.cpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Steam\Interfaces\SteamRemoteStorage.cpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Steam\Interfaces\SteamNetworking.cpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Steam\Interfaces\SteamMatchmaking.cpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Steam\Interfaces\SteamGameServer.cpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Steam\Interfaces\SteamMasterServerUpdater.cpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Utils\Utils.cpp">
|
||||
<Filter>Source\Utils</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Utils\Hooking.cpp">
|
||||
<Filter>Source\Utils</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Loader.cpp">
|
||||
<Filter>Source\Components</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\QuickPatch.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Console.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Game\Functions.cpp">
|
||||
<Filter>Source\Game</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Steam\Steam.cpp">
|
||||
<Filter>Source\Steam</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Dvar.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Colors.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Command.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Window.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\RawFiles.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Materials.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Renderer.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Menus.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Logger.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\AssetHandler.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\MusicalTalent.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\FastFiles.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\FileSystem.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Network.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Party.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Localization.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Maps.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Dedicated.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\Singleton.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\ServerList.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\UIFeeder.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Components\UIScript.cpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Steam\Interfaces\SteamUser.hpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Steam\Interfaces\SteamUtils.hpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Steam\Interfaces\SteamFriends.hpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Steam\Interfaces\SteamRemoteStorage.hpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Steam\Interfaces\SteamNetworking.hpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Steam\Interfaces\SteamMatchmaking.hpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Steam\Interfaces\SteamGameServer.hpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Steam\Interfaces\SteamMasterServerUpdater.hpp">
|
||||
<Filter>Source\Steam\Interfaces</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Utils\Hooking.hpp">
|
||||
<Filter>Source\Utils</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Utils\Utils.hpp">
|
||||
<Filter>Source\Utils</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Loader.hpp">
|
||||
<Filter>Source\Components</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\QuickPatch.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Console.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Game\Functions.hpp">
|
||||
<Filter>Source\Game</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Game\Structs.hpp">
|
||||
<Filter>Source\Game</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Steam\Steam.hpp">
|
||||
<Filter>Source\Steam</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Dvar.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="STDInclude.hpp">
|
||||
<Filter>Source</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Colors.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Command.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Window.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\RawFiles.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Materials.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Renderer.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Menus.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Logger.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\AssetHandler.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\MusicalTalent.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\FastFiles.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\FileSystem.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Network.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Party.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Localization.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Maps.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Dedicated.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\Singleton.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\ServerList.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\UIFeeder.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Components\UIScript.hpp">
|
||||
<Filter>Source\Components\Modules</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Normal|Win32'">
|
||||
<LocalDebuggerCommand>iw4m.exe</LocalDebuggerCommand>
|
||||
<LocalDebuggerWorkingDirectory>D:\Games\SteamLibrary\steamapps\common\Call of Duty Modern Warfare 2\</LocalDebuggerWorkingDirectory>
|
||||
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
|
||||
<LocalDebuggerCommandArguments>+set dedicated 1</LocalDebuggerCommandArguments>
|
||||
</PropertyGroup>
|
||||
</Project>
|
10
package.json
10
package.json
@ -1,10 +0,0 @@
|
||||
{
|
||||
"name": "iw4",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
}
|
13
premake5.lua
Normal file
13
premake5.lua
Normal file
@ -0,0 +1,13 @@
|
||||
solution "iw4x"
|
||||
location ("./build")
|
||||
configurations { "Normal" }
|
||||
|
||||
project "iw4x"
|
||||
kind "SharedLib"
|
||||
language "C++"
|
||||
files { "src/**.hpp", "src/**.cpp" }
|
||||
toolset "v120" -- Compatibility for users
|
||||
|
||||
configuration "Normal"
|
||||
defines { "NDEBUG" }
|
||||
flags { "Optimize", "MultiProcessorCompile", "Symbols" }
|
46
src/Components/Loader.hpp
Normal file
46
src/Components/Loader.hpp
Normal file
@ -0,0 +1,46 @@
|
||||
namespace Components
|
||||
{
|
||||
class Component
|
||||
{
|
||||
public:
|
||||
Component() {};
|
||||
virtual ~Component() {};
|
||||
virtual const char* GetName() { return "Unknown"; };
|
||||
};
|
||||
|
||||
class Loader
|
||||
{
|
||||
public:
|
||||
static void Initialize();
|
||||
static void Uninitialize();
|
||||
static void Register(Component* component);
|
||||
|
||||
private:
|
||||
static std::vector<Component*> Components;
|
||||
};
|
||||
}
|
||||
|
||||
#include "Modules\Dvar.hpp"
|
||||
#include "Modules\Maps.hpp"
|
||||
#include "Modules\Menus.hpp"
|
||||
#include "Modules\Colors.hpp"
|
||||
#include "Modules\Logger.hpp"
|
||||
#include "Modules\Window.hpp"
|
||||
#include "Modules\Command.hpp"
|
||||
#include "Modules\Console.hpp"
|
||||
#include "Modules\Network.hpp"
|
||||
#include "Modules\Party.hpp" // Destroys the order, but requires network classes :D
|
||||
#include "Modules\RawFiles.hpp"
|
||||
#include "Modules\Renderer.hpp"
|
||||
#include "Modules\UIFeeder.hpp"
|
||||
#include "Modules\UIScript.hpp"
|
||||
#include "Modules\Dedicated.hpp"
|
||||
#include "Modules\FastFiles.hpp"
|
||||
#include "Modules\Materials.hpp"
|
||||
#include "Modules\Singleton.hpp"
|
||||
#include "Modules\FileSystem.hpp"
|
||||
#include "Modules\QuickPatch.hpp"
|
||||
#include "Modules\ServerList.hpp"
|
||||
#include "Modules\AssetHandler.hpp"
|
||||
#include "Modules\Localization.hpp"
|
||||
#include "Modules\MusicalTalent.hpp"
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
#include "..\STDInclude.hpp"
|
||||
#include "..\..\STDInclude.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
Loading…
Reference in New Issue
Block a user