Crossfire Server, Trunk  R20608
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
Definition: global.h:142
Definition: player.h:92
void set_darkness_map(mapstruct *m)
Definition: stubs_common.c:46
void esrv_update_item(int flags, object *pl, object *op)
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,...)
Definition: stubs_common.c:16
unsigned char uint8_t
Definition: win32.h:161
void dragon_ability_gain(object *ob, int x, int y)
Definition: stubs_common.c:43
int execute_global_event(int eventcode,...)
Definition: stubs_common.c:66
void esrv_update_spells(player *pl)
Definition: stubs_common.c:56
void emergency_save(int x)
Definition: stubs_common.c:31
void clean_tmp_files(void)
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)
Definition: stubs_common.c:59
void esrv_send_item(object *ob, object *obx)
Definition: stubs_common.c:37
object * find_skill_by_number(object *who, int skillno)
Definition: stubs_common.c:49
static const flag_definition flags[]
void ext_info_map(int color, const mapstruct *map, uint8_t type, uint8_t subtype, const char *str1)
Definition: stubs_common.c:24
void apply_auto_fix(mapstruct *m)
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)
Definition: stubs_common.c:12
void move_firewall(object *ob)
Definition: stubs_common.c:28
Definition: map.h:325
void esrv_del_item(player *pl, object *ob)
Definition: stubs_common.c:53