Commit Graph
99 Commits
Author SHA1 Message Date
Martin Gerhardy 89f81a020d TWINE: reduced magic numbers in inventory menu 2021-02-25 12:50:35 +01:00
Martin Gerhardy e342415d31 TWINE: reduced itemAngle array size 2021-02-25 12:50:34 +01:00
Martin Gerhardy 55e0f3afea TWINE: introduced new angle constant 2021-02-25 12:50:34 +01:00
Martin Gerhardy 99783c08a9 TWINE: render the inventory menu centered on the screen in high-res mode 2021-02-25 12:50:34 +01:00
Martin Gerhardy 8a34640538 TWINE: use color constants 2021-02-25 12:50:34 +01:00
Martin Gerhardy 7779b3e6e1 TWINE: center the info and behaviour menu 2021-02-25 12:50:34 +01:00
Martin Gerhardy b34d716baf TWINE: reduced code duplication for drawBox 2021-02-25 12:50:34 +01:00
Martin Gerhardy f4f82c2b35 TWINE: extracted drawInfoMenu into single methods
should make implementing the hud ui easier
2021-02-25 12:50:34 +01:00
Martin Gerhardy 7b4ca38336 TWINE: optimizations by reducing calls to AnimData::loadFromBuffer 2021-02-20 18:22:46 +01:00
Martin Gerhardy feb36d9543 TWINE: use blitFrom for scaling the plasma effect buffer 2021-02-17 17:25:37 +01:00
Martin Gerhardy 961407346d TWINE: fixed persisting of settings 2021-02-11 17:04:59 +01:00
Martin Gerhardy 15832bdb09 TWINE: exit scenery view in some situations 2021-02-11 17:04:59 +01:00
Martin Gerhardy 21aaf4ce43 TWINE: scenery zoom stuff 2021-02-11 17:04:59 +01:00
Martin Gerhardy bb1f3735e5 TWINE: ensure that the clip is set for rendering the inventory items
found in disassembly
2021-02-08 19:40:45 +01:00
Martin Gerhardy e3450e8865 TWINE: show cloverleafs even if inventory is disabled
found in disassembly
2021-02-08 19:40:45 +01:00
Martin Gerhardy 44131e20d2 TWINE: restore music when leaving the options menu 2021-02-08 19:40:45 +01:00
Martin Gerhardy 986aa94154 TWINE: use delta time to show the credits from original game
also added the other actions found in the disassembly that the original game
did during the waiting loop
2021-02-06 18:55:09 +01:00
Martin Gerhardy 4ca2d937da TWINE: renamed method 2021-01-30 14:35:12 +01:00
Martin Gerhardy e3fa8aaa25 TWINE: moved prepareIsoModel calls into the resource loading 2021-01-30 14:09:34 +01:00
Martin Gerhardy 61b0633468 TWINE: more color constants 2021-01-26 18:55:52 +01:00
Martin Gerhardy 01e9d6c3e9 TWINE: fixed credits sequence playing while we are in question dialog
see https://bugs.scummvm.org/ticket/12084
2021-01-24 16:31:51 +01:00
Martin Gerhardy 437d0cc7bb TWINE: reduced updateScreen() calls 2021-01-09 18:42:25 +01:00
Martin Gerhardy ef86132f42 TWINE: replaced magic numbers 2021-01-08 21:55:47 +01:00
Martin Gerhardy 8f0177a733 TWINE: reduced hardcoded widget positions for behaviour text 2021-01-08 20:44:37 +01:00
Martin Gerhardy e402827f3b TWINE: introduced color constants 2021-01-08 19:44:43 +01:00
Martin Gerhardy 600545883f TWINE: fixed position of behaviour text in high res mode 2021-01-07 23:13:19 +01:00
Martin Gerhardy 3cf6eee18b TWINE: replaced hardcoded resolution constants with function calls 2021-01-07 21:58:21 +01:00
Martin Gerhardy 6c42253060 TWINE: fixed typo 2021-01-06 07:51:57 +01:00
Martin Gerhardy cf4cba9c20 TWINE: plasma effect for higher resolutions 2021-01-02 14:02:01 +01:00
Martin Gerhardy a97ef349ce TWINE: extracted to constants 2021-01-01 15:28:26 +01:00
Martin Gerhardy eb2e7ff5f5 TWINE: fixed fading of last chars on a dialog page
see https://bugs.scummvm.org/ticket/11982
2020-12-30 23:32:51 +01:00
Martin Gerhardy 5bbb781c73 TWINE: improved magic points rendering 2020-12-30 15:27:22 +01:00
Martin Gerhardy b0ab44995d TWINE: fixed assert when rendering the info menu without having magic levels set 2020-12-30 15:10:46 +01:00
Martin Gerhardy aaad819269 TWINE: reduced drawcalls 2020-12-30 14:41:31 +01:00
Martin Gerhardy 9bb1739dc5 TWINE: reduced scope of title rect vars 2020-12-30 14:34:25 +01:00
Martin Gerhardy 0a97afc141 TWINE: optimized rendering inventory items for drawcalls 2020-12-30 14:28:46 +01:00
Martin Gerhardy 0b37e42a04 TWINE: refactored the text rendering
there is a problem left with not 100% faded in characters at the end of the page
2020-12-29 00:16:46 +01:00
Martin Gerhardy 4f0040deff TWINE: drawBehaviour cleanup 2020-12-29 00:16:46 +01:00
Martin Gerhardy 2fdb55e0ab TWINE: renamed var 2020-12-28 13:04:28 +01:00
Martin Gerhardy da23eb9b27 TWINE: unified variable names 2020-12-27 14:06:42 +01:00
Martin Gerhardy 0ab84e47ba TWINE: removed unused method parameter 2020-12-24 15:00:00 +01:00
Martin Gerhardy c1b89c9878 TWINE: use SpriteData for rendering 2020-12-24 15:00:00 +01:00
Martin Gerhardy 23a06b1ab5 TWINE: replaced magic number for text bank id 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 ff22b784cb TWINE: replaced loop with memcpy 2020-12-23 11:08:00 +01:00
Martin Gerhardy 98c7d81bb7 TWINE: flip branch conditions 2020-12-23 11:08:00 +01:00
Martin Gerhardy e751448b99 TWINE: comments 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