Commit Graph
147 Commits
Author SHA1 Message Date
Martin Gerhardy cd019aa41e TWINE: removed unused var 2020-11-22 22:42:24 +01:00
Martin Gerhardy 0e8232bad4 TWINE: renamed more Text class members 2020-11-22 22:42:24 +01:00
Martin Gerhardy c1ec0a7627 TWINE: renamed Text class members and methods 2020-11-22 22:42:24 +01:00
Martin Gerhardy abe94d4316 TWINE: renamed some members of the Text class 2020-11-22 22:42:24 +01:00
Martin Gerhardy 49be0a49a6 TWINE: changed behaviour of ScopedKeyMap
it's dangerous to disable a keymap because you could lose the action state.
Now we just enable another keymap - and disable it after we are done. So
we don't lose the action state. This fixes a problem with the hero walking
along a sign and hit the action button. We are starting the text sequence.
Once this is over and you have released the cursor keys during read, the actor
would still move.
2020-11-21 15:38:36 +01:00
Martin Gerhardy f46cd54294 TWINE: allow to use the cutscene abort keys to interrupt fullscreen texts 2020-11-21 15:34:05 +01:00
Martin Gerhardy 9acc282047 TWINE: minor refactoring in drawTextFullscreen 2020-11-21 15:27:01 +01:00
Martin Gerhardy 689909012a TWINE: fixed invalid action states after reading text from signs 2020-11-21 15:24:46 +01:00
Martin Gerhardy db5a8551e2 TWINE: reduced cyclic complexity 2020-11-21 15:24:46 +01:00
Martin Gerhardy dbe7f30f93 TWINE: reduced scope 2020-11-18 20:29:43 +01:00
Martin Gerhardy 082985ee82 TWINE: fixed memory leaks 2020-11-17 19:35:41 +01:00
Martin Gerhardy df75fac95f TWINE: removed screenLookupTable 2020-11-16 21:23:04 +01:00
Martin Gerhardy b25d81ca1d TWINE: replaced magic numbers and use local vars 2020-11-08 13:44:49 +01:00
Martin Gerhardy 137aa787ce TWINE: extract to local var 2020-11-08 13:44:49 +01:00
Martin Gerhardy 0842ffa071 TWINE: moved members to local vars and reduced visibility 2020-11-08 13:44:49 +01:00
Martin Gerhardy f969365688 TWINE: fixed endian issue in getText 2020-11-06 20:49:18 +01:00
Martin Gerhardy 85ce25f671 TWINE: endian safe text and font parsing 2020-11-06 16:52:45 +01:00
Martin Gerhardy 2ede9b688b TWINE: reduced scope and removed unused member 2020-11-06 16:52:45 +01:00
Martin Gerhardy 0a3a634daf TWINE: moved scene text bank id into scene class 2020-11-03 18:29:36 +01:00
Martin Gerhardy f5d3e304ec TWINE: added enum for text banks 2020-11-03 18:29:36 +01:00
Martin Gerhardy 216306859b TWINE: the hqr code doesn't have any state - converted back to functions 2020-10-30 23:50:44 +01:00
Martin Gerhardy d5d4118470 TWINE: allow to abort fullscreen text intro 2020-10-30 17:20:08 +01:00
Martin Gerhardy 83610de2eb TWINE: convert comment into code 2020-10-27 17:33:09 +01:00
Martin Gerhardy 117cf827ee TWINE: reduced scope and cleanup in text rendering 2020-10-27 17:14:06 +01:00
Martin Gerhardy 31b6aecaba TWINE: copy vox comments
... taken from http://lbafileinfo.kazekr.net/index.php\?title\=LBA_1_files
2020-10-27 17:14:06 +01:00
Martin Gerhardy 10571de5aa TWINE: reduced visibility and return value checks 2020-10-27 17:14:05 +01:00
Martin Gerhardy b7aa562484 TWINE: replaced magic numbers with text ids 2020-10-27 17:14:05 +01:00
Martin Gerhardy 7d2991aa0b TWINE: moved more cached resources into the Resources class 2020-10-27 17:14:05 +01:00
Martin Gerhardy 67568dd0e8 TWINE: 'fixed' a div0 error
right now the inventory text is not visible - this must be related
2020-10-26 18:11:15 +01:00
Martin Gerhardy dd2e97ebd6 TWINE: close the inventory menu if i is no longer pressed 2020-10-26 18:11:15 +01:00
Martin Gerhardy f64dfffc48 TWINE: removed manually searching the directories - SearchMan has vox and fla registered 2020-10-26 18:11:14 +01:00
Martin Gerhardy 4e4681f272 TWINE: activate intros again and fixed warning 2020-10-24 16:12:55 +02:00
Martin Gerhardy 764640ac74 TWINE: connect more keymapper actions 2020-10-24 16:12:55 +02:00
Martin Gerhardy 84f2ba7e41 TWINE: implemented more keymap actions 2020-10-24 16:12:55 +02:00
Martin Gerhardy c5b5e98db1 TWINE: fixed showing delayed text 2020-10-24 16:12:55 +02:00
Martin Gerhardy 4c593bdbdd TWINE: further refactored the input code 2020-10-24 16:12:55 +02:00
Martin Gerhardy c59fd6a32e TWINE: refactored input 2020-10-24 16:12:55 +02:00
Martin Gerhardy 60e7cbfe11 TWINE: started to refactor the main loop 2020-10-24 16:12:55 +02:00
Martin Gerhardy 13acf495a8 TWINE: error checks 2020-10-24 16:12:55 +02:00
Martin Gerhardy 9847b34a35 TWINE: refactored the way the voice playback is handled 2020-10-24 16:12:55 +02:00
Martin Gerhardy 707856a3a0 TWINE: fixed LanuageId text bank handling 2020-10-24 16:12:55 +02:00
Martin Gerhardy 2ac8330823 TWINE: renamed member of Keyboard struct 2020-10-24 16:12:55 +02:00
Martin Gerhardy 5d18dd0d17 TWINE: handle magic ball action and code cleanup 2020-10-24 16:12:55 +02:00
Martin Gerhardy 859957cbee TWINE: reduced scope and cleanup 2020-10-24 16:12:55 +02:00
Martin Gerhardy ecbc291e25 TWINE: use Graphics::Surface instead of raw 8 bit buffer 2020-10-24 16:12:55 +02:00
Martin Gerhardy 37bbfc168b TWINE: converted to classes and use the scummvm systems
also converted the code to the coding guidelines of the scummvm team
2020-10-24 16:12:55 +02:00
Martin Gerhardy bc35611293 TWINE: initial import 2020-10-24 16:12:55 +02:00