diff options
author | richiesams | 2013-08-20 11:34:37 -0500 |
---|---|---|
committer | richiesams | 2013-08-20 11:41:47 -0500 |
commit | 6f080b3631c8dc111bc6775877b58a9e5d783565 (patch) | |
tree | 24d30ce07cbe2c9e74f2ab3db3d4ac84804b4877 | |
parent | 4bd7951840b7e995b4857ee6ee1c6288668cd66f (diff) | |
download | scummvm-rg350-6f080b3631c8dc111bc6775877b58a9e5d783565.tar.gz scummvm-rg350-6f080b3631c8dc111bc6775877b58a9e5d783565.tar.bz2 scummvm-rg350-6f080b3631c8dc111bc6775877b58a9e5d783565.zip |
ZVISION: Create keypress event to test rlf animation
-rw-r--r-- | engines/zvision/events.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/zvision/events.cpp b/engines/zvision/events.cpp index f382bb63e0..798d75b375 100644 --- a/engines/zvision/events.cpp +++ b/engines/zvision/events.cpp @@ -33,6 +33,7 @@ #include "zvision/render_manager.h" #include "zvision/script_manager.h" #include "zvision/mouse_event.h" +#include "zvision/rlf_animation.h" namespace ZVision { @@ -95,6 +96,12 @@ void ZVision::processEvents() { case Common::KEYCODE_F1: cycleThroughCursors(); break; + case Common::KEYCODE_F2: + { + RlfAnimation *animation = new RlfAnimation("te2ea21c.rlf"); + playAnimation(animation, 0, 0); + break; + } default: break; } |