Commit Graph

73 Commits

Author SHA1 Message Date
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
1027ddda97 TWINE: fixed memory leaks 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
d417478b8c TWINE: started to split keymaps for ui, game and cutscenes 2020-10-24 16:12:55 +02:00
Martin Gerhardy
c59fd6a32e TWINE: refactored input 2020-10-24 16:12:55 +02:00
Martin Gerhardy
b7d5232708 TWINE: refactored input 2020-10-24 16:12:55 +02:00
Martin Gerhardy
0ef816f5e2 TWINE: comments 2020-10-24 16:12:55 +02:00
Martin Gerhardy
1003a57f40 TWINE: fixed warning 2020-10-24 16:12:55 +02:00
Martin Gerhardy
f7defb55e0 TWINE: cleanup gamestate - use constants for dynamic menu 2020-10-24 16:12:55 +02:00
Martin Gerhardy
851cf6a8c5 TWINE: fixed restarting the engine with broken menu state 2020-10-24 16:12:55 +02:00
Martin Gerhardy
37fdcb84e4 TWINE: reduced scope 2020-10-24 16:12:55 +02:00
Martin Gerhardy
6affc464e7 TWINE: minor cleanup 2020-10-24 16:12:55 +02:00
Martin Gerhardy
219d1f3562 TWINE: provide default parameter values for playSample 2020-10-24 16:12:55 +02:00
Martin Gerhardy
3868b03b4c TWINE: added small helper function to Keyboard struct 2020-10-24 16:12:55 +02:00
Martin Gerhardy
b387c3903e TWINE: new todo comment 2020-10-24 16:12:55 +02:00
Martin Gerhardy
cbbeaf3203 TWINE: reduced scope 2020-10-24 16:12:55 +02:00
Martin Gerhardy
3789ff815b TWINE: error checks 2020-10-24 16:12:55 +02:00
Martin Gerhardy
d976da7962 TWINE: format 2020-10-24 16:12:55 +02:00
Martin Gerhardy
7988b5a750 TWINE: reduced scopes 2020-10-24 16:12:55 +02:00
Martin Gerhardy
232cfc691e TWINE: cleanup in holomap code 2020-10-24 16:12:55 +02:00
Martin Gerhardy
dffaa2956d TWINE: disabled partial screen blitting for now 2020-10-24 16:12:55 +02:00
Martin Gerhardy
38cd5622b3 TWINE: forgot to reset the midi buffer pointer after freeing it 2020-10-24 16:12:55 +02:00
Martin Gerhardy
d1a7b95d9a TWINE: replaced magic number 2020-10-24 16:12:55 +02:00
Martin Gerhardy
dff5595cae TWINE: replaced magic numbers 2020-10-24 16:12:55 +02:00
Martin Gerhardy
e7f911fcbc TWINE: convert to boolean 2020-10-24 16:12:55 +02:00
Martin Gerhardy
c6b673c051 TWINE: converted to bool and use constants 2020-10-24 16:12:55 +02:00
Martin Gerhardy
a0a47a54d5 TWINE: renamed method params 2020-10-24 16:12:55 +02:00
Martin Gerhardy
c8e1dfbee0 TWINE: minor cleanup 2020-10-24 16:12:55 +02:00
Martin Gerhardy
0766f49c23 TWINE: converted to boolean 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
3fbb55b76e TWINE: sanity checks for resource loading 2020-10-24 16:12:55 +02:00
Martin Gerhardy
401ab87715 TWINE: error checks 2020-10-24 16:12:55 +02:00
Martin Gerhardy
13acf495a8 TWINE: error checks 2020-10-24 16:12:55 +02:00
Martin Gerhardy
5d37d79ebb TWINE: safeguards 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
18e7620613 TWINE: convert to boolean 2020-10-24 16:12:55 +02:00
Martin Gerhardy
e1ec83207f TWINE: implemented midi music 2020-10-24 16:12:55 +02:00
Martin Gerhardy
02910b092d TWINE: missed to add escape action to the KeyProperties
the skippedKey was not set due to this and skipping intros wasn't working anmore
I suppose there will be a lot of work left to refactor the input system...
2020-10-24 16:12:55 +02:00
Martin Gerhardy
4900ee4fcf TWINE: only reset pressedKey member if the custom action is done 2020-10-24 16:12:55 +02:00
Martin Gerhardy
53858b559e TWINE: fixed sound implementation 2020-10-24 16:12:55 +02:00
Martin Gerhardy
b833a88e43 TWINE: fixed language detection for the scummvm language descriptions 2020-10-24 16:12:55 +02:00
Martin Gerhardy
cb96e1f388 TWINE: fixed escape mapping 2020-10-24 16:12:55 +02:00
Martin Gerhardy
e3e6f7eebe TWINE: try to open the fla files from a flat installation dir 2020-10-24 16:12:55 +02:00
Martin Gerhardy
431ac7f465 TWINE: use constants for music config and improved midi hqr detection 2020-10-24 16:12:55 +02:00
Martin Gerhardy
cc716125f5 TWINE: converted to char array 2020-10-24 16:12:55 +02:00
Martin Gerhardy
5a80f0f0ac TWINE: convert to boolean 2020-10-24 16:12:55 +02:00
Martin Gerhardy
36884ce640 TWINE: converted remaining key down events to keymapper 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