API export/import macros for cross-platform shared library symbol visibility.
#define API_EXPORT
Marks a symbol for export from (or import into) a shared library.
Definition Api.h:32
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14
API_EXPORT bool WindowIsFullscreen()
Returns true if the game window is currently in fullscreen mode.
void WindowSetWindowComponent(std::shared_ptr< Ship::Window > window)
API_EXPORT float WindowGetAspectRatio()
Returns the current aspect ratio of the game window (width / height).
API_EXPORT int32_t WindowGetPosY()
Returns the Y position of the game window's top-left corner in screen coordinates.
API_EXPORT bool WindowIsRunning()
Returns true if the application window is running (has not been closed).
API_EXPORT int32_t WindowGetPosX()
Returns the X position of the game window's top-left corner in screen coordinates.
API_EXPORT uint32_t WindowGetWidth()
Returns the current width of the game window in pixels.
API_EXPORT uint32_t WindowGetHeight()
Returns the current height of the game window in pixels.
std::shared_ptr< Ship::Window > WindowGetWindowComponent()