parameters_t p;
FILLSTYLE*fs = &texture->fs;
+ memset(&p, 0, sizeof(parameters_t));
+
if(bitmap) {
fs->type = FILL_TILED;
fs->id_bitmap = bitmap->id;
unsigned blocksize = 1152;
int is_mp3 = 0;
- if(wav_read(filename, &wav)) {
+ if(wav_read(&wav, filename)) {
int t;
wav_convert2mono(&wav, &wav2, 44100);
samples = (U16*)wav2.data;
ActionTAG* a = 0;
instance_t* object = 0;
if(name)
- dictionary_lookup(&instances, name);
+ object = (instance_t*)dictionary_lookup(&instances, name);
if(!object && name && *name) {
/* we have a name, but couldn't find it. Abort. */
return 0;