Code: Select all
while not key
{
system(32)
key = system(11)
}
Moderators: Ice Cream Jonsey, AArdvark
Code: Select all
while not key
{
system(32)
key = system(11)
}
OK, that makes sense. I forgot about the blinking cursor hack in Hugor.Roody_Yogurt wrote:It's used as a fancy cursor-hider during "press a key" type things.
I assume you mean RoodyLib. No, I think keeping it as-is is a good idea. The CPU load can be reduced in Hugor itself, as right now it does some unnecessary screen repaints that I can cut down on. Since there's no output from the game during the delay/getkey loop, getting rid of the repaints should reduce the CPU load.Honestly, I was unsure how much processing power such a trick would use up. If it's really drastic, I could change it so the cursor goes to the status window (which should be hidden in Hugor, right? even though it'd still show in the old official 'terp).