summaryrefslogtreecommitdiff
path: root/src/engine.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-08-20Fixed selection of player character and implemented sending of game and chatBjørn Lindeijer1-0/+7
server tokens. It gets you in the game (or what's left of it), but not on any map yet.
2006-08-13Merged cleanups and content changes from the trunk. Also fixed compiling withBjørn Lindeijer1-12/+3
OpenGL enabled.
2006-07-25Switched client to use enet and modified login sequence to work with the new ↵Eugenio Favalli1-2/+2
protocol from tmwserv.
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer1-11/+14
animation system. Action now refers to the Spriteset directly and AnimatedSprite refers to the current Action directly instead of using the std::map with a std::string constantly. Some methods and parameters are marked as const. The READ_PROP macro was replaced by static methods. Warnings are logged when unnamed actions are defined or when actions refer to undefined imagesets. Code is more tolerant towards missing actions.
2006-07-19Fixed radar dot size of local player and the color of the [TARGET] string.Bjørn Lindeijer1-0/+1
2006-07-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli1-5/+4
2006-03-20Fixed a crash on map change.Björn Steinbrink1-16/+21
2006-03-19Unreverted latest change by Doener due to my lack of proper communication ↵Eugenio Favalli1-11/+6
abilities.
2006-03-19Reverted changeset r2269 (toString) as requested by ElvenProgrammer.Björn Steinbrink1-6/+11
2006-03-18Added a toString conversion function.Björn Steinbrink1-11/+6
2006-03-16A bunch of cosmetic changes.Björn Steinbrink1-27/+17
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