summaryrefslogtreecommitdiff
path: root/src/game.h
AgeCommit message (Collapse)AuthorFilesLines
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
2004-12-28Renamed stats dialog to status dialog, which it is and to make room for theBjørn Lindeijer1-1/+0
real stats dialog that is currently called the skill dialog.
2004-12-13Whee, moving headers around! Also provided makefile.mgw for compiling with ↵Bjørn Lindeijer1-3/+2
MinGW+MSYS.
2004-12-10Use a consistent tab-less header throughout the code.Bjørn Lindeijer1-26/+23
2004-11-19Hair stylesEugenio Favalli1-27/+29
2004-11-13Hair stylesEugenio Favalli1-1/+2
2004-11-12Hair stylesEugenio Favalli1-1/+1
2004-11-07Added sit framesEugenio Favalli1-1/+1
2004-11-06Added possibility to choose the color of hairEugenio Favalli1-1/+1
2004-10-08*** empty log message ***Alexander Baldeck1-1/+1
2004-10-031st permament stats-dialogAlexander Baldeck1-0/+1
2004-09-30*** empty log message ***Eugenio Favalli1-1/+1