MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / PaintSessionGenerate

Function PaintSessionGenerate

src/openrct2/paint/Paint.cpp:320–337  ·  view source on GitHub ↗

* * rct2: 0x0068B6C2 */

Source from the content-addressed store, hash-verified

318 * rct2: 0x0068B6C2
319 */
320void PaintSessionGenerate(PaintSession& session)
321{
322 switch (DirectionFlipXAxis(session.CurrentRotation))
323 {
324 case 0:
325 PaintSessionGenerateRotate<0>(session);
326 break;
327 case 1:
328 PaintSessionGenerateRotate<1>(session);
329 break;
330 case 2:
331 PaintSessionGenerateRotate<2>(session);
332 break;
333 case 3:
334 PaintSessionGenerateRotate<3>(session);
335 break;
336 }
337}
338
339template<uint8_t TRotation>
340static bool CheckBoundingBox(const PaintStructBoundBox& initialBBox, const PaintStructBoundBox& currentBBox)

Callers 3

ViewportFillColumnFunction · 0.85
PrepareLightListFunction · 0.85

Calls 1

DirectionFlipXAxisFunction · 0.85

Tested by

no test coverage detected