summaryrefslogtreecommitdiff
path: root/src/engine.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-3/+3
2006-03-08Added a 'dtor' helper functor to delete objects in arrays and containers ↵Björn Steinbrink1-10/+4
using STL algorithms.
2006-03-08Moved a variable definition into the right place and made getCurrentMap inline.Björn Steinbrink1-8/+3
2006-03-05Merged new_playerset branch into trunk.Eugenio Favalli1-5/+22
2006-03-05Re-add main.h header, Windows build needs it.Björn Steinbrink1-0/+1
2006-02-25Added a logic method to the being manager.Björn Steinbrink1-21/+2
2006-02-24Another bunch of cosmetic cleanups, ie mostly typedefs...Björn Steinbrink1-9/+6
2006-02-23A bunch of mostly cosmetic cleanups.Björn Steinbrink1-2/+7
2006-02-06Added a FloorItemManager class.Björn Steinbrink1-2/+2
2006-02-05*** empty log message ***Yohann Ferreira1-2/+2
2006-02-05Made the nickname and emotions displayed above every layers. Made the delete ↵Yohann Ferreira1-1/+3
and ok buttons be disabled once the character is selected at login.
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-28/+40
2006-01-05Remove some useless code.Björn Steinbrink1-1/+4
2005-10-16Use the ResourceManager to get spritesets.Björn Steinbrink1-33/+11
2005-10-16Moved some variables into the block where they are used.Björn Steinbrink1-6/+7
2005-10-15Removed some legacy debug code.Björn Steinbrink1-18/+0
2005-10-13Use gcn::Font instead of gcn::ImageFont as pointer type.Björn Steinbrink1-2/+8
2005-10-09Corrected the white browser font bug and the black hp/mp bug which were ↵Yohann Ferreira1-15/+0
linked. Added a debug window.
2005-10-09Fixed player names overlapping other players and more cleanups.Bjørn Lindeijer1-54/+0
2005-10-09Fixed display of [TARGET] and Alt keys for toggling windows.Bjørn Lindeijer1-18/+0
2005-10-09Fixed map switch to crash the client.Bjørn Lindeijer1-0/+28
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-175/+22
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-14/+1
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-10-05Fixed some resource cleanup and memory leaks. Also changed the way danglingBjørn Lindeijer1-1/+5
references to resources are reported to be more informative.
2005-09-23Merged most of the changes in biggeruniverse's second memory cleanup patch.Bjørn Lindeijer1-1/+8
2005-09-19Mostly code cleanups related to commits in past two days.Bjørn Lindeijer1-6/+7
* 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-17Added PVPMatthias Hartmann1-4/+14
2005-09-17Indent properly.Bjørn Lindeijer1-12/+18
2005-09-17I already know my own name...and i dont want to trade with myself.Matthias Hartmann1-0/+2
2005-09-14Moved Map manangement code into engine.cpp.Björn Steinbrink1-1/+9
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-14/+9
2005-08-27Update stats and status window contents at a single location.Björn Steinbrink1-9/+0
2005-08-25Move extern declaration of the floor item list. Lower indentation level.Björn Steinbrink1-0/+2
2005-08-19Moved gui window construction from engine.cpp to game.cppBjörn Steinbrink1-124/+3
2005-08-15Removed guiTop global variable.Björn Steinbrink1-1/+3
2005-08-14Removed guiGraphics global pointer and removed dependencies on gui.h in some ↵Björn Steinbrink1-21/+21
places.
2005-08-14Make the wrapper functions in the Graphics class conditional on OpenGL support.Björn Steinbrink1-0/+2
2005-08-13Small header cleanup.Björn Steinbrink1-0/+2
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-23/+46
2005-08-10Moved knowledge about whether we use OpenGL into the Graphics class. Added ↵Björn Steinbrink1-8/+1
helper function for being creation to reduce code duplication. Some code simplifications.
2005-08-09Adjust drawing offset to have the player centered in higher resolutions as well.Björn Steinbrink1-6/+9
2005-08-03Converted two global variables to function-local ones.Björn Steinbrink1-3/+3
2005-08-01Small cleanups in the drawing code, the autoTarget checks and some headers.Björn Steinbrink1-48/+21
2005-07-31Added check to stop scrolling at map borders. Small cleanup in the listbox ↵Björn Steinbrink1-0/+16
drawing code.
2005-07-28Added an action enumeration to th Being class and removed the old #define's.Björn Steinbrink1-10/+10
2005-07-27Committing merging opengl and sdl part 3 by AndrejBjørn Lindeijer1-0/+2
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-1/+7
nicer approach after the release.
2005-07-26Added Being::Type enumeration and type-aware findNode(). Fixed font not ↵Björn Steinbrink1-91/+103
being reset after drawing speech. Target marker drawing moved into engine.
2005-07-26- New smilies by ModanungEugenio Favalli1-3/+3
- New skill names - New title song
2005-07-22Merge between moi1392's branch and headCedric Borgese1-4/+8