summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
AgeCommit message (Collapse)AuthorFilesLines
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>
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-07-18Import of client treeLloyd Bryant1-125/+145
2008-05-08Allow page up and page down to scroll the chat window, based on patch by fate.Dennis Friis1-4/+15
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-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
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-26Removed some completely useless code from the chat class.Philipp Sehmisch1-5/+0
2007-06-02Changed color of chat messages in OpenGL mode from orange to black.Bjørn Lindeijer1-2/+2
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-4/+7
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-1/+1
from the 0.1.0 branch.
2006-08-07A bunch of cleanups.Björn Steinbrink1-8/+1
2006-03-16A bunch of cosmetic changes.Björn Steinbrink1-1/+1
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-7/+7
2006-02-24Another bunch of cosmetic cleanups, ie mostly typedefs...Björn Steinbrink1-2/+4
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-1/+3
2006-01-03Enabled some /commands.Eugenio Favalli1-2/+6
2006-01-03Really disabled /commands and added proper message when logging in and banned.Eugenio Favalli1-3/+3
2005-12-30Applied pcloud's patch that enhances chat window functionality while hidden.Bjørn Lindeijer1-1/+6
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-1/+2
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
2005-08-28Prepare our source so that it'll survive a guichan header cleanup, should it ↵Björn Steinbrink1-0/+3
ever happen...
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-7/+8
2005-07-13* Committing some cleanups by DoenerBjørn Lindeijer1-5/+0
* Fixed some compiler warnings * Restored a USE_OPENGL check around OpenGL headers * Fixed error about FALSE not being defined * Fixed issue with font to become speechFont when the latter is not installed
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-2/+2
2005-06-30Improved buddylist, added talkMateusz Kaduk1-0/+3
2005-06-17new BrowserBox widget with colors/links supportJosé Ávila1-1/+7
2005-06-05Implemented wrapping for textbox (still could use a small fix) and made deathBjørn Lindeijer1-11/+0
notice dialog release modal focus immediately.
2005-05-14Mainly separating core GUI classes from game interface.Bjørn Lindeijer1-1/+3
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-1/+1
2005-05-01Chat input now hides when not focussed, and doesn't allow player be controlledBjørn Lindeijer1-2/+2
by keyboard when it is.
2005-04-29Chat command history should now be functional. Player movement will still needBjørn Lindeijer1-9/+7
to be stopped while chat box is focussed for it to work nicely though.
2005-04-29*** empty log message ***Bjørn Lindeijer1-19/+21
2005-04-28First step to chat historyMateusz Kaduk1-0/+10
2005-04-26Corrections to scrolling chat modifications by Usiu.Bjørn Lindeijer1-6/+2
2005-04-26Added scrolling to chat but setText() works strangly and because of draw() I ↵Mateusz Kaduk1-0/+7
get message looping
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-4/+4
of packet.list and chatlog.txt and removed name from player chat "balloon".
2005-03-14Fixed handling of get item button and made chatWindow (de)focus on ENTER - ↵Jan-Fabian Humann1-1/+7
You can now only use the get item button when chat window isn't focused
2005-03-13Added line wrapping on a per-word basisEric Scrivner1-0/+10
2005-03-13Converted ChatBox into a proper ChatWindow in response to changes by Chetic.Bjørn Lindeijer1-8/+19
2005-02-27No more SDL_Surface in the chat box.Yohann Ferreira1-1/+2