game_dll_usage

This commit is contained in:
Linda Andersson 2013-11-25 12:36:25 +01:00
parent 241d1b2d3d
commit 0db45bd63f
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;