game_dll_usage
This commit is contained in:
parent
241d1b2d3d
commit
0db45bd63f
|
@ -4,16 +4,16 @@
|
||||||
#define IGAME_H
|
#define IGAME_H
|
||||||
|
|
||||||
#if defined GAME_DLL_EXPORT
|
#if defined GAME_DLL_EXPORT
|
||||||
#define DLL_USAGE __declspec(dllexport)
|
#define GAME_DLL_USAGE __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define DLL_USAGE __declspec(dllimport)
|
#define GAME_DLL_USAGE __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace GameLogic
|
namespace GameLogic
|
||||||
{
|
{
|
||||||
class Game;
|
class Game;
|
||||||
|
|
||||||
class DLL_USAGE IGame
|
class GAME_DLL_USAGE IGame
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
Game* gameModule;
|
Game* gameModule;
|
||||||
|
|
|
@ -46,7 +46,7 @@ Player::Player(void)
|
||||||
{
|
{
|
||||||
life = 10;
|
life = 10;
|
||||||
|
|
||||||
//UniquePointer<ICustomBody> rigidBody = API::Instance().CreateSimpleRigidBody();
|
UniquePointer<ICustomBody> rigidBody = API::Instance().CreateSimpleRigidBody();
|
||||||
//ref = API::Instance().AddObject(rigidBody);
|
//ref = API::Instance().AddObject(rigidBody);
|
||||||
////ref = API::Instance().AddObject(API::Instance().CreateSimpleRigidBody());
|
////ref = API::Instance().AddObject(API::Instance().CreateSimpleRigidBody());
|
||||||
//const ICustomBody* rB;
|
//const ICustomBody* rB;
|
||||||
|
|
Loading…
Reference in New Issue