summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2005-06-17Updated BrowserBox to work with SDL by using the original font. (the setColorAaron Marks1-0/+7
calls can be ignored, as they have no effect on the font when Guichan is using SDL).
2005-06-14Added background to minimap. Only used in Tonori Desert map for now, and itsBjørn Lindeijer1-2/+4
style is up for discussion.
2005-06-05Using custom focus handler to work around problem with multiple widgetsBjørn Lindeijer1-0/+5
requesting modal focus using a stack based approach.
2005-05-22An attemp on auto attack, not bug free for sureEugenio Favalli1-0/+2
2005-05-16Leave out OpenGL completely when not enabled.Bjørn Lindeijer1-2/+9
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-1/+1
2005-05-01Catch exception to put some message through to the user.Bjørn Lindeijer1-4/+12
2005-05-01- Added installation of game data, install required on *nix systemsRodney Dawes1-1/+1
- Updated desktop file to work better - Install the desktop file to the standard location - Install the icon as tmw.png in the standard pixmaps data dir
2005-05-01Adding safety check to walk check.Bjørn Lindeijer1-1/+1
2005-04-30Some fixes to player control, also attempting to solve long walk path problem.Bjørn Lindeijer1-2/+4
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-7/+6
of packet.list and chatlog.txt and removed name from player chat "balloon".
2005-04-18Ok, of course the biggest problem to solve with OpenGL integration is loadingBjørn Lindeijer1-6/+7
and rendering of images.
2005-04-08Updated change log and made mouse walk only work with left mouse button.Bjørn Lindeijer1-8/+11
2005-04-05Don't command the server to walk the character to an occupied tile, for exampleBjørn Lindeijer1-1/+1
where a shopkeeper is standing.
2005-04-02Work around Guichan focussing bug.Bjørn Lindeijer1-0/+9