From d49bb04d20cecc1ca91d7a337c340b8676a11290 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 31 Dec 2012 01:26:58 +0000 Subject: [PATCH] =?UTF-8?q?build:=20rename=20=E2=80=9Ccore=E2=80=9D=20dire?= =?UTF-8?q?ctory=20to=20=E2=80=9Cbase=E2=80=9D=20because=20the=20former=20?= =?UTF-8?q?is=20used=20for=20core=20files=20on=20some=20Unix=20systems.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Makefile.am | 6 +++--- src/{core => base}/hash.cpp | 0 src/{core => base}/string.cpp | 0 src/core.h | 10 +++++----- src/lol/{core => base}/array.h | 0 src/lol/{core => base}/hash.h | 0 src/lol/{core => base}/map.h | 0 src/lol/{core => base}/string.h | 2 +- src/lol/{core => base}/types.h | 0 src/lolcore.vcxproj | 14 +++++++------- 10 files changed, 16 insertions(+), 16 deletions(-) rename src/{core => base}/hash.cpp (100%) rename src/{core => base}/string.cpp (100%) rename src/lol/{core => base}/array.h (100%) rename src/lol/{core => base}/hash.h (100%) rename src/lol/{core => base}/map.h (100%) rename src/lol/{core => base}/string.h (98%) rename src/lol/{core => base}/types.h (100%) diff --git a/src/Makefile.am b/src/Makefile.am index 190172c7..90368c68 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -17,8 +17,8 @@ liblol_a_SOURCES = \ platform.cpp platform.h sprite.cpp sprite.h camera.cpp camera.h \ \ lol/unit.h lol/debug.h \ - lol/core/types.h lol/core/array.h lol/core/string.h lol/core/hash.h \ - lol/core/map.h \ + lol/base/types.h lol/base/array.h lol/base/string.h lol/base/hash.h \ + lol/base/map.h \ lol/math/vector.h lol/math/half.h lol/math/real.h lol/math/remez.h \ lol/math/math.h \ \ @@ -40,7 +40,7 @@ liblol_a_SOURCES = \ $(d3d9_sources) \ $(android_sources) \ \ - core/hash.cpp core/string.cpp \ + base/hash.cpp base/string.cpp \ \ thread/threadbase.h thread/thread.h \ \ diff --git a/src/core/hash.cpp b/src/base/hash.cpp similarity index 100% rename from src/core/hash.cpp rename to src/base/hash.cpp diff --git a/src/core/string.cpp b/src/base/string.cpp similarity index 100% rename from src/core/string.cpp rename to src/base/string.cpp diff --git a/src/core.h b/src/core.h index 45d45845..324add1e 100644 --- a/src/core.h +++ b/src/core.h @@ -76,11 +76,11 @@ static inline int isnan(float f) // Base types #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include diff --git a/src/lol/core/array.h b/src/lol/base/array.h similarity index 100% rename from src/lol/core/array.h rename to src/lol/base/array.h diff --git a/src/lol/core/hash.h b/src/lol/base/hash.h similarity index 100% rename from src/lol/core/hash.h rename to src/lol/base/hash.h diff --git a/src/lol/core/map.h b/src/lol/base/map.h similarity index 100% rename from src/lol/core/map.h rename to src/lol/base/map.h diff --git a/src/lol/core/string.h b/src/lol/base/string.h similarity index 98% rename from src/lol/core/string.h rename to src/lol/base/string.h index 3bd87301..5dd8c765 100644 --- a/src/lol/core/string.h +++ b/src/lol/base/string.h @@ -17,7 +17,7 @@ #if !defined __LOL_CORE_STRING_H__ #define __LOL_CORE_STRING_H__ -#include +#include namespace lol { diff --git a/src/lol/core/types.h b/src/lol/base/types.h similarity index 100% rename from src/lol/core/types.h rename to src/lol/base/types.h diff --git a/src/lolcore.vcxproj b/src/lolcore.vcxproj index 9b8a63eb..fc18c83d 100644 --- a/src/lolcore.vcxproj +++ b/src/lolcore.vcxproj @@ -234,8 +234,8 @@ - - + + @@ -582,11 +582,11 @@ - - - - - + + + + +