Crumply & DBJ,
it could be one or two things, and I found the manual rather
confusing on this issue, and worked it out more by trial
and error than reading. Firstly, ditch the 'add_folders' option
as not necessary for this task.
#define PRAGMA_PATH ... NEEDS to end with a semicolon ';'
It
will compile but wont
work without it in my experience.
#define PRAGMA_PATH "gfx"
SHOULD BE
#define PRAGMA_PATH "gfx";
Another thing, PRAGMA_PATH doesnt like the double-slash ("\\") as the manual suggests.
#define PRAGMA_PATH "%EXEDIR%\\data\\object"
SHOULD BE
#define PRAGMA_PATH "%EXE_DIR%\data\object";
Also bear in mind, using the %EXE_DIR% specifier (beware the spelling)
means the path starts looking from
the folder GameStudio is installed in,
NOT the folder your main script lives in(as this can be a different place).
So, using the above code-chunks as examples,
eg. A> the folder c:\projects\myproject\
gfx will be searched
and
eg. B> the folder C:\Program Files\GameStudio7\
data\object will be searched.