summaryrefslogtreecommitdiff
path: root/src/emap/map.h
blob: 2d6a25a002a06be9e8de8406df9507621c3d41f9 (plain) (blame)
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
53
// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// Copyright (c) 2014 - 2015 Evol developers

#ifndef EVOL_MAP_MAP
#define EVOL_MAP_MAP

int emap_addflooritem_post(int retVal,
                           const struct block_list *bl,
                           struct item *item,
                           int amount,
                           int16 m,
                           int16 x,
                           int16 y,
                           int first_charid,
                           int second_charid,
                           int third_charid,
                           int flags,
                           bool showdropeffect);
void emap_online_list(int fd);
int emap_getcellp_pre(struct map_data **mPtr,
                      const struct block_list **blPtr,
                      int16 *xPtr,
                      int16 *yPtr,
                      cell_chk *cellchkPtr);
struct mapcell emap_gat2cell_pre(int *gatPtr);
int emap_cell2gat_pre(struct mapcell *cellPtr);
void emap_setgatcell_pre(int16 *mPtr,
                         int16 *xPtr,
                         int16 *yPtr,
                         int *gatPtr);
bool emap_iwall_set_pre(int16 *m,
                        int16 *x,
                        int16 *y,
                        int *size,
                        int8 *dir,
                        bool *shootable,
                        const char **wall_namePtr);
void emap_iwall_get_pre(struct map_session_data **sdPtr);
bool emap_iwall_remove_pre(const char **namePtr);
bool emap_iwall_set2(int m,
                     int layer,
                     int x1, int y1,
                     int x2, int y2,
                     int mask,
                     const char *name);
void map_alwaysVisible_add(const struct block_list *bl);
void map_alwaysVisible_delete(const struct block_list *bl);
bool map_alwaysVisible_find(const struct block_list *bl);
void map_alwaysVisible_send(TBL_PC *sd);
void edo_final_maps_pre(void);
void map_clear_data(void);

#endif  // EVOL_MAP_MAP