diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-13 14:06:05 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-13 14:06:05 +0000 |
commit | 952043f3fc80c16ef45f68defb3a9f6a764ba0d7 (patch) | |
tree | f2919dfd29c372b7a24b9ae7074959a6f7694ad1 /src/map/charcommand.h | |
parent | 74b5927330e0be611ff14cc7bcebff9f2c536f59 (diff) | |
download | hercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.tar.gz hercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.tar.bz2 hercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.tar.xz hercules-952043f3fc80c16ef45f68defb3a9f6a764ba0d7.zip |
- 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
Diffstat (limited to 'src/map/charcommand.h')
-rw-r--r-- | src/map/charcommand.h | 10 |
1 files changed, 7 insertions, 3 deletions
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);
|