spatterlight icon indicating copy to clipboard operation
spatterlight copied to clipboard

Hugo updates

Open curiousdannii opened this issue 3 years ago • 2 comments

I just noticed you've done a lot of work on the Hugo interpreter. Do you think the updates would work in other Glk interpreters?

curiousdannii avatar Jul 01 '21 13:07 curiousdannii

Not really. The Hugo code in hecugel.c bypasses the Glk screen model with parent windows that split into child windows, and instead uses custom windows with arbitrary size and position. And it still needs lots of game-specific hacks to make games like Cryptozookeeper and Future Boy work with screen resizing and variable window margins.

The text colour code uses your zcolors API, however, so that might be possible to transplant to Gargoyle. I'm not super motivated to do that myself due to the messy state of the code, but perhaps somebody else might be able to find something useful in there.

angstsmurf avatar Jul 01 '21 14:07 angstsmurf

Gotcha. Eventually I want to work on getting more graphics support into Lectrote's Hugo interpreter, so I'll look then at what you've done here.

curiousdannii avatar Jul 02 '21 13:07 curiousdannii