Age | Commit message (Collapse) | Author | Files | Lines |
|
There is no reason why error.xml shouldn't be in this repository, as it is used
when no sprite data is present and is a very small file anyways. Servers can
still replace these if they want to. error.png is only used in sprites, so
should be in the new sprites folder too.
Reviewed-by: 4144
|
|
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
|
|
No need for two different classes to manage ActorSprites.
Reviewed-by: Chuck Miller
|
|
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: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Problem reported by Sokon.
Reviewed-by: Ignoring server entry with unknown type:
|
|
This greatly simplifies handling DBs when changing states. No more
need to manage unloading in Client (except when exiting).
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Jaxad0127.
|
|
Reviewed-by: Thorbjorn.
Resolves: Manasource Mantis #136.
|
|
Reviewed-by: Bertram
|
|
Reviewed-by: Bertram
Resolve: Manasource Mantis #143
|
|
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>
|
|
|