glkterm
glkterm copied to clipboard
Added a few POSIX definitions so it can compile with MinGW & PDCurses, and added command line parameters for colors.
Added a few POSIX definitions so it can compile with MinGW & PDCurses, and added command line parameters for colors.
Thanks. I am in the middle of a game release so I haven't had time to look at this, but I'll get to it.
Thanks for looking! It's 23 lines of additions not counting a few blank whitespace lines. I do think there may be a better way to implement the color arguments to avoid undefined numbers making the entire screen black. I just don't know how to do it.
I have looked back on this code with regret - it is BAD. I have another, better patch in the works.
(update - not had time to mess with it, and I think a couple #ifdef's might fix all the problems in my patch)