09-11-2012, 10:02 PM
I committed the patch (rev 858), but I changed the coords handling - all the specs say that the sound coords are in block coords * 8, so I made all parameters use this "format". Hopefully I didn't break anything - I didn't test the changes other than compiling them.
Also, if the sounds' names are static, consider making the cBlock::GetSoundName() functions' return values const char * instead of an AString, for performance reasons (not creating and copying an object for each step taken).
Also, if the sounds' names are static, consider making the cBlock::GetSoundName() functions' return values const char * instead of an AString, for performance reasons (not creating and copying an object for each step taken).