summaryrefslogtreecommitdiff
path: root/src/engine.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
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