From f1f55db0495129376cff147ade264b4294f9bdc7 Mon Sep 17 00:00:00 2001 From: Alexander Monakov Date: Tue, 4 Jan 2011 00:23:33 +0300 Subject: [PATCH] Remove Constants.h --- CMakeLists.txt | 1 - Source/Constants.h | 28 ---------------------------- Source/Game.h | 1 - Source/Globals.cpp | 1 - Source/Models.h | 1 - Source/Person.h | 1 - Source/Skeleton.h | 1 - Source/Weapons.h | 1 - 8 files changed, 35 deletions(-) delete mode 100644 Source/Constants.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 663e8a3..62dd78e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,7 +84,6 @@ set(LUGARU_SRCS ) set(LUGARU_H - ${SRCDIR}/Constants.h ${SRCDIR}/Frustum.h ${SRCDIR}/Account.h ${SRCDIR}/Game.h diff --git a/Source/Constants.h b/Source/Constants.h deleted file mode 100644 index 1b85155..0000000 --- a/Source/Constants.h +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright (C) 2003, 2010 - Wolfire Games - -This file is part of Lugaru. - -Lugaru is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - -See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ - -#ifndef _CONSTANTS_H_ -#define _CONSTANTS_H_ - -// cat src/Constants.h | sed -e 's/#define/const int/' -e 's/ [0-9]*$/ =&;/' -// chew on that --Jookia - -#endif diff --git a/Source/Game.h b/Source/Game.h index 33e61c4..7bc3e89 100644 --- a/Source/Game.h +++ b/Source/Game.h @@ -46,7 +46,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "Models.h" #include "Lights.h" #include "Person.h" -#include "Constants.h" #include "Sprite.h" //#include #include "Text.h" diff --git a/Source/Globals.cpp b/Source/Globals.cpp index 40880f7..5bb763f 100644 --- a/Source/Globals.cpp +++ b/Source/Globals.cpp @@ -35,7 +35,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "openal_wrapper.h" #include "Stereo.h" -#include "Constants.h" #include "Animation.h" bool visibleloading = 0; diff --git a/Source/Models.h b/Source/Models.h index 297b6e1..caad18e 100644 --- a/Source/Models.h +++ b/Source/Models.h @@ -32,7 +32,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include -#include "Constants.h" #include "Terrain.h" #include "binio.h" #include "Quaternions.h" diff --git a/Source/Person.h b/Source/Person.h index 1eb92ef..eed0a27 100644 --- a/Source/Person.h +++ b/Source/Person.h @@ -28,7 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "Quaternions.h" #include "Skeleton.h" #include "Models.h" -#include "Constants.h" #include "Terrain.h" #include "Sprite.h" #include diff --git a/Source/Skeleton.h b/Source/Skeleton.h index 627ca42..ca8ac30 100644 --- a/Source/Skeleton.h +++ b/Source/Skeleton.h @@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "Models.h" #include "Quaternions.h" -#include "Constants.h" /**> HEADER FILES <**/ diff --git a/Source/Weapons.h b/Source/Weapons.h index bbe1804..c6f4560 100644 --- a/Source/Weapons.h +++ b/Source/Weapons.h @@ -28,7 +28,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "Quaternions.h" #include "Skeleton.h" #include "Models.h" -#include "Constants.h" #include "Terrain.h" #include "Sprite.h" #include "Person.h" -- 2.39.5