summaryrefslogtreecommitdiff
path: root/src/emap/map.h
blob: 8f03cf9c3ee7333725f2aef219f5f107682af79a (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
// 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);
void emap_online_list(int fd);
int emap_getcellp(struct map_data* m,
                  const struct block_list *bl,
                  int16 *xPtr, int16 *yPtr,
                  cell_chk *cellchkPtr);
struct mapcell emap_gat2cell(int *gatPtr);
int emap_cell2gat(struct mapcell *cellPtr);
void emap_setgatcell(int16 *mPtr,
                     int16 *xPtr, int16 *yPtr,
                     int *gatPtr);

#endif  // EVOL_MAP_MAP