Smaxx patch with tuning by me:
- hogs might worry/panic if they're next to explosives (grenade, dynamite, etc.)
- play sndVaporice for each fire extinguished only once (not 3 times)
- allow "on attack" voices/sounds for weapons (similar to water melon bomb)
- allow one voice/sound to be played during emotes
- print protocol version in version info (console)
- rope sounds (disabled atm)
- landscape background
- optimized/rewrote explosion drawing
- fixed "StopSound" called with an inactive sound to stop some random sound
- disabled npott
#import <UIKit/UIKit.h>
const char* get_documents_path() {
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex: 0];
const char* path = [documentsDirectory UTF8String];
return path;
}