Gamestudio Links
Zorro Links
Newest Posts
Alternative to Stooq for Zorro S
by jcl. 10/09/26 16:00
Stooq now requires an API key
by cwford. 10/08/26 23:27
ZorroGPT
by TipmyPip. 10/06/26 05:32
Purchase A8 full licence version
by jcl. 10/05/26 12:12
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (JeyKey II, cwford, 1 invisible), 17,889 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 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