Hello,
I´m converting my old A7 .wdl scripts to the new A8 C-Lite lenguage, and runned into a bug.
In one of the scripts, i´m using a defined handle to control a save game panel, but engine crashes say that the handle line is a SYNTAX ERROR.
In the following code...
#define _modesave 0;
#define _modeload 1;
function MainButtoncontroller(BUTTONUMBER)
{
if(BUTTONUMBER==1)
{
submenus=1;
mode_saveload= _modesave;
submenus_control();
return;
}
...
}
... the engine gives the following error:
ERROR in "systemmenu.c" line 265:
syntax error
< mode_saveload= _modesave;
>
Those defines aren´t used in Lite-C?!?
Is there a new way to write this syntaxes?
I couldn´t find anything in the manual, so any help is appreciated.
Thanks in advance.