Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 16,302 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 Offline
Senior Expert
Quad  Offline
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