Commit Graph
524 Commits
Author SHA1 Message Date
Martin Gerhardy 880d8261a7 TWINE: refactored matrices 2020-11-29 23:50:29 +01:00
Martin Gerhardy c7a09011e7 TWINE: replaced magic numbers 2020-11-29 23:50:29 +01:00
Martin Gerhardy df77fff8e8 TWINE: convert member to local var 2020-11-29 23:50:29 +01:00
Martin Gerhardy 78ec56e0c3 TWINE: removed dead code 2020-11-29 23:50:29 +01:00
Martin Gerhardy f0fb127429 TWINE: renamed struct 2020-11-29 23:50:29 +01:00
Martin Gerhardy eb2f00a74a TWINE: group render command structs 2020-11-29 23:50:29 +01:00
Martin Gerhardy 1d08ac4ea6 TWINE: renamed structs 2020-11-29 23:50:29 +01:00
Martin Gerhardy 91dc794937 TWINE: split render command buffer handling into several methods 2020-11-29 23:50:29 +01:00
Martin Gerhardy a71b3a3ac0 TWINE: reduced code duplication 2020-11-29 23:50:29 +01:00
Martin Gerhardy a75a08cd0e TWINE: cleanup and refactored rendering code 2020-11-29 23:50:29 +01:00
Martin Gerhardy f5a13ed5a5 TWINE: inlined one of the renderPolygons methods 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 938b438b0e TWINE: use size of struct for raw buffer arithmetic,...
but not for the reading of the stream data from hqr files - they are fixed, no matter how
the padding and alignment rules of the platform are
2020-11-29 23:50:29 +01:00
Martin Gerhardy fa1808b1c0 TWINE: refactored line rendering 2020-11-29 23:50:28 +01:00
Martin Gerhardy 3e7ba63b83 TWINE: fixed segfault in give_key debug command 2020-11-29 23:50:28 +01:00
Martin Gerhardy ad8d15d807 TWINE: disabled unused code 2020-11-29 23:50:28 +01:00
Martin Gerhardy 0c2064ede2 TWINE: refactored polygon rendering code 2020-11-29 23:50:28 +01:00
Martin Gerhardy ae97d0bbbe TWINE: refactored polygon rendering code 2020-11-29 23:50:28 +01:00
Martin Gerhardy 3427af227f TWINE: added assert to polygon handling 2020-11-29 23:50:28 +01:00
Martin Gerhardy d992f58cdc TWINE: unified code 2020-11-29 23:50:28 +01:00
Martin Gerhardy b03fd3cba0 TWINE: replaced magic numbers 2020-11-29 23:50:28 +01:00
Martin Gerhardy 55f558a110 TWINE: renamed variables and simplified code 2020-11-29 23:50:28 +01:00
Martin Gerhardy 14496123c6 TWINE: changed behaviour quick selection keymap description 2020-11-29 16:06:54 +01:00
Martin Gerhardy 1d624d2e1f TWINE: cleanup in Renderer::renderModelElements 2020-11-28 01:09:45 +01:00
Martin Gerhardy 61d49da380 TWINE: reduced scope in renderer code 2020-11-28 01:09:44 +01:00
Martin Gerhardy 2b20f54310 TWINE: reduced scope in renderer code 2020-11-28 01:09:44 +01:00
Martin Gerhardy a637786183 TWINE: removed dead code
the if branch was never reached, as currentDepth was 1 everytime
2020-11-28 01:09:44 +01:00
Martin Gerhardy a81e496b7e TWINE: cleanup in Renderer::circleFill 2020-11-28 01:09:44 +01:00
Martin Gerhardy f251a088d5 TWINE: cleanup model data parsing 2020-11-28 01:09:44 +01:00
Martin Gerhardy 808a8712b7 TWINE: code cleanup 2020-11-28 01:09:44 +01:00
Martin Gerhardy a17d752cf3 TWINE: convert parameter type and removed casting 2020-11-28 01:09:44 +01:00
Martin Gerhardy 89bc8dcfb2 TWINE: converted member to method parameter 2020-11-28 01:09:44 +01:00
Martin Gerhardy 24ce1e5d3e TWINE: refactored reading model data to stream 2020-11-28 01:09:44 +01:00
Martin Gerhardy 7a11fb592a TWINE: reduced scope 2020-11-28 01:09:44 +01:00
Martin Gerhardy 6f75c8a823 TWINE: removed unused method parameters 2020-11-28 01:09:44 +01:00
Martin Gerhardy 82df68fb11 TWINE: extracted rendering types into dedicated methods 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 0b29c0cd3c TWINE: replaced magic numbers 2020-11-26 23:13:22 +01:00
Martin Gerhardy 390336f5fc TWINE: converted parameter to bool 2020-11-26 23:13:22 +01:00
Martin Gerhardy 372cfe2b9f TWINE: set lba fps to 20 to get more close to original game speed 2020-11-26 22:14:29 +01:00
Martin Gerhardy b342cd2c04 TWINE: added shortcuts to change behaviour with the menu
... like it is in lba2
2020-11-26 22:14:29 +01:00
Martin Gerhardy 819650bc9d TWINE: fixed speed of the game by reduced the delay in the main loop like it was in TwinEngine 2020-11-26 21:53:05 +01:00
Martin Gerhardy 022aa4b2f4 TWINE: fixed blocky rendering
int64 was a typedef to float in the TwinEngine code
2020-11-26 21:26:26 +01:00
Martin Gerhardy 8fa22df102 TWINE: fixed invisible mouse cursor when going back into the ui
Addresses bug https://bugs.scummvm.org/ticket/11977
2020-11-26 17:26:53 +01:00
Martin Gerhardy 98d333d2c6 TWINE: fixed restarting music track
Addresses bug https://bugs.scummvm.org/ticket/11978
2020-11-26 09:43:08 +01:00
Martin Gerhardy d46733ce2b TWINE: fixed ScopedKeyMap disabling of keymap
Addresses bug https://bugs.scummvm.org/ticket/11975
2020-11-26 09:43:08 +01:00
Martin Gerhardy ac943779d2 TWINE: fixed behaviour menu offsets
introduced in a967242757
2020-11-26 09:43:08 +01:00
Martin Gerhardy 733fc49637 TWINE: removed frequency parameter from playSample 2020-11-25 21:47:28 +01:00
Martin Gerhardy a9c3c7987f TWINE: removed unused parameters 2020-11-25 21:47:28 +01:00
Martin Gerhardy edc226ae8e TWINE: use Rect::contains 2020-11-25 21:47:28 +01:00