Commit Graph
147 Commits
Author SHA1 Message Date
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
Martin Gerhardy ff56096ea3 TWINE: format the code 2020-12-29 00:16:46 +01:00
Martin Gerhardy 1d37d3d3a6 TWINE: fixed processing of @ (newline) followed by another newline
this is visible on the third page of the intro text
2020-12-29 00:16:46 +01:00
Martin Gerhardy c652b46999 TWINE: prepare drawTextFullscreen to use diplayText 2020-12-29 00:16:46 +01:00
Martin Gerhardy e7eea92883 TWINE: extracted into own method 2020-12-29 00:16:46 +01:00
Martin Gerhardy 5d137ee1ca TWINE: extract to constants 2020-12-29 00:16:46 +01:00
Martin Gerhardy 2fdb55e0ab TWINE: renamed var 2020-12-28 13:04:28 +01:00
Martin Gerhardy 367b46d325 TWINE: fixed continue reading button for fullscreen texts 2020-12-28 13:04:28 +01:00
Martin Gerhardy 8ac20a9540 TWINE: comments 2020-12-28 13:04:28 +01:00
Martin Gerhardy da23eb9b27 TWINE: unified variable names 2020-12-27 14:06:42 +01:00
Martin Gerhardy 42121a9083 TWINE: increased fps for text rendering to match the original 2020-12-24 15:00:00 +01:00
Martin Gerhardy 23a06b1ab5 TWINE: replaced magic number for text bank id 2020-12-23 15:50:48 +01:00
Martin Gerhardy b0e9aac6a9 TWINE: refactored the wait we control the fps in the game 2020-12-23 14:28:07 +01:00
Martin Gerhardy 4143b795aa TWINE: optimized fadeInCharacters
This fixes the following issues:
https://bugs.scummvm.org/ticket/12001
https://bugs.scummvm.org/ticket/11982
2020-12-23 13:38:02 +01:00
Martin Gerhardy a3be0c2c6d TWINE: removed unused vars from Text::drawCharacter 2020-12-22 17:17:36 +01:00
Martin Gerhardy 06d2a71511 TWINE: moved resource management files into own subdir 2020-12-22 17:17:36 +01:00
Martin Gerhardy d1aa2e3cb3 TWINE: started to reorganize the folder structure 2020-12-22 17:17:36 +01:00
Martin Gerhardy bb986b65d6 TWINE: implemented credits sequence in main menu 2020-12-17 12:22:47 +01:00
Martin Gerhardy 82e0035239 TWINE: comment on progressiveTextBuffer 2020-12-17 10:28:09 +01:00
Martin Gerhardy 57ec195b7e TWINE: fixed UINextPage check - the keymap wasn't active 2020-12-17 10:28:09 +01:00
Martin Gerhardy 78ac4c3681 TWINE: removed member var
this was always negative and always just decreased. So reaching 0 was only possible in the far
far away future.
2020-12-17 10:28:09 +01:00
Martin Gerhardy 82994f91d4 TWINE: renamed variable 2020-12-17 10:28:09 +01:00
Martin Gerhardy 243053c4d0 TWINE: renamed enum identifier 2020-12-17 10:28:09 +01:00
Martin Gerhardy 6c24e0de98 TWINE: fixed typo in enum name 2020-12-15 23:12:36 +01:00
Martin Gerhardy 32d9842788 TWINE: renamed variables 2020-12-15 23:12:36 +01:00
Martin Gerhardy 86cd1fe936 TWINE: no need to call getWordSize in this situation 2020-12-15 23:12:36 +01:00
Martin Gerhardy f1255de484 TWINE: fixed mixed x and y vars (just by name) 2020-12-15 23:12:36 +01:00
Martin Gerhardy 520859a18d TWINE: renamed member var 2020-12-15 23:12:36 +01:00
Martin Gerhardy 5af7875b0f TWINE: renamed member var 2020-12-15 23:12:36 +01:00
Martin Gerhardy a74eed6cae TWINE: introduced enum for updateProgressiveText return values 2020-12-15 23:12:35 +01:00
Martin Gerhardy 688730bf13 TWINE: moved members to better place 2020-12-11 17:13:37 +01:00
Martin Gerhardy f0fb127429 TWINE: renamed struct 2020-11-29 23:50:29 +01:00
Martin Gerhardy 1926f690fc TWINE: refactored rendering code 2020-11-29 23:50:29 +01:00
Martin Gerhardy 89bc8dcfb2 TWINE: converted member to method parameter 2020-11-28 01:09:44 +01:00
Martin Gerhardy 547f410974 TWINE: convert member to local var 2020-11-26 23:13:22 +01:00
Martin Gerhardy a9c3c7987f TWINE: removed unused parameters 2020-11-25 21:47:28 +01:00
Martin Gerhardy e3f9ecc996 TWINE: converted debug windows to use Common::Rect 2020-11-25 19:41:52 +01:00
Martin Gerhardy a967242757 TWINE: more Common::Rect refactorings 2020-11-25 19:41:52 +01:00
Martin Gerhardy b16f8c55c5 TWINE: replaced magic numbers 2020-11-22 23:19:35 +01:00
Martin Gerhardy e0dcabda38 TWINE: converted member to stack var 2020-11-22 23:19:35 +01:00
Martin Gerhardy 6d1c1d88ab TWINE: removed member from Text class and reduced cyclic complexity 2020-11-22 23:19:35 +01:00
Martin Gerhardy 52e7025914 TWINE: further refactored the Text class
removed unused member buf1 and renamed other members
2020-11-22 23:19:35 +01:00
Martin Gerhardy 6f3248e1b9 TWINE: reduced cyclic complexity 2020-11-22 22:42:24 +01:00
Martin Gerhardy f88ab25d25 TWINE: const 2020-11-22 22:42:24 +01:00
Martin Gerhardy d30035ab50 TWINE: reduced scope 2020-11-22 22:42:24 +01:00
Martin Gerhardy 4e7e7e67dd TWINE: renamed Text class members 2020-11-22 22:42:24 +01:00
Martin Gerhardy d5174c2cf7 TWINE: renamed method 2020-11-22 22:42:24 +01:00