summaryrefslogtreecommitdiff
path: root/src/game.h
AgeCommit message (Collapse)AuthorFilesLines
2012-08-02Split off minimap window from mini status window and repositioned themThorbjørn Lindeijer1-0/+2
2012-08-02Embedded the minimap into the mini status windowThorbjørn Lindeijer1-1/+1
2012-08-01Some positioning changes in the game UIThorbjørn Lindeijer1-4/+4
Moved player status bars to the top-right, next to the window menu. Used the layout for dynamic adjustments to screen resolution.
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-22Allow resizing of the game in windowed modeThorbjørn Lindeijer1-0/+2
Window positions are semi-smartly corrected as a result of the resize. Not supported when using OpenGL on Windows for now. Reviewed-by: Yohann Ferreira
2011-08-11The shortcuts are now refreshed when reassigning keys.Yohann Ferreira1-1/+8
2011-06-17First pass on removing tile hard coded values.Yohann Ferreira1-0/+6
Every files has been checked against the hard coded 32 values except the map.cpp file. I also added convenience functions in the Game class, centralized the default item icon size, and removed two unused defines in being.cpp.
2011-04-30Fixed disconnected dialog to only pop up onceThorbjørn Lindeijer1-1/+1
Bug introduced in 88934303761ba950be56eac8b60de2dede88a29f and spotted by Stefan Dombrowski. Reviewed-by: Stefan Dombrowski Reviewed-by: Yohann Ferreira
2010-04-12Add support for map-server switching under eAthenaJared Adams1-2/+0
Also do some cleanup that's been needed for a while. Reviewed-by: Bertram
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer1-27/+9
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Use SDL_gfx to limit the framerateThorbjørn Lindeijer1-7/+6
Makes sense if we depend on SDL_gfx anyway, and it seems to do a better job at it than the code we had.
2010-02-06Merged the Engine class into the Game classThorbjørn Lindeijer1-3/+36
There was little point in keeping the Engine class separate. It wasn't an engine at all, but only kept track of the currently active map, a job more suitable for the Game class anyway.
2010-01-12Standardize header orderJared Adams1-2/+1
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2009-12-09Unifying the default folder for screenshots and making it configurableStefan Dombrowski1-0/+2
For all operating systems screenshots are now saved in ~/Desktop. If this folder does not exist, then the user's home is used. The players can change this with the new option --screenshot-dir. This patch is for http://mantis.themanaworld.org/view.php?id=969
2009-10-15Speed code unification part 3: Made the client handle the speed in tiles per ↵Bertram1-0/+1
second in TMWserv. While I was on it, I tweaked the default speed value to its final 6 tiles per second value, which seems to be nice to me. Another notice, the server does already send speed value to the player. The keyboard movement protocol is one step ahead Release Candidate, enjoy ;)
2009-05-04Replaced emote window with a new emote popupBjørn Lindeijer1-2/+4
The popup is meant to be temporary, showing the emote instantly when you click on it. It adapts nicely to show any number of emotes. I still need to add a better way of assigning emote shortcuts, since currently you can only change which emote is assigned to which shortcut by actually using it.
2009-04-07Make GeneralHandlers for both networksJared Adams1-34/+2
Also make Net::LogoutHandler
2009-04-02Add some missing handler for eAthenaJared Adams1-0/+1
Also expand aAthena's AdminHandler
2009-03-29Fix up eAthena party handling some moreJared Adams1-1/+1
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-0/+2
Conflicts: A lot of files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-2/+22
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-02-19Prevent target toggling when the button is heldJared Adams1-0/+2
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-4/+0
Conflicts: A lot of files...
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-26/+26
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-08Mostly fixed a few field values to behave better in Windows, as well asIra Rice1-3/+0
removed the need for sending graphics to the setSpeech function (since it isn't needed) and started actually using the time variable which it's passed (could be set to show the speech longer if the dialog is longer, for example). Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-07Some more include cleanups.Ira Rice1-1/+0
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.
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-2/+0
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-10-27add effect handler (by Chuck Miller)Roderic Morris1-0/+1
2008-10-21Fixed up some of the postal system stuff for testing it.David Athay1-0/+1
2008-07-18Import of client treeLloyd Bryant1-25/+25
2008-07-14Added admin commands to /help and added registration of party handlerDavid Athay1-0/+1
2008-03-23Merged revisions 3828-3829,3831-3838,3841,3843-3844,3847-3872,3874,3876-3900 ↵Bjørn Lindeijer1-1/+1
via svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/branches/0.0 ........ r3828 | crush_tmw | 2007-12-31 17:14:27 +0100 (Mon, 31 Dec 2007) | 1 line Added config options to set the scroll center. Retained scroll offset during map change for smoother map transitions. ........ r3859 | b_lindeijer | 2008-01-26 20:38:43 +0100 (Sat, 26 Jan 2008) | 3 lines Fixed a GCC 4.3 compile error and constified the usage of auto_ptr, since that's the way in which we are using them. ........ r3876 | crush_tmw | 2008-02-11 20:00:43 +0100 (Mon, 11 Feb 2008) | 1 line Added music and overlay to snake dungeon. ........ r3883 | crush_tmw | 2008-02-12 15:00:22 +0100 (Tue, 12 Feb 2008) | 1 line Particle emitters are now activated after the parent particle has moved instead of before (small change which allows a little trick to create polar emitters) ........ r3887 | umperio | 2008-02-12 20:49:37 +0100 (Tue, 12 Feb 2008) | 1 line Made pathfinding not halt on collision destination tile, made moving around with mouse smoother. Added possibility to pass through players with key controls. ........ r3888 | crush_tmw | 2008-02-13 21:49:55 +0100 (Wed, 13 Feb 2008) | 1 line Added new headgears by Black Don (thanks to QOAL for testing and implementation) ........ r3891 | umperio | 2008-02-18 09:52:06 +0100 (Mon, 18 Feb 2008) | 1 line Fixed image name. ........ r3892 | umperio | 2008-02-18 11:00:45 +0100 (Mon, 18 Feb 2008) | 1 line Forgot a %s ........ r3899 | crush_tmw | 2008-02-19 14:23:34 +0100 (Tue, 19 Feb 2008) | 1 line Map fixes at snake dungeon by QOAL ........ r3900 | crush_tmw | 2008-02-19 14:32:24 +0100 (Tue, 19 Feb 2008) | 1 line More map fixes at snake dungeon by QOAL ........
2008-02-28Work in Progress commit of guilds.David Athay1-0/+1
2008-01-28Added weapon skill system and leveling system.Philipp Sehmisch1-1/+0
2008-01-26Fixed a GCC 4.3 compile error and constified the usage of auto_ptr, sinceBjørn Lindeijer1-1/+1
that's the way in which we are using them.
2007-07-31Removed legacy inventory code. Added display of equipment.Guillaume Melquiond1-1/+0
2007-02-25Fixed small issue concerning SDL timers, removed a useless variable.Rogier Polak1-0/+5
2006-09-29Merged trunk changes from revision 2618 to 2716 into the 0.1.0 branch.Bjørn Lindeijer1-4/+13
2006-09-12Added some items to the NEWS file.Bjørn Lindeijer1-2/+1
2006-09-11Simplified fps limiting a bit and added some comments. Now based onBjørn Lindeijer1-2/+12
ConfigListener so that the fpslimit option doesn't need to be queried the whole time.
2006-08-26Made the Network class a purely static interface, as there is only one instance.Guillaume Melquiond1-4/+1
2006-03-09Use std::auto_ptr in some places.Björn Steinbrink1-10/+12
2006-02-01Created a Game class.Björn Steinbrink1-36/+22
2006-01-26Moved some setup code out of the game loop into the setup functions. Setup ↵Björn Steinbrink1-4/+3
functions are now called from the outside.
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-11/+7