D G Turner
5953a20a74
GLK: Fix Memset on Non-Trivial Structure GCC Compiler Warnings
2021-03-21 23:01:04 +00:00
Paul Gilbert
ac7b1e326d
GLK: HUGO: Properly fix display images
...
The resource file format Hugo uses has named entries.
Because of this, the original Glk code added to Hugo
does a whole mess of reading in a picture, then copying
it to a dummy pic file with a dummy number, just so a
call to glk_image_draw could detect it.
Since this isn't the first time I've had to deal with
named resources, it ended up being cleaner to add a new
variation of glk_image_draw and glk_image_draw_scaled
that can take in a string image parameter. That way, I
was able to set up an archive class to represent the
resource file, and pass the resource name directly
without worrying about dummy picture numbers & files
2020-08-29 13:59:52 -07:00
Paul Gilbert
02a9a605c3
GLK: GLULX: Fix startup crashes for some games
2020-08-25 19:43:29 -07:00
Paul Gilbert
e968975959
GLK: Properly initialize bool window fields with false
2020-06-14 09:56:00 -07:00
Eugene Sandulenko
1f9eac65be
GLK: Fix warnings
2020-01-31 16:37:12 +01: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
0d172c8ca6
GLK: Fix freeing closed windows
2019-05-24 18:21:06 -07:00
Paul Gilbert
70febd034a
GLK: Add gli registration for other object types
2019-04-28 14:50:01 +10:00
Paul Gilbert
d8f43160df
GLK: Fixes for properly closing windows
2019-04-08 19:46:28 -07:00
Paul Gilbert
537e9af4e0
GLK: Change Attributes fields from uint to bool
2019-03-09 20:35:58 -08:00
Paul Gilbert
8fcf009668
GLK: FROTZ: More properly fix transparency handling of header
2019-02-17 14:32:56 -08:00
Paul Gilbert
5b9e492a72
GLK: Fix local types in Attribute color methods
2019-02-05 21:01:36 -08:00
Paul Gilbert
688db9394c
GLK: FROTZ: Fix writing transparently to header in Zork Zero
2019-01-31 21:54:34 -08:00
Paul Gilbert
af2b1252d8
GLK: Change use of RGB tuplets to uint
...
This has several advantages, such as simplifying copying and
comparing colors. It will also make it easier to specify
zcolor_Transparent as a color
2019-01-31 21:54:34 -08:00
Paul Gilbert
795e23c05d
GLK: Constifying attribute, width calc methods
2019-01-16 21:12:03 -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
1021da132b
GLK: Splitting font related info from Conf into their own classes
2018-12-31 18:34:42 -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
Eugene Sandulenko
0dab01862c
JANITORIAL: Whitespace fixes
2018-12-18 22:53:30 +01: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
c2625264fb
GLK: Change int 0 to false
2018-12-08 19:05:59 -08:00
Paul Gilbert
9bc6379476
GLK: Change lots of comments from multiline to single line
2018-12-08 19:05:59 -08:00
Paul Gilbert
0167d988fa
GLK: Free windows on exit
2018-12-08 19:05:59 -08:00
Paul Gilbert
4b011b2f1c
GLK: Freeing of data on exit
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