summaryrefslogtreecommitdiff
path: root/src/game.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-04-04Corrected spelling of 'prize'.Bjørn Lindeijer1-3/+2
2007-04-01Screenshots are no longer saved directly in the users home directory on UNIX ↵Philipp Sehmisch1-2/+14
systems but in the sub folder /.tmw/. A chatlog message about the success of the screenshot saving does appear now. Based on a patch by Patrick "the-me" Matthäi.
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-8/+10
2006-12-16Fixed connection dialog visibility and fixed issues with walking one tile tooBjørn Lindeijer1-1/+1
many and changing direction towards an obstacle.
2006-12-14Removed the rather useless remaining draw function from the engine class andBjørn Lindeijer1-1/+1
fixed an issue with fading out damage texts (they were sometimes fully opaque at the end of fading out).
2006-12-04Introduced a new class Viewport which combines the drawing code from EngineBjørn Lindeijer1-4/+6
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-03Made NPC names visible. Windows are now invisible by default.Bjørn Lindeijer1-32/+8
2006-11-26Made Being::mDirection protected, forcing the use of setDirection. DefaultedBjørn Lindeijer1-8/+8
variant argument to 0 since this is the most common situation. Some SpriteDef refactoring, splitting up the loading into several methods, in preparation of adding support for including other sprites.
2006-11-19Separated sprite definition from playback.Bjørn Lindeijer1-7/+7
2006-11-12Worked around a Guichan exception thrown for mice with many buttons (patch byBjørn Lindeijer1-2/+12
Roel van Dijk).
2006-10-01Accepted patches by GDO and VictorSan that fix problems with hiding windowsBjørn Lindeijer1-17/+12
using h and problems with trade window positioning.
2006-09-17Stop using the sticky window attribute which is unneeded for the current ↵Björn Steinbrink1-9/+3
implementation, instead adjust the set of affected windows by the 'hide' shortcut.
2006-09-11Small followup fix to solve the blackout after 100 seconds.Bjørn Lindeijer1-0/+4
2006-09-11Simplified fps limiting a bit and added some comments. Now based onBjørn Lindeijer1-19/+30
ConfigListener so that the fpslimit option doesn't need to be queried the whole time.
2006-09-11Fixed more fps issuesEugenio Favalli1-1/+4
2006-09-06Fixed fps limiter when disabledEugenio Favalli1-2/+11
2006-09-06Fixed fps limiter issues and increased default limit to 60Eugenio Favalli1-8/+8
2006-09-02Applied patch by Bernard Lidicky, adding targetting nearest monster with eitherBjørn Lindeijer1-0/+12
keyboard or mouse. Also made clicking beings in general a bit easier (patch applied by Bjørn Lindeijer).
2006-08-24Added support for sticky windows as discussed with doener. Patch by AHarrisonEugenio Favalli1-1/+28
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-2/+2
from the 0.1.0 branch.
2006-08-07A bunch of cleanups.Björn Steinbrink1-2/+1
2006-08-05Some cleanups, mostly lowering indentation levels.Björn Steinbrink1-20/+7
2006-07-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli1-1/+1
2006-05-03FPS limit can now be set in setup dialog. Default value for FPS is 50. (Code ↵Eugenio Favalli1-5/+11
based on peoro's patch).
2006-05-03Increased fps limit granularity and cleaned some code, fixed some xml ↵Eugenio Favalli1-3/+18
library name in Dev-C++ project file, switched version to 0.0.20.
2006-03-19Removed some useless null pointer checks.Björn Steinbrink1-5/+2
2006-03-09Made all local action listeners structs and moved them into anonymous ↵Björn Steinbrink1-7/+9
namespaces.
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-15/+15
2006-03-09Use std::auto_ptr in some places.Björn Steinbrink1-34/+22
2006-02-07Made the being directions being stored in a bitfield.Björn Steinbrink1-101/+53
2006-02-06Added a Joystick class.Björn Steinbrink1-93/+28
2006-02-06Added a FloorItemManager class.Björn Steinbrink1-4/+12
2006-02-01Created a Game class.Björn Steinbrink1-62/+71
2006-02-01Made the OkDialog and ConfirmDialog classes proxies for their buttons' ↵Björn Steinbrink1-2/+2
events. Removed the RequestTradeWindow class, replaced with a plain ConfirmDialog. Fixed a memory leak along the way.
2006-01-26Moved some setup code out of the game loop into the setup functions. Setup ↵Björn Steinbrink1-30/+48
functions are now called from the outside.
2006-01-22Make dispatchMessages actually handle more than one message per call.Björn Steinbrink1-3/+1
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-1307/+137
2006-01-09Fixed canceled/cancelled inconsistency.Eugenio Favalli1-3/+3
2006-01-07Removed --skipupdate option from Dev.Cpp project file, splitted the setup ↵Eugenio Favalli1-9/+10
window into 3 tabs and added a joystick calibration tool.
2006-01-05Remove some useless code.Björn Steinbrink1-8/+3
2006-01-04FreeBSD Fixes from Icy.Yohann Ferreira1-1/+1
2006-01-03Enabled some /commands.Eugenio Favalli1-1/+10
2006-01-03Really disabled /commands and added proper message when logging in and banned.Eugenio Favalli1-24/+24
2005-12-29Removed duplicate pick up codeBjörn Steinbrink1-13/+4
2005-12-29Added popup support to the Gui class. Moved all mouse input handling into ↵Björn Steinbrink1-135/+0
the Gui class.
2005-12-15Fixed setup window behaviour.Eugenio Favalli1-8/+1
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink1-238/+238
2005-10-16Use the ResourceManager to get spritesets.Björn Steinbrink1-1/+2
2005-10-16The connection should be non-blocking now and fixed the problem with sound ↵Eugenio Favalli1-1/+1
not being played at startup.
2005-10-13Make sure Alt shortcuts don't appear in chatbox.Bjørn Lindeijer1-0/+3