SRL Archive - OSR Help

'SRL_NAVBAR_INGAME_X' - Script Loading The Wrong SmartGraphics?...


Spiker

2013-04-28 09:52:47

My script is loading the wrong SmartGraphics.simba.

I want it to use the OSR one, but it's to be using the EOC one.
{$DEFINE SMART8}
{$I SRL-OSR/SRl.simba}
{$I ObjectDTM\ObjDTMInclude.simba}
[PHP][Error] E:\Simba\Includes\SRL\SRL\Misc\SmartGraphics.Simba(88:45): Unknown identifier 'SRL_NAVBAR_INGAME_X' at line 87
Compiling failed.[/PHP]
As seen below:
[ATTACH=CONFIG]20975[/ATTACH]

SRL_NAVBAR_INGAME_X doesn't exist in the osr's SmartGraphics.Simba, but that's besides the point. As you can see it's referencing the wrong SmartGraphics, and I'm wondering why.

Thanks in advance for any help,
Spiker

P.S. I'm sure I'm missing something obvious. Been up for 26 hours.

Sjoe

2013-04-28 10:06:58

{$I ObjectDTM\ObjDTMInclude.simba}

Doesn't work for SRL-OSR

Spiker

2013-04-28 10:09:41

From: Sjoe
{$I ObjectDTM\ObjDTMInclude.simba}

Doesn't work for SRL-OSR


I just changed the path inside ObjDTMInclude.simba to point to the OSR ones.

Like so:
{$IFDEF SMART}
{$IFDEF SIMBAMAJOR980}
{$include_once SRL-OSR\SRL\Misc\paintsmart.Simba}
{$ELSE}
{$include_once SRL-OSR\SRL\misc\SmartGraphics.Simba}
{$ENDIF}
{$ENDIF}

So messing around with it now.

EDIT: I've found another solution anyways, but thank you for your help Sjoe.