Crossfire Server, Branch 1.12
R12190
|
Go to the source code of this file.
Data Structures | |
struct | Crossfire_Map |
Defines | |
#define | MAPEXISTCHECK(map) |
#define | MAPEXISTCHECK_INT(map) |
Functions | |
PyObject * | Crossfire_Map_wrap (mapstruct *what) |
Variables | |
PyTypeObject | Crossfire_MapType |
#define MAPEXISTCHECK | ( | map | ) |
{ \
if (!(map) || ((map)->valid == 0)) { \
PyErr_SetString(PyExc_ReferenceError, "Crossfire map no longer exists"); \
return NULL; \
} \
}
Definition at line 40 of file cfpython_map.h.
Referenced by Crossfire_Map_Int(), Crossfire_Map_Long(), Map_ChangeLight(), Map_Check(), Map_CreateObject(), Map_GetDarkness(), Map_GetDifficulty(), Map_GetEnterX(), Map_GetEnterY(), Map_GetFirstObjectAt(), Map_GetHeight(), Map_GetMessage(), Map_GetName(), Map_GetPath(), Map_GetPlayers(), Map_GetRegion(), Map_GetResetTime(), Map_GetResetTimeout(), Map_GetTempName(), Map_GetUnique(), Map_GetWidth(), Map_Insert(), Map_Message(), Map_Next(), and Map_TriggerConnected().
#define MAPEXISTCHECK_INT | ( | map | ) |
{ \
if (!(map) || ((map)->valid == 0)) { \
PyErr_SetString(PyExc_ReferenceError, "Crossfire map no longer exists"); \
return -1; \
} \
}
Definition at line 47 of file cfpython_map.h.
Referenced by Map_InternalCompare(), and Map_SetPath().
PyObject* Crossfire_Map_wrap | ( | mapstruct * | what | ) |
Definition at line 336 of file cfpython_map.c.
PyTypeObject Crossfire_MapType |
Definition at line 164 of file cfpython_map_private.h.
Referenced by Crossfire_Map_wrap(), Crossfire_Object_Teleport(), initPlugin(), and Object_SetMap().