Commit graph

144 commits

Author SHA1 Message Date
Martin Gerhardy
0bd7c20c7d TWINE: removed SCREEN_WIDTH constant
and use the height of the screen - as we are indexing via y positions in the polytabs
2021-01-07 22:39:47 +01:00
Martin Gerhardy
d093c23f3b TWINE: use new rect() method 2021-01-07 21:58:21 +01:00
Martin Gerhardy
3cf6eee18b TWINE: replaced hardcoded resolution constants with function calls 2021-01-07 21:58:21 +01:00
Martin Gerhardy
9e89fdf9dd TWINE: added debug command to play fla movies 2021-01-06 08:43:22 +01:00
Martin Gerhardy
b92ad1ce78 TWINE: reduced default debug output 2021-01-06 07:53:33 +01:00
Martin Gerhardy
6c42253060 TWINE: fixed typo 2021-01-06 07:51:57 +01:00
Martin Gerhardy
d922ff7557 TWINE: converted pcx code to gif (wip)
The dos floppy version is the only version without fla movies I could find.
Also http://lbafileinfo.kazekr.net/index.php?title=LBA1:Fla_gif.hqr and no
FLA_PCX was ever mentioned. Not sure where why pcx code was added, maybe a
conversion from gif to pcx

The GIFDecoder is still missing, that's why this code is deactivated
2021-01-03 13:06:23 +01:00
Martin Gerhardy
fb85ee2cd6 TWINE: lowercase for config variables 2021-01-03 13:06:23 +01:00
Martin Gerhardy
0cdc57d070 TWINE: don't override the gameflags while initializing the config values 2021-01-03 13:06:23 +01:00
Martin Gerhardy
a97ef349ce TWINE: extracted to constants 2021-01-01 15:28:26 +01:00
Eugene Sandulenko
c1cca8c869 ALL: Update copyright year 2021-01-01 00:00:18 +01:00
Martin Gerhardy
3dfcdef673 TWINE: extract to method 2020-12-29 00:16:46 +01:00
Martin Gerhardy
e8080cf030 TWINE: added version flag support to detection entries 2020-12-27 14:02:02 +01:00
Martin Gerhardy
9eb0c1fd10 TWINE: use constants for magic values 2020-12-26 11:53:26 +01:00
Martin Gerhardy
2cfad1618f TWINE: prepare extraction into constants 2020-12-26 11:53:26 +01:00
Martin Gerhardy
05e86f562e TWINE: format the code 2020-12-26 11:53:26 +01:00
Martin Gerhardy
23a06b1ab5 TWINE: replaced magic number for text bank id 2020-12-23 15:50:48 +01:00
Martin Gerhardy
725f75d4af TWINE: allow to use a higher resolution for rendering images 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
475d32380f TWINE: specify the palette index for loadImage() 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
e52d5bf41e TWINE: reduced cyclic complexity of centerScreenOnActor 2020-12-17 12:29:18 +01:00
Martin Gerhardy
bb986b65d6 TWINE: implemented credits sequence in main menu 2020-12-17 12:22:47 +01:00
Martin Gerhardy
438f4aeadb TWINE: fps limit helper 2020-12-17 10:28:08 +01:00
Martin Gerhardy
4010c23d69 TWINE: replaced magic numbers 2020-12-07 17:00:17 +01:00
Martin Gerhardy
9d8eaa3f97 TWINE: converted to enum class
and added TODO about value mixing
2020-12-07 16:59:29 +01:00
Martin Gerhardy
ec503b7b89 TWINE: use OverlayType and OverlayPosType enums 2020-12-07 16:58:52 +01:00
Martin Gerhardy
390336f5fc TWINE: converted parameter to bool 2020-11-26 23:13:22 +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
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
733fc49637 TWINE: removed frequency parameter from playSample 2020-11-25 21:47:28 +01:00
Martin Gerhardy
a967242757 TWINE: more Common::Rect refactorings 2020-11-25 19:41:52 +01:00
Martin Gerhardy
e8fcff6e6d TWINE: implement ui control via mouse
Also optimized the on-screen keyboard rendering a lot, renamed
parameters and started to use Common::Rect
2020-11-25 17:00:44 +01:00
Martin Gerhardy
6f70d6315f TWINE: fixed loading boolean config values 2020-11-24 18:05:07 +01:00
Martin Gerhardy
a5dad05678 TWINE: the body index is not related to the inventory item idx 2020-11-23 16:42:21 +01:00
Martin Gerhardy
79daf804a4 TWINE: moved methods into ActorMoveStruct 2020-11-22 23:19:35 +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
057712cdc3 TWINE: hide access to gameFlags array 2020-11-22 22:42:24 +01:00
Martin Gerhardy
e993e65989 TWINE: extracted into single methods 2020-11-22 22:42:24 +01:00
Martin Gerhardy
699c8225c6 TWINE: replaced magic numbers with constants
and started to mark the angles - to be able to refacto them easier later on
2020-11-20 18:34:50 +01:00
Martin Gerhardy
f7552d1cd1 TWINE: fixed more memory leaks 2020-11-17 20:59:28 +01:00
Martin Gerhardy
f037bddc53 TWINE: plug memory leaks 2020-11-17 19:35:41 +01:00
Martin Gerhardy
4467f467ef TWINE: renamed actor members 2020-11-17 19:35:41 +01:00
Martin Gerhardy
df75fac95f TWINE: removed screenLookupTable 2020-11-16 21:23:04 +01:00
Martin Gerhardy
ba69546e91 TWINE: added BonusParameter struct 2020-11-16 21:23:03 +01:00
Martin Gerhardy
88aebb8313 TWINE: converted HeroBehaviourType to enum class 2020-11-14 15:54:45 +01:00
Martin Gerhardy
c2551974a7 TWINE: fixed toggling the jetpack 2020-11-14 15:54:45 +01:00