# HG changeset patch # User Thinker K.F. Li # Date 1218242473 -28800 # Node ID 7d9af44f095b191b3d95afc3e8858f84cc017cf9 # Parent 6270230b92486340d17674a857adb85fe0b379e3 Demo of concurrent words diff -r 6270230b9248 -r 7d9af44f095b src/X_main.c --- a/src/X_main.c Sat Aug 09 08:27:56 2008 +0800 +++ b/src/X_main.c Sat Aug 09 08:41:13 2008 +0800 @@ -311,8 +311,18 @@ MB_TIMEVAL_SET(&start, 3, 0); MB_TIMEVAL_SET(&playing, 2, 0); + act = mb_shift_new(0, 20, coord2); + mb_word_add_action(word, act); + + MB_TIMEVAL_SET(&start, 3, 0); + MB_TIMEVAL_SET(&playing, 2, 0); word = mb_progm_next_word(progm, &start, &playing); - act = mb_shift_new(0, 20, coord2); + act = mb_shift_new(0, -20, coord1); + mb_word_add_action(word, act); + + MB_TIMEVAL_SET(&start, 3, 0); + MB_TIMEVAL_SET(&playing, 2, 0); + act = mb_shift_new(0, -20, coord2); mb_word_add_action(word, act); gettimeofday(&tv, NULL);