So, I had a bit of a problem holding me up last week (well, that and Dwarf Fortress).
When a macro is defined, as such:
#define THIS_IS_A_MACRO
message="stuff"
#enddef
The carriage return between the macro body and #enddef is goes into the macro. To avoid that, one must do this:
#define THIS_IS_A_MACRO
message="stuff"#enddef
My thanks go to fabi for suggesting it. Wesnoth's developer community is helpful like that. I need to remember to ask these kinds of questions sooner, before I waste a week.
Saturday, December 5, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment