Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 11/19/25 10:10
MRC.c and WFO
by 11honza11. 11/18/25 15:22
webGL
by Ice2642. 11/17/25 21:27
Camera always moves upwards?
by NeoDumont. 11/17/25 09:56
Future of ZorroHFT
by TipmyPip. 11/16/25 13:52
COT Download with Quandl does not work
by Petra. 11/15/25 09:35
Training with the R bridge does not work
by Petra. 11/15/25 09:31
Zorro 2.70
by jcl. 11/15/25 08:43
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Quad, AndrewAMD, TipmyPip), 5,904 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
SkinnyApe, tritom, sheliepaley, Blueguy, blobplayintennis
19179 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Path #181564
02/02/08 10:21
02/02/08 10:21
Joined: Jan 2008
Posts: 19
G
girish Offline OP
Newbie
girish  Offline OP
Newbie
G

Joined: Jan 2008
Posts: 19
How to use path in Lite-C
i want to have seperate folder for images, models & code
How to access those folder from lite-c

Re: Path [Re: girish] #181565
02/02/08 10:58
02/02/08 10:58

A
Anonymous
Unregistered
Anonymous
Unregistered
A



If your project name is for example myproject.c you need to create a file named myproject.wdl.

Within you can use the PATH keyword like in c-script:

Code:

// PATH...
//
// ============================================================================
PLUGINDIR = "plugins";

PATH "images";
PATH "sounds";
PATH "scripts";
PATH "models";




Re: Path [Re: ] #181566
02/03/08 02:38
02/03/08 02:38
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
well, they re now PRAGMA_PATH s .


you should use:

#define PRAGMA_PATH "images";//absolute or relative paths.
#define PRAGMA_PATH "models";//as far as i know, you can define more than one pragma_path


you can also add folders using

add_folder(<path here>);

at runtime.


3333333333

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1