Ok, while following Rysen's tutorial, I decided I'd try to expand a little bit on the text box... and apparently Verge doesn't like it when I use PHP syntax. :^p
I'm trying to set it up so that the Textbox function includes a 48x48 portrait that I specify in the arguements. So... I tried this, hoping that 'face' would fill in properly:
void TextBox(string face, string text)
{
int TextBg = LoadImage('menus\textbox.pcx');
int MyFont = LoadFont('menus\smallfont1.gif');
int portrait = LoadImage('menus\',face,'.gif');
while(!b1)
{
Render();
TBlit(16,130,portrait,screen);
Blit(0,178,TextBg,screen);
PrintString(10,185,screen,MyFont,text);
ShowPage();
}
Unpress(1);
FreeImage(TextBg);
FreeFont(MyFont);
}
But, of course... it gags and sputters with '); Expected , found' errors when it hits the Int Portrait line. So... that said, What's the proper syntax for what I'm trying to do?