Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/21/26 19:15
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 6,438 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 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