535 Commits

Author SHA1 Message Date
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
fe62841561 GLK: FROTZ: Workaround Shogun Blorb having a 0 size apal chunk 2019-08-16 22:18:27 -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
b2f6280e34 GLK: Add methods for sending windows to the front/back of draw order 2019-08-08 20:10:33 -07:00
Paul Gilbert
8a51f30533 GLK: Create an intermediate TextWindow base class for text windows
This will make it easier to check whether a window is textual
without having to check for both the grid & buffer classes explicitly
2019-08-04 16:44:22 -07:00
Paul Gilbert
2d0912b59b GLK: FROTZ: Fix crash in Arthur intro 2019-08-04 16:44:22 -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
7c15d0d232 GLK: GLULXE: Fix VS packing warnings 2019-08-02 19:04:10 -07:00
Paul Gilbert
7d4cbcd422 GLK: Remove unused _vm field of Debugger 2019-08-02 19:03:11 -07:00
Paul Gilbert
efdf965170 GLK: Properly handle Blorb images that have an adaptive palette 2019-08-01 22:05:40 -07:00
Paul Gilbert
d680b0b029 GLK: Added Blorb mapping to the optional adaptive palette list 2019-08-01 22:05:40 -07:00
Torbjörn Andersson
f1e79aae73 GLK: Pass picNum to format() for the pic%d.rect case as well. 2019-07-30 16:56:37 +02:00
Paul Gilbert
041132f5f6 GLK: Fix illegal characters in detection entries 2019-07-29 22:10:06 -07:00
Paul Gilbert
97d4a60cfb GLK: Implemented debugger dumppic command 2019-07-29 22:05:19 -07:00
Paul Gilbert
a04bdb3d7c GLK: Added skeleton debugger 2019-07-29 22:05:19 -07:00
Paul Gilbert
518e6c90f4 GLK: FROTZ: Fix loading transparent PNGs from Blorb files 2019-07-28 20:47:06 -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
3457d3155e GLK: FROTZ: Add detection for Infocom game Blorb files available at if-archive 2019-07-27 19:12:39 -07:00
Paul Gilbert
f176156735 GLK: FROTZ: This reverts commit 10a5b70b0af167c1f154a4c9dbe8829fe966fffa. 2019-07-26 18:46:53 -07:00
Paul Gilbert
65b8aa62a0 GLK: Fix uninitialized variable warning 2019-07-25 18:45:39 -07:00
Paul Gilbert
58498cf5f2 GLK: Fixing some gcc 8 warnings 2019-07-24 20:32:14 -07:00
Paul Gilbert
a1414f9ad6 GLK: Remove redundant function_table arrary and associated functions
The functions have never been used by any of the existing interpreters.
Even glulxe, which has dynamic function calling, usies gidispatch_call
instead.
2019-07-24 19:59:25 -07:00
sluicebox
44e9cefede GLK: ALAN3: Add NL to EOF in attribute.h
Fixes VS2015 compiler error
2019-07-24 08:51:16 -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
b1ae4319e5 GLK: TADS2: Fix duplicate detection 2019-07-14 10:47:52 -07:00
Paul Gilbert
649dadaedc GLK: ALAN3: Change detections list to use common GlkDetectionEntry 2019-07-14 10:47:52 -07:00
Paul Gilbert
babe4d9ef2 GLK: ALAN2: Change detections list to use common GlkDetectionEntry 2019-07-14 10:47:52 -07:00
Paul Gilbert
bb9b52f9c6 GLK: ADVSYS: Change detections list to use common GlkDetectionEntry 2019-07-14 10:47:52 -07:00
Torbjörn Andersson
3094dd6931 GLK: Fix incorrect "End of namespace ..." comments. 2019-07-12 06:59:56 +02:00
Paul Gilbert
a39a0c76ae GLK: TADS2: Add detection entries for remaining games 2019-07-11 20:12:25 -07:00
Paul Gilbert
9d7e942b9c GLK: TADS2: Added English detection entries 2019-07-11 19:25:21 -07:00
Paul Gilbert
53425a6821 GLK: TADS3: Adding detection entries 2019-07-09 19:19:55 -07:00
Paul Gilbert
7223e6509e GLK: TADS2: Added Adventions detection entries 2019-07-09 19:19:55 -07:00
Paul Gilbert
79627fbf61 GLK: TADS2: Move detection entry structure into Glk base namespace 2019-07-09 19:19:55 -07:00
Le Philousophe
1c87f428d0 GLK: Fix off-by-one memory read
The for loop shouldn't check previous entity on the first iteration
2019-07-07 09:26:52 -07:00
Paul Gilbert
76d4816853 GLK: ALAN3: Re-enable ifdefed TODO block 2019-07-06 21:05:22 -07:00