summaryrefslogtreecommitdiff
path: root/src/being.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-01-05Renamed PATH_NODE to Position as on mainlineBjørn Lindeijer1-8/+8
2009-01-05Handling gender with an enum everywhere.Philipp Sehmisch1-2/+2
(cherry picked from mainline commit d3adc61aa4b4924f82d8cbc23bea26da7257da97) Conflicts: src/net/beinghandler.cpp src/net/charserverhandler.cpp src/player.cpp src/player.h
2008-12-26Fixed a potential leak in setup, changed the default border color toIra Rice1-4/+0
white for wallpapers (matches our wallpapers better), and fixed the effect manager. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-12-14Fixed follow-parent of nested and being-following particle emittersPhilipp Sehmisch1-2/+4
2008-12-07Merge commit 'a7c21e6f8add37af7412449742ec55c8daa8571a'Ira Rice1-33/+13
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-12-06Added particle containers and refactored beings to use them (to clean up ↵Fate1-29/+5
responsibilities a little)
2008-12-03Add an effects manager (patch by Kage Jittai)Ira Rice1-90/+0
NOTE: This patch demonstrates the need to fix pixel coordinates in the eAthena client. Bjorn did the movement patch in the TMWClient, however, I still haven't got that fully working with the merges. It's likely that a clone will be developed to tackle this problem. Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-6/+3
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-11-11Fixed a text glitch reported by Jarvellis.Ira Rice1-1/+1
2008-11-02This correctly fixes the attack problem. Apparently, I didn't realize a bit ↵Ira Rice1-0/+4
ago that the item type was being used to determine which attack animation to use, since a comment lied about it not being used.
2008-11-02Fixed a hair color problem that Soft reported that I apparently broke when I ↵Ira Rice1-1/+1
de-hardcoded the hair colors.
2008-11-02Fixed weapon attacks, which apparently has been broken since the mapping ↵Ira Rice1-3/+0
code was imported, due to me changing the actions to enumerations.
2008-11-01* Use hair.xml to determine hair colours (#514)Fate1-4/+91
* Auto-detect number of hair styles available (#514)
2008-10-31Added a text patch done on TMW to increase the number of characters Ira Rice1-2/+2
supported (done by vargavind), as well as changing the effect used for critical updates (change of opinion on what looks better).
2008-10-31Added critical notifications to the client. While I had originally Ira Rice1-4/+20
planned to do this (I still did it my way), TMW beat me to implementing, so I'll credit them with their commit reminding me to do it. This is not done the exact same way, as I prefer to see an actual "crit!" show above the being, instead of an ambiguous particle.
2008-10-27Removed an unnecessary check.Ira Rice1-3/+0
2008-10-27De-hardcoded the number of hair styles.Ira Rice1-1/+14
2008-10-27Revised code so that dead sprites are de-targeted.Ira Rice1-0/+1
2008-10-27Merged the Tametomo branch back into trunk. Targeting has been removed Ira Rice1-2/+2
from the viewport, and is now located on the beings themselves. Eventually, this will be changed further so that the targets draw below the being, instead of maintaining the same logic, but baby steps first.
2008-10-23Removed a few compiler warnings.Ira Rice1-3/+3
2008-10-19Fixed a small error that I didn't notice before with de-hardcoding the Ira Rice1-3/+0
colors. Thanks goes to paks for noticing this.
2008-10-16Fixed a width that I accidently messed up earlier, as well as made text Ira Rice1-10/+20
and speech bubble transitions smoother.
2008-10-15Added patch so that players can turn on or off speech bubbles.Ira Rice1-1/+25
2008-10-15De-hardcoded colors in trunk. Now, all colors are loaded from Ira Rice1-1/+1
colors.xml.
2008-10-14Early addition of a particle effect disabling option. Would like to Ira Rice1-13/+18
change this in the future to update instantaneously.
2008-10-10Did a little bit of code cleanup (mostly from TMW changes) as well as Ira Rice1-1/+1
properly implemented line wrapping. Now, there are no more visual artifacts for speech boxes, and it always chooses the most optimal box size (which required that npc_text use it also. Do any other gui classes use the textbox class?).
2008-09-25Merged the Tametomo branch into trunk.Ira Rice1-89/+176
2008-08-28Accepted Patch by Scraggy that moves text in such a way that no text overlapsBjørn Lindeijer1-19/+31
2008-08-28Added support for being effects through the eAthena levelup message, and checkBjørn Lindeijer1-1/+102
whether the being exists before referencing it. Re-enabled proper MP bar display. Improved handling of a warp to the same map.
2008-08-17Fixed crash resulting from having a player targeted when hitting a warp pointLloyd Bryant1-0/+1
2008-08-13Added support for different colored fonts for different being typesLloyd Bryant1-0/+1
2008-07-18Import of client treeLloyd Bryant1-20/+35
2008-05-28Change order of direction to up/down/right/left in Being::getSpriteDirection ↵Dennis Friis1-4/+4
to fix inconsistancy of facing direction when walking diagonally.
2008-05-14Added ability to define friends, players you want to ignore or disregard andBjørn Lindeijer1-1/+1
configure whether trading is allowed. Based on new popup code, configuration improvements to store hierarchical data and a table model.
2008-04-10Fixed compile warning.Bjørn Lindeijer1-1/+1
2008-04-07Merged changes made for the 0.0.24.1 release (4046:4048 from 0.0.24 branch).Bjørn Lindeijer1-3/+5
2008-02-12Made pathfinding not halt on collision destination tile, made moving around ↵Eugenio Favalli1-0/+6
with mouse smoother. Added possibility to pass through players with key controls.
2007-12-28Added the possibility to assign particle effects to monsters in the monster ↵Philipp Sehmisch1-1/+2
database. Added flame particle effect to fire goblin as a proof of concept.
2007-12-10Include cassert header.Bjørn Lindeijer1-1/+2
2007-12-10Simplified player subsprite handling by treating equipment, hairstyle and ↵Philipp Sehmisch1-4/+7
base sprites alike. Implementing female hairstyles is now a purely content-sided task.
2007-11-21Merged revisions 3705-3711,3714,3718,3721-3722,3729-3731,3735,3742 via ↵Bjørn Lindeijer1-16/+3
svnmerge from https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk (dynamic recoloring of sprites and related changes) ........ r3705 | gmelquio | 2007-11-03 10:58:25 +0100 (Sat, 03 Nov 2007) | 1 line Fixed double load of hair graphics. ........ r3706 | gmelquio | 2007-11-03 22:04:51 +0100 (Sat, 03 Nov 2007) | 1 line Added automatic recoloring of images. Inspired by fungos' ideas (PR #41). ........ r3707 | gmelquio | 2007-11-03 22:08:21 +0100 (Sat, 03 Nov 2007) | 1 line Experimented recoloring on scorpions. ........ r3708 | gmelquio | 2007-11-04 12:52:44 +0100 (Sun, 04 Nov 2007) | 1 line Tightened palette handling. ........ r3709 | gmelquio | 2007-11-04 12:54:31 +0100 (Sun, 04 Nov 2007) | 1 line Experimented with scorpions again. ........ r3710 | gmelquio | 2007-11-04 16:40:37 +0100 (Sun, 04 Nov 2007) | 1 line Applied recoloring to hair styles. ........ r3711 | gmelquio | 2007-11-04 17:50:37 +0100 (Sun, 04 Nov 2007) | 1 line Converted slimes to recoloring. ........ r3742 | gmelquio | 2007-11-16 14:16:00 +0100 (Fri, 16 Nov 2007) | 1 line Sped up recoloring of transparent pixels. ........
2007-11-20Merged revisions 3629-3630 via svnmerge from Bjørn Lindeijer1-3/+3
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk (but kept looks in Being class, since eAthena works that way) ........ r3629 | gmelquio | 2007-10-18 21:00:38 +0200 (Thu, 18 Oct 2007) | 1 line Removed player looks from generic beings. Prevented client termination on missing sprites. Merged weapon-type and attack-type fields for items. ........ r3630 | gmelquio | 2007-10-18 21:30:57 +0200 (Thu, 18 Oct 2007) | 1 line Fixed changelog message. ........
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-2/+2
to native for some files that were still missing this property. This is a feeble attempt to reduce the amount of conflicts for future merges.
2007-08-30Merged equipment database with items database and got rid of the unused itemBjørn Lindeijer1-1/+1
art attribute. Removed the now unnecessary multiplication of weapon IDs with 10000. Added a fallback item icon and used it for unknown items or when an item image fails to load.
2007-08-23Changed XP gaining effect to appear on the player instead.Bjørn Lindeijer1-10/+0
2007-08-23Removed two useless popup related methods, used generic close buttonBjørn Lindeijer1-14/+14
functionality for the debug window and renamed Particle::mVector to Particle::mVelocity for clarity.
2007-08-20Added monster killed xp notification effect.Joshua Langley1-0/+12
2007-07-11Weapon sprites are now (almost) threated like other equipment sprites ↵Philipp Sehmisch1-57/+7
through the equipment sprite database. (use -u to ignore updates)
2007-06-11Fixed a bug that prevented being-controlled particles from being deleted ↵Philipp Sehmisch1-2/+11
(thanks to tuchs for reporting).