Every now and then, a guy thinks he will get far in trying to adapt the AoP engine to PotC and everytime the attempt fades as he realizes this is not possible. So, I settled with the fact that I am wasting my time here just for the fun of it - with the possible fact in mind, that I might be talking to myself here <img src="style_emoticons/<#EMO_DIR#>/biggrin.gif" style="vertical-align:middle" emoid="
" border="0" alt="biggrin.gif" />
So, I created a testbed folder, throw in the library of AoP and on top of this, threw in the /resouces/ folder from PotC. True, it worked all the way to the main screen, with some PotC build image I havent seen before ("Ya be warned") in the background and what could be two sets of buttoms to the right. The visible and clickable PotC B13 buttoms and a set of invisible AoP buttoms in a invisible background layer. Clicking the "New game" released a set of images of Blaze Devlin and Beatrice, each choosable but thats it, and a "X" to go back in the top. Other buttons like "save" and options released the AoP credits screen, some weird screen with (null) values on top and a clickable layer beneath that would´nt take me anywhere. Yes, basically everything was a mess, but at least I removed the AoP loading image of the wheel by deleting a section from the AoP engine.ini.
Hungry for more, I started replacing the AoP seadogs.c with the one from PotC, and I started to debug using the error.log and replacing file after file in the /programs/ folder one by one. Had some troubles underway, as there is no /programs/scripts/ folder in PotC, but deleting it made seadogs.c happy.
Now, I have a problem with seadogs.c, as error.log says:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->COMPILE ERROR - file: seadogs.c; line: 110
Invalid Expression
COMPILE ERROR - file: seadogs.c; line: 110
Invalid Expression
COMPILE ERROR - file: seadogs.c; line: 110
Invalid Expression
COMPILE ERROR - file: seadogs.c; line: 110
Invalid Expression
COMPILE ERROR - file: seadogs.c; line: 110
Invalid Expression
COMPILE ERROR - file: seadogs.c; line: 110
Invalid Expression
COMPILE ERROR - file: seadogs.c; line: 110
Invalid Expression
COMPILE ERROR - file: seadogs.c; line: 110
missed ')'<!--c2--></div><!--ec2-->
Line 107-112 in the PotC seadogs.c says:
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->// added by MAXIMUS -->
void GetInterfaceParameters()
{
if(bNewInterface) ReinitNewInterface();
else ReinitOldInterface();
}<!--c2--></div><!--ec2-->
Can anybody help me with this one? Commenting it out only release an errorlog complaining about line 116...