ASYLUM: NEW SOUND SUBSYSTEM! This is still sort of WIP though because it's not a "true" implementation (direct from disassembly). It also doesn't really do anything with the new ambient sound queue, but the functionality's there for when we make more progress on the AmbientSoundItem initializations.
Also started to re-write updateBarriers(). The original is there as updateBarriers2() for the time being. git-svn-id: http://asylumengine.googlecode.com/svn/trunk@362 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
This commit is contained in:
parent
461ddd8dd0
commit
52206f1189
14 changed files with 471 additions and 69 deletions
|
@ -72,7 +72,7 @@ void ResourcePack::init(const char *resourceFile) {
|
|||
}
|
||||
|
||||
ResourceEntry *ResourcePack::getResource(uint32 resourceId) {
|
||||
uint16 index = resourceId & 0xFFFF;
|
||||
uint16 index = RESIDX(resourceId);
|
||||
if (!_resources[index].data) {
|
||||
// Load the requested resource if it's not loaded already
|
||||
_packFile.seek(_resources[index].offset, SEEK_SET);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue