Age | Commit message (Collapse) | Author | Files | Lines |
|
Rename mWalkTime to mActionTime in Being and have Being manage death.
Reviewed-by: 4144
|
|
Also removes the Monster/Player difference in tmwAthena's Being::logic
and moves the particle code from Being::setAttack to Being::Logic for
tmwAthena.
Reviewed-by: Chuck Miller
|
|
It no longer crashes, but will write to the log file instead
Also added checks so it does not crash elsewhere when the
target cursors are unloaded
The game is still playable without the target cursor
because the display name of a being changes when it
gets targetted... so no need to be a fatel error.
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Jaxad0127.
|
|
Reviewed-by: Thorbjorn.
Resolves: Manasource Mantis #136.
|
|
Also fix possible memory corruption.
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Reviewed-by: 4144
|
|
|
|
This was accidentally broken in the SDL buffer commit.
Reviewed-by: Thorbjørn Lindeijer
|
|
|
|
Conflicts:
src/beingmanager.cpp
src/beingmanager.h
src/client.cpp
src/localplayer.cpp
|
|
Reviewed-by: Philipp Sehmisch
|
|
|
|
Reviewed-by: Jaxad0127
(A few days ago...)
|
|
This way, it's only set to the overlay alpha while drawing the overlay. Fixes
PlayerBox rendering.
|
|
Reviewed-by: Jaxad0127
|
|
|
|
This improves framerate and allows transparent overlay for complex
sprites. Two copies of the buffer are kept, one at full opacity,
one with variable opactiy, to reduce calls to setAlpha.
Reviewed-by: Bertram
|
|
Moves the parsing logic for the size strings into BeingInfo to
share the code.
Reviewed-by: Freeyorp
|
|
Instead of having these three subclasses with minor differences, this
commit merges them back into Being. In the future, we can make Beings
that are talkable to some, attackable by others, etc. This also puts
back support for monster equipment.
Also changes remaining references to Being::Type and the constants to
refer to ActorSprite::Type.
Reviewed-by: Freeyorp
|
|
Now draw image only in chat item popup.
Reviewed-by: Bertram
|
|
This simplifies handling of target cursors, centralizing their logic into a
single class, instead of two. Also make them more flexible and move the image
files outside of the theme so servers can can control them and give them
better names.
Reviewed-by: Thorbjørn Lindeijer
|
|
This commit adds a sprite hierarchy (Sprite->ImageSprite,AnimatedSprite,CompundSprite;
CompoundSprite,Actor->ActorSprite;ActorSprite->Being,FloorItem) to collect common
functionailty into new base classes which will make other Mantis tickets easier to do.
Also allows monsters to use particle effects.
Reviewed-by: Bertram
|
|
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
|
|
Only recognize the collision tile as colliding, since having everything
except the empty non-collision tile collide is confusing.
Should also be changed on the server and in the tmwAthena exporter of
Tiled.
Reviewed-by: Dennis Friis
|
|
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Small code style changes.
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Reviewed-by: Freeyorp
|
|
Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
|
|
|
|
|
|
Add option in players setup page.
Add command line option.
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Reviewed-by: Freeyorp
|
|
The invite and leave buttons are now only enabled when there are tabs. Also,
the code to handle them will do nothing if no tab is selected (backup
logic).
Reviewed-by: Chuck Miller
|
|
A new stats.xml file is parsed for player stats for ManaServ. The old hardcoded
stats remain as backup.
Reviewed-by: Bertram
|
|
Reviewed-by: Bertram
|
|
Reviewed by: Jaxad0127
|
|
The Actor class manages the Map reference, position vector, and alpha float.
These are the common parts from it's children.
|
|
Modifies BeingManager::findNearestLivingBeing() behaviour to exclude an
optional being from the search.
Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Reviewed by Jaxad0127
|
|
Reviewed-by: Bertram
|
|
Add variable cur_time for current time.
Add command /away [text]
Reviewed by: Bertram
|
|
See tmwAthena's skill.c lines 7628 and 7633.
Reviewed-by: Chuck Miller
|
|
Latest two patches reviewed by Jaxad0127.
|
|
accordingly.
This makes room for the actual eAthena protocol future inclusion.
|
|
|
|
Reviewed-by: Bertram
|
|
The job/class field is used to select the race. If the given race isn't defined,
it falls back on the first race (so servers can use jobs/classes without races).
Also rename job to subtype for Being and subclasses, and begin support for
changing monster and NPC subtypes on the fly (particle effects still need to be
reset when they change).
Reviewed-by: Bertram
|