Changeset 6318 in orxonox.OLD for branches/avi_play/src/subprojects
- Timestamp:
- Dec 27, 2005, 3:14:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/subprojects/importer/movie_player_test.cc
r6317 r6318 32 32 void Framework::moduleEventHandler(SDL_Event* event) 33 33 { 34 34 switch (event->type) 35 { 36 case SDL_KEYDOWN: 37 switch (event->key.keysym.sym) 38 { 39 case SDLK_1: 40 movie_player->resume(); 41 PRINTF(0)("Play-/Resuming\n"); 42 break; 43 case SDLK_2: 44 movie_player->pause(); 45 PRINTF(0)("Pause\n"); 46 break; 47 case SDLK_3: 48 movie_player->stop(); 49 PRINTF(0)("Stopped\n"); 50 break; 51 } 52 } 35 53 } 36 54 37 55 void Framework::moduleTick(float dt) 38 { 56 { 39 57 movie_player->tick(dt); 40 58 }
Note: See TracChangeset
for help on using the changeset viewer.