Commit graph

143 commits

Author SHA1 Message Date
Martin Gerhardy
af08c7c988 TWINE: fixed missing shadow in behaviour string for classic release 2022-06-03 18:52:44 +02:00
Martin Gerhardy
35e0a747a4 TWINE: don't show the behaviour dialog in classic mode 2022-06-02 10:09:25 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Martin Gerhardy
fb5b64174f TWINE: Text is different from speech for inventory items
In asylum when Twinsen discovered his id card and holomap the text was not the same as the speech

https://bugs.scummvm.org/ticket/13115
2021-11-30 07:30:38 +01:00
Martin Gerhardy
1c4694e7b6 TWINE: when blitting the back to the front buffer also mark the area as dirty 2021-07-31 21:38:12 +02:00
Martin Gerhardy
a7f5a56847 TWINE: added todo comment 2021-07-31 21:38:12 +02:00
Martin Gerhardy
9a6dce181e TWINE: renamed method 2021-07-31 21:38:12 +02:00
Martin Gerhardy
fc75e5709e TWINE: renamed members 2021-07-31 16:48:23 +02:00
Martin Gerhardy
c6d26dc9d8 TWINE: renamed members 2021-07-31 16:48:23 +02:00
Martin Gerhardy
f6f869539c TWINE: the non-rect method is the default 2021-07-31 08:38:38 +02:00
Martin Gerhardy
f9c4511308 TWINE: hide access to front buffer screen 2021-07-11 13:44:12 +02:00
Martin Gerhardy
4765e1968e TWINE: merged ScopedFPS and FrameMarker 2021-06-03 18:40:19 +02:00
Martin Gerhardy
9d82fa51df COMMON: removed USE_TTS check from engines
OSystem now just returns a nullptr if there is no text to speech manager instance
(because none is compiled into the binary, or the system doesn't provide support
for it). This removed the need for the engine authors to add scummvm osystem compile
time options checks into their engine code
2021-05-03 14:13:41 +03:00
Martin Gerhardy
8289072496 TWINE: added highres option to advanced menu
also use enum class for TextId and TextBankId
2021-04-09 10:43:03 +02:00
Martin Gerhardy
bb618d3b5c TWINE: fixed vox and tts playback and aborting 2021-03-28 23:08:01 +02:00
Martin Gerhardy
db0db6c0c1 TWINE: return value of initVoxToPlay now indicates whether there is speech 2021-03-28 22:46:45 +02:00
Martin Gerhardy
7c8bceee81 TWINE: debug output 2021-03-28 22:46:45 +02:00
Martin Gerhardy
772368b6dc TWINE: use TextData parser 2021-03-28 18:56:32 +02:00
Martin Gerhardy
e9b72e2d7e TWINE: debug output for text handling 2021-03-28 18:56:32 +02:00
Martin Gerhardy
1af583e6bd TWINE: optimized renderPolygons by not looping twice over all the vertices
... to compute the bounding box
2021-03-27 13:35:28 +01:00
Martin Gerhardy
7c988dbca8 TWINE: renamed members 2021-03-19 15:49:07 +01:00
Martin Gerhardy
9a9e26cc82 TWINE: replaced copyText with Common::strlcpy 2021-03-01 19:28:12 +01:00
Martin Gerhardy
9ee2fdc19c TWINE: fixed compiler warning in release mode 2021-02-24 19:00:00 +01:00
Martin Gerhardy
15832bdb09 TWINE: exit scenery view in some situations 2021-02-11 17:04:59 +01:00
Martin Gerhardy
6b6048aabb TWINE: fixed pause string in scenery view 2021-02-11 17:04:59 +01:00
Martin Gerhardy
8ce16227e8 TWINE: really skip voice playback if playVox is false 2021-02-09 21:40:33 +01:00
Martin Gerhardy
6ff21ff321 TWINE: holomap progress 2021-02-09 21:40:33 +01:00
Martin Gerhardy
4ca2d937da TWINE: renamed method 2021-01-30 14:35:12 +01:00
Martin Gerhardy
61ae5fa027 TWINE: renamed method 2021-01-30 14:16:23 +01:00
Martin Gerhardy
61b0633468 TWINE: more color constants 2021-01-26 18:55:52 +01:00
Martin Gerhardy
892e122e1b TWINE: fixed clearing the text related rect for the holomap
... before rendering the text of a newly selected location
2021-01-25 23:59:25 +01:00
Martin Gerhardy
b31b4c0546 TWINE: allow to fade in the holomap text without waiting for input in the text loop 2021-01-25 23:53:37 +01:00
Martin Gerhardy
3994680ad5 TWINE: fixed 'leaving text windows via space also triggers an attack if in aggressive mode'
see https://bugs.scummvm.org/ticket/12070
2021-01-25 17:54:40 +01:00
Martin Gerhardy
437d0cc7bb TWINE: reduced updateScreen() calls 2021-01-09 18:42:25 +01:00
Martin Gerhardy
5a0ef4805f TWINE: if voices are disabled, don't even start to read the first paragraph 2021-01-09 18:42:00 +01:00
Martin Gerhardy
da04e5bf87 TWINE: replaced magic numbers 2021-01-08 21:28:40 +01:00
Martin Gerhardy
df16ce01dd TWINE: fixed missing text in bonus list dialog 2021-01-08 21:15:25 +01:00
Martin Gerhardy
e69e53707d TWINE: fixed segfault while displaying the bonus list text 2021-01-08 21:15:00 +01:00
Martin Gerhardy
3cf6eee18b TWINE: replaced hardcoded resolution constants with function calls 2021-01-07 21:58:21 +01:00
Martin Gerhardy
1088dcf200 TWINE: fixed horizontally overflowing text boxes
introduced in d6dbbe7b24

see https://bugs.scummvm.org/ticket/12048
2021-01-05 20:59:14 +01:00
Martin Gerhardy
d6dbbe7b24 TWINE: allow higher resolutions for fullscreen texts 2021-01-02 14:02:00 +01:00
Martin Gerhardy
49deb7e210 TWINE: made constant a member var 2021-01-02 14:02:00 +01:00
Martin Gerhardy
ed7364101d TWINE: fixed interupted spoken text
https://bugs.scummvm.org/ticket/11982
2021-01-01 15:28:26 +01:00
Martin Gerhardy
eb2e7ff5f5 TWINE: fixed fading of last chars on a dialog page
see https://bugs.scummvm.org/ticket/11982
2020-12-30 23:32:51 +01:00
Martin Gerhardy
0541c5f602 TWINE: fixed missing ui keymap in Text::displayText
this fixes https://bugs.scummvm.org/ticket/12031 and https://bugs.scummvm.org/ticket/11982
2020-12-30 22:09:11 +01:00
Martin Gerhardy
315ee1a530 TWINE: const 2020-12-29 00:16:46 +01:00
Martin Gerhardy
bb6f37394e TWINE: minor optimization of Text::drawCharacter 2020-12-29 00:16:46 +01:00
Martin Gerhardy
d91019ff31 TWINE: starting to refactor Text::drawCharacter 2020-12-29 00:16:46 +01:00
Martin Gerhardy
72486eb179 TWINE: removed todo comment + const 2020-12-29 00:16:46 +01:00
Martin Gerhardy
0b37e42a04 TWINE: refactored the text rendering
there is a problem left with not 100% faded in characters at the end of the page
2020-12-29 00:16:46 +01:00