|
libtcod
|
Manage deprecated global variables. More...
Go to the source code of this file.
Functions | |
| TCOD_Tileset * | TCOD_get_default_tileset (void) |
| Return the default tileset, may be NULL. | |
| void | TCOD_set_default_tileset (TCOD_Tileset *tileset) |
| Set the default tileset and update the default display to use it. | |
Manage deprecated global variables.
| TCOD_Tileset * TCOD_get_default_tileset | ( | void | ) |
Return the default tileset, may be NULL.
A non-NULL return value is a new reference to the global tileset. When you are done you will need to call TCOD_tileset_delete on this pointer.
This function is provisional, the API may change in the future.
embed:rst:leading-asterisk .. versionadded:: 1.19
| void TCOD_set_default_tileset | ( | TCOD_Tileset * | tileset | ) |
Set the default tileset and update the default display to use it.
This will keep alive a reference to the given tileset. If you no longer need the pointer then you should call TCOD_tileset_delete on it after this function.
This function is provisional, the API may change in the future.
embed:rst:leading-asterisk .. versionadded:: 1.19