Fixed all sdl_delays to wait for 20ms, not 1. Avoid problems for low-latency guys.

Also, made the splash screen stay as long as you don't click or key. Mouse moves are discarded. Sorry!


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@800 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2009-05-12 19:05:33 +00:00
parent 3c0a940301
commit ff83f12b31
5 changed files with 14 additions and 14 deletions

View File

@@ -181,7 +181,7 @@ byte Readline_ex(word x_pos,word y_pos,char * str,byte visible_size,byte max_siz
Display_cursor();
do
{
if(!Get_input()) SDL_Delay(1);
if(!Get_input()) SDL_Delay(20);
input_key=Key_ANSI;
} while(input_key==0);
Hide_cursor();