Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Loading System

Author
Message
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Jun 2003 21:25
Way, way back in the past (whilst I was waiting for Patch 3 - sorry, Update 3), I devised a loading system (ie can load graphics, music etc) in one function call.
Its been used by a few people (hello Puffster), so I thought I would update it so that any valid type of file can be loaded in one go. In addition, it displays a little progress bar along the bottom of the screen.
Note : Whilst the program runs fine, I haven't actually used it to load anything yet.

Test Program:


Note 2 : You will need a lot of my plug-ins to run it.
Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 30th Jun 2003 23:17
which plug-ins???

---Mattman
"Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done." Andy Rooney
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 1st Jul 2003 01:15
String and Memory should be the only ones needed.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 1st Jul 2003 12:13
Now I've got some spare time (I'm at work), I can now describe how to use the routine :

You need to create a list of filenames and the bank/object/music number that file will be going into. Each one of these is seperated by a -. The filename and object/bank number is seperated by a comma, like so :

C:\TEST.X,1 - This would load an X object into object number 1 (if its free and the file can be found).
C:\TEST.X,1-C:\MUSIC.WAV,1 - This would load an X object into object number 1 and a WAV file into sound 1.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!

Login to post a reply

Server time is: 2024-11-24 02:34:36
Your offset time is: 2024-11-24 02:34:36