summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-01-06Fixed the true type font to render unicode nowBjørn Lindeijer1-9/+5
2009-01-06Added support for unicode charset in textfields and chat.Guillaume Melquiond1-5/+3
Conflicts: src/Makefile.am src/game.cpp src/gui/browserbox.cpp src/gui/gui.cpp src/gui/textfield.cpp src/main.cpp (cherry picked from mainline commit 7b67e852086ad3ccd98a622f890b245ab6a0a321)
2009-01-05Modified the Aethyra client to use the TMW TrueType class, rather thanEugenio Favalli1-3/+4
the inbuilt GUIChan TrueType class. (Didn't use it originally because I didn't see the difference, when there's a considerable speedup, and that originally the import for TMW was broken code at the time, which has been fixed since.)
2008-12-29Added support for True Type Fonts using GUIChan's inbuilt SDLTrueTypeIra Rice1-18/+15
class. NOTE: This commit adds a brand new dependency (SDL_TTF). Make sure to install it, regenerate your config files, reconfigure, and then install before attempting to compile. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-07Merge commit 'a7c21e6f8add37af7412449742ec55c8daa8571a'Ira Rice1-1/+1
Conflicts: AUTHORS CMakeLists.txt ChangeLog INSTALL README aethyra.cbp configure.ac data/help/changes.txt data/help/commands.txt data/help/header.txt data/help/support.txt src/Makefile.am src/aethyra.rc src/being.cpp src/being.h src/equipment.cpp src/equipment.h src/floor_item.h src/game.cpp src/gui/buddywindow.cpp src/gui/char_select.cpp src/gui/char_server.cpp src/gui/chat.cpp src/gui/chat.h src/gui/equipmentwindow.cpp src/gui/equipmentwindow.h src/gui/gui.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/itemcontainer.cpp src/gui/itemcontainer.h src/gui/minimap.cpp src/gui/ministatus.cpp src/gui/newskill.cpp src/gui/npc_text.cpp src/gui/npclistdialog.h src/gui/ok_dialog.cpp src/gui/setup_video.cpp src/gui/skill.cpp src/gui/skill.h src/gui/status.h src/gui/table_model.h src/gui/updatewindow.cpp src/gui/viewport.cpp src/inventory.cpp src/inventory.h src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/localplayer.h src/logindata.h src/main.cpp src/map.cpp src/monster.cpp src/monster.h src/net/beinghandler.cpp src/net/beinghandler.h src/net/buysellhandler.cpp src/net/equipmenthandler.cpp src/net/loginhandler.cpp src/net/loginhandler.h src/net/network.h src/net/npchandler.cpp src/net/playerhandler.cpp src/net/protocol.h src/net/tradehandler.cpp src/npc.cpp src/npc.h src/particleemitter.cpp src/particleemitterprop.h src/player.cpp src/player.h src/player_relations.cpp src/resources/imageset.cpp src/resources/imageset.h src/resources/itemdb.cpp src/resources/mapreader.cpp src/resources/monsterinfo.h src/text.cpp src/text.h src/textmanager.cpp src/textmanager.h src/tileset.h src/utils/fastsqrt.h src/utils/strprintf.cpp src/winver.h tools/tmxcopy/Makefile tools/tmxcopy/base64.cpp tools/tmxcopy/base64.h tools/tmxcopy/tostring.h Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-05Fade out mouse cursor when not used for some timeBjørn Lindeijer1-12/+35
The mouse cursor will now disappear when not used for 15 seconds. When using OpenGL it will even fade. Requested by doorsman.
2008-12-05Fade out mouse cursor when not used for some timeBjørn Lindeijer1-12/+35
The mouse cursor will now disappear when not used for 15 seconds. When using OpenGL it will even fade. Requested by doorsman.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-5/+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-04Committed an extension to the San Serif font by Vargavind on TMW so that Ira Rice1-2/+12
it contains the complete ISO-8859-15 character set, as well as made a few other smaller fixes towards fixing make dist.
2008-11-04Applied more changes by vargavind, adding the complete ISO-8859-15 characterBjørn Lindeijer1-3/+13
set to the sans-serif font.
2008-10-31Added a text patch done on TMW to increase the number of characters Ira Rice1-1/+1
supported (done by vargavind), as well as changing the effect used for critical updates (change of opinion on what looks better).
2008-10-31Applied patch by vargavind which adds more special characters to the font.Bjørn Lindeijer1-1/+1
Somehow they were already part of the font image, but not used.
2008-10-31Added critical notifications to the client. While I had originally Ira Rice1-2/+2
planned to do this (I still did it my way), TMW beat me to implementing, so I'll credit them with their commit reminding me to do it. This is not done the exact same way, as I prefer to see an actual "crit!" show above the being, instead of an ambiguous particle.
2008-08-13Added support for different colored fonts for different being typesLloyd Bryant1-0/+47
2008-07-18Import of client treeLloyd Bryant1-1/+1
2007-10-18Merged removal of dependency on Guichan OpenGL from trunk to 0.0 branch, Bjørn Lindeijer1-20/+5
including optimization of OpenGL memory usage on modern OpenGL drivers. Patches by Guillaume Melquiond.
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-3/+3
to native for some files that were still missing this property. This is a feeble attempt to reduce the amount of conflicts for future merges.
2007-08-24Removed useless logic method and reverted mouse cursor to non-static sinceBjørn Lindeijer1-18/+12
there can be only one Gui instance so there is no point in supporting a shared resource.
2007-08-22Added close button and item shortcut backgrounds to files that will beBjørn Lindeijer1-1/+1
installed.
2007-08-21mantis id=118 - Added Item Shortcut Bar.Joshua Langley1-3/+2
2007-08-20Added monster killed xp notification effect.Joshua Langley1-1/+1
2007-08-20Added close button functionality, resize cursor cues.Joshua Langley1-8/+13
2007-07-07Ported to Guichan 0.7.0. Unfortunately, since Guichan 0.6.x didn't have aBjørn Lindeijer1-4/+0
FocusListener, compatibility with older versions is broken.
2006-12-05Fixed visibility of item amount window.Bjørn Lindeijer1-0/+1
2006-12-04Introduced a new class Viewport which combines the drawing code from EngineBjørn Lindeijer1-168/+9
with the (rather misplaced) input handling from the Gui class. Also, it's a Container itself which should allow for extending it to show Guichan widgets on map coordinates.
2006-12-01forgot to include one file in the commitPhilipp Sehmisch1-2/+2
2006-11-26Higher precision log timestamps, some more logging and support for TGA images.Bjørn Lindeijer1-0/+1
2006-11-17Added mouse following support.Björn Steinbrink1-1/+29
2006-11-01Added support for å and Å (with help of Håkan Rönn)Bjørn Lindeijer1-1/+1
2006-09-09Removed easy targeting functionality since it interferes with walking aroundBjørn Lindeijer1-2/+3
too much. Targeting can still be rather conveniently done with 'a' or the middle mouse button.
2006-09-02Corrected mistake in using player coordinates instead of mouse coordinates.Bjørn Lindeijer1-2/+1
2006-09-02Applied patch by Bernard Lidicky, adding targetting nearest monster with eitherBjørn Lindeijer1-1/+15
keyboard or mouse. Also made clicking beings in general a bit easier (patch applied by Bjørn Lindeijer).
2006-08-13Fixed Guichan 0.5.0 compilation issues.Eugenio Favalli1-2/+3
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-6/+4
from the 0.1.0 branch.
2006-03-19Removed some useless null pointer checks.Björn Steinbrink1-4/+1
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-2/+2
2006-03-08Reverted changes from r2225, it broke walking code as I missed the ↵Björn Steinbrink1-3/+3
differences between tile and being collisions.
2006-03-08Let the LocalPlayer decide whether it can walk to a destination.Björn Steinbrink1-3/+3
2006-02-16Use Widget::mFont instead of browserFont for drawing, fixes the "gui needs ↵Björn Steinbrink1-3/+0
to be valid real early" issue.
2006-02-06Added a FloorItemManager class.Björn Steinbrink1-3/+3
2006-02-05Made the player walk to items prior to picking them up.Björn Steinbrink1-4/+0
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-22/+13
2005-12-29ixed two little bugsJan-Fabian Humann1-4/+4
2005-12-29Added the workaround suggested by DoenerJan-Fabian Humann1-0/+3
2005-12-29Added popup support to the Gui class. Moved all mouse input handling into ↵Björn Steinbrink1-13/+117
the Gui class.
2005-10-13Use gcn::Font instead of gcn::ImageFont as pointer type.Björn Steinbrink1-4/+4
2005-10-10Introduced new window shortcuts and corrected position of job xp bar. AlsoBjørn Lindeijer1-1/+1
corrected strange commit by ElvenProgrammer.
2005-10-10Pajarico added more international characters to the fixed font and rpg font.Bjørn Lindeijer1-1/+2
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-2/+5
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.