summary refs log tree commit diff stats
path: root/src/character_system.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-03-01 22:19:46 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-03-01 22:19:46 -0500
commit7fa69be4e88f1fcf057871fec7e4503f50578465 (patch)
tree70a01aafe4092c29c112f72895494dbfa2033496 /src/character_system.cpp
parentd8e7d815c197c5477678d835038dc3ff86c2a7e8 (diff)
downloadtanetane-7fa69be4e88f1fcf057871fec7e4503f50578465.tar.gz
tanetane-7fa69be4e88f1fcf057871fec7e4503f50578465.tar.bz2
tanetane-7fa69be4e88f1fcf057871fec7e4503f50578465.zip
Started writing the Mixolydia scene!
Looking pretty good so far.

TODO: direction facing functions have inverted Y coordinate. confusion expression doesn't exist yet. rest of scene.
Diffstat (limited to 'src/character_system.cpp')
-rw-r--r--src/character_system.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/character_system.cpp b/src/character_system.cpp index 53debb2..48d2a33 100644 --- a/src/character_system.cpp +++ b/src/character_system.cpp
@@ -17,6 +17,7 @@ void CharacterSystem::initSprite(int spriteId, int movementSpeed) {
17void CharacterSystem::addSpriteToParty(int leaderId, int followerId) { 17void CharacterSystem::addSpriteToParty(int leaderId, int followerId) {
18 Sprite& leader = game_.getSprite(leaderId); 18 Sprite& leader = game_.getSprite(leaderId);
19 Sprite& follower = game_.getSprite(followerId); 19 Sprite& follower = game_.getSprite(followerId);
20 follower.orientable = false;
20 21
21 vec2i targetPos = leader.loc; 22 vec2i targetPos = leader.loc;
22 23