wrenczes@gmail.com
|
ec95bb93e1
|
Fix for a crash (I think the same one Zeth reported) where the game dies somewhere in file reading source - I wasn't paying close enough attention to the fact that there are in fact 3 separate caches, so each had their own mutex, so JFileSystem wasn't actually being protected from reentrancy. So, if the app tried to load an audio sample at the same time as an image, boom...
|
2011-04-20 09:03:08 +00:00 |
|
wrenczes@gmail.com
|
52dd0c2f91
|
Removed the concept of cleaning up misses from the cache, as this was causing flickering on cards whose .zip files are missing. The idea now is that, if we can't load an image, keep the cache miss around permanently so that we never redundantly make a load attempt on that file again.
|
2011-04-20 06:46:14 +00:00 |
|
wrenczes@gmail.com
|
180f83083c
|
Fixed compilation times by refactoring: WResourceManager.h gets included either directly or indirectly into every header & cpp file; so does its includes & implementation details. Broke out WResourceManager into a pure virtual class that contains only the required calls, and added a WResourceManagerImpl header that contains all the dirty details that the rest of the app doesn't care about / need to know.
|
2011-04-20 06:27:44 +00:00 |
|