1 | /*****************************************************************************/ |
1 | /* |
2 | /* Crossfire Plugin Interface Common Parts */ |
2 | * This file is part of Crossfire TRT, the Roguelike Realtime MORPG. |
3 | /* Version: 2.0beta8 (also known as "Alexander") */ |
3 | * |
4 | /* Contact: yann.chachkoff@myrealbox.com */ |
4 | * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team |
|
|
5 | * Copyright (©) 2001-2005,2007 Chachkoff Yann (Feel free to deliver your complaints) |
|
|
6 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
|
|
7 | * |
|
|
8 | * Crossfire TRT is free software; you can redistribute it and/or modify it |
|
|
9 | * under the terms of the GNU General Public License as published by the Free |
|
|
10 | * Software Foundation; either version 2 of the License, or (at your option) |
|
|
11 | * any later version. |
|
|
12 | * |
|
|
13 | * This program is distributed in the hope that it will be useful, but |
|
|
14 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
|
|
15 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
|
16 | * for more details. |
|
|
17 | * |
|
|
18 | * You should have received a copy of the GNU General Public License along |
|
|
19 | * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51 |
|
|
20 | * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
|
21 | * |
|
|
22 | * The authors can be reached via e-mail to <crossfire@schmorp.de> |
|
|
23 | */ |
|
|
24 | |
5 | /*****************************************************************************/ |
25 | /*****************************************************************************/ |
6 | /* The CPICP are the various functions of the server that can be used by all */ |
26 | /* The CPICP are the various functions of the server that can be used by all */ |
7 | /* plugins. It is recommended that plugins do not call the server-provided */ |
27 | /* plugins. It is recommended that plugins do not call the server-provided */ |
8 | /* functions directly, but instead use the wrappers provided here by the */ |
28 | /* functions directly, but instead use the wrappers provided here by the */ |
9 | /* CPICP interface. By doing so, various validity checks can be performed */ |
29 | /* CPICP interface. By doing so, various validity checks can be performed */ |
10 | /* by CPICP, protecting the server from potential nasty effects of passing */ |
30 | /* by CPICP, protecting the server from potential nasty effects of passing */ |
11 | /* it wrong parameter values. */ |
31 | /* it wrong parameter values. */ |
12 | /*****************************************************************************/ |
32 | /*****************************************************************************/ |
13 | /* That code is placed under the GNU General Public Licence (GPL) */ |
33 | |
14 | /* (C)2001-2005 by Chachkoff Yann (Feel free to deliver your complaints) */ |
|
|
15 | /*****************************************************************************/ |
|
|
16 | /* CrossFire, A Multiplayer game for X-windows */ |
|
|
17 | /* */ |
|
|
18 | /* Copyright (C) 2000 Mark Wedel */ |
|
|
19 | /* Copyright (C) 1992 Frank Tore Johansen */ |
|
|
20 | /* */ |
|
|
21 | /* This program is free software; you can redistribute it and/or modify */ |
|
|
22 | /* it under the terms of the GNU General Public License as published by */ |
|
|
23 | /* the Free Software Foundation; either version 2 of the License, or */ |
|
|
24 | /* (at your option) any later version. */ |
|
|
25 | /* */ |
|
|
26 | /* This program is distributed in the hope that it will be useful, */ |
|
|
27 | /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ |
|
|
28 | /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ |
|
|
29 | /* GNU General Public License for more details. */ |
|
|
30 | /* */ |
|
|
31 | /* You should have received a copy of the GNU General Public License */ |
|
|
32 | /* along with this program; if not, write to the Free Software */ |
|
|
33 | /* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ |
|
|
34 | /* */ |
|
|
35 | /*****************************************************************************/ |
|
|
36 | #include <plugin_common.h> |
34 | #include <plugin_common.h> |
37 | |
35 | |
38 | static f_plug_api cfapiSystem_register_global_event = NULL; |
36 | static f_plug_api cfapiSystem_register_global_event = NULL; |
39 | static f_plug_api cfapiSystem_unregister_global_event = NULL; |
37 | static f_plug_api cfapiSystem_unregister_global_event = NULL; |
40 | static f_plug_api cfapiSystem_find_animation = NULL; |
38 | static f_plug_api cfapiSystem_find_animation = NULL; |