Added new files to CMakeLists.txt for CharacterDemo
Use relative path, #include "../BspDemo/BspLoader.h"
This commit is contained in:
@@ -25,6 +25,10 @@ ADD_EXECUTABLE(CharacterDemo
|
|||||||
CharacterControllerInterface.h
|
CharacterControllerInterface.h
|
||||||
CharacterDemo.cpp
|
CharacterDemo.cpp
|
||||||
CharacterDemo.h
|
CharacterDemo.h
|
||||||
|
../BspDemo/BspConverter.cpp
|
||||||
|
../BspDemo/BspConverter.h
|
||||||
|
../BspDemo/BspLoader.cpp
|
||||||
|
../BspDemo/BspLoader.h
|
||||||
main.cpp
|
main.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -46,9 +46,9 @@ static int gJump = 0;
|
|||||||
#define QUAKE_BSP_IMPORTING 1
|
#define QUAKE_BSP_IMPORTING 1
|
||||||
|
|
||||||
#ifdef QUAKE_BSP_IMPORTING
|
#ifdef QUAKE_BSP_IMPORTING
|
||||||
#include "Demos/BspDemo/BspLoader.h"
|
#include "../BspDemo/BspLoader.h"
|
||||||
#include "Demos/BspDemo/BspConverter.h"
|
#include "../BspDemo/BspConverter.h"
|
||||||
#endif //QUAKE_BSP_IMPORTING
|
|
||||||
|
|
||||||
|
|
||||||
class BspToBulletConverter : public BspConverter
|
class BspToBulletConverter : public BspConverter
|
||||||
@@ -91,7 +91,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
#endif //QUAKE_BSP_IMPORTING
|
||||||
CharacterDemo::CharacterDemo()
|
CharacterDemo::CharacterDemo()
|
||||||
:
|
:
|
||||||
m_cameraHeight(4.f),
|
m_cameraHeight(4.f),
|
||||||
|
|||||||
Reference in New Issue
Block a user