Crossfire Server, Branches 1.12  R18729
stubs_common.c
Go to the documentation of this file.
1 
6 #include <global.h>
7 
9 }
10 
11 void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *txt, const char *txt2) {
12  fprintf(logfile, "%s\n", txt);
13 }
14 
15 void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *new_format, const char *old_format, ...) {
16  va_list ap;
17 
18  va_start(ap, old_format);
19  vfprintf(logfile, old_format, ap);
20  va_end(ap);
21 }
22 
23 void ext_info_map(int color, const mapstruct *map, uint8 type, uint8 subtype, const char *str1, const char *str2) {
24  fprintf(logfile, "ext_info_map: %s\n", str2);
25 }
26 
27 void move_firewall(object *ob) {
28 }
29 
30 void emergency_save(int x) {
31 }
32 
33 void clean_tmp_files(void) {
34 }
35 
36 void esrv_send_item(object *ob, object *obx) {
37 }
38 
39 void esrv_update_item(int flags, object *pl, object *op) {
40 }
41 
42 void dragon_ability_gain(object *ob, int x, int y) {
43 }
44 
46 }
47 
48 object *find_skill_by_number(object *who, int skillno) {
49  return NULL;
50 }
51 
52 void esrv_del_item(player *pl, int tag) {
53 }
54 
56 }
57 
58 void monster_check_apply(object *ob, object *obt) {
59 }
60 
61 void trap_adjust(object *ob, int x) {
62 }
63 
64 int execute_event(object *op, int eventcode, object *activator, object *third, const char *message, int fix) {
65  return 0;
66 }
67 
68 int execute_global_event(int eventcode, ...) {
69  return 0;
70 }
EXTERN FILE * logfile
Definition: global.h:220
void fix_auto_apply(mapstruct *m)
Definition: stubs_common.c:8
Definition: player.h:146
void set_darkness_map(mapstruct *m)
Definition: stubs_common.c:45
void esrv_update_item(int flags, object *pl, object *op)
Definition: stubs_common.c:39
void ext_info_map(int color, const mapstruct *map, uint8 type, uint8 subtype, const char *str1, const char *str2)
Definition: stubs_common.c:23
void esrv_del_item(player *pl, int tag)
Definition: stubs_common.c:52
void dragon_ability_gain(object *ob, int x, int y)
Definition: stubs_common.c:42
int execute_global_event(int eventcode,...)
Definition: stubs_common.c:68
void trap_adjust(object *ob, int x)
Definition: stubs_common.c:61
void esrv_update_spells(player *pl)
Definition: stubs_common.c:55
void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *txt, const char *txt2)
Definition: stubs_common.c:11
void emergency_save(int x)
Definition: stubs_common.c:30
unsigned char uint8
Definition: global.h:75
void clean_tmp_files(void)
Definition: stubs_common.c:33
int execute_event(object *op, int eventcode, object *activator, object *third, const char *message, int fix)
Definition: stubs_common.c:64
void esrv_send_item(object *ob, object *obx)
Definition: stubs_common.c:36
object * find_skill_by_number(object *who, int skillno)
Definition: stubs_common.c:48
static const flag_definition flags[]
void monster_check_apply(object *ob, object *obt)
Definition: stubs_common.c:58
void move_firewall(object *ob)
Definition: stubs_common.c:27
Definition: map.h:346
void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *new_format, const char *old_format,...)
Definition: stubs_common.c:15