111 Commits

Author SHA1 Message Date
Martin Gerhardy
bed47375bc TWINE: fixed mixing of render types and material types 2021-12-27 21:40:00 +01:00
Martin Gerhardy
7d47c43b57 TWINE: Weird colors in sewers on Citadel island
https://bugs.scummvm.org/ticket/13163
2021-12-27 19:23:56 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Martin Gerhardy
f9e6995539 TWINE: prepare compilePolygons to support clipping 2021-10-11 20:31:58 +02:00
Martin Gerhardy
d8761a1bd0 TWINE: forward color as int16
because some of the polygon fill methods rely on the color value being a range
from start to end
2021-10-10 11:52:39 +02:00
Martin Gerhardy
002de89fad TWINE: the color values can contain two values - start and end color 2021-10-10 11:52:39 +02:00
Martin Gerhardy
2d6abce5ca TWINE: renamed method 2021-10-10 11:52:39 +02:00
Martin Gerhardy
808516dc2f TWINE: circle rendering is using proper fill methods now 2021-10-10 11:52:39 +02:00
Martin Gerhardy
010a29a413 TWINE: prepare for color blending in marble fill method 2021-10-10 11:52:39 +02:00
Martin Gerhardy
d157596665 TWINE: started to implement polygon render types for circles 2021-10-10 11:52:39 +02:00
Martin Gerhardy
87d9232202 TWINE: renamed variables 2021-10-10 11:52:39 +02:00
Martin Gerhardy
da0e5a8193 TWINE: improved polygon render methods 2021-10-10 11:52:39 +02:00
Martin Gerhardy
efc5e0bcf5 TWINE: added low poly details render methods 2021-10-10 11:52:39 +02:00
Martin Gerhardy
ae07194e58 TWINE: fixed polygon filler type enums 2021-10-10 11:52:39 +02:00
Martin Gerhardy
08833c3d0f TWINE: renamed variables 2021-10-08 19:00:01 +02:00
Martin Gerhardy
1587e87617 TWINE: prepare holomap code to work with other surfaces and images 2021-09-15 17:34:50 +02:00
Martin Gerhardy
359c1ba2cf TWINE: fixed holomap arrow clipping 2021-09-08 19:53:53 +02:00
Martin Gerhardy
af8aa09bbe TWINE: renamed variable 2021-09-06 20:05:30 +02:00
Martin Gerhardy
c416fe7830 TWINE: use forward decls and reduced header dependencies 2021-08-26 09:24:28 +02:00
Martin Gerhardy
015fbb0797 TWINE: hack to fix the broken window rendering on the holomap
https://bugs.scummvm.org/ticket/12820

this needs a proper fix. But for now this is better than the rendering glitch that appears
2021-08-19 20:46:13 +02:00
Martin Gerhardy
9c4907479a TWINE: merged projection methods 2021-08-16 17:15:42 +02:00
Martin Gerhardy
1b34bf6e0a TWINE: fixed parts of holomap planet rendering 2021-08-16 17:06:52 +02:00
Martin Gerhardy
e39b381819 TWINE: removed _destPos member from Renderer class 2021-08-15 12:30:09 +02:00
Martin Gerhardy
b4813d1b65 TWINE: prepare to remove the _destPos member 2021-08-15 12:30:09 +02:00
Martin Gerhardy
97ae393b0a TWINE: reduced usage of the global _destPos
also identified a few potential issues and marked them with a TODO
2021-08-15 12:30:09 +02:00
Martin Gerhardy
236a31ac71 TWINE: added return values to setBaseRotation methods 2021-08-14 11:26:58 +02:00
Martin Gerhardy
32fa7e9eaa TWINE: return values for some renderer functions 2021-08-11 20:45:10 +02:00
Martin Gerhardy
2693ad0332 TWINE: let projectPositionOnScreen return the position vector
... to reduce direct access to the member
2021-08-10 21:21:57 +02:00
Martin Gerhardy
32ae394833 TWINE: renamed variables 2021-08-09 11:24:17 +02:00
Martin Gerhardy
3623706a74 TWINE: fixed circle rendering 2021-08-05 22:25:16 +02:00
Martin Gerhardy
5ae5a557b8 TWINE: fixed game loop in Holomap::drawHolomapTrajectory 2021-08-01 20:28:02 +02:00
Martin Gerhardy
896622286a TWINE: dirty rect handling simplified
also reduced visibility of some members
2021-07-31 21:38:12 +02:00
Martin Gerhardy
fc75e5709e TWINE: renamed members 2021-07-31 16:48:23 +02:00
Martin Gerhardy
91fe6927c9 TWINE: made _projPosScreen private in Redraw 2021-07-31 16:48:23 +02:00
Martin Gerhardy
b08bc2ccf6 TWINE: reduced visibility of member 2021-07-31 16:48:23 +02:00
Martin Gerhardy
c6d26dc9d8 TWINE: renamed members 2021-07-31 16:48:23 +02:00
Martin Gerhardy
c1a27b7512 TWINE: converted member to local var (Redraw::renderRect) 2021-07-31 08:38:38 +02:00
Martin Gerhardy
a4efeea59b TWINE: handle the screen buffer in the render methods
will get useful once they manage their dirty areas
2021-06-03 19:01:14 +02:00
Martin Gerhardy
ba6ebf5b4d TWINE: fixed header guards 2021-03-27 20:32:09 +01:00
Martin Gerhardy
0430f59454 TWINE: added assignment operator for I16Vec3 to IVec3
doxygen and removed unused struct
2021-03-27 20:28:34 +01:00
Martin Gerhardy
b8cd7a0dbc TWINE: use members, not operator[] 2021-03-27 20:09:10 +01:00
Martin Gerhardy
1af583e6bd TWINE: optimized renderPolygons by not looping twice over all the vertices
... to compute the bounding box
2021-03-27 13:35:28 +01:00
Martin Gerhardy
33371ae454 TWINE: use BodyData for rendering 2021-03-27 13:35:27 +01:00
Martin Gerhardy
cf587e5d80 TWINE: reduced visibility 2021-03-27 13:35:27 +01:00
Martin Gerhardy
19d71f081b TWINE: use size of structs 2021-03-27 13:35:27 +01:00
Martin Gerhardy
a3acbceae9 TWINE: renamed method 2021-03-27 13:35:27 +01:00
Martin Gerhardy
0c8305f53b TWINE: reduced visibility 2021-03-27 13:35:27 +01:00
Martin Gerhardy
d137e3c52a TWINE: use BodyShade for getShadesBaseData 2021-03-27 13:35:27 +01:00
Martin Gerhardy
5fcaf25b48 TWINE: changed function return type of getVerticesBaseData 2021-03-27 13:35:27 +01:00
Martin Gerhardy
e637781769 TWINE: moved I16Vec3 into shared header 2021-03-27 13:35:27 +01:00