I tried placing this at the top of the program:
#define TITLE skill7
I then replaced:
title = "OGRE"; // in the ogre_action() function
and
title = "WIZARD"; // in the wizard_action() function
with:
my.TITLE = "OGRE"; // in the ogre_action() function
and
my.TITLE = "WIZARD"; // in the wizard_action() function
and I changed the TEXT function to look like this:
TEXT* enemy_health_txt =
{
layer = 1;
pos_x = 830;
pos_y = 10;
string (my.TITLE, "'S HEALTH:");
flags = CENTER_X | TRANSLUCENT | SHOW;
}
I am now getting this error:
Error in 'line 1298:
Can not convert 'ARRAY' to 'FIXED'
< my.TITLE = "OGRE"; >
.
Error in 'line 1664:
Can not convert 'ARRAY' to 'FIXED'
< my.TITLE = "WIZARD"; >
........ 0.183 sec
Error compiling OGREFORTRESS.C
Error E355: Startup failure - any key to abort