cache_exists() in Feature Requests
|
|
|
|
| Status: |
Open
Issue hasn't been assigned a status value.
|
|
|
Would it be possible to check the cache for an existing file? With that, we could make things like loading screens while loading a file, or something of that nature. My first thought was for sounds, and would go something like this (in pseudocode):
play_sound(file) if(!cache_exists(file)) load_screen(file) return src << sound(file)
load_screen(file) spawn while(!cache_exists(file))
|
|
In general I don't see how this can be reconciled to our cache system because DD will try to send resources whenever it can unless it's under strict orders not to. If a custom loading screen is all that you want, that's really more a subject for a different feature request (a request for that already exists) and overall is probably easier to implement. If you want more fine control over how resources are sent out, I believe there's already a request for that as well.