I have a quick question concerning the Linux port of HLA.

Is it possible that future versions will be compatible with the console functions seen in the Win32 version? I think it would be awesome if the color of the text and background within a Linux console program could be changed as in the Win32 version. Or is this not possible under X-Windows? Do I need a different version of the console.hhf file?

Sincerely,

Paul Panks
dunric@yahoo.com
Posted on 2003-05-09 13:12:50 by Paul Panks

I have a quick question concerning the Linux port of HLA.

Is it possible that future versions will be compatible with the console functions seen in the Win32 version? I think it would be awesome if the color of the text and background within a Linux console program could be changed as in the Win32 version. Or is this not possible under X-Windows? Do I need a different version of the console.hhf file?

Sincerely,

Paul Panks
dunric@yahoo.com


The CONSOLE module does *not* port to Linux.
However, 90% of what people want (cursor control, colors, things like that) will port.
It's mainly a case of stripping out the stuff that Linux doesn't support and then writing the Linux library routines.

One problem with Linux is that there is no standard for console support.
Someday I'll take a look at ncurses and see how it does it.
However, it's fairly safe to assume that the Linux console will respond to ANSI
terminal codes. The ANSI terminal standard defines various ESC sequences
you can send to position the cursor, change colors, etc.

Though a portable library doesn't exist in HLA today, it wouldn't be that
hard to write your own "wrapper functions" that call HLA stdlib console routines
or some small routines you write that send the appropriate ESC sequences to the
console under Linux.
Cheers,
Randy Hyde
Posted on 2003-05-09 23:33:16 by rhyde
ANSI would be just as nice. I've seen ANSI-style MUDs (Multi-User Dungeons) around the net and they are fun to play. I've always believed that pure monochrome text is boring and to spruce things up multiple colors should be used instead. I even implemented this concept into the Commodore 64 version of my game "Westfront PC: The Trials of Guilder". Come to think of it, Activision and the Finnish microcomputer magazine Mikrobitti have been the only two vendors who have approached me about putting my game on Games Collection CDs. I of course said yes to both, and the MS-DOS version of Westfront PC should now be available on Activision's "2003 GamePak of the Year" CD, released in late April. I should be receiving my copy sometime in mid-May. Nice to see all that hard work pay off finally. I did spend 7 years on the project and I'm happy to see people enjoying my adventure games.

Sincerely,

Paul Panks
dunric@yahoo.com
Posted on 2003-05-11 21:43:57 by Paul Panks