mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-30 03:09:53 +02:00
Remove Renderer
field from GraphicsFunContext
- Only decorationsEnable & blackDecorations were ever read, graphics update functions shouldn't really be aware of the renderer. - `sim` should ideally not be there either, but `luaGraphicsWrapper` has more going on to sort out - Re-format previous commit with tabs instead of spaces
This commit is contained in:
@@ -19,8 +19,8 @@ struct Particle;
|
|||||||
struct GraphicsFuncContext
|
struct GraphicsFuncContext
|
||||||
{
|
{
|
||||||
const Simulation *sim;
|
const Simulation *sim;
|
||||||
bool decorationsEnable;
|
bool decorationsEnable;
|
||||||
bool blackDecorations;
|
bool blackDecorations;
|
||||||
RNG rng;
|
RNG rng;
|
||||||
const Particle *pipeSubcallCpart;
|
const Particle *pipeSubcallCpart;
|
||||||
Particle *pipeSubcallTpart;
|
Particle *pipeSubcallTpart;
|
||||||
|
Reference in New Issue
Block a user