From d3f315b45bd9055ac7f61082f5af54b863410517 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 22 Mar 2009 18:55:51 -0600 Subject: Move handling of eA skill messages to SkillHandler --- src/gui/chat.h | 55 ------------------------------------------------------- 1 file changed, 55 deletions(-) (limited to 'src/gui/chat.h') diff --git a/src/gui/chat.h b/src/gui/chat.h index 88a5d3e9..a05a2577 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -65,49 +65,6 @@ enum #define CAT_IS "" #define CAT_WHISPER " whispers: " -#ifdef EATHENA_SUPPORT -/** job dependend identifiers (?) */ -#define SKILL_BASIC 0x0001 -#define SKILL_WARP 0x001b -#define SKILL_STEAL 0x0032 -#define SKILL_ENVENOM 0x0034 - -/** basic skills identifiers */ -#define BSKILL_TRADE 0x0000 -#define BSKILL_EMOTE 0x0001 -#define BSKILL_SIT 0x0002 -#define BSKILL_CREATECHAT 0x0003 -#define BSKILL_JOINPARTY 0x0004 -#define BSKILL_SHOUT 0x0005 -#define BSKILL_PK 0x0006 // ?? -#define BSKILL_SETALLIGN 0x0007 // ?? - -/** reasons why action failed */ -#define RFAIL_SKILLDEP 0x00 -#define RFAIL_INSUFHP 0x01 -#define RFAIL_INSUFSP 0x02 -#define RFAIL_NOMEMO 0x03 -#define RFAIL_SKILLDELAY 0x04 -#define RFAIL_ZENY 0x05 -#define RFAIL_WEAPON 0x06 -#define RFAIL_REDGEM 0x07 -#define RFAIL_BLUEGEM 0x08 -#define RFAIL_OVERWEIGHT 0x09 -#define RFAIL_GENERIC 0x0a - -/** should always be zero if failed */ -#define SKILL_FAILED 0x00 - -struct CHATSKILL -{ - short skill; - short bskill; - short unused; - char success; - char reason; -}; -#endif - #define DEFAULT_CHAT_WINDOW_SCROLL 7 // 1 means `1/8th of the window size'. /** @@ -155,13 +112,6 @@ class ChatWindow : public Window, std::string channelName = "", bool ignoreRecord = false); -#ifdef EATHENA_SUPPORT - /** - * Calls original chat_log() after processing the packet. - */ - void chatLog(CHATSKILL); -#endif - /** * Gets the focused tab's name */ @@ -301,11 +251,6 @@ class ChatWindow : public Window, int own; }; -#ifdef EATHENA_SUPPORT - /** Constructs failed messages for actions */ - std::string const_msg(CHATSKILL); -#endif - /** * A structure combining a BrowserBox with its ScrollArea. */ -- cgit v1.2.3-60-g2f50