Here is a screen shot of multi monitor “simulation” mode
At the moment multi monitor is only available when in fullscreen mode, however I ought to allow it in windowed mode as this is what I use to simulate multiple monitors when my laptop isn’t plugged into my television.
I have now written code that allows the user to run multiple commands in one go, splitting them with the separators ; and &&
Also as a note to myself here – I need to change all command options to use a hyphen – instead of an underscore _ in place of spaces because it is easier to type command options quicker like that as the fingers revert more easily to repeat the hyphen, just like they use for real Linux commands.
At some point I also intend to prevent the player from getting gui windows lost in the ether between monitors / windows, god forbid.. such a tragedy should never occur.
“cli_shell” also to be renamed to “cli”
I’m having to decide on some coding standards that are to my liking. If you have any suggested amendments I’d love to hear them.
- Don’t use “#pragma once”, this is Windows specific
- Use #ifndef and macro definitions as they are suitable for all environments.
- Don’t use “using namespace” within header (.h) files, only code files (.cpp)
- Global variables should be prefixed with “g_” and prefixed with a lowercase letter
Classes and Namespaces
- Classes should be stored in suitable namespaces
- Class and Function names should start with the first letter capitalised
- Private class member variables – start with “m_” and the first letter is lowercase
- Public class variables should begin with the first letter capitalised
- Function parameters should start with a lowercase charachter
- Declare as null
- Remember to deleted
- Set to null again once deleted
I’ve recently started work on a computer game called “Don’t quit, Own it” that I’m writing it in C++, or at least the engine for the game, which I hope will always start with a boot sequence, where you can go into the BIOS configuration to set a supervisor password that prevents others from accessing your saved game. So far there is that and a terminal, and that’s about it, the plan now is to work on GUI widgets. I hope to add a programming language to allow you to make your own console programs and also graphical programs. Please checkout the dev video page for a preview of where I’m at.