summaryrefslogtreecommitdiff
path: root/src/game.h
AgeCommit message (Collapse)AuthorFilesLines
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-07-18Import of client treeLloyd Bryant1-25/+25
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.
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-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
2006-01-05Remove some useless code.Björn Steinbrink1-1/+0
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-1/+1
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-09-19Mostly code cleanups related to commits in past two days.Bjørn Lindeijer1-1/+0
* Replaced custom function FIND_PATH with AC_PATH_PROG, used for finding sdl-config. * Removed -lphysfs from Makefile.am which should be added automatically already. * Actually show the overweight message, and only show it once for each time weight goes above half the max weight. * Surfaces passed to SDL_BlitSurface shouldn't be locked according to the manual. * Minimal fps limit is now 10 fps. * Reverted change by Bertram that hardcoded the updatehost value.
2005-09-17Remove inclusion of being.h, there was a forward declaration anyways...Björn Steinbrink1-1/+1
2005-09-17Fixed typo.José Ávila1-1/+1
2005-09-172005-09-17 Duane Bailey nayryeliab@gmail.comDuane Bailey1-0/+2
* game.h: fixed bugs created by matt * messageout.h: fixed bug concering expand arguments * mesageout.cpp: adding include to win2mac.h and commented out SDL_net include; caused bugs on macs
2005-09-17Added PVPMatthias Hartmann1-0/+1
2005-09-14Converted map_path from char array to std::string.Björn Steinbrink1-2/+2
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-9/+6
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-10/+0
2005-08-03Moved my invented variable, since it makes more sense.Andrej Sinicyn1-1/+0
2005-08-02Fix my previous fix because it broke my own code.Andrej Sinicyn1-0/+1
2005-08-01Show the name of the trade partner in the trade dialog.Andrej Sinicyn1-0/+1
2005-07-28Added an action enumeration to th Being class and removed the old #define's.Björn Steinbrink1-11/+0
2005-07-15Enabling support for joypads:Eugenio Favalli1-0/+19
- Only <=6 buttons are supported - Only the first jopad is used (if you have more than one) - Axes need to be tuned - You can only move and attack with joypad Small fix in the updating system
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-14/+0
2005-06-14Added background to minimap. Only used in Tonori Desert map for now, and itsBjørn Lindeijer1-0/+2
style is up for discussion.
2005-05-27autoTarget is now a Being*, also may have fixed related crash and added labelBjørn Lindeijer1-1/+2
to show current target.
2005-05-22An attemp on auto attack, not bug free for sureEugenio Favalli1-0/+1
2005-05-14Hide mouse when the application doesn't have mouse focus.Bjørn Lindeijer1-1/+0
2005-04-30Emoticons framerate independent and NPCs image smaller to work in OpenGLBjørn Lindeijer1-1/+0
2005-04-26Changed keyboard control to integrate better with mouse walk, changed locationBjørn Lindeijer1-0/+1
of packet.list and chatlog.txt and removed name from player chat "balloon".
2005-04-11Now damage and speech times are fps independentEugenio Favalli1-1/+1
and if they're displayed is checked in logic I also centered the speech above the player
2005-03-21Some cleanups and button, radiobutton and checkbox now take into accountBjørn Lindeijer1-2/+2
disabled status.
2005-02-14Display of path to mouse now a debug feature you can toggle with F6, plus someBjørn Lindeijer1-0/+1
more log file usage.
2005-02-13No need to keep track of mouse position ourselves. Also put default startupBjørn Lindeijer1-1/+0
mode to windowed.
2005-02-13New shorter and more flexible pathfinding implementation, which is hopefullyBjørn Lindeijer1-0/+1
also more stable.
2005-01-17Improve key input some more.Bjørn Lindeijer1-8/+0
2005-01-17Committing Allegro -> SDL switch, hugely breaking the game.Bjørn Lindeijer1-6/+0
2005-01-16More GUI image location changes and chat displays longer.Bjørn Lindeijer1-1/+1
2005-01-08Well improved window container and window widgets a bit, and made a startBjørn Lindeijer1-5/+27
on support for modal dialogs. Still some issues to work out. Tell me if you experience something unsettling.
2005-01-02Got rid of hairset.dat and playerset.dat.Bjørn Lindeijer1-6/+3
2005-01-02Removed Allegro datafile graphic.datBjørn Lindeijer1-3/+1
2004-12-30Cleanup, mainly removing unused code.Bjørn Lindeijer1-1/+0
2004-12-29Subclassed AllegroInput to intercept shortcuts.Bjørn Lindeijer1-0/+8