summaryrefslogtreecommitdiff
path: root/src/graphic
AgeCommit message (Collapse)AuthorFilesLines
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer2-126/+0
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-19Merged new_animation branch until r2415 into trunk. Eugenio Favalli2-1/+26
2006-03-09Added Spriteset::get() and Spriteset::size() to hide the member vector and ↵Björn Steinbrink2-5/+11
remove the weird mySpriteset->spriteset stuff.
2006-03-08Added a 'dtor' helper functor to delete objects in arrays and containers ↵Björn Steinbrink1-7/+5
using STL algorithms.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink3-1/+55
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-3/+0
2005-03-03Separated graphic/graphic.cpp into graphics.cpp and engine.cpp.Bjørn Lindeijer2-793/+0
2005-03-02Moved map drawing loop into the Map class and made it safer (it doesn't try toBjørn Lindeijer2-30/+29
draw tiles outside of the map area). The tmw.ini file was removed, we're using config.xml now.
2005-03-01Deleting subx and suby for items, because it's uselessJan-Fabian Humann1-8/+2
2005-03-01This is the update for the charge bar. It resets every time an attack ↵Kiyoshi Kyokai1-0/+2
message is sent to the server. I still haven't actually worked the timer into this. I'd appreciate it if someone would explain how. Thanks.
2005-02-28Mostly fixing some newlines.Bjørn Lindeijer2-10/+3
2005-02-28deleted useless commentJan-Fabian Humann1-1/+0
2005-02-28Adding support for drop items part 2/2Jan-Fabian Humann2-2/+36
2005-02-28*** empty log message ***Kiyoshi Kyokai1-1/+10
2005-02-27Small fix to draw monsters correctly according to the new monstersetEugenio Favalli1-2/+2
2005-02-25Fixing equipment and shops according to the new server scriptEugenio Favalli2-2/+11
2005-02-23Committed patch by Mra, which fixes multiple NPCs talks in one window andBjørn Lindeijer2-31/+1
moves the action listener used with BuySellDialog into that class.
2005-02-20Added basic functionality for the new skill dialog. Class support, ↵Kiyoshi Kyokai2-0/+8
initialization, creation, deconstruction, etc. You can activate it with ALT+n.
2005-02-20Fixed compile issue on Windows.Bjørn Lindeijer1-2/+1
2005-02-20More progress towards loading XML maps.Bjørn Lindeijer2-6/+6
2005-02-20Separated Tiles in MetaTiles and Images.Bjørn Lindeijer2-26/+17
2005-02-15Updated layout and contents of FAQ a bit, fixed debug path and mouse renderingBjørn Lindeijer1-35/+40
in OpenGL mode, and some general cleanups.
2005-02-14Support for drawing using OpenGL. Don't expect it to be fast yet though.Bjørn Lindeijer2-8/+29
2005-02-14Display of path to mouse now a debug feature you can toggle with F6, plus someBjørn Lindeijer1-29/+31
more log file usage.
2005-02-13Some fixes and item updatesEugenio Favalli1-1/+1
2005-02-13No need to keep track of mouse position ourselves. Also put default startupBjørn Lindeijer1-0/+6
mode to windowed.
2005-02-13Allow preservation of alpha channel when loading image resources, which is usedBjørn Lindeijer2-1/+18
to load alpha blended mouse cursor, which is now drawn instead of using the system cursor.
2005-02-13Don't skip corners in A* pathfinding algorithm.Bjørn Lindeijer1-2/+3
2005-02-13Fix in calculating G cost in A* implementation.Bjørn Lindeijer1-0/+8
2005-02-13New shorter and more flexible pathfinding implementation, which is hopefullyBjørn Lindeijer1-3/+25
also more stable.
2005-02-11Working on equipmentEugenio Favalli2-2/+9
2005-02-09Fixed the no hair problem.Bjørn Lindeijer1-15/+16
2005-02-06Added minimal minimapEugenio Favalli1-0/+6
2005-02-02Turned MAP struct into Map class.Bjørn Lindeijer1-6/+6
2005-01-30Corrected Speech position.Yohann Ferreira1-1/+1
2005-01-29*** empty log message ***Yohann Ferreira2-1/+6
2005-01-29*** empty log message ***Yohann Ferreira1-1/+1
2005-01-29*** empty log message ***Yohann Ferreira1-0/+2
2005-01-25*** empty log message ***Yohann Ferreira1-2/+3
2005-01-25*** empty log message ***Yohann Ferreira1-2/+1
2005-01-21Some refactoring of Being class.Bjørn Lindeijer1-38/+4
2005-01-17Converted some images to PNG and put them in new dir structure.Bjørn Lindeijer1-9/+13
2005-01-17Got stuff to work with Dev-C++Bjørn Lindeijer1-0/+1
2005-01-17Committing Allegro -> SDL switch, hugely breaking the game.Bjørn Lindeijer3-52/+42
2005-01-16Removed datafile and configfile and any leftover old GUI drawing code.Bjørn Lindeijer2-2/+42
2005-01-16Added drawImageRect function to Graphics class.Bjørn Lindeijer2-0/+52
2005-01-16*** empty log message ***Bjørn Lindeijer1-10/+8
2005-01-16Little margin.Bjørn Lindeijer1-1/+0
2005-01-15Fixed screenshot taking and changed chat box in Guichan widget.Bjørn Lindeijer2-15/+20
2005-01-15Cleaned up includes, separated engine from graphics and single buffer nowBjørn Lindeijer2-32/+70
used throughout application, cleaned up shop functions.