summaryrefslogtreecommitdiff
path: root/src/engine.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-02-02Made Engine class even more useless by moving emoticon loading into Being.Bjørn Lindeijer1-11/+0
2006-12-14Removed the rather useless remaining draw function from the engine class andBjørn Lindeijer1-5/+0
fixed an issue with fading out damage texts (they were sometimes fully opaque at the end of fading out).
2006-12-12Cleaned up some unused stuff.Bjørn Lindeijer1-25/+2
2006-12-04Introduced a new class Viewport which combines the drawing code from EngineBjørn Lindeijer1-145/+2
with the (rather misplaced) input handling from the Gui class. Also, it's a Container itself which should allow for extending it to show Guichan widgets on map coordinates.
2006-12-03Made NPC names visible. Windows are now invisible by default.Bjørn Lindeijer1-13/+13
2006-11-29Implemented MonsterDB namespacePhilipp Sehmisch1-3/+12
2006-11-26Equipment database namespace and support for gender specific equipment spritesPhilipp Sehmisch1-0/+1
2006-11-23Refectored the Itemmanager class to an ItemDB namespace.Philipp Sehmisch1-8/+0
2006-08-29Updated NEWS file and made getAll return a reference instead of a pointer.Bjørn Lindeijer1-2/+2
2006-08-24added a config option to set the grade of detail of the overlay system.Philipp Sehmisch1-1/+5
2006-08-24scrolling and overlays are no longer linked to the frameratePhilipp Sehmisch1-15/+28
2006-08-21added overlays and smooth scrolling. (someone who knows what he is doing has ↵Philipp Sehmisch1-22/+59
to create the makefiles for the unix users)
2006-08-17the item icons are now stored in different files with more descriptive namesPhilipp Sehmisch1-4/+0
2006-08-05Some cleanups, mostly lowering indentation levels.Björn Steinbrink1-6/+3
2006-07-28Removed an unused var.Björn Steinbrink1-5/+0
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