Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
0111a08560
GLK: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh
a05e54f00c
JANITORIAL: Remove trailing whitespaces
2021-05-04 11:46:30 +03:00
D G Turner
5953a20a74
GLK: Fix Memset on Non-Trivial Structure GCC Compiler Warnings
2021-03-21 23:01:04 +00:00
Vladimir Serbinenko
29cfa7bb0f
COMMON: Merge code for str.cpp and ustr.cpp
...
Most of the code in str.cpp and ustr.cpp is actually the same. Do some
template magic to merge them.
2020-10-31 14:05:30 +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
315af395f1
GLK: Fix local unicode variables to be bool
2020-07-26 19:29:41 -07:00
Thierry Crozat
cbf6b6b6e6
GLK: Add tts flush when redrawing the text buffer window
...
This adds TTS to a lot of text that was previously not spoken
due to missing flush. And adding a flush when we actually draw the
text to the screen seems to make sense.
2020-06-29 22:48:57 +01:00
Thierry Crozat
ceb5299811
GLK: Add engine options to enable TTS
2020-06-29 22:48:57 +01:00
Thierry Crozat
92769bb14b
GLK: Add calls to initialize and free tts in the TextBufferWindow
2020-06-29 22:48:57 +01:00
D G Turner
2e91bf0eea
GLK: Fix Missing Default Switch Cases in Engine Base Code
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-11 03:09:35 +00: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
58498cf5f2
GLK: Fixing some gcc 8 warnings
2019-07-24 20:32:14 -07:00
Paul Gilbert
8393faf036
GLK: Switch focus window immediately after requesting lines or chars
2019-03-02 19:35:36 -08:00
Torbjörn Andersson
d86bb46a85
GLK: Use delete[] instead of free() to free _lineTerminators
2019-02-28 19:58:54 +01: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
53a1426cc3
GLK: FROTZ: Add 6x8 font for Infocom v6 games
2019-01-29 21:17:18 -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
0793196a52
GLK: FROTZ: Fix text display for v6 games
2019-01-06 16:12:01 -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
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
88b0e5d52f
GLK: Change text buffer history array to use Array of U32Strings
2018-12-08 19:05:59 -08:00
Paul Gilbert
f29147ba22
GLK: Fix showing unicode input lines
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