Define (DEF): Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
Created page with "'''define''' <name> <number> '''#define''' <name> <number> Declares <name> to represent the numeric value <number>. <number> can be a label, in which case the value of the la..."
 
Fox (talk | contribs)
No edit summary
Line 1: Line 1:
'''define''' <name> <number>
'''define''' <name> <number>
'''#define''' <name> <number>
'''#define''' <name> <number>


Line 5: Line 6:


NOTE: You may find it convenient to include DEFS.CON or NAMES.H to predefine many of the tile (and sound) names in the art file.
NOTE: You may find it convenient to include DEFS.CON or NAMES.H to predefine many of the tile (and sound) names in the art file.
[[Category:DEF commands]]

Revision as of 03:18, 21 February 2020

define <name> <number>

#define <name> <number>

Declares <name> to represent the numeric value <number>. <number> can be a label, in which case the value of the label given is used.

NOTE: You may find it convenient to include DEFS.CON or NAMES.H to predefine many of the tile (and sound) names in the art file.