|
Open Game Engine 2D API
|
Functions | |
| string | OGE_GetGameMainDir () |
| Get the root directory of current game. | |
| void | OGE_LockCPS (int iCPS) |
| Lock the CPS (cycles per second) | |
| int | OGE_GetCPS () |
| Get current CPS (cycles per second) | |
| int | OGE_GetLockedCPS () |
| Get the CPS (cycles per second) you want to lock. | |
| int | OGE_GetPlayerSpr (int iPlayerId) |
| Get the player sprite of the whole game. | |
| void | OGE_SetPlayerSpr (int iSprId, int iPlayerId) |
| Set the player sprite of the whole game. | |
| int | OGE_GetUserSpr (int idx) |
| Get the user sprite by index. | |
| void | OGE_SetUserSpr (int iSprId, int idx) |
| Set the user sprite with index. | |
| int | OGE_GetUserGroup (int idx) |
| Get the user group by index. | |
| void | OGE_SetUserGroup (int iSprGroupId, int idx) |
| Set the user group with index. | |
| int | OGE_GetUserPath (int idx) |
| Get the user path by index. | |
| void | OGE_SetUserPath (int iSprPathId, int idx) |
| Set the user path with index. | |
| int | OGE_GetUserImage (int idx) |
| Get user image by index. | |
| void | OGE_SetUserImage (int iImageId, int idx) |
| Set user image with index. | |
| int | OGE_GetUserData (int idx) |
| Get user data by index. | |
| void | OGE_SetUserData (int iDataId, int idx) |
| Set user data with index. | |
| int | OGE_GetUserObject (int idx) |
| Get the user object by index. | |
| void | OGE_SetUserObject (int iObjId, int idx) |
| Set the user object with index. | |
| void | OGE_PauseGame () |
| Pause the game. | |
| void | OGE_ResumeGame () |
| Resume the game. | |
| bool | OGE_IsPlayingGame () |
| Check if the game is running or not. | |
| int | OGE_QuitGame () |
| Quit the game. | |
| int | OGE_GetAppCustomData () |
| Get the custom data of the game. | |
| void | OGE_SetAppCustomData (int iGameDataId) |
| Set the custom data of the game. | |
| int | OGE_GetAppGameData () |
| Get the default data of the game. | |
| int OGE_GetAppCustomData | ( | ) |
Get the custom data of the game.
| int OGE_GetAppGameData | ( | ) |
Get the default data of the game.
| int OGE_GetCPS | ( | ) |
Get current CPS (cycles per second)
| string OGE_GetGameMainDir | ( | ) |
Get the root directory of current game.
| int OGE_GetLockedCPS | ( | ) |
Get the CPS (cycles per second) you want to lock.
| int OGE_GetPlayerSpr | ( | int | iPlayerId | ) |
Get the player sprite of the whole game.
| [in] | iPlayerId | The ID of the player |
| int OGE_GetUserData | ( | int | idx | ) |
Get user data by index.
| [in] | idx | The index |
| int OGE_GetUserGroup | ( | int | idx | ) |
Get the user group by index.
| [in] | idx | The index |
| int OGE_GetUserImage | ( | int | idx | ) |
Get user image by index.
| [in] | idx | The index |
| int OGE_GetUserObject | ( | int | idx | ) |
Get the user object by index.
| [in] | idx | The index |
| int OGE_GetUserPath | ( | int | idx | ) |
Get the user path by index.
| [in] | idx | The index |
| int OGE_GetUserSpr | ( | int | idx | ) |
Get the user sprite by index.
| [in] | idx | The index of the user sprite |
| bool OGE_IsPlayingGame | ( | ) |
Check if the game is running or not.
| void OGE_LockCPS | ( | int | iCPS | ) |
Lock the CPS (cycles per second)
| [in] | iCPS | The CPS value you want to lock |
| int OGE_QuitGame | ( | ) |
Quit the game.
| void OGE_SetAppCustomData | ( | int | iGameDataId | ) |
Set the custom data of the game.
| [in] | iGameDataId | The ID of the data |
| void OGE_SetPlayerSpr | ( | int | iSprId, |
| int | iPlayerId | ||
| ) |
Set the player sprite of the whole game.
| [in] | iSprId | The ID of the sprite |
| [in] | iPlayerId | The ID of the player |
| void OGE_SetUserData | ( | int | iDataId, |
| int | idx | ||
| ) |
Set user data with index.
| [in] | iDataId | The ID of the data |
| [in] | idx | The index |
| void OGE_SetUserGroup | ( | int | iSprGroupId, |
| int | idx | ||
| ) |
Set the user group with index.
| [in] | iSprGroupId | The ID of the group |
| [in] | idx | The index |
| void OGE_SetUserImage | ( | int | iImageId, |
| int | idx | ||
| ) |
Set user image with index.
| [in] | iImageId | The ID of the image |
| [in] | idx | The index |
| void OGE_SetUserObject | ( | int | iObjId, |
| int | idx | ||
| ) |
Set the user object with index.
| [in] | iObjId | The ID of the object |
| [in] | idx | The index |
| void OGE_SetUserPath | ( | int | iSprPathId, |
| int | idx | ||
| ) |
Set the user path with index.
| [in] | iSprPathId | The ID of the path |
| [in] | idx | The index |
| void OGE_SetUserSpr | ( | int | iSprId, |
| int | idx | ||
| ) |
Set the user sprite with index.
| [in] | iSprId | The ID of the sprite |
| [in] | idx | The index |
1.8.0