Commit Graph
48 Commits
Author SHA1 Message Date
Cameron Cawley 17f0937f00 GLK: Fix warnings 2019-04-29 16:25:54 +10: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 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 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
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 4efa9c73d4 GLK: FROTZ: Add V6 text cursor logic 2019-02-23 16:31:08 -08:00
Paul Gilbert bedab5bd46 GLK: FROTZ: Fix colors for Beyond Zork
As part of that, I've made the default bg Black rather than blue,
since it provides better contrast for the upper area & minimap
2019-02-23 12:16:27 -08:00
Paul Gilbert eacc4e52d1 GLK: FROTZ: Fix initialization of zcolors array 2019-02-23 11:13:19 -08:00
Paul Gilbert 12788e6de8 GLK: FROTZ: Change default fg/bg from int to uint 2019-02-20 19:59:08 -08:00
Paul Gilbert 2b9fb20d7c GLK: FROTZ: Fix display in Zork Zero after showing title screen 2019-02-17 20:37:44 -08:00
Paul Gilbert 480ca0d388 GLK: FROTZ: Fix display of Zork Zero title screen 2019-02-17 20:22:45 -08:00
Paul Gilbert 25b066520e GLK: FROTZ: Improved setup and handling of fg/bg colors 2019-02-16 15:17:51 -08:00
Paul Gilbert 75aaf5eb82 GLK: FROTZ: Fix drawing position of pillars in Zork Zero 2019-02-06 22:38:10 -08:00
Paul Gilbert 307dd44fba GLK: FROTZ: Cleanup of current fg/bg variables 2019-01-31 21:54:33 -08:00
Paul Gilbert 4b15cdb3b6 GLK: FROTZ: Fix rendering text to upper window in Zork Zero 2019-01-29 21:17:18 -08:00
Paul Gilbert e66930179a GLK: FROTZ: Wrap text around pictures added in text window 2019-01-19 16:06:51 -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 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 cde7a02164 GLK: FROTX: Draw pictures at the correct position 2019-01-05 18:00:17 -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 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 d5bf1396de GLK: FROTZ: os_picture_data wasn't dividing by cell size 2019-01-03 18:01:32 -08:00
Paul Gilbert b4c3df62e3 GLK: FROTZ: Cleanup of incorrect namespace comments 2019-01-01 19:04:12 -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 7a21e23603 GLK: FROTZ: Implement PageUp/PageDn scrolling of desc area in Beyond Zork 2018-12-28 21:15:50 -08:00
Paul Gilbert 0ade566d64 GLK: FROTZ: Don't show Beyond Zork title when loading save from launcher 2018-12-27 00:10:38 -08:00
Paul Gilbert 1d12eb4c11 GLK: FROTZ: Fix sound looping 2018-12-14 20:37:22 -08:00
Paul Gilbert e232d024c5 GLK: Standardizing uint vs uint32 usage 2018-12-09 14:47:15 -08:00
Paul Gilbert 7637edb5a2 GLK: Change all references to glui32 and glsi32 to uint and int
This should finally fix compilation for the Amiga, which had
difference sized types. And the renamed types are clearer for
ScummVM anyway
2018-12-09 11:36:20 -08:00
Paul Gilbert cdfb61dd99 GLK: Hopefully finally fix Amiga compilation 2018-12-09 11:04:51 -08:00
Paul Gilbert f6abb3ea33 GLK: FROTZ: Simplify accessing sounds for Lurking Horror & Sherlock 2018-12-08 19:05:59 -08:00
Paul Gilbert 2ae0edd58b GLK: FROTZ: Add sound playing code 2018-12-08 19:05:59 -08:00
Paul Gilbert 63079834fa GLK: FROTZ: Improved rendering of Beyond Zork description area 2018-12-08 19:05:59 -08:00
Paul Gilbert 77468312de GLK: FROTZ: Beyond Zork title screen now showing 2018-12-08 19:05:59 -08:00
Paul Gilbert 62af5ea891 GLK: FROTZ: More work on displaying Beyond Zork title screen 2018-12-08 19:05:59 -08:00
Paul Gilbert a334cd704e GLK: FROTZ: Further loading of Infocom pictures files 2018-12-08 19:05:59 -08:00
Paul Gilbert 0b1e695f24 GLK: FROTZ: Beginnings of support for Infocom picture files 2018-12-08 19:05:59 -08:00
Paul Gilbert dfe497cb79 GLK: FROTZ: Move setting default colors to GlkInterface 2018-12-08 19:05:59 -08:00
Paul Gilbert ada80dedc0 GLK: FROTZ: Further merging together of configuration into a new config.cpp file 2018-12-08 19:05:59 -08:00
Paul Gilbert d9e7fca83c GLK: FROTZ: Fix exiting when application is forcefully closed 2018-12-08 19:05:59 -08:00
Paul Gilbert a1d355d0be GLK: FROTZ: Move ostream_* flags from GlkInterface to Processor 2018-12-08 19:05:59 -08:00
Paul Gilbert 67275924b5 GLK: Derive detection from MetaEngine rather than AdvancedMetaEngine 2018-12-08 19:05:59 -08:00
Paul Gilbert a2104deb4c GLK: Changing class and namespaces from Gargoyle to Glk 2018-12-08 19:05:59 -08:00
Paul Gilbert 1fb931fbd9 GLK: Changing gargoyle folder to glk 2018-12-08 19:05:59 -08:00