The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
Development Assistance
/
Weights thing question
«
1
2
»
Weights thing question
Dragonfree97
9th Oct 2010
Member
0
Permalink
When adding the weight thingys in powder.h, is there a quicker way to do it rather than writing ',0' 80+ times?
MiXih
9th Oct 2010
Member
0
Permalink
Make a program which generate that tables (console enough)
zc00gii
9th Oct 2010
Banned
0
Permalink
This post is hidden because the user is banned
savask
9th Oct 2010
Developer
0
Permalink
There is a column selection tool in some editors like vim, Notepad++ or VS. Maybe there is one in your editor too.
MiXih
9th Oct 2010
Member
0
Permalink
I am making program which generate tables like this, but I don't know how create txt file in c++ ;/
savask
9th Oct 2010
Developer
0
Permalink
Maybe you can use just standard output?
bchandark
9th Oct 2010
Member
0
Permalink
I guess it worked better when there were only 20 elements. What if each element just had an integer weight value?
savask
9th Oct 2010
Developer
0
Permalink
bchandark
That was suggested and Simon said that it would make some problems, for example concrete will go through dust because it have bigger weight.
zc00gii
9th Oct 2010
Banned
0
Permalink
This post is hidden because the user is banned
MiXih
9th Oct 2010
Member
0
Permalink
http://pastebin.com/LrAwJkCj
Its my code for it
«
1
2
»