The Powder Toy
Download
Forum
Browse
Wiki
FAQ
Play online
Register
Login
Discussions
/
Development Assistance
/
element coding error
«
1
2
3
»
element coding error
webb
19th Jan 2011
Member
0
Permalink
when i try to compile my new test element it comes up with this:
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/../../../../include/powder.h:444:2: error: expected '}' before '{' token
hugoRawr
19th Jan 2011
Member
0
Permalink
lol, i hate it when this happens, did you exceed the element limit? are your includes in order? have you checked for typos?
Pilihp64
19th Jan 2011
Developer
0
Permalink
could you put your powder.h on pastebin, it is a typo somewhere, and it can be hard to find.
webb
19th Jan 2011
Member
0
Permalink
i checked it everywhere and there is no typo
Neospector
19th Jan 2011
Member
0
Permalink
webb:
powder.h:444:2: error: expected '}' before '{' token
You're missing a "}" on line 444
webb
19th Jan 2011
Member
0
Permalink
nope, i got one
Pilihp64
19th Jan 2011
Developer
0
Permalink
.... upload powder.h, there is a typo, don't say there isn't just upload it so i can find it.
webb
19th Jan 2011
Member
0
Permalink
heres the line thats its got problems with:
{"PNST", PIXPACK(0xFFA200), 0.0f, -5.0f * CFDS, 1.00f, 1.00f, 15.0f, 0.1f, 0.00f, -100.0f * CFDS, 1, 0, 0, 0, 0, 1, 2, SC_POWDERS, 22.0f, 0, "Powdered Negative Star Bomb."},
Pilihp64
19th Jan 2011
Developer
0
Permalink
can you not read?
UPLOAD THE ENTIRE FILE
OR PASTEBIN
webb
19th Jan 2011
Member
0
Permalink
ok! and yes i can read, il convo u it, cuz the pastebin isnt working
«
1
2
3
»