summaryrefslogtreecommitdiff
path: root/src/engine.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-02-26Merge branch 'aethyra/master'Bjørn Lindeijer1-2/+0
Conflicts: data/graphics/images/login_wallpaper.png src/being.cpp src/beingmanager.cpp src/engine.cpp src/game.cpp src/gui/buysell.cpp src/gui/buysell.h src/gui/gui.h src/gui/npc_text.cpp src/gui/npc_text.h src/gui/npcintegerdialog.cpp src/gui/npclistdialog.cpp src/gui/npclistdialog.h src/gui/npcstringdialog.cpp src/gui/sell.cpp src/gui/shop.cpp src/gui/table.cpp src/net/beinghandler.cpp src/net/npchandler.cpp src/net/playerhandler.cpp src/npc.cpp src/npc.h src/shopitem.cpp src/shopitem.h src/utils/stringutils.cpp src/utils/stringutils.h src/utils/trim.h
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-3/+1
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-1/+1
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+3
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-1/+1
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-10/+0
Conflicts: A lot of files...
2009-02-09Mostly whitespace fixesBjørn Lindeijer1-1/+1
Removed tab characters and trailing spaces and added spaces between "if(", "for(", "while(" and "switch(".
2009-02-07Some more include cleanups.Ira Rice1-10/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-26Slight bit of code cleanup, as well as minor fixes to logic. For someIra Rice1-19/+12
reason, the windows will gladly shrink when resizeable, but not grow. This will need to get resolved some time later. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-25Fixed performance hickups caused by animations due to buggy tick timer. A ↵Philipp Sehmisch1-0/+1
tad less performant than the intended solution but at least it is constantly so.
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2008-12-08An attempt to fix the crashes related to particlesBjørn Lindeijer1-2/+7
The player character is never deleted, and hence might have particles still active when the map changes. These particles are deleted on map change, but when the player character was moved, it was trying to mark these deleted particles for deletion, writing to unallocated memory. The marking for deletion by the player character now happens before the particles are deleted. Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2008-12-07Fixed the minimap name field so that it works for us again. Since IIra Rice1-6/+4
originally ported this from TMW's trunk, and they later changed their mind on the minimap name property, this was broken on our maps. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-07Merge commit 'a7c21e6f8add37af7412449742ec55c8daa8571a'Ira Rice1-0/+6
Conflicts: AUTHORS CMakeLists.txt ChangeLog INSTALL README aethyra.cbp configure.ac data/help/changes.txt data/help/commands.txt data/help/header.txt data/help/support.txt src/Makefile.am src/aethyra.rc src/being.cpp src/being.h src/equipment.cpp src/equipment.h src/floor_item.h src/game.cpp src/gui/buddywindow.cpp src/gui/char_select.cpp src/gui/char_server.cpp src/gui/chat.cpp src/gui/chat.h src/gui/equipmentwindow.cpp src/gui/equipmentwindow.h src/gui/gui.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/itemcontainer.cpp src/gui/itemcontainer.h src/gui/minimap.cpp src/gui/ministatus.cpp src/gui/newskill.cpp src/gui/npc_text.cpp src/gui/npclistdialog.h src/gui/ok_dialog.cpp src/gui/setup_video.cpp src/gui/skill.cpp src/gui/skill.h src/gui/status.h src/gui/table_model.h src/gui/updatewindow.cpp src/gui/viewport.cpp src/inventory.cpp src/inventory.h src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/localplayer.h src/logindata.h src/main.cpp src/map.cpp src/monster.cpp src/monster.h src/net/beinghandler.cpp src/net/beinghandler.h src/net/buysellhandler.cpp src/net/equipmenthandler.cpp src/net/loginhandler.cpp src/net/loginhandler.h src/net/network.h src/net/npchandler.cpp src/net/playerhandler.cpp src/net/protocol.h src/net/tradehandler.cpp src/npc.cpp src/npc.h src/particleemitter.cpp src/particleemitterprop.h src/player.cpp src/player.h src/player_relations.cpp src/resources/imageset.cpp src/resources/imageset.h src/resources/itemdb.cpp src/resources/mapreader.cpp src/resources/monsterinfo.h src/text.cpp src/text.h src/textmanager.cpp src/textmanager.h src/tileset.h src/utils/fastsqrt.h src/utils/strprintf.cpp src/winver.h tools/tmxcopy/Makefile tools/tmxcopy/base64.cpp tools/tmxcopy/base64.h tools/tmxcopy/tostring.h Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-20Removed a duplicated includeBjørn Lindeijer1-1/+0
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-5/+1
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2008-10-13Minor fix for a situation thatwe shouldn't ever need to encounter, but Ira Rice1-0/+4
is nice to have anyways.
2008-10-13Changed minimap code so that it allows us to have larger minimaps, while Ira Rice1-0/+6
putting back in backwards compatibility with TMW style minimaps. While this might seem like a big deal, it also allows us to make minimaps as big as we'd like, which is a huge perk for really large maps or really small ones.
2008-10-02The "name" property of the map is now used as caption of the minimap window ↵Philipp Sehmisch1-0/+6
when it exists.
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-0/+12
2008-08-28Added support for being effects through the eAthena levelup message, and checkBjørn Lindeijer1-0/+1
whether the being exists before referencing it. Re-enabled proper MP bar display. Improved handling of a warp to the same map.
2008-07-18Import of client treeLloyd Bryant1-1/+1
2008-03-23Removed unnecessary forwarding method.Bjørn Lindeijer1-5/+0
2008-01-13Fixed non-default location music loadingDavid Athay1-2/+1
2007-12-31Added config options to set the scroll center. Retained scroll offset during ↵Philipp Sehmisch1-0/+5
map change for smoother map transitions.
2007-10-23Merged changesets 3653, 3655-3657, 3659-3560, 3671-3672 from trunk to Bjørn Lindeijer1-0/+5
0.0. Mostly memory leak fixes by Guillaume.
2007-08-28Made buy dialog resizable and added a WindowListener class for listening forBjørn Lindeijer1-7/+3
window resize and move events.
2007-08-27Made client search for both compressed and non-compressed map files.Bjørn Lindeijer1-2/+10
2007-05-04Merged particle engine into main eAthena branch.Philipp Sehmisch1-0/+7
2007-03-21Renamed Spriteset to ImageSet.Bjørn Lindeijer1-2/+2
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