Bastien Bouclet
bb813719b5
ENGINES: Change targets to have an 'engine ID'
...
The engine ID identifies which engine should be used to launch the target.
Also remove the 'single ID' system. Different games from engines that used
that system now have different game IDs.
Also-By: Matthew Hoops <clone2727@gmail.com>
2019-11-03 11:43:00 +01:00
Paul Gilbert
d8a804cbe7
GLK: FROTZ: Fix game Id clashes
2019-09-28 10:55:35 -07:00
D G Turner
497b8b4df5
GLK: FROTZ: Change GameID to avoid Conflict with Pegasus Prime Engine
...
The game id "pegasus" was already used for the Journeyman Project Pegasus
Prime engine, so this caused a detection conflict.
Fixes bug #11146 .
2019-09-15 09:53:28 +01:00
Paul Gilbert
1f38a8239f
GLK: FROTZ: Whitespace fixes
2019-08-18 15:18:57 -07:00
Paul Gilbert
34f842e4b8
GLK: FROTZ: Fix creating text vs buffer windows
2019-08-18 15:18:57 -07:00
Paul Gilbert
c9811e279a
GLK: FROTZ: Erase correct area when switching rooms in Arthur
2019-08-16 22:08:43 -07:00
Paul Gilbert
a6c5caf1fb
GLK: FROTZ: Properly implement os_char_width
...
This fixes a memory corruption in the Arthur startup
2019-08-16 18:26:27 -07:00
Paul Gilbert
45de5828df
GLK: FROTZ: Proper pixel precision for V5+
2019-08-16 18:26:27 -07:00
Paul Gilbert
5c5814d544
GLK: FROTZ: Only call Glk move cursor for Glk text grid windows
2019-08-16 18:26:27 -07:00
Paul Gilbert
c06fd200bd
GLK: FROTZ: Properly erase window when Arthur intro finishes
2019-08-11 20:53:48 -07:00
Paul Gilbert
3582fe9a60
GLK: FROTZ: Properly have first text screen cover title screen in Arthur intro
2019-08-11 20:05:12 -07:00
Paul Gilbert
ec3af0e0c6
GLK: FROTZ: Allow window positioning before creating Glk window
...
This fixes a bug window with Athur that after the intro an extra
text buffer window was needlessly being created which covered the
play area, simply because one of the frotz windows had it's
properties set
2019-08-11 20:05:12 -07:00
Paul Gilbert
66f316b567
GLK: FROTZ: Fix drawing graphics in Zork Zero vs Arthur
...
In Zork Zero, grahpics drawn to window 0 (the text buffer)
are always treated as being interleaved with the text.
Whereas in Arthur, the title screens are drawn to window 0,
so have to be drawn to the background
2019-08-08 20:19:53 -07:00
Paul Gilbert
832418b837
GLK: FROTZ: Ordering of text and graphics windows based on usage
...
The ScummGlk backend already had a new 'arbitrary' mode allowing
for windows to be placed at any position, and on top of each other.
This expands on this by ensuring that the background window, which
is used for drawing graphics on, appears behind text that gets
written. Yet can still appear on top of the text (hiding it)
when title screen graphics are being shown
2019-08-08 20:10:33 -07:00
Paul Gilbert
0448f5608f
GLK: FROTZ: V6 window creation so Arthur intro now progresses further
2019-08-04 10:59:49 -07:00
Paul Gilbert
b242abd029
GLK: FROTZ: Fix positioning of Arthur title screen
2019-08-04 09:56:37 -07:00
Paul Gilbert
0ede777f55
GLK: FROTZ: Title screen for Arthur is partially showing
2019-08-02 20:29:51 -07:00
Paul Gilbert
2eb7479d91
GLK: Fix VS uninitialized field warnings
2019-08-02 19:45:14 -07:00
Paul Gilbert
6884441f51
GLK: FROTZ: Make missing MG1 or Blorbs for v6 games an error
2019-07-27 20:03:24 -07:00
Paul Gilbert
f515394e78
GLK: FROTZ: Fix reading placeholder rects from Blorb files
2019-07-27 19:57:37 -07:00
Paul Gilbert
f176156735
GLK: FROTZ: This reverts commit 10a5b70b0a
.
2019-07-26 18:46:53 -07:00
D G Turner
29dcab406a
GLK: FROTZ: Fix GCC Compilation Error from Missing Format String
2019-07-24 16:35:04 +01:00
Paul Gilbert
b3ab0cf3ce
JANITORIAL: Glk engine block formatting
2019-07-21 11:31:33 -07:00
Paul Gilbert
5dda48c1c7
GLK: Change other sub-engines to use GlkDetectedGame
2019-07-06 15:27:10 -07:00
Paul Gilbert
a53e00597b
GLK: Show unknown variant dialog for unknown detection entries
2019-06-23 14:41:49 -07:00
Paul Gilbert
553bb74f8c
GLK: Further changeover of sub-engines to use new savegame code
2019-06-16 14:59:26 -07:00
Paul Gilbert
3876fb6710
GLK: In progress transition to all sub-engines using Quetzal save files
2019-06-16 14:59:26 -07:00
Paul Gilbert
3acba22cba
GLK: FROTZ: Move creation of Quetzal ANNO chunk into base Quetzal writer
2019-06-16 14:59:26 -07:00
Paul Gilbert
3d299df773
GLK: FROTZ: Change Quetzal restoring to use new base Quetzal reader
2019-06-15 22:31:50 -07:00
Paul Gilbert
c405203cde
GLK: FROTZ: Change Quetzal saving to use new base Quetzal writer
2019-06-15 22:31:50 -07:00
Paul Gilbert
ec8409c115
GLK: Adding Quetzal classes to the base Glk namespace
2019-06-15 22:31:50 -07:00
Paul Gilbert
96ebd81e5f
GLK: HUGO: NULL to nullptr, Amiga compilation fix
2019-05-11 16:15:07 +10:00
Cameron Cawley
17f0937f00
GLK: Fix warnings
2019-04-29 16:25:54 +10:00
Paul Gilbert
10a5b70b0a
GLK: FROTZ: Handle creating Glk window when switching to/from fixed width styles
2019-04-04 18:50:52 -07:00
Cameron Cawley
280a4f2d91
GLK: Only check the format of a Blorb file if it has a valid file extension
2019-03-31 16:37:47 -07:00
Cameron Cawley
7b4c6d6a35
GLK: Improved detection of Blorb files
2019-03-31 16:37:47 -07:00
Paul Gilbert
8bec4607d0
GLK: FROTZ: Set window properties for font number and size when font changes
2019-03-13 20:24:05 -07:00
Paul Gilbert
d6b41b59f3
GLK: FROTZ: Move setReverseVideo into Window
2019-03-13 20:19:11 -07:00
Paul Gilbert
7a13a60678
GLK: FROTZ: Move remainder of font/style logic into Window
2019-03-12 21:09:53 -07:00
Paul Gilbert
146f095523
GLK: FROTZ: Set window font size property
2019-03-10 15:50:00 -07:00
Paul Gilbert
1c5a8930b3
GLK: FROTZ: Create Glk windows on the fly as needed
...
This is laying groundwork for properly supporting Shogun, which
sets up and uses Window 7
2019-03-06 20:17:35 -08:00
Paul Gilbert
b8966ff1ad
GLK: FROTZ: Moving updating colors and current window into Window class
2019-03-05 18:50:01 -08:00
Paul Gilbert
14349341a6
GLK: FROTZ: Fix some game detection Ids
2019-03-04 18:36:01 -08:00
Paul Gilbert
81e28c7bfa
GLK: FROTZ: Fix clashes with game Ids
2019-03-03 09:53:13 -08:00
Paul Gilbert
4c708dc97f
GLK: FROTZ: Implement os_beep method
...
I instantiate a PCSpeaker instance in the main engine just for beeps,
because I don't know any simpler way. But hey, it works.
2019-03-02 20:43:19 -08:00
Torbjörn Andersson
22f12e5ffb
GLK: FROTZ: Fix confusing indentation
2019-03-01 17:19:30 +01:00
Paul Gilbert
833e1d11c0
GLK: FROTZ: Move window clearing to a Window method
2019-02-27 21:53:41 -08:00
Paul Gilbert
27f4eb8f1b
GLK: FROTZ: Move current window into _wp
2019-02-27 21:34:46 -08:00
Paul Gilbert
acb39303f1
GLK: FROTZ: Improved palette reading
2019-02-27 21:34:46 -08:00
Paul Gilbert
7ee0f4d593
GLK: FROTZ: Fix getting cursor position for non V6 games
2019-02-26 19:19:46 -08:00