All files belonging to the
- bitmaps, sounds, entities etc.
- will be first searched for in the work folder and then in the folder
- Backslashes ("\") have to be given in C notation as double
backslashes (like "C:\\games").
Paths will be searched in the given sequence. Paths are relative
to the current
work folder. In order to be able to copy your project to different
locations, use relative paths for all files belonging to your project,
for all files that are on an absolute location on your hard disk
(like template scripts).
A7 If the path begins
with "%EXE_DIR%", it's a subfolder
of the program folder (like "%EXE_DIR%\\template_6\\models").
Apart from that, do not use special characters or spaces in your
Theoretically you can specify up to 32 PATH names,
but it's better to stay well below that limit.
Each folder is searched in sequence until a given file is
found, so having lots of paths can remarkably increase the startup
are not searched in the paths. They should be located
in the work folder. Alternatively, their paths can be explicitely
given in the #include statements
or in PRAGMA_PATH statements.
At runtime paths can be added through add_folder().
PATH "files\\models"; // Searching for models also in the work subfolder "files\models"
BIND, LEVEL, PRAGMA_PATH, add_folder