Console improvements
- Unused console backgrounds no longer take up memory
- Input cursor can now move left and right
- Support for selections (Shift-arrow keys, CTRL-A, etc)
- Clipboard support (CTRL-C to copy, CTRL-V to paste, CTRL-X to cut)
- Fixed handling of simultaneous modifier key presses
https://dl.dropboxusercontent.com/u/3518218/21/console.gif
None of this affects chat yet, that's not part of the console. I'll look at it later.
Merge request reports
Activity
Added 1 new commit:
- 55400a26 - go fuck yourself stupid compiler
84 84 85 85 // hold 32 last lines of input for history 86 86 #define CON_MAXPROMPTCHARS 256 87 #define CON_PROMPTCHAR '>' 87 #define CON_PROMPTCHAR '$' 84 84 85 85 // hold 32 last lines of input for history 86 86 #define CON_MAXPROMPTCHARS 256 87 #define CON_PROMPTCHAR '>' 87 #define CON_PROMPTCHAR '$' It's mainly meant to show that there is a difference, yes.
I'm guessing you haven't seen a command prompt on a Unix system? (Or anything running the BASH shell.) '$' is the default prompt character there, so it's not exactly a character I picked wildly out of the aether, either.
tested, very nice, not sure why you put cyan AFTER blue instead of before (considering the ordering of the colours - cyan is between green and blue) but not really much of an issue and this'll probably need to be fiddled with for internal so that there can be a royal purple console which i'll probably use all the time jsykmentioned in commit 2569a1ed
OpenGL incorrectly assumes it's rendering at 320x200 all the time, despite the game knowing the resolution it's actually set to, resulting in the selection highlight being offset more and more at higher resolutions, especially if con_height is set to something really high.
As you can imagine, this can be a big annoyance for people who play in OpenGL mode at resolutions larger than 320x200. Image example, although only with a small con_height: http://imgur.com/DmbKcvw
But other than that, these console upgrades are pretty amazing, especially if you make a typo halfway through a command name. Nice work.