|
|
@@ -34,18 +34,18 @@ extern "C"
|
|
|
/// Called exactly once after the engine is fully initialized
|
|
|
/// and ready to use. This function is the right place to allocate
|
|
|
/// and initialize all the main components of the game.
|
|
|
- void init();
|
|
|
+ __declspec(dllexport) void init();
|
|
|
|
|
|
/// Called just before the engine starts to deallocate resources and
|
|
|
/// subsystems leading to terminating the execution.
|
|
|
/// Here you can safely perform all the necessary deallocation/destruction
|
|
|
/// of the previously allocated game resources and/or systems.
|
|
|
- void shutdown();
|
|
|
+ __declspec(dllexport) void shutdown();
|
|
|
|
|
|
/// Called once per frame, here is the place you tipically perform input checking,
|
|
|
/// updates, drawing and so on. The @a dt parameter contains the last frame delta time
|
|
|
/// in seconds.
|
|
|
- void frame(float dt);
|
|
|
+ __declspec(dllexport) void frame(float dt);
|
|
|
}
|
|
|
|
|
|
} // namespace crown
|