The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
Development Assistance
/
Adding a new menu?
«
1
»
Adding a new menu?
cat
9th Jul 2016
Member
0
Permalink
How would I make SC_CRACKER Visible to add elements in it?
jacob1
13th Jul 2016
Developer
1
Permalink
You would probably want to set the enabled flag here:
https://github.com/simtr/The-Powder-Toy/blob/master/src/simulation/SimulationData.cpp#L142
And then increase SC_TOTAL because right now it just ignores those menusections:
https://github.com/simtr/The-Powder-Toy/blob/master/src/simulation/SimulationData.h#L21
I haven't tested this, though.
«
1
»