1
0
forked from 0ad/0ad

Fix non-PCH builds

This was SVN commit r7409.
This commit is contained in:
Ykkrosh 2010-03-28 18:21:48 +00:00
parent 672b1221c3
commit 53744640ec
4 changed files with 12 additions and 3 deletions

View File

@ -29,6 +29,7 @@ class CUnit;
class CVector3D;
class CEntity;
class CObjectManager;
class CStr8;
///////////////////////////////////////////////////////////////////////////////
// CUnitManager: simple container class holding all units within the world
@ -49,7 +50,7 @@ public:
void DeleteAll();
// creates a new unit and adds it to the world
CUnit* CreateUnit(const CStr& actorName, CEntity* entity, const std::set<CStr>& selections);
CUnit* CreateUnit(const CStr8& actorName, CEntity* entity, const std::set<CStr8>& selections);
// return the units
const std::vector<CUnit*>& GetUnits() const { return m_Units; }

View File

@ -28,8 +28,12 @@ that of Atlas depending on commandline parameters.
// not for any PCH effort, but instead for the (common) definitions
// included there.
#define MINIMAL_PCH 2
#include "lib/precompiled.h"
#include "lib/debug.h"
#include "lib/lib_errors.h"
#include "lib/secure_crt.h"
#include "lib/frequency_filter.h"
#include "lib/input.h"
#include "lib/ogl.h"

View File

@ -21,9 +21,11 @@
// Need SDLK_* enum values.
#include "lib/external_libraries/sdl.h"
class CStr8;
extern void InitKeyNameMap();
extern CStr FindKeyName( int keycode );
extern int FindKeyCode( const CStr& keyname );
extern CStr8 FindKeyName( int keycode );
extern int FindKeyCode( const CStr8& keyname );
enum {
// 'Keycodes' for the mouse buttons

View File

@ -22,6 +22,8 @@
#include "simulation2/helpers/Position.h"
#include <vector>
/**
* Pathfinder algorithm.
*