Gamestudio Links
Zorro Links
Newest Posts
SGT_FW
by Aku_Aku. 11/30/26 08:19
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
6 registered members (AndrewAMD, TipmyPip, EvanTJ, EW_bytes, JeyKey II, krishna), 12,405 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Release world resources #366292
04/02/11 17:04
04/02/11 17:04
Joined: Mar 2011
Posts: 13
Yorkshire, England
monotonic Offline OP
Newbie
monotonic  Offline OP
Newbie

Joined: Mar 2011
Posts: 13
Yorkshire, England
Hi All,

I was wondering how you go about releasing all resources loaded into the world. Is there a command which I can call to release them ready for loading another world? Or do I have to manually dispose of them?

Thanks in advance.

Re: Release world resources [Re: monotonic] #366294
04/02/11 17:14
04/02/11 17:14
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline
Serious User
painkiller  Offline
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
when you call level_load, all resources from previous level are purged


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: Release world resources [Re: painkiller] #366300
04/02/11 17:51
04/02/11 17:51
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline
User
SchokoKeks  Offline
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
true, and you can use level_load(NULL); to release them, like when you want to go back to a 2d menu.

Re: Release world resources [Re: SchokoKeks] #366303
04/02/11 18:06
04/02/11 18:06
Joined: Mar 2011
Posts: 13
Yorkshire, England
monotonic Offline OP
Newbie
monotonic  Offline OP
Newbie

Joined: Mar 2011
Posts: 13
Yorkshire, England
Excellent thank you guys.


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