Crossfire Server, Trunk  R20513
stubs_common.c
Go to the documentation of this file.
1 
6 #include <global.h>
7 #include <sproto.h>
8 
10 }
11 
12 void draw_ext_info(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *txt) {
13  fprintf(logfile, "%s\n", txt);
14 }
15 
16 void draw_ext_info_format(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *format, ...) {
17  va_list ap;
18 
19  va_start(ap, format);
20  vfprintf(logfile, format, ap);
21  va_end(ap);
22 }
23 
24 void ext_info_map(int color, const mapstruct *map, uint8_t type, uint8_t subtype, const char *str1) {
25  fprintf(logfile, "ext_info_map: %s\n", str1);
26 }
27 
28 void move_firewall(object *ob) {
29 }
30 
31 void emergency_save(int x) {
32 }
33 
34 void clean_tmp_files(void) {
35 }
36 
37 void esrv_send_item(object *ob, object *obx) {
38 }
39 
40 void esrv_update_item(int flags, object *pl, object *op) {
41 }
42 
43 void dragon_ability_gain(object *ob, int x, int y) {
44 }
45 
47 }
48 
49 object *find_skill_by_number(object *who, int skillno) {
50  return NULL;
51 }
52 
53 void esrv_del_item(player *pl, object *ob) {
54 }
55 
57 }
58 
59 void rod_adjust(object *rod) {
60 }
61 
62 int execute_event(object *op, int eventcode, object *activator, object *third, const char *message, int fix) {
63  return 0;
64 }
65 
66 int execute_global_event(int eventcode, ...) {
67  return 0;
68 }
EXTERN FILE * logfile
Used by server/daemon.c.
Definition: global.h:144
One player.
Definition: player.h:92
void set_darkness_map(mapstruct *m)
Set the darkness level for a map, based on the time of the day.
Definition: stubs_common.c:46
void esrv_update_item(int flags, object *pl, object *op)
Updates object *op for player *pl.
Definition: stubs_common.c:40
void draw_ext_info_format(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *format,...)
Sends message to player(s).
Definition: stubs_common.c:16
unsigned char uint8_t
Definition: win32.h:161
void dragon_ability_gain(object *ob, int x, int y)
When a dragon-player gains a new stage of evolution, he gets some treasure.
Definition: stubs_common.c:43
int execute_global_event(int eventcode,...)
Definition: stubs_common.c:66
Global type definitions and header inclusions.
void esrv_update_spells(player *pl)
This looks for any spells the player may have that have changed their stats.
Definition: stubs_common.c:56
void emergency_save(int x)
Save all players.
Definition: stubs_common.c:31
void clean_tmp_files(void)
Remove temporary map files.
Definition: stubs_common.c:34
int execute_event(object *op, int eventcode, object *activator, object *third, const char *message, int fix)
Definition: stubs_common.c:62
void rod_adjust(object *rod)
Adjusts rod attributes.
Definition: stubs_common.c:59
void esrv_send_item(object *ob, object *obx)
Sends item&#39;s info to player.
Definition: stubs_common.c:37
object * find_skill_by_number(object *who, int skillno)
This returns the skill pointer of the given name (the one that accumulates exp, has the level...
Definition: stubs_common.c:49
static const flag_definition flags[]
Flag mapping.
void ext_info_map(int color, const mapstruct *map, uint8_t type, uint8_t subtype, const char *str1)
Writes to everyone on the specified map.
Definition: stubs_common.c:24
void apply_auto_fix(mapstruct *m)
Those are dummy functions defined to resolve all symboles.
Definition: stubs_common.c:9
void draw_ext_info(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *txt)
Sends message to player(s).
Definition: stubs_common.c:12
void move_firewall(object *ob)
Move for FIREWALL.
Definition: stubs_common.c:28
This is a game-map.
Definition: map.h:325
void esrv_del_item(player *pl, object *ob)
Tells the client to delete an item.
Definition: stubs_common.c:53