Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (vicknick, 7th_zorro, 1 invisible), 887 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Resource question about files #401224
05/15/12 16:40
05/15/12 16:40
Joined: Nov 2009
Posts: 201
Logitek Offline OP
Member
Logitek  Offline OP
Member

Joined: Nov 2009
Posts: 201
Hello,

i have a question about the resource files.

For example, if i have two resource files with same modelname in resource 1 and for example also in resource 9:

1. Resource "IamNrOne.wrs" includes the file test.mdl

9. Resource "IamNrTwo.wrs" includes also a file named test.mdl

Which file will be used by gamestudio?
The one of the first resource file? Or the one from the latest resource file?

Which order does gamestudio use?

Thanks.

Re: Resource question about files [Re: Logitek] #401291
05/16/12 12:19
05/16/12 12:19
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
If the resources are included automatically, the order is random, i.e. it's the order in which the files are listed in the directory. You should then avoid having files with the same name in different WRS files.

It the resources are included with a RESOURCE statement in the WDL file, the order is the same as in the file.


Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | 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