-
-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
655e7ab
commit 6fffce9
Showing
14 changed files
with
103 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#pragma once | ||
|
||
#include "xrCore/clsid.h" | ||
#include "xrEngine/EngineAPI.h" | ||
|
||
#ifdef XRAY_STATIC_BUILD | ||
# define XRGAME_API | ||
#else | ||
# ifdef XRGAME_EXPORTS | ||
# define XRGAME_API XR_EXPORT | ||
# else | ||
# define XRGAME_API XR_IMPORT | ||
# endif | ||
#endif | ||
|
||
extern "C" | ||
{ | ||
XRGAME_API IFactoryObject* __cdecl xrFactory_Create(CLASS_ID clsid); | ||
XRGAME_API void __cdecl xrFactory_Destroy(IFactoryObject* O); | ||
} | ||
|
||
class xrGameModule final : public GameModule | ||
{ | ||
public: | ||
void initialize(Factory_Create*& pCreate, Factory_Destroy*& pDestroy) override; | ||
void finalize() override; | ||
}; | ||
|
||
extern XRGAME_API xrGameModule xrGame; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.