summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
AgeCommit message (Collapse)AuthorFilesLines
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-8/+18
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-6/+12
Conflicts: Many files.
2009-03-23Make some getters constJared Adams1-2/+2
2009-03-23Merge eA's command handling into CommandHandlerJared Adams1-42/+10
Also drop Aethyra's custom magic code
2009-03-22Move handling of eA skill messages to SkillHandlerJared Adams1-55/+0
2009-03-22Fix chat under eAthenaJared Adams1-12/+13
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-33/+135
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-14Exposed a few more windows to the reset button on the setup window.Ira Rice1-6/+6
These windows required an external declaration to reset. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-28Allow chatting while talking to NPCsJared Adams1-1/+4
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-06Sanitized item links so that at no point is the internal representationIra Rice1-1/+1
of the item link shown. This should help make it easier for people to represent the square brackets with item links, and prevent people from forging item links when they never see the internal representation of an item link. Should also reduce confusion from people who haven't upgraded their clients as well, as they wonder what all the junk is around the item name. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-3/+0
include anything not needed by that specific widget or window. This appears to have cleaned up system performance a bit on my current setup, where it went from idling on 45% in game with opengl down to 30% now. Also moved iptostring to the tostring header, as importing all of network.h is a little overkill to use that function, and it goes along with the basic functions that are in that header file anyways. TODO: find out a way to get rid of warnings when a class doesn't use this function. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-25Removed the TMW branding from header guardsBjørn Lindeijer1-2/+2
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-21Reflowed chat window to use layout code.Ira Rice1-5/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Added WoW style item adding to chat window. Right click, then leftDavid Athay1-1/+6
clicking on add to chat to put the item in the chat input. Left click the item link to show a popup description, and click the link again to remove the popup.
2009-01-17Cleaned up chat code a bit.Ira Rice1-2/+4
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-15Style cleanups throughout most of the code. Splitting function type fromIra Rice1-136/+129
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-14Added linking to item's just using [Item Name] in chatDavid Athay1-1/+1
2009-01-13Added WoW style item adding to chat window. Right Ctrl and Left click to put ↵David Athay1-0/+7
the item in the chat input. Left click the item link to show a popup description, and click the link again to remove the popup.
2008-12-17Code reformattingBjørn Lindeijer1-19/+12
Mainly making sure 'const std::string &' is used everywhere instead of 'std::string const &'. The former has always been the preferred order in this project.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-4/+2
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-11-01Merged revisions 4207-4209,4221-4222 via svnmerge from Bjørn Lindeijer1-1/+1
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r4207 | b_lindeijer | 2008-04-29 11:10:43 +0200 (Tue, 29 Apr 2008) | 6 lines * Fixed issue with determining whether chat input is focused (method no longer virtual). * Fixed sometimes rendering with the wrong font. * Fixed warnings about hiding virtual method, Window now always deletes its children (the option not to do so was never used anyway). ........ r4208 | b_lindeijer | 2008-04-29 13:25:26 +0200 (Tue, 29 Apr 2008) | 3 lines Removed unused option from GCContainer to not delete a child, fixing warnings about hiding virtual method gcn::Container::add. ........ r4209 | b_lindeijer | 2008-04-29 14:58:21 +0200 (Tue, 29 Apr 2008) | 3 lines When compiling with GCC, use the printf format attribute for the log method so that the compiler checks the type of its parameters. ........ r4221 | peaveydk | 2008-05-06 21:23:49 +0200 (Tue, 06 May 2008) | 1 line Dont allow dragging of empty placeholders. ........ r4222 | peaveydk | 2008-05-08 00:49:38 +0200 (Thu, 08 May 2008) | 1 line Make F8 toggle shortcut window as suggested by And1 an fate. ........
2008-07-18Import of client treeLloyd Bryant1-125/+145
2008-07-14fix view names checkbox, fix compilation with cmakeRoderic Morris1-1/+1
2008-07-04Ugly hack for chat scrolling.David Athay1-5/+7
2008-06-10add commandhandler class and fix / add some commandsRoderic Morris1-29/+22
2008-06-03channel announcements and leave / enter messages, chat code refactoringRoderic Morris1-69/+2
2008-05-08Allow page up and page down to scroll the chat window, based on patch by fate.Dennis Friis1-4/+15
2008-05-05Only update the size of chat window widgets when it is resized.Bjørn Lindeijer1-3/+7
2008-04-29* Fixed issue with determining whether chat input is focused (method no longerBjørn Lindeijer1-1/+1
virtual). * Fixed sometimes rendering with the wrong font. * Fixed warnings about hiding virtual method, Window now always deletes its children (the option not to do so was never used anyway).
2008-04-20Merged two maps into one, avoid non-const operator[] and check whether channelBjørn Lindeijer1-6/+24
was found.
2008-04-18Fixed numerous crashes with chat and guild windows using new tabbed area.David Athay1-14/+12
2008-04-14Added new TabbedArea which extends gui::TabbedArea. Changed Guild and David Athay1-4/+10
Chat windows to use new TabbedArea. Added private messaging.
2008-04-14Changed prefix of received whisper messages from "says:" to "whispers:"Philipp Sehmisch1-1/+1
2008-04-10Implemented support for whispering to other players (patch by peavey).Bjørn Lindeijer1-0/+2
2008-03-09Applied some patches by peavey related to chatlog and the quit dialog.Philipp Sehmisch1-0/+2
2008-02-18Merged revisions 3762-3772,3776-3782 via svnmerge from Bjørn Lindeijer1-1/+2
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r3762 | crush_tmw | 2007-12-04 00:25:25 +0100 (Tue, 04 Dec 2007) | 1 line Added/renamed some headgears for the christmas event. ........ r3763 | crush_tmw | 2007-12-04 14:51:20 +0100 (Tue, 04 Dec 2007) | 1 line tophead -> tophat ........ r3764 | b_lindeijer | 2007-12-05 21:20:25 +0100 (Wed, 05 Dec 2007) | 3 lines Fix drawing of very high fringe tiles by keeping track of the maximum tile height. ........ r3765 | crush_tmw | 2007-12-07 01:50:15 +0100 (Fri, 07 Dec 2007) | 1 line Added a new drop item for the christmas event. ........ r3768 | crush_tmw | 2007-12-09 20:45:53 +0100 (Sun, 09 Dec 2007) | 1 line New versions of funky hat and elf hat by QOAL. ........ r3769 | crush_tmw | 2007-12-10 03:22:59 +0100 (Mon, 10 Dec 2007) | 1 line Simplified player subsprite handling by treating equipment, hairstyle and base sprites alike. Implementing female hairstyles is now a purely content-sided task. ........ r3770 | crush_tmw | 2007-12-10 03:50:15 +0100 (Mon, 10 Dec 2007) | 1 line Added an option to show log messages in the chat console. ........ r3771 | crush_tmw | 2007-12-10 17:12:56 +0100 (Mon, 10 Dec 2007) | 1 line Implemented female hairstyles. ........ r3772 | b_lindeijer | 2007-12-10 21:42:11 +0100 (Mon, 10 Dec 2007) | 2 lines Include cassert header. ........ r3777 | crush_tmw | 2007-12-14 18:33:45 +0100 (Fri, 14 Dec 2007) | 1 line Fixed some errors with the filenames of the new items (unrelated to my eAthena problems). ........ r3778 | crush_tmw | 2007-12-14 19:21:39 +0100 (Fri, 14 Dec 2007) | 1 line fixed some more screwups with the new items. ........ r3780 | crush_tmw | 2007-12-14 19:40:12 +0100 (Fri, 14 Dec 2007) | 1 line Put new items in equipment.xml for backward compatibility with the last client release. ........ r3782 | b_lindeijer | 2007-12-17 16:59:04 +0100 (Mon, 17 Dec 2007) | 2 lines Fixed the item tags. ........
2008-02-12Merged revisions 3687-3688,3690 via svnmerge from Bjørn Lindeijer1-4/+1
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r3687 | crush_tmw | 2007-10-26 02:22:12 +0200 (Fri, 26 Oct 2007) | 1 line Added possibility of length limitation to browserbox and used it for the chatlog (length set by the config option "ChatLogLength"). ........ r3688 | crush_tmw | 2007-10-26 02:38:00 +0200 (Fri, 26 Oct 2007) | 1 line Removed some completely useless code from the chat class. ........ r3690 | crush_tmw | 2007-10-26 14:50:49 +0200 (Fri, 26 Oct 2007) | 1 line Implemented monster hurt sounds and added new sound effects by Cosmostrator. ........
2007-12-10Added an option to show log messages in the chat console.Philipp Sehmisch1-0/+2
2007-11-20Merged revisions 3692 via svnmerge from Bjørn Lindeijer1-1/+1
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3692 | gmelquio | 2007-10-27 11:03:13 +0200 (Sat, 27 Oct 2007) | 1 line Made it compile with GCC 4.3 ........
2007-10-27Made it compile with GCC 4.3Guillaume Melquiond1-1/+1
2007-10-26Removed some completely useless code from the chat class.Philipp Sehmisch1-5/+0
2007-08-27Added "/admin" chat command for sending raw messages to the game server.Guillaume Melquiond1-26/+15
2007-06-04Merged 0.0 changes from revision 3234 to 3317 to trunk.Bjørn Lindeijer1-2/+2
2007-06-02Changed color of chat messages in OpenGL mode from orange to black.Bjørn Lindeijer1-2/+2
2007-02-27Implementation of chat channels by Trapdoor.Philipp Sehmisch1-7/+47
2007-01-14Merged 0.0 changes from revision 2988 to 3035 to trunk.Bjørn Lindeijer1-4/+7