Implement game specific commands for Gakuen KING

This commit is contained in:
kichikuou
2026-08-24 16:29:09 +09:00
parent 64f8e7bf9f
commit 6bd5baf7c2
19 changed files with 2933 additions and 161 deletions
+6 -9
View File
@@ -513,18 +513,15 @@ void NACT::message(uint8_t first_byte)
void NACT::text_wait()
{
if (msgskip->skipping())
return;
Uint32 dwTime = SDL_GetTicks() + text_wait_time;
for(;;) {
if(terminate) {
return;
}
RND = get_key();
if(RND && wait_keydown) {
while (!terminate) {
if (get_key(false) && wait_keydown)
break;
}
if(dwTime <= SDL_GetTicks()) {
if (dwTime <= SDL_GetTicks())
break;
}
sys_sleep(16);
}
}