se_core.hpp

Go to the documentation of this file.
00001 /*
00002 SagaEngine library
00003 Copyright (c) 2002-2006 Skalden Studio AS
00004 
00005 This software is provided 'as-is', without any express or implied 
00006 warranty. In no event will the authors be held liable for any 
00007 damages arising from the use of this software.
00008 
00009 Permission is granted to distribute the library under the terms of the 
00010 Q Public License version 1.0. Be sure to read and understand the license
00011 before using the library. It should be included here, or you may read it
00012 at http://www.trolltech.com/products/qt/licenses/licensing/qpl
00013 
00014 The original version of this library can be located at:
00015 http://www.sagaengine.com/
00016 
00017 Rune Myrland
00018 rune@skalden.com
00019 */
00020 
00021 
00022 #ifndef se_core_hpp
00023 #define se_core_hpp
00024 
00025 /*
00026 #include "../src/sim/all.hpp"
00027 #include "../src/sim/area/all.hpp"
00028 #include "../src/sim/schema/all.hpp"
00029 //#include "../src/sim/thing/all.hpp"
00030 #include "../src/sim/config/all.hpp"
00031 #include "../src/sim/action/all.hpp"
00032 #include "../src/sim/script/all.hpp"
00033 #include "../src/sim/custom/all.hpp"
00034 #include "../src/sim/react/all.hpp"
00035 #include "../src/sim/message/all.hpp"
00036 #include "../src/sim/physics/all.hpp"
00037 #include "../src/sim/pos/all.hpp"
00038 #include "../src/sim/spawn/all.hpp"
00039 #include "../src/sim/stat/all.hpp"
00040 #include "../src/sim/signal/all.hpp"
00041 #include "../src/io/parse/all.hpp"
00042 #include "../src/io/schema/all.hpp"
00043 #include "../src/io/stream/all.hpp"
00044 #include "../src/io/encode/all.hpp"
00045 #include "../src/util/all.hpp"
00046 #include "../src/util/config/all.hpp"
00047 #include "../src/util/system/all.hpp"
00048 #include "../src/util/type/all.hpp"
00049 #include "../src/util/math/all.hpp"
00050 #include "../src/util/task/all.hpp"
00051 #include "../src/util/template/all.hpp"
00052 #include "../src/util/vecmath/all.hpp"
00053 #include "../src/util/error/all.hpp"
00054 #include "../src/util/noise/all.hpp"
00055 */
00056 #include "sim/sim.hpp"
00057 #include "sim/area/sim_area.hpp"
00058 #include "sim/schema/SimSchema.hpp"
00059 #include "sim/thing/sim_thing.hpp"
00060 #include "sim/config/sim_config.hpp"
00061 #include "sim/action/sim_action.hpp"
00062 #include "sim/script/sim_script.hpp"
00063 #include "sim/custom/sim_custom.hpp"
00064 #include "sim/react/sim_react.hpp"
00065 #include "sim/message/sim_message.hpp"
00066 #include "sim/physics/sim_physics.hpp"
00067 #include "sim/pos/sim_pos.hpp"
00068 #include "sim/spawn/sim_spawn.hpp"
00069 #include "sim/stat/sim_stat.hpp"
00070 #include "sim/signal/sim_signal.hpp"
00071 #include "io/parse/io_parse.hpp"
00072 #include "io/schema/IoSchema.hpp"
00073 #include "io/stream/io_stream.hpp"
00074 #include "io/encode/io_encode.hpp"
00075 #include "util/util.hpp"
00076 #include "util/config/util_config.hpp"
00077 #include "util/error/Log.hpp"
00078 #include "util/math/util_math.hpp"
00079 #include "util/noise/util_noise.hpp"
00080 #include "util/system/util_system.hpp"
00081 #include "util/task/util_task.hpp"
00082 #include "util/type/util_type.hpp"
00083 #include "util/template/util_template.hpp"
00084 #include "util/vecmath/util_vecmath.hpp"
00085 
00086 
00087 #include "comp/comp.hpp"
00088 #include "comp/list/comp_list.hpp"
00089 #include "comp/node/comp_node.hpp"
00090 #include "comp/schema/CompSchema.hpp"
00091 
00092 namespace se_core {
00093 
00094     inline bool initSagaEngine(const char* appName) {
00095         if(!SimSchema::init(appName)) {
00096             return false;
00097         }
00098         if(!IoSchema::init()) {
00099             return false;
00100         }
00101         return true;
00102     }
00103 
00104 
00105     inline void cleanupSagaEngine() {
00106         IoSchema::cleanup();
00107         SimSchema::cleanup();
00108     }
00109 }
00110 
00111 
00112 #endif

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:09 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo