summaryrefslogtreecommitdiff
path: root/src/emap/status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/status.h')
-rw-r--r--src/emap/status.h32
1 files changed, 31 insertions, 1 deletions
diff --git a/src/emap/status.h b/src/emap/status.h
index 62bbec7..8ad69ed 100644
--- a/src/emap/status.h
+++ b/src/emap/status.h
@@ -4,7 +4,15 @@
#ifndef EVOL_MAP_STATUS
#define EVOL_MAP_STATUS
-void status_init(void);
+typedef enum esc_type {
+ SC_PHYSICAL_SHIELD = 642,
+} esc_type;
+
+enum esi_type {
+ SI_PHYSICAL_SHIELD = 966,
+};
+
+int estatus_init_post(int retVal, bool minimal);
void estatus_set_viewdata_pre(struct block_list **blPtr,
int *classPtr_ __attribute__ ((unused)));
void estatus_set_viewdata_post(struct block_list *bl,
@@ -22,4 +30,26 @@ unsigned short estatus_calc_speed_post(unsigned short retVal,
struct status_change *sc,
int speed);
+defType estatus_calc_def_post(defType retVal,
+ struct block_list *bl,
+ struct status_change *sc,
+ int def, bool viewable);
+
+short estatus_calc_fix_aspd_post(short retVal,
+ struct block_list *bl,
+ struct status_change *sc,
+ int aspd);
+
+int estatus_change_start_post(int retVal,
+ struct block_list *src,
+ struct block_list *bl,
+ enum sc_type type,
+ int rate, int val1, int val2,
+ int val3, int val4, int tick, int flag);
+
+int estatus_change_end__post(int retVal,
+ struct block_list* bl,
+ enum sc_type type, int tid,
+ const char* file, int line);
+
#endif // EVOL_MAP_STATUS