From 952043f3fc80c16ef45f68defb3a9f6a764ba0d7 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 13 Jun 2006 14:06:05 +0000 Subject: - Oppositions can't be made during WoE now. - Fixed a few compiler warnings from VC - Commented out the Homunculus Skills<->Status Change link which was causing some memory corruptions. - git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7127 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/charcommand.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/map/charcommand.h') diff --git a/src/map/charcommand.h b/src/map/charcommand.h index 741d5eb9e..a081000d8 100644 --- a/src/map/charcommand.h +++ b/src/map/charcommand.h @@ -34,8 +34,6 @@ enum CharCommandType { CharCommandChangeSex, CharCommandFeelReset, // Komurka CharCommandHelp, - - #ifdef TXT_ONLY /* TXT_ONLY */ @@ -53,7 +51,13 @@ enum CharCommandType { }; typedef enum CharCommandType CharCommandType; -typedef struct AtCommandInfo CharCommandInfo; +typedef struct CharCommandInfo { + CharCommandType type; + const char* command; + int level; + int (*proc)(const int, struct map_session_data*, + const char* command, const char* message); +} CharCommandInfo; CharCommandType is_charcommand(const int fd, struct map_session_data* sd, const char* message, int gmlvl); -- cgit v1.2.3-70-g09d2