395 Commits

Author SHA1 Message Date
Paul Gilbert
e66930179a GLK: FROTZ: Wrap text around pictures added in text window 2019-01-19 16:06:51 -08:00
Paul Gilbert
92f8ad94d2 GLK: Clean up use of TextBufferRow in buffer windows 2019-01-16 21:16:38 -08:00
Paul Gilbert
795e23c05d GLK: Constifying attribute, width calc methods 2019-01-16 21:12:03 -08:00
Paul Gilbert
b076911ae4 GLK: Fix rendering of pictures in the text buffer window 2019-01-16 21:02:20 -08:00
Paul Gilbert
796abef91b GLK: FROTZ: Route pictures drawn in window 0 to the text buffer window 2019-01-15 21:03:02 -08:00
Paul Gilbert
0793196a52 GLK: FROTZ: Fix text display for v6 games 2019-01-06 16:12:01 -08:00
Paul Gilbert
9b7866442b GLK: FROTZ: Set default colors for v6 games 2019-01-06 15:18:33 -08:00
Paul Gilbert
8a84e3d671 GLK: FROTZ: Default white color for v6 game background 2019-01-06 14:26:57 -08:00
Paul Gilbert
302d26bf42 GLK: FROTZ: Force v6 games to 320x200
As much as I'd like to allow for variable resolution sizes,
the graphics in Zork Zero are geared specifically for a 320x200
screen. Maybe in the future I can allow for automatic stretching
to fit any screen size, but for now it's more important to get
the v6 games working at all
2019-01-06 14:07:14 -08:00
Paul Gilbert
8515590b47 GLK: FROTZ: Fix #10869 Crash initializing undo data 2019-01-06 14:00:53 -08:00
Filippos Karapetis
fe96c942ef GLK: ALAN2: Resolve some TODOs. Some cleanup 2019-01-06 22:15:37 +02:00
Filippos Karapetis
1d8a069e24 GLK: ALAN2: Initialize game file name 2019-01-06 22:14:42 +02:00
Paul Gilbert
cde7a02164 GLK: FROTX: Draw pictures at the correct position 2019-01-05 18:00:17 -08:00
Paul Gilbert
81541a5f04 GLK: FROTZ: Properly handle picture transparency 2019-01-05 17:16:42 -08:00
Paul Gilbert
bde5042813 GLK: FROTZ: Fix decoding of MG1 graphics
The prior code was based on the Frotz decoder, which was partially
written in PC assembly, so was hard to represent. This new version
uses code from the ztools pix2gif code
2019-01-05 16:12:58 -08:00
Paul Gilbert
ece101ee4a GLK: FROTZ: Only wait for keypress in Beyond Zork title if mg1 present 2019-01-04 23:14:19 -08:00
Paul Gilbert
e655c50d17 GLK: FROTZ: Simplified getting/setting window properties 2019-01-04 18:04:54 -08:00
Paul Gilbert
18768f164a GLK: FROTZ: Cleanup of image drawing code 2019-01-04 17:12:30 -08:00
Paul Gilbert
c41c6f33d5 GLK: FROTZ: Refactor V6 window arrangements
As I implement further code for Zork Zero, I'm becoming convinced
that all of the windows 2+ are for graphics. A complication arose,
though, that z_draw_picture doesn't have a window number specified.
So creating Glk picture windows for each virtual window was
somewhat redundant. The scheme I'm now going to move forward with
is having a single picture wndow cover the entire screen in v6 mode,
and the upper and lower panes on top of that. All other windows
will not get an accompanying Glk window, and instead I'm caching all
the window properties locally on the Frotz Window class, so that
they can act like the simple placeholders I think they're intended as
2019-01-04 16:39:21 -08:00
Paul Gilbert
20191622f1 GLK: Properly fix window clicking crash 2019-01-04 12:00:59 -08:00
Torbjörn Andersson
7394afbbc8 GLK: Fix negative index crash when clicking in a window 2019-01-04 14:47:36 +01:00
Torbjörn Andersson
f023f28127 GLK: Fix comment typo 2019-01-04 13:43:34 +01:00
Torbjörn Andersson
448adc81d3 GLK: FROTZ: Clarify comment about Unicode runes a bit.
This started out as a typo fix. :-)
2019-01-04 13:29:42 +01:00
Paul Gilbert
79052366d0 GLK: FROTZ: Support using prior palette when a pic doesn't have one 2019-01-03 18:30:22 -08:00
Paul Gilbert
c4c14b593b GLK: FROTZ: Fixes for picture decoding 2019-01-03 18:18:53 -08:00
Paul Gilbert
d5bf1396de GLK: FROTZ: os_picture_data wasn't dividing by cell size 2019-01-03 18:01:32 -08:00
Paul Gilbert
642efa7f6a GLK: FROTZ: Hooked up window property reading 2019-01-03 14:16:34 -08:00
Paul Gilbert
df74a209ca GLK: FROTZ: Keep mono & prop font sizes to be the same for v6 games 2019-01-02 23:24:50 -08:00
Paul Gilbert
85816c8a54 GLK: Make a _gameFile field in the base Glk engine 2019-01-02 23:13:13 -08:00
Paul Gilbert
8d6909608d GLK: FROTZ: Window positions & sizes are in characters, not pixels 2019-01-02 19:17:08 -08:00
Paul Gilbert
313337eb82 GLK: Remove deprecated _cellW/_cellH from Conf 2019-01-02 19:09:40 -08:00
Paul Gilbert
f1d9722f3b GLK: FROTZ: Add support for pair windows to have more than 2 children
This is primarily for the V6 games, which have up to 8 windows
on-screen at the same time in arbitray positions
ext
2019-01-02 18:18:11 -08:00
Paul Gilbert
3ed48e3de2 GLK: FROTZ: Setting window positon & size, some property reading 2019-01-02 14:23:40 -08:00
Paul Gilbert
c02d1f5432 GLK: FROTZ: Beginnings of setting window positions and size 2019-01-01 22:40:32 -08:00
Paul Gilbert
b4c3df62e3 GLK: FROTZ: Cleanup of incorrect namespace comments 2019-01-01 19:04:12 -08:00
Paul Gilbert
fd2dda4c18 GLK: FROTZ: Compilation fix 2019-01-01 18:59:47 -08:00
Paul Gilbert
c43f625fd8 GLK: FROTZ: Added skeleton classes for ZMachine windows 2019-01-01 18:31:07 -08:00
Paul Gilbert
4568e498ca GLK: FROTZ: Fix #10843 Status bar disappearing when textbox is shown 2019-01-01 17:07:46 -08:00
Paul Gilbert
9bbd0474fa GLK: FROTZ: Support shorthand abbreviations in earlier Infocom games 2019-01-01 00:56:42 -08:00
Paul Gilbert
0d1f5bc2d0 GLK: Fix gcc warning in engine construction 2019-01-01 00:38:49 -08:00
Paul Gilbert
402fb78aaf GLK: Remove redundant const prefix from getOptions 2019-01-01 00:16:13 -08:00
Paul Gilbert
ea53893300 GLK: TADS: Split game list arrays into v2 and v3 2018-12-31 23:58:11 -08:00
Paul Gilbert
4938ac9ea1 GLK: Implement passing detection options to the engines 2018-12-31 22:32:07 -08:00
Paul Gilbert
fa51ea2138 GLK: FROTZ: Fix Mysterious Adventures detection entries 2018-12-31 22:31:16 -08:00
Paul Gilbert
013f39cb5d GLK: Standardizing on a common GameDescriptor class for detectors 2018-12-31 19:47:14 -08:00
Paul Gilbert
84b6534c3f GLK: Move GlkMetaEngine declaration into a new header file 2018-12-31 19:15:07 -08:00
Paul Gilbert
3d19a27d04 GLK: FROTZ: Fix rendering of Beyond Zork minimap 2018-12-31 18:58:46 -08:00
Paul Gilbert
1021da132b GLK: Splitting font related info from Conf into their own classes 2018-12-31 18:34:42 -08:00
Paul Gilbert
f25b3d93c1 GLK: FROTZ: Split Infocom game list from other games list 2018-12-30 16:23:38 -08:00
Paul Gilbert
7a21e23603 GLK: FROTZ: Implement PageUp/PageDn scrolling of desc area in Beyond Zork 2018-12-28 21:15:50 -08:00