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
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 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
PRAGMA_PATH #293518
10/12/09 06:05
10/12/09 06:05
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
Does anybody tried an overrun error on PRAGMA_PATH? On my case here, overrun will occur after 35 definitions of PRAGMA_PATH..

I'm planning to use add_folder instead but if I may ask, which among the two functions is more efficient?



Can't is not an option™
Re: PRAGMA_PATH [Re: seecah] #293519
10/12/09 06:11
10/12/09 06:11
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
Manual quote:

Quote:
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 increase the project startup time.



Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: PRAGMA_PATH [Re: Helghast] #293558
10/12/09 13:23
10/12/09 13:23
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
But I need since I have to categorize all my bitmaps like the menu screens.. What other best options can we make instead of pragma_path??? Is add_folder a solution if I really want to define many path names?



Can't is not an option™
Re: PRAGMA_PATH [Re: seecah] #293565
10/12/09 14:34
10/12/09 14:34
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Not possible, as Helghast say you can use only up to 32 PATH (also with add_folder). Take some Bitmap together in one folder....

Re: PRAGMA_PATH [Re: seecah] #293659
10/12/09 23:56
10/12/09 23:56
Joined: Oct 2002
Posts: 2,256
Oz
L
Locoweed Offline
Expert
Locoweed  Offline
Expert
L

Joined: Oct 2002
Posts: 2,256
Oz
Yeah, you should't ever need more that 32 folders. The project I am working is like 10GB and has thousands or resources and don't need that many folders, just create folders for each type of resource... Images, Audio, Models, etc.

You should have no problem keeping within the 32 folder limit.


Professional A8.30
Spoils of War - East Coast Games
Re: PRAGMA_PATH [Re: Locoweed] #293838
10/14/09 08:24
10/14/09 08:24
Joined: Apr 2009
Posts: 248
Philippines
seecah Offline OP
Member
seecah  Offline OP
Member

Joined: Apr 2009
Posts: 248
Philippines
Thanks all.. I'll just do it with general classifications..



Can't is not an option™

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