* Added charcommands again. Wrong project.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13344 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
sketchyphoenix 2008-11-02 22:12:33 +00:00
parent aea361cf91
commit e6948a5344
2 changed files with 3955 additions and 0 deletions

3936
src/map/charcommand.c Normal file

File diff suppressed because it is too large Load Diff

19
src/map/charcommand.h Normal file
View File

@ -0,0 +1,19 @@
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef _CHARCOMMAND_H_
#define _CHARCOMMAND_H_
//#include "map.h"
struct map_session_data;
extern char charcommand_symbol;
typedef int (*CharCommandFunc)(const int fd, struct map_session_data* sd, const char* command, const char* message);
bool is_charcommand(const int fd, struct map_session_data* sd, const char* message);
bool is_charcommand_sub(const int fd, struct map_session_data* sd, const char* str, int gmlvl);
int get_charcommand_level(const CharCommandFunc func);
int charcommand_config_read(const char* cfgName);
#endif /* _CHARCOMMAND_H_ */