Paul Gilbert
3c2fd3e74f
GLK: Add copying to clipboard
2018-12-08 19:05:59 -08:00
Paul Gilbert
c4bcb0882f
GLK: Merge Clipboard and WindowMask into a new Selection class
2018-12-08 19:05:59 -08:00
Paul Gilbert
d6538380d7
GLK: Implemented pasting from clipboard
2018-12-08 19:05:59 -08:00
Paul Gilbert
65167bd202
GLK: Added a fonts.dat Zip archive containing the fonts
2018-12-08 19:05:59 -08:00
Paul Gilbert
596a36aef0
GLK: Allow video mode to be specified in the configuration
2018-12-08 19:05:59 -08:00
Paul Gilbert
88315e7349
GLK: Fix selection area getting removed when mouse button was released
2018-12-08 19:05:59 -08:00
Paul Gilbert
8e1be3a95c
GLK: Text selection highlighting is now working
2018-12-08 19:05:59 -08:00
Paul Gilbert
c5234c9f72
GLK: Fix display of mouse cursor
2018-12-08 19:05:59 -08:00
Paul Gilbert
135c3adc94
GLK: In progress adding mouse cursors
2018-12-08 19:05:59 -08:00
Paul Gilbert
6b39263dab
GLK: Workaround to show caret for second line entry onwards
...
Not sure how original GLK code properly re-renders the caret,
since the line isn't marked as dirty once input starts.
This workaround marks the line as dirty when a line request is
done, which allows the line to be redrawn with the caret
2018-12-08 19:05:59 -08:00
Paul Gilbert
75f1ac769b
GLK: SCOTT: Fix loading and saving games
2018-12-08 19:05:59 -08:00
Paul Gilbert
db61f4e050
GLK: Add miscellaneous stream methods
2018-12-08 19:05:59 -08:00
Paul Gilbert
9bd7bc87b6
GLK: Added savegame meta info retrieval
2018-12-08 19:05:59 -08:00
Paul Gilbert
77a4e99c31
GLK: Add savegame listing
2018-12-08 19:05:59 -08:00
Paul Gilbert
2e11923677
GLK: SCOTT: Added startup savegame loading
2018-12-08 19:05:59 -08:00
Paul Gilbert
0ea7f92b67
GLK: SCOTT: Added saveGameState and loadGameState
2018-12-08 19:05:59 -08:00
Paul Gilbert
d2554a73fb
GLK: Fix refreshing grid windows when text is changed
2018-12-08 19:05:59 -08:00
Paul Gilbert
8bb3f55dff
GLK: SCOTT: Add custom game Ids for each known Scott Adams game
2018-12-08 19:05:59 -08:00
Paul Gilbert
ce582aab00
GLK: Further work on game detection
2018-12-08 19:05:59 -08:00
Paul Gilbert
8333aed5c2
GLK: Adding extra fields to the savegame format for validation
2018-12-08 19:05:59 -08:00
Paul Gilbert
30cd230d88
GLK: Fixes for file stream reading
2018-12-08 19:05:59 -08:00
Paul Gilbert
db112fc9f0
GLK: Adding file stream opening and closing
2018-12-08 19:05:59 -08:00
Paul Gilbert
60146c383d
GLK: Merge Files class into existing Streams class
2018-12-08 19:05:59 -08:00
Paul Gilbert
f91cdb19bf
GLK: Add glk style hint methods
2018-12-08 19:05:59 -08:00
Paul Gilbert
063cfb35ef
GLK: Added glk style methods
2018-12-08 19:05:59 -08:00
Paul Gilbert
a24b27b14a
GLK: Create glk fileref methods
2018-12-08 19:05:59 -08:00
Paul Gilbert
99266b8586
GLK: Beginnings of file reference handling
2018-12-08 19:05:59 -08:00
Paul Gilbert
aafaace942
GLK: SCOTT: Switch command line options setup to use ConfigMan
2018-12-08 19:05:59 -08:00
Paul Gilbert
55c05a0d7a
GLK: SCOTT: Camel case method names
2018-12-08 19:05:59 -08:00
Paul Gilbert
e36dbfaf2e
GLK: Prompt for keypress when game is exited
2018-12-08 19:05:59 -08:00
Paul Gilbert
2551927bf6
GLK: Fix processing input after Enter is pressed
2018-12-08 19:05:59 -08:00
Paul Gilbert
d954f70d49
GLK: Fix having space between prmpt and input text
2018-12-08 19:05:59 -08:00
Paul Gilbert
4b5db1da07
GLK: Fix showing input text to the right of input prompt
2018-12-08 19:05:59 -08:00
Paul Gilbert
4229312b22
GLK: Cleanup of formatting in text buffer window class
2018-12-08 19:05:59 -08:00
Paul Gilbert
d61a7a9ee6
GLK: Change key handle if block to a switch statement
2018-12-08 19:05:59 -08:00
Paul Gilbert
c0fd6ca3e4
GLK: Cleanup of comments in text window classes
2018-12-08 19:05:59 -08:00
Paul Gilbert
012d4bafbb
GLK: Fix placement of input cursor
2018-12-08 19:05:59 -08:00
Paul Gilbert
e9c7b30246
GLK: Proper handling of font baseline and leading
2018-12-08 19:05:59 -08:00
Paul Gilbert
f17998762d
GLK: Add drawCaret method
2018-12-08 19:05:59 -08:00
Paul Gilbert
666edf52a5
GLK: Don't have borders between windows by default
2018-12-08 19:05:59 -08:00
Paul Gilbert
7c7178c419
GLK: Text is partially displaying in the buffer window
2018-12-08 19:05:59 -08:00
Paul Gilbert
7ebbcc87dc
GLK: Fix rendering text in text grid windows
2018-12-08 19:05:59 -08:00
Paul Gilbert
c5668d9300
GLK: Further configuration fixes
2018-12-08 19:05:59 -08:00
Paul Gilbert
0d3495bb3b
GLK: Add missing configuration defaults
2018-12-08 19:05:59 -08:00
Paul Gilbert
e004784d23
GLK: Fix calculation of text grid height
2018-12-08 19:05:59 -08:00
Paul Gilbert
4fc1c30423
GLK: Fix Attributes equality checks
2018-12-08 19:05:59 -08:00
Paul Gilbert
0a21220707
GLK: Add game frames to actually render the screen
2018-12-08 19:05:59 -08:00
Paul Gilbert
1a889689f8
GLK: Added pair window drawing
2018-12-08 19:05:59 -08:00
Paul Gilbert
48a00e7c00
GLK: Set Windows fields from int to bool
2018-12-08 19:05:59 -08:00
Paul Gilbert
4fcffce505
GLK: Changes of NULL to nullptr
2018-12-08 19:05:59 -08:00