Tactics: Western Philosophers Vs. Musicians  0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CCore.h
Go to the documentation of this file.
1 // Copyright (C) 2006-2009 Dylan Blair
3 //
4 // email: dblair@alumni.cs.utexas.edu
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 
21 #ifndef CCORE_H
22 #define CCORE_H
23 
24 #include "CLog.h"
25 #include "CObjectFactory.h"
26 #include "CUpdateManager.h"
27 #include "CAIUpdater.h"
28 #include "CCameraUpdater.h"
29 #include "CPathFinder.h"
30 #include "CCollisionDetector.h"
31 #include "CPhysVisUpdater.h"
33 #include "CPhysicsUpdater.h"
34 
35 namespace OpenSkyNet {
36  namespace Core {
37  inline void setupCore() {
40 
41  UpdMan->addUpdater(new AIUpdater());
42  UpdMan->addUpdater(new PathFinder());
43  UpdMan->addUpdater(new PathUpdater());
44  UpdMan->addUpdater(new TransformInterpolator());
45  UpdMan->addUpdater(new CollisionDetector());
46  UpdMan->addUpdater(new PhysVisUpdater());
47  UpdMan->addUpdater(new TransformChangeDetector());
48  UpdMan->addUpdater(new PhysicsUpdater());
49 
53  }
54  }
55 }
56 
57 #endif //CCORE_H
Definition: CUpdater.h:43
static void createInstance()
Definition: CUpdateManager.h:54
Definition: CUpdater.h:43
static void createInstance()
Definition: CObjectFactory.h:59
Definition: CTransformChangeDetector.h:30
Definition: CTransformInterpolator.h:33
Definition: CPhysicsUpdater.h:31
Definition: CPhysVisUpdater.h:30
Definition: CCollisionDetector.h:33
#define GetUpd(updaterTypePtr_, updaterTypeEnum_)
Definition: CUpdateManager.h:27
#define UpdMan
Definition: CUpdateManager.h:26
Definition: CPathUpdater.h:32
void setupCore()
Definition: CCore.h:37
Definition: CAIUpdater.h:30
Definition: CPathFinder.h:30