Commit graph

11 commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01: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
efdf965170 GLK: Properly handle Blorb images that have an adaptive palette 2019-08-01 22:05:40 -07:00
Paul Gilbert
81541a5f04 GLK: FROTZ: Properly handle picture transparency 2019-01-05 17:16:42 -08:00
Paul Gilbert
e232d024c5 GLK: Standardizing uint vs uint32 usage 2018-12-09 14:47:15 -08:00
Paul Gilbert
f92b82664d GLK: Fix gcc warnings 2018-12-08 19:05:59 -08:00
Paul Gilbert
f7cb417084 GLK: Add picture drawing 2018-12-08 19:05:59 -08:00
Paul Gilbert
5a05140ac3 GLK: Add picture scaling 2018-12-08 19:05:59 -08:00
Paul Gilbert
bd86fd7bbf GLK: Implementing picture loading 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
Renamed from engines/gargoyle/picture.h (Browse further)