Page 1 of 1

Elements Token name and constant name?

Posted: Fri Jan 19, 2007 9:16 pm
by Zomis
Is the name of the constant (#define) always "EL_" + the element's token name?

I see that it is this for most elements, but is it like this for them ALL?

Posted: Sat Jan 20, 2007 4:56 pm
by Holger
Yes, it is.

There are some subtle exceptions, though: Elements like "dynamite.active" ("EL_DYNAMITE_ACTIVE"), which are a combination of an element name ("dynamite") and an element action ("active"), but which also exist as a true element that can exist in a level file.