summaryrefslogtreecommitdiff
path: root/src/wm_path_manager.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-06-22 00:26:54 +0200
committerTreeki <treeki@gmail.com>2011-06-22 00:26:54 +0200
commit6ba9c03047a4101c65a4225da7d72b428876421f (patch)
tree11c6fc47bde00435e12af65ae1f8b6b481d76c2a /src/wm_path_manager.cpp
parent3e67e3a91ac797791fabdf4ec730ef8d1a8f6990 (diff)
downloadkamek-6ba9c03047a4101c65a4225da7d72b428876421f.tar.gz
kamek-6ba9c03047a4101c65a4225da7d72b428876421f.zip
a bunch of work on the HUD+animations. why didn't I commit this earlier
Diffstat (limited to 'src/wm_path_manager.cpp')
-rw-r--r--src/wm_path_manager.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wm_path_manager.cpp b/src/wm_path_manager.cpp
index f892aca..9883cac 100644
--- a/src/wm_path_manager.cpp
+++ b/src/wm_path_manager.cpp
@@ -134,7 +134,7 @@ void dWMPathManager_c::moveThroughPath() {
//save->current_world = newPage; ?
save->current_path_node = pathData.getPointID(currentPoint);
- dWMHud_c::instance->updateText();
+ dWMHud_c::instance->showPointBar();
} else {
moveToSegment(nextSegment);
}
@@ -158,6 +158,8 @@ void dWMPathManager_c::startMovementTo(WMDirection direction) {
reverseThroughPath = false;
moveToSegment(0);
}
+
+ dWMHud_c::instance->hidePointBar();
}
void dWMPathManager_c::moveToSegment(int id) {
@@ -248,8 +250,9 @@ void dWMPathManager_c::setInitialPathVisibility() {
void dWMPathManager_c::computeEvents() {
+ // TODO: Change this! Testing code!!
for (int i = 0; i < EVENT_COUNT; i++)
- events[i] = false;
+ events[i] = true;
SaveBlock *save = GetSaveFile()->GetBlock(-1);