misc/libopenalbridge/tester.c
author nemo
Thu, 28 Feb 2013 23:15:33 -0500
changeset 8617 e7bea88096d2
parent 3697 d5b30d6373fc
permissions -rw-r--r--
So. A while ago, while trying to prevent hogs blowtorching getting turned around, unc0rr altered the old range of blowtorch from 1/8th of 180° up or down, to a 4° gain in upwards and a -4° loss in downwards. He also made it so that starting tunnels could fail to erase sufficient terrain, trapping hogs. Here are a couple of workarounds to more closely approximate old behaviour (do some initial erasure, adjust min/max angles)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3529
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     1
#include <stdio.h>
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     2
#include "openalbridge.h"
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     3
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     4
int main (int argc, int **argv) {
3697
d5b30d6373fc remove trailing spaces from end of line
koda
parents: 3529
diff changeset
     5
3529
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     6
    openal_init();
3697
d5b30d6373fc remove trailing spaces from end of line
koda
parents: 3529
diff changeset
     7
3529
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
     8
    openal_close();
3697
d5b30d6373fc remove trailing spaces from end of line
koda
parents: 3529
diff changeset
     9
3529
0e968ba12a84 memory management for openalbridge
koda
parents:
diff changeset
    10
    return 0;
3697
d5b30d6373fc remove trailing spaces from end of line
koda
parents: 3529
diff changeset
    11
}