From: Miriam Ruiz Date: Wed, 3 Dec 2008 11:03:52 +0000 (+0100) Subject: Allow users skip intro, and reduce its length X-Git-Url: https://repo.or.cz/w/kball.git/commitdiff_plain/db6b246b3a13d138673e48acc73fc2581068b07c Allow users skip intro, and reduce its length --- diff --git a/src/intro.cpp b/src/intro.cpp index 3af144d..c136eb4 100644 --- a/src/intro.cpp +++ b/src/intro.cpp @@ -32,7 +32,8 @@ void kball_do_the_intro() play_sample(krono_wav, 255,128,1000,0); - rest(3000); + rest(1000); + while (!keypressed()) rest(100); clear_bitmap(screen); data.nuke_datafile(); @@ -92,6 +93,7 @@ void kball_do_the_exit() buf[xbuf] = '\0'; textout_centre_ex(screen, font, buf, x,y,c,-1); - rest(5000); + rest(500); + while (!keypressed()) rest(100); clear_bitmap(screen); }