Much like the various design patterns, there isn't really an option here without faults of its own. My personal preference is the command-line argument. After all, why would you switch between console and SDL? If you have a GUI available, SCREEN 0 and the other SCREEN modes are all available and accessible via the SCREEN statement. If you only have a console available, then obviously you would only be able to use SCREEN 0. I don't see a reason to switch between console and SDL. Regarding the issue of a console version, I believe PDCurses could be used rather effectively as a cross-platform solution for console colors and such (I believe SCREEN 0 supports colors 0-15). I just compiled all 8 variations of the library (I just wanted to see if I could. :P) using the gcc-3.4.5 compiler available from the MinGW project hosted on Sourceforge. Apparently a user contributed an old version of PDCurses a long time ago, so if you want to try it, you can use that, assuming you know C. I think I'll create a BI file for FreeBASIC and see if a sample program compiles now... Curiosity gets me every time. :P ------------------ Waiting patiently for Windows 7, XHTML 2.0, CSS 3.0, PHP 6.0, the ratification of C++0x, and the day that I can code without logic troubles. |
| Response Title | Author and Date |
| PDCurses works rather well for more than just the console... | rpgfan3233 on Mar 2 |