Moved more files into appropriate subdirs, update build

system for VS (verified) and autoconf (not verified).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2009-06-02 12:37:29 +00:00
parent 55c7bbe600
commit 075c9dbb86
31 changed files with 89 additions and 74 deletions

View File

@ -10,8 +10,6 @@ AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/games/$(PACKAGE)/\"" \
supertuxkart_SOURCES = \
main.cpp \
material.cpp \
material.hpp \
network/network_manager.cpp \
network/network_manager.hpp \
network/network_kart.cpp \
@ -55,6 +53,8 @@ supertuxkart_SOURCES = \
audio/sound_manager.hpp \
utils/constants.hpp \
utils/coord.hpp \
utils/no_copy.hpp \
utils/ptr_vector.hpp \
utils/random_generator.hpp \
utils/random_generator.cpp \
utils/string_utils.cpp \
@ -63,14 +63,18 @@ supertuxkart_SOURCES = \
utils/translation.hpp \
utils/vec3.cpp \
utils/vec3.hpp \
material_manager.cpp \
material_manager.hpp \
grand_prix_manager.cpp \
grand_prix_manager.hpp \
graphics/camera.cpp \
graphics/camera.hpp \
graphics/explosion.cpp \
graphics/explosion.hpp \
graphics/irr_driver.cpp \
graphics/irr_driver.hpp \
graphics/material.cpp \
graphics/material.hpp \
graphics/material_manager.cpp \
graphics/material_manager.hpp \
graphics/mesh_tools.hpp \
graphics/mesh_tools.cpp \
graphics/nitro.cpp \
@ -142,8 +146,6 @@ supertuxkart_SOURCES = \
input/input_manager.hpp \
isect.cpp \
isect.hpp \
explosion.cpp \
explosion.hpp \
user_config.cpp \
user_config.hpp \
grand_prix_data.cpp \
@ -161,7 +163,6 @@ supertuxkart_SOURCES = \
user_pointer.hpp \
history.cpp \
history.hpp \
no_copy.hpp \
player.hpp \
challenges/challenge.hpp \
challenges/challenge.cpp \

View File

@ -17,15 +17,15 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "explosion.hpp"
#include "graphics/explosion.hpp"
#include "material.hpp"
#include "material_manager.hpp"
#include "graphics/irr_driver.hpp"
#include "items/projectile_manager.hpp"
#include "audio/sfx_base.hpp"
#include "audio/sfx_manager.hpp"
#include "graphics/irr_driver.hpp"
#include "graphics/material.hpp"
#include "graphics/material_manager.hpp"
#include "graphics/scene.hpp"
#include "items/projectile_manager.hpp"
#include "utils/vec3.hpp"
Explosion::Explosion(const Vec3& coord, const int explosion_sound)

View File

@ -17,7 +17,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "material.hpp"
#include "graphics/material.hpp"
#include <stdexcept>

View File

@ -17,12 +17,12 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "material_manager.hpp"
#include "graphics/material_manager.hpp"
#include <stdexcept>
#include <sstream>
#include "material.hpp"
#include "graphics/material.hpp"
#include "io/file_manager.hpp"
#include "io/xml_node.hpp"
#include "utils/string_utils.hpp"

View File

@ -1,7 +1,7 @@
#ifndef HEADER_CREDITS_HPP
#define HEADER_CREDITS_HPP
#include "ptr_vector.hpp"
#include "utils/ptr_vector.hpp"
namespace GUIEngine
{

View File

@ -20,14 +20,14 @@
#include "gui/race_gui.hpp"
#include "input/input.hpp"
#include "input/input_manager.hpp"
#include "user_config.hpp"
#include "race_manager.hpp"
#include "material_manager.hpp"
#include "audio/sound_manager.hpp"
#include "graphics/irr_driver.hpp"
#include "graphics/material_manager.hpp"
#include "gui/font.hpp"
#include "input/input.hpp"
#include "input/input_manager.hpp"
#include "tracks/track.hpp"
#include "utils/constants.hpp"
#include "utils/translation.hpp"

View File

@ -29,9 +29,9 @@ using namespace irr;
#include <string>
#include <vector>
#include "material.hpp"
#include "player.hpp"
#include "race_manager.hpp"
#include "graphics/material.hpp"
#include "karts/kart.hpp"
#include "karts/player_kart.hpp"
#include "modes/world.hpp"

View File

@ -3,9 +3,11 @@
#include <map>
#include <string>
#include "ptr_vector.hpp"
#include "irrlicht.h"
#include "input/input.hpp"
#include <irrlicht.h>
#include "utils/ptr_vector.hpp"
using namespace irr;
using namespace core;

View File

@ -1,8 +1,8 @@
#ifndef HEADER_SKIN_HPP
#define HEADER_SKIN_HPP
#include <irrlicht.h>
#include "ptr_vector.hpp"
#include "irrlicht.h"
#include "utils/ptr_vector.hpp"
using namespace irr;
using namespace core;

View File

@ -3,7 +3,8 @@
#include <irrlicht.h>
#include <map>
#include "ptr_vector.hpp"
#include "utils/ptr_vector.hpp"
using namespace irr;
using namespace gui;

View File

@ -193,10 +193,6 @@
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="../../../src\explosion.cpp"
>
</File>
<File
RelativePath="..\..\grand_prix_data.cpp"
>
@ -229,14 +225,6 @@
RelativePath="..\..\main_loop.cpp"
>
</File>
<File
RelativePath="../../../src\material.cpp"
>
</File>
<File
RelativePath="../../../src\material_manager.cpp"
>
</File>
<File
RelativePath="../../../src\race_manager.cpp"
>
@ -528,10 +516,22 @@
RelativePath="..\..\graphics\camera.cpp"
>
</File>
<File
RelativePath="..\..\graphics\explosion.hpp"
>
</File>
<File
RelativePath="..\..\graphics\irr_driver.cpp"
>
</File>
<File
RelativePath="..\..\graphics\material.cpp"
>
</File>
<File
RelativePath="..\..\graphics\material_manager.cpp"
>
</File>
<File
RelativePath="..\..\graphics\mesh_tools.cpp"
>
@ -699,10 +699,6 @@
RelativePath="../../../src\constants.hpp"
>
</File>
<File
RelativePath="../../../src\explosion.hpp"
>
</File>
<File
RelativePath="..\..\grand_prix_data.hpp"
>
@ -751,10 +747,6 @@
RelativePath="../../../src\material_manager.hpp"
>
</File>
<File
RelativePath="../../../src\no_copy.hpp"
>
</File>
<File
RelativePath="../../../src\player.hpp"
>
@ -763,10 +755,6 @@
RelativePath="..\..\position.hpp"
>
</File>
<File
RelativePath="..\..\ptr_vector.hpp"
>
</File>
<File
RelativePath="../../../src\race_manager.hpp"
>
@ -970,6 +958,14 @@
RelativePath="..\..\utils\coord.hpp"
>
</File>
<File
RelativePath="..\..\utils\no_copy.hpp"
>
</File>
<File
RelativePath="..\..\utils\ptr_vector.hpp"
>
</File>
<File
RelativePath="..\..\utils\random_generator.hpp"
>
@ -1174,10 +1170,22 @@
RelativePath="..\..\graphics\camera.hpp"
>
</File>
<File
RelativePath="..\..\graphics\explosion.cpp"
>
</File>
<File
RelativePath="..\..\graphics\irr_driver.hpp"
>
</File>
<File
RelativePath="..\..\graphics\material.hpp"
>
</File>
<File
RelativePath="..\..\graphics\material_manager.hpp"
>
</File>
<File
RelativePath="..\..\graphics\mesh_tools.hpp"
>

View File

@ -1,8 +1,8 @@
#ifndef DEVICE_MANAGER_HPP
#define DEVICE_MANAGER_HPP
#include "ptr_vector.hpp"
#include "input/input_device.hpp"
#include "utils/ptr_vector.hpp"
class DeviceManager
{

View File

@ -41,7 +41,7 @@
#include "btBulletDynamicsCommon.h"
#include "graphics/irr_driver.hpp"
#include "material_manager.hpp"
#include "graphics/material_manager.hpp"
#include "utils/string_utils.hpp"
#ifdef __APPLE__

View File

@ -22,9 +22,9 @@
#include <sstream>
#include "user_config.hpp"
#include "material_manager.hpp"
#include "material.hpp"
#include "graphics/irr_driver.hpp"
#include "graphics/material.hpp"
#include "graphics/material_manager.hpp"
#include "io/file_manager.hpp"
#include "items/item_manager.hpp"
#include "items/bubblegumitem.hpp"

View File

@ -23,9 +23,9 @@
#include <stdexcept>
#include <sstream>
#include "material_manager.hpp"
#include "material.hpp"
#include "graphics/irr_driver.hpp"
#include "graphics/material.hpp"
#include "graphics/material_manager.hpp"
#include "io/file_manager.hpp"
#include "items/bowling.hpp"
#include "items/cake.hpp"

View File

@ -19,13 +19,13 @@
#include "items/projectile_manager.hpp"
#include "explosion.hpp"
#include "graphics/explosion.hpp"
#include "graphics/scene.hpp"
#include "items/bowling.hpp"
#include "items/cake.hpp"
#include "items/plunger.hpp"
#include "items/powerup_manager.hpp"
#include "items/powerup.hpp"
#include "graphics/scene.hpp"
#include "network/network_manager.hpp"
#include "network/race_state.hpp"

View File

@ -19,9 +19,9 @@
#include "rubber_band.hpp"
#include "material_manager.hpp"
#include "race_manager.hpp"
#include "graphics/irr_driver.hpp"
#include "graphics/material_manager.hpp"
#include "graphics/scene.hpp"
#include "items/plunger.hpp"
#include "items/projectile_manager.hpp"

View File

@ -27,10 +27,10 @@
#include "bullet/Demos/OpenGL/GL_ShapeDrawer.h"
#include "user_config.hpp"
#include "material_manager.hpp"
#include "audio/sound_manager.hpp"
#include "audio/sfx_manager.hpp"
#include "audio/sfx_base.hpp"
#include "graphics/material_manager.hpp"
#include "graphics/nitro.hpp"
#include "graphics/shadow.hpp"
#include "graphics/skid_marks.hpp"

View File

@ -25,8 +25,8 @@
#include "irrlicht.h"
using namespace irr;
#include "no_copy.hpp"
#include "lisp/lisp.hpp"
#include "utils/no_copy.hpp"
#include "utils/vec3.hpp"
/** This class stores a 3D kart model. It takes especially care of attaching

View File

@ -21,11 +21,11 @@
#include <iostream>
#include <stdexcept>
#include "material_manager.hpp"
#include "stk_config.hpp"
#include "user_config.hpp"
#include "karts/kart_model.hpp"
#include "graphics/material_manager.hpp"
#include "io/file_manager.hpp"
#include "karts/kart_model.hpp"
#include "lisp/parser.hpp"
#include "lisp/lisp.hpp"
#include "utils/string_utils.hpp"

View File

@ -20,10 +20,10 @@
#include "karts/moveable.hpp"
#include "material_manager.hpp"
#include "material.hpp"
#include "user_config.hpp"
#include "graphics/irr_driver.hpp"
#include "graphics/material.hpp"
#include "graphics/material_manager.hpp"
#include "karts/player_kart.hpp"
#include "utils/coord.hpp"

View File

@ -41,8 +41,6 @@
#include "user_config.hpp"
#include "race_manager.hpp"
#include "main_loop.hpp"
#include "material_manager.hpp"
#include "input/input_manager.hpp"
#include "history.hpp"
#include "stk_config.hpp"
#include "highscore_manager.hpp"
@ -51,9 +49,11 @@
#include "audio/sfx_manager.hpp"
#include "challenges/unlock_manager.hpp"
#include "graphics/irr_driver.hpp"
#include "graphics/material_manager.hpp"
#include "graphics/scene.hpp"
#include "gui/font.hpp"
#include "io/file_manager.hpp"
#include "input/input_manager.hpp"
#include "items/attachment_manager.hpp"
#include "items/item_manager.hpp"
#include "items/projectile_manager.hpp"

View File

@ -20,16 +20,17 @@
#include "main_loop.hpp"
#include <assert.h>
#include "history.hpp"
#include "input/input_manager.hpp"
#include "material_manager.hpp"
#include "race_manager.hpp"
#include "user_config.hpp"
#include "audio/sound_manager.hpp"
#include "graphics/irr_driver.hpp"
#include "graphics/material_manager.hpp"
#include "graphics/scene.hpp"
#include "gui/engine.hpp"
#include "input/input_manager.hpp"
#include "modes/world.hpp"
#include "user_config.hpp"
#include "network/network_manager.hpp"
#include "gui/state_manager.hpp"

View File

@ -20,7 +20,7 @@
#ifndef HEADER_TERRAIN_INFO_HPP
#define HEADER_TERRAIN_INFO_HPP
#include "material.hpp"
#include "graphics/material.hpp"
#include "utils/vec3.hpp"
/** This class stores information about the triangle that's under an object, i.e.:

View File

@ -25,11 +25,11 @@
#include "irrlicht.h"
#include "stk_config.hpp"
#include "material_manager.hpp"
#include "isect.hpp"
#include "user_config.hpp"
#include "audio/sound_manager.hpp"
#include "graphics/irr_driver.hpp"
#include "graphics/material_manager.hpp"
#include "graphics/mesh_tools.hpp"
#include "graphics/moving_texture.hpp"
#include "graphics/scene.hpp"

View File

@ -28,13 +28,15 @@
# include <GL/gl.h>
#endif
#include "irrlicht.h"
using namespace irr;
#include <string>
#include <vector>
#include "irrlicht.h"
using namespace irr;
#include "LinearMath/btTransform.h"
#include "material.hpp"
#include "audio/music_information.hpp"
#include "graphics/material.hpp"
#include "items/item.hpp"
#include "tracks/quad_graph.hpp"
#include "utils/vec3.hpp"