Fix file structure to make things better™️ (#10)

* Fix file structure to make things better™️

* Move math -> util

* rename precompiled header files
This commit is contained in:
F1ssi0N 2018-03-14 18:59:58 +00:00 committed by Marc
parent 73b90a8219
commit 3c3040c69c
38 changed files with 36 additions and 36 deletions

View File

@ -45,13 +45,13 @@ workspace "doghook"
targetdir "bin/%{cfg.buildcfg}"
filter "system:linux"
pchheader "src/stdafx.hh"
pchheader "src/precompiled.hh"
filter "system:windows"
pchheader "stdafx.hh"
pchheader "precompiled.hh"
filter {}
pchsource "src/stdafx.cc"
pchsource "src/precompiled.cc"
includedirs { "src" }
files { "src/**.hh", "src/**.cc" }

View File

@ -1,18 +1,18 @@
#include "stdafx.hh"
#include "precompiled.hh"
#include "gamesystem.hh"
#include "log.hh"
#include "sdk/gamesystem.hh"
#include "sdk/log.hh"
#include "class_id.hh"
#include "convar.hh"
#include "hooks.hh"
#include "interface.hh"
#include "netvar.hh"
#include "player.hh"
#include "sdk.hh"
#include "vfunc.hh"
#include "sdk/class_id.hh"
#include "sdk/convar.hh"
#include "sdk/hooks.hh"
#include "sdk/interface.hh"
#include "sdk/netvar.hh"
#include "sdk/player.hh"
#include "sdk/sdk.hh"
#include "sdk/vfunc.hh"
#include "modules/createmove.hh"
#include "hooks/createmove.hh"
// Singleton for doing init / deinit of doghook
// and dealing with hooks from gamesystem

View File

@ -1,10 +1,10 @@
#include <stdafx.hh>
#include <precompiled.hh>
#include "sdk.hh"
#include "sdk/sdk.hh"
#include "hooks.hh"
#include "log.hh"
#include "player.hh"
#include "sdk/hooks.hh"
#include "sdk/log.hh"
#include "sdk/player.hh"
using namespace sdk;

View File

@ -1,4 +1,4 @@
#include "stdafx.hh"
#include "precompiled.hh"
#if doghook_platform_windows()

View File

1
src/precompiled.cc Normal file
View File

@ -0,0 +1 @@
#include "precompiled.hh"

View File

@ -1,7 +1,7 @@
#pragma once
#include "defer.hh"
#include "platform.hh"
#include "sdk/defer.hh"
#include "sdk/platform.hh"
#include <cassert>
#include <cstdarg>

View File

@ -1,4 +1,4 @@
#include "stdafx.hh"
#include "precompiled.hh"
#define PLACE_CHECKER

View File

@ -1,4 +1,4 @@
#include "stdafx.hh"
#include "precompiled.hh"
#include "convar.hh"

View File

@ -1,4 +1,4 @@
#include "stdafx.hh"
#include "precompiled.hh"
#include "entity.hh"
#include "player.hh"

View File

@ -1,4 +1,4 @@
#include "stdafx.hh"
#include "precompiled.hh"
#include "gamesystem.hh"
#include "signature.hh"

View File

@ -1,4 +1,4 @@
#include "stdafx.hh"
#include "precompiled.hh"
#include "interface.hh"
#include "signature.hh"

View File

@ -1,4 +1,4 @@
#include "stdafx.hh"
#include "precompiled.hh"
#include "log.hh"
#include "signature.hh"

View File

@ -1,4 +1,4 @@
#include "stdafx.hh"
#include "precompiled.hh"
#include "interface.hh"
#include "netvar.hh"

View File

@ -1,4 +1,4 @@
#include "stdafx.hh"
#include "precompiled.hh"
#include "player.hh"
#include "weapon.hh"

View File

@ -1,4 +1,4 @@
#include "stdafx.hh"
#include "precompiled.hh"
#include "signature.hh"

View File

@ -14,4 +14,4 @@ using i32 = int32_t;
using i64 = int64_t;
using iptr = intptr_t;
#include "math.hh"
#include "utils/math.hh"

View File

@ -1,4 +1,4 @@
#include "stdafx.hh"
#include "precompiled.hh"
#include "interface.hh"
#include "netvar.hh"

View File

@ -1 +0,0 @@
#include "stdafx.hh"

View File

@ -1,6 +1,6 @@
#pragma once
#include "platform.hh"
#include "sdk/platform.hh"
#include <cassert>
#include <cmath>