summaryrefslogtreecommitdiff
path: root/src/engine.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2005-07-18Created Inventory class. (Really) Small code simplifications and cleanups.Björn Steinbrink1-1/+1
2005-07-17Fixing linking issuesEugenio Favalli1-1/+1
2005-07-16Updated changelog, got rid of remaining extern SDL_Surface *screen cases,Bjørn Lindeijer1-13/+13
fixed double free and cleaned up a bit.
2005-07-16Made Image/SubImage being drawn by Graphics. Removed some redundant code.Björn Steinbrink1-13/+22
2005-07-16Oops forgot two slashes.Yohann Ferreira1-1/+1
2005-07-16Now we don't use the char *homeDir anymore.Yohann Ferreira1-1/+1
2005-07-15- Adding joypad tolerance to config fileEugenio Favalli1-2/+3
- Trying to put updates in the data folder (is this the right way?)
2005-07-14Committed resource manager cleanup patch by Doener, and properly implementedBjørn Lindeijer1-3/+6
the custom mouse cursor option, which is now also dynamically changeable through the setup window.