diff options
author | Treeki <treeki@gmail.com> | 2011-06-22 00:26:54 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-06-22 00:26:54 +0200 |
commit | 6ba9c03047a4101c65a4225da7d72b428876421f (patch) | |
tree | 11c6fc47bde00435e12af65ae1f8b6b481d76c2a /src/wm_path_manager.cpp | |
parent | 3e67e3a91ac797791fabdf4ec730ef8d1a8f6990 (diff) | |
download | kamek-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.cpp | 7 |
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); |