![]() |
Crossfire Server, Trunk
1.75.0
|
#include <Python.h>#include <plugin.h>#include <plugin_common.h>#include <cfpython_object.h>#include <cfpython_map.h>#include <cfpython_archetype.h>#include <cfpython_party.h>#include <cfpython_region.h>#include <cfpython_proto.h>
Include dependency graph for cfpython.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | CFConstant |
| struct | CFPContext |
Macros | |
| #define | CF_IS_PYSTR(cfpy_obj) (PyUnicode_Check(cfpy_obj)) |
| #define | CF_PYTHON_NUMBER_METHODS(NAME, LONG) |
| Macro to define a PyNumberMethods. More... | |
| #define | CF_PYTHON_OBJECT(NAME, DEALLOC, CONVERT, HASH, FLAGS, DOC, CMP, METHODS, GETSET, BASE, OBNEW) |
| Macro to define a PyTypeObject. More... | |
| #define | MODULEAPI |
| #define | PLUGIN_NAME "Python" |
| #define | PLUGIN_VERSION "CFPython Plugin 2.0a13 (Fido)" |
Variables | |
| PyMethodDef | CFPythonMethods [] |
| CFPContext * | context_stack |
| const CFConstant | cstAttackMovement [] |
| const CFConstant | cstAttackType [] |
| const CFConstant | cstAttackTypeNumber [] |
| const CFConstant | cstDirection [] |
| const CFConstant | cstEventType [] |
| const CFConstant | cstMessageFlag [] |
| const CFConstant | cstMove [] |
| const CFConstant | cstReplyTypes [] |
| const CFConstant | cstTime [] |
| const CFConstant | cstType [] |
| CFPContext * | current_context |
| f_plug_api | gethook |
| #define CF_IS_PYSTR | ( | cfpy_obj | ) | (PyUnicode_Check(cfpy_obj)) |
Definition at line 65 of file cfpython.h.
| #define CF_PYTHON_NUMBER_METHODS | ( | NAME, | |
| LONG | |||
| ) |
Macro to define a PyNumberMethods.
Arguments are:
Definition at line 360 of file cfpython.h.
| #define CF_PYTHON_OBJECT | ( | NAME, | |
| DEALLOC, | |||
| CONVERT, | |||
| HASH, | |||
| FLAGS, | |||
| DOC, | |||
| CMP, | |||
| METHODS, | |||
| GETSET, | |||
| BASE, | |||
| OBNEW | |||
| ) |
Macro to define a PyTypeObject.
It should make it simpler to adjust to various Python versions, one macro to change only. Arguments are:
Definition at line 257 of file cfpython.h.
| #define MODULEAPI |
Definition at line 80 of file cfpython.h.
| #define PLUGIN_NAME "Python" |
Definition at line 84 of file cfpython.h.
| #define PLUGIN_VERSION "CFPython Plugin 2.0a13 (Fido)" |
Definition at line 85 of file cfpython.h.
| PyMethodDef CFPythonMethods[] |
Definition at line 765 of file cfpython.cpp.
Referenced by main().
| CFPContext* context_stack |
Definition at line 104 of file cfpython.cpp.
| const CFConstant cstAttackMovement[] |
Definition at line 1392 of file cfpython.cpp.
Referenced by initConstants(), and main().
| const CFConstant cstAttackType[] |
Definition at line 1271 of file cfpython.cpp.
Referenced by initConstants(), and main().
| const CFConstant cstAttackTypeNumber[] |
Definition at line 1301 of file cfpython.cpp.
Referenced by initConstants(), and main().
| const CFConstant cstDirection[] |
Definition at line 1112 of file cfpython.cpp.
Referenced by initConstants(), and main().
| const CFConstant cstEventType[] |
Definition at line 1331 of file cfpython.cpp.
Referenced by initConstants(), and main().
| const CFConstant cstMessageFlag[] |
Definition at line 1251 of file cfpython.cpp.
Referenced by initConstants(), and main().
| const CFConstant cstMove[] |
Definition at line 1240 of file cfpython.cpp.
Referenced by initConstants(), and main().
| const CFConstant cstReplyTypes[] |
Definition at line 1385 of file cfpython.cpp.
Referenced by initConstants(), and main().
| const CFConstant cstTime[] |
Definition at line 1375 of file cfpython.cpp.
Referenced by initConstants(), and main().
| const CFConstant cstType[] |
Definition at line 1124 of file cfpython.cpp.
Referenced by initConstants(), and main().
| CFPContext* current_context |
Definition at line 106 of file cfpython.cpp.
| f_plug_api gethook |
Definition at line 41 of file cfnewspaper.cpp.