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