Commit graph

59 commits

Author SHA1 Message Date
Martin Gerhardy
f9c4511308 TWINE: hide access to front buffer screen 2021-07-11 13:44:12 +02:00
Martin Gerhardy
fb2533ebd6 TWINE: cleanup blitting 2021-06-03 22:07:26 +02:00
Martin Gerhardy
ac39581c16 TWINE: draw the render rect 2021-06-03 22:07:26 +02:00
Martin Gerhardy
b3241ea04a TWINE: use Graphics::Screen 2021-06-03 22:07:26 +02:00
Martin Gerhardy
e5591b8115 TWINE: this already happens in fadeIn 2021-06-03 19:01:14 +02:00
Martin Gerhardy
8289072496 TWINE: added highres option to advanced menu
also use enum class for TextId and TextBankId
2021-04-09 10:43:03 +02:00
Martin Gerhardy
33371ae454 TWINE: use BodyData for rendering 2021-03-27 13:35:27 +01:00
Martin Gerhardy
0195b1c127 TWINE: fixed header guard names 2021-03-23 22:22:46 +01:00
Martin Gerhardy
99e727c5cf TWINE: use member var directly 2021-03-20 06:47:22 +01:00
Martin Gerhardy
5f94f6ed94 TWINE: renamed members 2021-03-19 15:49:07 +01:00
Martin Gerhardy
ac5424fa4c TWINE: moved bodyTable into Resourced class 2021-03-19 15:49:07 +01:00
Martin Gerhardy
a0175e1b69 TWINE: const 2021-03-17 18:27:29 +01:00
Martin Gerhardy
9d7ca64342 TWINE: removed ZVBox and ScenePoint struct - use BoundingBox and Vec3 2021-03-17 18:25:03 +01:00
Martin Gerhardy
9ba86d91de TWINE: removed raw anim data buffers 2021-03-16 19:26:47 +01:00
Martin Gerhardy
eca9fcdc1e TWINE: enable code again
error introduced in 70fd4f428d
2021-03-15 23:16:16 +01:00
Martin Gerhardy
70fd4f428d TWINE: removed ScenePoint and added actor debug rendering 2021-03-15 23:11:21 +01:00
Martin Gerhardy
cdd8276d37 TWINE: use SWAP in sortDrawingList 2021-03-07 21:06:39 +01:00
Martin Gerhardy
9e65aad7a2 TWINE: reduced code duplication 2021-03-04 15:32:07 +01:00
Martin Gerhardy
e9ee0ca7bc TWINE: previousAnimIdx might be -1 in Redraw::processDrawListShadows 2021-03-04 15:32:07 +01:00
Martin Gerhardy
16aca8531b TWINE: activate the palette switch for the holomap 2021-03-01 18:01:10 +01:00
Martin Gerhardy
718ef4a58f TWINE: converted destXYZ to Vec3 2021-02-26 11:11:21 +01:00
Martin Gerhardy
89921cac57 TWINE: converted projPosScreen to Vec3 2021-02-26 11:11:21 +01:00
Martin Gerhardy
d1b67f614e TWINE: converted projPosScreen to Vec3 2021-02-26 11:11:21 +01:00
Martin Gerhardy
c702e0955e TWINE: use Vec3 operators 2021-02-26 11:11:21 +01:00
Martin Gerhardy
56b9d68bb0 TWINE: replaced magic number with constant 2021-02-26 11:11:20 +01:00
Martin Gerhardy
b917ec2ad3 TWINE: convert ExtraListStruct positions to Vec3 2021-02-26 11:11:20 +01:00
Martin Gerhardy
010dccc785 TWINE: added projectPositionOnScreen Vec3 variant 2021-02-25 17:52:13 +01:00
Martin Gerhardy
eaf9de0bf0 TWINE: converted shadow coordinates to Vec3 struct 2021-02-25 17:17:57 +01:00
Martin Gerhardy
63a27de46f TWINE: converted lastPos to Vec3 struct 2021-02-25 17:12:52 +01:00
Martin Gerhardy
a819f61e8c TWINE: moved actor position into Vec3 struct 2021-02-25 17:06:23 +01:00
Martin Gerhardy
e79b109a61 TWINE: converted to Vec3 2021-02-25 15:45:25 +01:00
Martin Gerhardy
323ca6e8e4 TWINE: check for invalid clip rect in drawBrickSprite 2021-02-25 12:50:34 +01:00
Martin Gerhardy
1b4bffe1ad TWINE: drawBubble only updates the screen if the sprite wasn't culled 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
0f120fe788 TWINE: implemented scenery zoom 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
51cdf05bbe TWINE: removed todo comment
this is the posType in the original binary
2021-02-08 19:40:46 +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
13b2d3a945 TWINE: fixed sortDrawingList for one entry 2021-01-17 23:03:16 +01:00
Martin Gerhardy
ec6f19867a TWINE: todo comment 2021-01-17 22:58:48 +01:00
Martin Gerhardy
437d0cc7bb TWINE: reduced updateScreen() calls 2021-01-09 18:42:25 +01:00
Martin Gerhardy
e402827f3b TWINE: introduced color constants 2021-01-08 19:44:43 +01:00
Martin Gerhardy
f27f279342 TWINE: replaced magic numbers 2021-01-08 19:44:43 +01:00
Martin Gerhardy
ab6771e53d TWINE: reduced code duplication 2021-01-08 08:46:40 +01:00
Martin Gerhardy
3cf6eee18b TWINE: replaced hardcoded resolution constants with function calls 2021-01-07 21:58:21 +01:00
Martin Gerhardy
b591d9e0e3 TWINE: use Common::Rect 2020-12-30 14:22:45 +01:00
Martin Gerhardy
5f2383e3c4 TWINE: fixed rendering errors for brick sprites
https://bugs.scummvm.org/ticket/12024
2020-12-26 11:53:26 +01:00
Martin Gerhardy
438deb671f TWINE: use constants for magic numbers 2020-12-26 11:53:26 +01:00