summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-07-30Updated TMW to be compatible with Guichan 0.5.0 (merged from guichan-0.5.0Bjørn Lindeijer1-6/+4
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.
2005-10-07Modified finding NPC as by timonator's suggestion in order to allow NPCs to beBjørn Lindeijer1-6/+13
clicked on their heads too. Also made start to tile engine improvement by adding the Sprite class that is now used by the floor items for being displayed on the map. Finally added documentation to Item class and splitted out Properties class from Map.
2005-09-30Updated NEWS file for next release.Bjørn Lindeijer1-5/+0
2005-09-26Added a nicer handling of when you get disconnected from the server.Eugenio Favalli1-1/+1
2005-09-18 Applyed biggeruniverse's patch to fix memory leaks.Eugenio Favalli1-0/+1
2005-09-12Added SDLImageLoader class to make guichan support physfs.Björn Steinbrink1-15/+8
2005-08-28Prepare our source so that it'll survive a guichan header cleanup, should it ↵Björn Steinbrink1-0/+1
ever happen...
2005-08-28Create a GuiConfigListener class.Björn Steinbrink1-9/+21
2005-08-18Semi-separated OpenGL and SDL graphics classes, improving OpenGL performance.Björn Steinbrink1-5/+2
2005-08-15Removed guiTop global variable.Björn Steinbrink1-5/+4
2005-08-14Fully removed the useOpenGL global.Björn Steinbrink1-2/+1
2005-08-14Started to fade out the useOpenGL global variable.Björn Steinbrink1-0/+1
2005-08-14Removed guiGraphics global pointer and removed dependencies on gui.h in some ↵Björn Steinbrink1-6/+3
places.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-20/+34
2005-08-10Moved knowledge about whether we use OpenGL into the Graphics class. Added ↵Björn Steinbrink1-18/+3
helper function for being creation to reduce code duplication. Some code simplifications.
2005-08-04Made the paths to some graphics being determined dynamically.Björn Steinbrink1-42/+10
2005-07-28Added an action enumeration to th Being class and removed the old #define's.Björn Steinbrink1-1/+1
2005-07-27Committing merging opengl and sdl part 3 by AndrejBjørn Lindeijer1-0/+6
2005-07-26Removed continous mouse movementBjörn Steinbrink1-29/+11
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-7/+23
nicer approach after the release.
2005-07-23Allowed continous movement when holding down left mouse buttonBjörn Steinbrink1-11/+29
2005-07-23Restored Being::setDestination, a pointer to the current map is now kept as ↵Björn Steinbrink1-3/+1
a member in Being.
2005-07-23Removed knowledge about the engine and maps from the being class..Björn Steinbrink1-1/+3
2005-07-16Made Image/SubImage being drawn by Graphics. Removed some redundant code.Björn Steinbrink1-2/+3
2005-07-14Committed resource manager cleanup patch by Doener, and properly implementedBjørn Lindeijer1-33/+94
the custom mouse cursor option, which is now also dynamically changeable through the setup window.
2005-07-13* Committing some cleanups by DoenerBjørn Lindeijer1-1/+1
* 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-13- Adding the wonderful new font by Bjorn to speech and player namesEugenio Favalli1-0/+25
- Way to system cursor (now you can choose the original sdl cursor in config)
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-1/+4
2005-07-11Introducing new font, sans serif 8.Bjørn Lindeijer1-15/+15
2005-07-09Add fallbacks for the font image loading code so that running tmw without doingRodney Dawes1-0/+24
make install can work again
2005-07-09reverting one of my biggest errorsEugenio Favalli1-1/+1
2005-07-09Some win32 fixes most of allEugenio Favalli1-8/+1
2005-07-03- Fixed blue, red and yellow damage fonts to work in SDL modeBjørn Lindeijer1-3/+10
- Added two international characters to fixed font, fixed autotarget - Fixed mouse autotarget (now default for left click) - Cleaned up showing of empty right click menus
2005-07-03- Commenting out buddy and new skills windowsEugenio Favalli1-3/+3
- Some code cleaning - Workaround for colored text not being displayed in SDL mode (disabled)
2005-07-03Commiting againJosé Ávila1-0/+27