summaryrefslogblamecommitdiff
path: root/src/map/HPMmap.h
blob: 96515772bd981debc04692775a1d61a4ba807c08 (plain) (tree)
1
2
3
4
5
6
7
8






                                                           
                             







                                                                                                                  


                                                           

                                                     

                            
                      
// Copyright (c) Hercules Dev Team, licensed under GNU GPL.
// See the LICENSE file

#ifndef _HPM_MAP_
#define _HPM_MAP_

#include "../common/cbasetypes.h"
#include "../map/atcommand.h"

struct hplugin;
struct map_session_data;

void HPM_map_addToMSD(struct map_session_data *sd, void *data, unsigned int id, unsigned int type, bool autofree);
void *HPM_map_getFromMSD(struct map_session_data *sd, unsigned int id, unsigned int type);
void HPM_map_removeFromMSD(struct map_session_data *sd, unsigned int id, unsigned int type);

bool HPM_map_add_atcommand(char *name, AtCommandFunc func);
void HPM_map_atcommands(void);

void HPM_map_plugin_load_sub(struct hplugin *plugin);

void HPM_map_do_final(void);

#endif /* _HPM_MAP_ */