forked from raduprv/Eternal-Lands
-
Notifications
You must be signed in to change notification settings - Fork 0
/
counters.h
53 lines (42 loc) · 1.44 KB
/
counters.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef __COUNTERS_H__
#define __COUNTERS_H__
#include "actors.h"
#ifdef __cplusplus
extern "C" {
#endif
int now_harvesting(void);
void clear_now_harvesting(void);
void set_now_harvesting(void);
extern char harvest_name[32];
extern Uint32 disconnect_time;
extern char last_spell_name[60];
extern unsigned int floating_counter_flags;
extern int floating_session_counters;
void load_counters(void);
void flush_counters(void);
void cleanup_counters(void);
void fill_counters_win(int window_id);
void reset_session_counters(void);
void print_session_counters(const char *category);
void increment_death_counter(actor *a);
void increment_critfail_counter(char *name);
void increment_harvest_counter(int quantity);
void decrement_harvest_counter(int quantity);
void increment_alchemy_counter(void);
void increment_crafting_counter(void);
void increment_engineering_counter(void);
void increment_tailoring_counter(void);
void increment_potions_counter(void);
void increment_manufacturing_counter(void);
void increment_spell_counter(int spell_id);
void increment_summon_manu_counter(void);
void increment_summon_counter(char *string);
int chat_to_counters_command(const char *text, int len);
void catch_counters_text(const char* text);
void counters_set_product_info(char *name, int count);
void counters_set_spell_name(int spell_id, char *name, int len);
int is_death_message (const char * RawText);
#ifdef __cplusplus
} // extern "C"
#endif
#endif /* __COUNTERS_H__ */