The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
Development Assistance
/
Visual Studio
«
1
2
3
»
Visual Studio
ozone
29th Oct 2010
Member
0
Permalink
Forget it. too many fatal errors and it says it cant find an exe. must have messed up the code.
Vanadium
29th Oct 2010
Member
0
Permalink
if you give me the link to the source in conversations i'll fix your errors
ozone
29th Oct 2010
Member
0
Permalink
I deleted it cause i messed up powder.c. just a quick question: to add an element, do you have to edit powder.c AND powder.h, or only powder.h?
pilojo
29th Oct 2010
Member
0
Permalink
It depends.
ozone
29th Oct 2010
Member
0
Permalink
on what?
EDIT: fail, answering my own question. it depends on whether the particle affects others, right?
pilojo
29th Oct 2010
Member
0
Permalink
ozone
If you want something special like"If touching ____ turn into ____" or "Conduct" or "Turn into ____ under pressure" then you go for powder.c. In powder.h its the basic constuction of an element (aka MUST be done.)
ozone
29th Oct 2010
Member
0
Permalink
oh cool, thanks pilojo. the code in powder.c is WAY too confusing.
pilojo
29th Oct 2010
Member
0
Permalink
ozone
lol if you want a special function I'll tell you where and what to do.
ozone
29th Oct 2010
Member
0
Permalink
Do you know how to add new menu sections?
pilojo
29th Oct 2010
Member
0
Permalink
ozone
Interface.h You'll figure it out pretty quick.
«
1
2
3
»