1 | /* cfpython.c */ |
1 | /* cfpython.c */ |
|
|
2 | void initContextStack(void); |
|
|
3 | void pushContext(CFPContext *context); |
|
|
4 | CFPContext *popContext(void); |
|
|
5 | void freeContext(CFPContext *context); |
|
|
6 | extern "C" int initPlugin(const char *iversion, f_plug_api gethooksptr); |
2 | CF_PLUGIN void * getPluginProperty(int *type, ...); |
7 | extern "C" void *getPluginProperty(int *type, ...); |
|
|
8 | extern "C" int runPluginCommand(object *op, char *params); |
3 | CF_PLUGIN int postInitPlugin(void); |
9 | extern "C" int postInitPlugin(void); |
4 | CF_PLUGIN void *globalEventListener(int *type, ...); |
10 | extern "C" void *globalEventListener(int *type, ...); |
5 | CF_PLUGIN void *eventListener(int *type, ...); |
11 | extern "C" void *eventListener(int *type, ...); |
6 | CF_PLUGIN int closePlugin(void); |
12 | extern "C" int closePlugin(void); |
7 | CF_PLUGIN int runPluginCommand(object* op, char* params); |
13 | /* cfpython_archetype.c */ |
|
|
14 | PyObject *Crossfire_Archetype_wrap(archetype *what); |
|
|
15 | /* cfpython_object.c */ |
8 | PyObject *Crossfire_Object_wrap(object *what); |
16 | PyObject *Crossfire_Object_wrap(object *what); |
|
|
17 | /* cfpython_party.c */ |
|
|
18 | PyObject *Crossfire_Party_wrap(partylist *what); |
|
|
19 | /* cfpython_region.c */ |
|
|
20 | PyObject *Crossfire_Region_wrap(region *what); |
|
|
21 | /* cfpython_map.c */ |
|
|
22 | PyObject *Crossfire_Map_wrap(mapstruct *what); |