summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-22 18:55:51 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-22 20:38:13 -0600
commitd3f315b45bd9055ac7f61082f5af54b863410517 (patch)
tree1314eaf07e01c7651330b2845c9bcd10def62586 /src/gui/chat.h
parent2303bb28359d18b8f23328376f800dc36e5c2f5f (diff)
downloadMana-d3f315b45bd9055ac7f61082f5af54b863410517.tar.gz
Mana-d3f315b45bd9055ac7f61082f5af54b863410517.tar.bz2
Mana-d3f315b45bd9055ac7f61082f5af54b863410517.tar.xz
Mana-d3f315b45bd9055ac7f61082f5af54b863410517.zip
Move handling of eA skill messages to SkillHandler
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h55
1 files changed, 0 insertions, 55 deletions
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.
*/