merthsoft wrote:
AHelper wrote:
Bug:
Bdisp_EnableColor(1) in GoL is missing, colors are not properly drawn. The color edit screen gets jumpy with fewer colors.
Not a bug so much as that syscall wasn't known when I made this.
ibid. wrote:
GetKey is a blocking function, resuming after pressing {MENU} keeps the program stopped.
Same thing. This was (maybe still is? I dunno) the best way to handle quitting, since the other key routines don't handle the Menu key.
Heh, I know that the game was out from before knowing as much as now, but I just wanted to poke the info as a possible update.
Well, I have been doing some testing, and here is a way to handle the menu key:Code: if(GetKeyWait_OS(&kcol,&krow,2,0,0,&key))
{
if(kcol == 4 && krow == 9)
{
// Returned from pressing menu
Bdisp_EnableColor(1);
// clear and redraw
}
}
I have tested all of the parameters. When pressing menu, it blocks until you get control again. Anyone know how to make this function not block (tiny timeout)?