Cavestory Mod API
|
Functions | |
CAVESTORY_MOD_API void | CSM_Video_SetResolution (int iNewWidth, int iNewHeight, int iNewMagnification=-1) |
Set the game's window resolution. More... | |
CAVESTORY_MOD_API void | CSM_Video_GetResolution (int *iWidth, int *iHeight) |
Get the game's window resolution. More... | |
CAVESTORY_MOD_API void CSM_Video_GetResolution | ( | int * | iWidth, |
int * | iHeight | ||
) |
Get the game's window resolution.
iWidth | A pointer to hold the resolution width. Can be NULL. |
iHeight | A pointer to hold the resolution height. Can be NULL. |
CAVESTORY_MOD_API void CSM_Video_SetResolution | ( | int | iNewWidth, |
int | iNewHeight, | ||
int | iNewMagnification = -1 |
||
) |
Set the game's window resolution.
iNewWidth | The new width of the window Cannot go below 320. |
iNewHeight | The new height of the window. Cannot go below 240. |
iNewMagnification | The new magnification level. Set this to '<= 0' to automatically determine a suitable magnification level. |