Rev 1 | Rev 18 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 11 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | #include "trig.h" |
25 | #include "trig.h" |
26 | #include "utility.h" |
26 | #include "utility.h" |
27 | 27 | ||
28 | #include <float.h> |
28 | #include <float.h> |
29 | #include <string.h> |
29 | #include <string.h> |
- | 30 | ||
- | 31 | static const br_scalar viewdistance_surmultiplier = 2.5; // Pierre-Marie Baty -- view distance surmultiplier addition |
|
30 | 32 | ||
31 | int gFunkotronics_array_size; |
33 | int gFunkotronics_array_size; |
32 | int gGroovidelics_array_size; |
34 | int gGroovidelics_array_size; |
33 | int gSpec_vol_mode; |
35 | int gSpec_vol_mode; |
34 | tFunkotronic_spec* gFunkotronics_array; |
36 | tFunkotronic_spec* gFunkotronics_array; |
Line 2893... | Line 2895... | ||
2893 | LoadInKevStuff(NULL); |
2895 | LoadInKevStuff(NULL); |
2894 | } else { |
2896 | } else { |
2895 | LoadInKevStuff(f); |
2897 | LoadInKevStuff(f); |
2896 | } |
2898 | } |
2897 | if (gRace_file_version < 5) { |
2899 | if (gRace_file_version < 5) { |
2898 | gYon_multiplier = 1.0; |
2900 | gYon_multiplier = viewdistance_surmultiplier * 1.0; |
2899 | } else { |
2901 | } else { |
2900 | gYon_multiplier = GetAScalar(f); |
2902 | gYon_multiplier = viewdistance_surmultiplier * GetAScalar(f); |
2901 | } |
2903 | } |
2902 | GetAString(f, s); |
2904 | GetAString(f, s); |
2903 | if (strcmp(s, pFile_name) != 0) { |
2905 | if (strcmp(s, pFile_name) != 0) { |
2904 | FatalError(kFatalError_FileCorrupt_S, pFile_name); |
2906 | FatalError(kFatalError_FileCorrupt_S, pFile_name); |
2905 | } |
2907 | } |