Rev 18 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 18 | Rev 20 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include "sound.h" |
1 | #include "sound.h" |
2 | 2 | ||
3 | #include <stdlib.h> |
3 | #include <stdlib.h> |
4 | #include <string.h> |
4 | #include <string.h> |
5 | 5 | ||
6 | #include "brender.h" |
6 | #include "brender/brender.h" |
7 | #include "controls.h" |
7 | #include "controls.h" |
8 | #include "globvars.h" |
8 | #include "globvars.h" |
9 | #include "graphics.h" |
9 | #include "graphics.h" |
10 | #include "harness/trace.h" |
10 | #include "harness/trace.h" |
11 | #include "opponent.h" |
11 | #include "opponent.h" |
Line 100... | Line 100... | ||
100 | gSound_available = 0; |
100 | gSound_available = 0; |
101 | } else { |
101 | } else { |
102 | gSound_enabled = S3Init(the_path, gAusterity_mode) == 0; |
102 | gSound_enabled = S3Init(the_path, gAusterity_mode) == 0; |
103 | gSound_available = gSound_enabled; |
103 | gSound_available = gSound_enabled; |
104 | } |
104 | } |
105 | S3Set3DSoundEnvironment( |
105 | S3Set3DSoundEnvironment(0.14492753f, -1.0f, -1.0f); // Pierre-Marie Baty -- added type casts |
106 | gVirgin_pass = 0; |
106 | gVirgin_pass = 0; |
107 | gCD_is_disabled = 0; |
107 | gCD_is_disabled = 0; |
108 | UsePathFileToDetermineIfFullInstallation(); |
108 | UsePathFileToDetermineIfFullInstallation(); |
109 | } |
109 | } |
110 | if (gSound_available == 0) { |
110 | if (gSound_available == 0) { |