Discussion around programming R'n'D, its source code and its tools.
Moderators: Zomis, Flumminator
- Posts: 1501
- Joined: Mon Jun 21, 2004 1:27 pm
- Location: Sweden
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?
- Site Admin
- Posts: 3330
- Joined: Fri Jun 18, 2004 4:13 pm
- Location: Germany
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.