From 8a22b23c902520efc35a49e45649ea8a3746cc95 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 8 Mar 2006 15:16:48 +0000 Subject: - Added functions mobdb_searchname_array and itemdb_searchname_array which return an array of matches. - Modified @iteminfo and @mobinfo to search and display various matches instead of just one. - Constant MAX_SEARCH in map.h defines the max size of search results. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5512 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/mob.h') diff --git a/src/map/mob.h b/src/map/mob.h index c719c721b..2e12114ec 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -104,6 +104,7 @@ enum { struct mob_db* mob_db(int class_); int mobdb_searchname(const char *str); +int mobdb_searchname_array(struct mob_db** data, int size, const char *str); int mobdb_checkid(const int id); int mob_once_spawn(struct map_session_data *sd,char *mapname, int x,int y,const char *mobname,int class_,int amount,const char *event); -- cgit v1.2.3-60-g2f50