Commit Graph
39 Commits
Author SHA1 Message Date
Martin Gerhardy 733fc49637 TWINE: removed frequency parameter from playSample 2020-11-25 21:47:28 +01:00
Martin Gerhardy 79daf804a4 TWINE: moved methods into ActorMoveStruct 2020-11-22 23:19:35 +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 ff86acbd03 TWINE: renamed method parameter 2020-11-19 18:35:27 +01:00
Martin Gerhardy 2a42cae807 TWINE: fixed double free 2020-11-17 20:59:28 +01:00
Martin Gerhardy 082985ee82 TWINE: fixed memory leaks 2020-11-17 19:35:41 +01:00
Martin Gerhardy 5d9ffc23b7 TWINE: renamed scene members 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 d3d283b351 TWINE: reduced code duplication in bonus handling 2020-11-16 21:23:03 +01:00
Martin Gerhardy bace236b67 TWINE: replaced magic values with sprite constants 2020-11-16 21:23:03 +01:00
Martin Gerhardy ba69546e91 TWINE: added BonusParameter struct 2020-11-16 21:23:03 +01:00
Martin Gerhardy eb1fafcc2e TWINE: converted ExtraSpecialType to enum class 2020-11-14 15:54:45 +01:00
Martin Gerhardy 88aebb8313 TWINE: converted HeroBehaviourType to enum class 2020-11-14 15:54:45 +01:00
Martin Gerhardy 6063119af2 TWINE: converted AnimationTypes to enum class 2020-11-14 15:54:45 +01:00
Martin Gerhardy 7eac628d27 TWINE: converted ShapeType to enum class 2020-11-14 15:54:45 +01:00
Martin Gerhardy 46212955bc TWINE: reduced code duplication 2020-11-14 15:54:44 +01:00
Martin Gerhardy 7055b58342 TWINE: minor cleanup 2020-11-14 15:54:44 +01:00
Martin Gerhardy e6058e9ada TWINE: endian safe actor bounding box parsing 2020-11-06 16:52:45 +01:00
Martin Gerhardy 09a589fb6f TWINE: invert the logic 2020-11-06 16:52:45 +01:00
Martin Gerhardy e909f51bf5 TWINE: use IS_HERO macro 2020-11-06 16:52:45 +01:00
Martin Gerhardy 6533bfdf3a TWINE: removed member vars from Actor class 2020-11-06 16:52:45 +01:00
Martin Gerhardy 5e31204c92 TWINE: const for palette pointers 2020-11-05 18:56:08 +01:00
Martin Gerhardy bac82c726f TWINE: small helper method to match the textid to behaviours 2020-11-05 18:56:08 +01:00
Martin Gerhardy c5336cd078 TWINE: use stream for endian safe parsing of the body data 2020-11-05 18:56:08 +01:00
Martin Gerhardy 36278881ea TWINE: use endian safe short parsing 2020-11-05 18:56:08 +01:00
Martin Gerhardy f388a14ad6 TWINE: fixed max value for getRandomNumber
the value was off-by-one causing all kind of weird errors in the game. E.g.
the first scene didn't drop a key each time.
2020-11-04 22:46:17 +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 9f316e4757 TWINE: introduced sample constants 2020-10-30 23:50:44 +01:00
Martin Gerhardy 1d3fa8e950 TWINE: fixed segfault and plug mem leak 2020-10-27 17:14:05 +01:00
Martin Gerhardy c34239c7fc TWINE: moved latest cache entries into Resources class 2020-10-27 17:14:05 +01:00
Martin Gerhardy e5fe47d542 TWINE: plug memory leaks 2020-10-27 17:14:05 +01:00
Martin Gerhardy c767b26557 TWINE: cleanup 2020-10-27 17:14:04 +01:00
Martin Gerhardy b307011170 TWINE: cleanup input code and replaced magic numbers 2020-10-26 18:11:15 +01:00
Martin Gerhardy 9d53e69b79 TWINE: converted scene loading to stream 2020-10-26 18:11:15 +01:00
Martin Gerhardy d13e4b4088 TWINE: reduced scopes, const + data hiding 2020-10-25 16:57:26 +01:00
Martin Gerhardy aacb488f25 TWINE: converted to boolean and general cleanup 2020-10-25 09:21:44 +01:00
Martin Gerhardy 401ab87715 TWINE: error checks 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