summaryrefslogtreecommitdiff
path: root/src/gui/chat.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-04-08Move ChatInput into the files for ChatWindowJared Adams1-1/+12
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-1/+1
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-03-29Fix up eAthena party handling some moreJared Adams1-9/+1
2009-03-28Fix output location for CommandHandlerJared Adams1-2/+2
2009-03-28Allow changing chat tabs with the keyboardJared Adams1-0/+22
Defaults to: [ for previous tab ] for next tab
2009-03-27Clean up of most of the Network pointersBjørn Lindeijer1-6/+1
Now that messages can be sent without requiring a pointer to the Network instance, a lot of cleanup was possible.
2009-03-27Removed unnecessary parenthesis on constructorsBjørn Lindeijer1-1/+1
2009-03-27Clean up chat and chat tabs some moreJared Adams1-5/+7
2009-03-27Add a close command to WhisperTabJared Adams1-1/+9
2009-03-27Fixed some compiler warningsBjørn Lindeijer1-24/+23
Fixed a faulty == statement that should have been an assignment and a mismatched 'else' block.
2009-03-26Major clean up of ChatTab handlingJared Adams1-48/+8
ChatTabs now manage their own adding/removal from the chat window, which lost most of it's chat related messages. Whisper handling is stil done by the ChatWindow, but it no longer manages any other tabs. ChannelTab handling is now the sole responsability of the Channels they are attached to. The general tab is handled by Game.
2009-03-26Add WhisperTabsJared Adams1-0/+38
2009-03-26Add ChannelTab for chat channelsJared Adams1-4/+8
This fixes TMWServ compilation form the previous commit.
2009-03-26Move ChatWindow over to ChatTabsJared Adams1-360/+56
TMWServ compilation is likely not functional after this, I didn't check. THe next commit will address that.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-34/+51
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-9/+15
Conflicts: Many files.
2009-03-23Move all TMWServ-specific code to net/tmwservJared Adams1-2/+2
Also fix several instances where the same net handler was being used for both servers, and a few other related oddities.
2009-03-23Merge eA's command handling into CommandHandlerJared Adams1-443/+58
Also drop Aethyra's custom magic code
2009-03-22Move handling of eA skill messages to SkillHandlerJared Adams1-95/+3
2009-03-22Fix chat under eAthenaJared Adams1-63/+56
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-25/+265
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-03-15Overrode the reset window function in the chat window to also reset theIra Rice1-0/+6
position of the recorder, as well as fixed resetting the help window, and exposing the buy/sell window to being resettable, as well as remembering its previous position. All windows should now be covered by the reset button on the setup pane. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-15Fix some mem leaksJared Adams1-0/+2
2009-03-10Fix some mem leaksJared Adams1-2/+0
2009-03-10Fix some mem leaksJared Adams1-0/+2
2009-03-10Fix some mem leaksJared Adams1-0/+2
2009-03-10Extended window layout to take relative positions, as well as offsets toIra Rice1-1/+1
that position. This makes it so that when resolutions are changed, the default locations stay relative to the window's position, and not the 800x600 screen resolution. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Fix typo in item link parsingJared Adams1-13/+18
2009-03-10Expand the scope where item links workKess Vargavind1-31/+31
This patch makes item links work in any chatLog() message, not only chatSend() as before. I enabled it for the "You picked <nr> <item>" message by explicitly adding [] around the item name in the string.
2009-03-10Fixed an indentation error in the last commit.Ira Rice1-8/+8
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-10Remove some tabs and trailing whitespaceJared Adams1-8/+8
2009-03-10Fix typo in item link parsingJared Adams1-13/+18
2009-03-10Remove some tabs and trailing whitespaceJared Adams1-8/+8
2009-03-10Expand the scope where item links workKess Vargavind1-31/+31
This patch makes item links work in any chatLog() message, not only chatSend() as before. I enabled it for the "You picked <nr> <item>" message by explicitly adding [] around the item name in the string.
2009-02-28Allow chatting while talking to NPCsJared Adams1-1/+6
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-18/+5
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-18/+5
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-17Merge branch 'aethyra/master'Bjørn Lindeijer1-1/+21
Conflicts: src/gui/npc_text.cpp src/gui/npc_text.h src/gui/npcintegerdialog.cpp src/gui/npclistdialog.cpp src/gui/npcstringdialog.cpp src/net/npchandler.cpp src/npc.cpp
2009-02-16Moved location of trim checking, since it really should be done afterIra Rice1-6/+3
the recipient nickname is parsed out. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Trim whitespace from the beginning and end of whispers, as well asIra Rice1-0/+21
disallowing empty whispers and whispers to yourself, since both of those cases cause the server to report back stating that the player wasn't found (even if they are there, like yourself). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-16Fixed a nasty crash that was only visible from the @help command. If theIra Rice1-1/+3
line's string was empty after trimming, the client would crash when trying to get a substring. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-15Don't make window name translatableBjørn Lindeijer1-1/+1
The window name is used in the configuration file, in contrast to the window title.
2009-02-15Removed unnecessary parenthesis at constructorsBjørn Lindeijer1-1/+1
When not passing any parameters to constructors, there is no reason for using parenthesis.
2009-02-15Add configurable units systemJared Adams1-1/+1
2009-02-12Describe the /me command in chat helpKess Vargavind1-13/+23
Also a few whitespace and spelling fixes.
2009-02-12Describe the /me command in chat helpKess Vargavind1-13/+23
Also a few whitespace and spelling fixes.
2009-02-11Implemented /meMadCamel1-0/+16
2009-02-11Fixed crash when sending a blank item linkMadCamel1-1/+1
2009-02-11Implemented /meMadCamel1-0/+16
2009-02-11Fixed crash when sending a blank item linkMadCamel1-1/+1