First, I found the problem with the above (stupid stupid stupid)...I had a space between center_ & text so it was not center_text...blah
however, I'm still tring to figure this out and am calling the function from:
TEXT* credits_txt =
{
layer = 15;
pos_x = center_text(credits_str);
pos_y = 10;
string (credits_str);
flags = VISIBLE;
}
Which now errors out at the call.
credits_str was declared like:
STRING* credits_str = "Copyright (c) 2005\nGeoff Doty\n";