Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
// HARD SETTINGS: |
| 2 |
// Settings affecting performance / quality ratio |
| 3 |
|
| 4 |
const int NNAMES=24; |
| 5 |
|
| 6 |
class HardSettings{ |
| 7 |
public: |
| 8 |
int TSIZE; // total texture size |
| 9 |
int MAX_TSIZE; // max texture size |
| 10 |
|
| 11 |
int N_VIEW_DIR; |
| 12 |
|
| 13 |
|
| 14 |
int SHADOWMAP_SIZE; // texture size for shadowmap |
| 15 |
int AOSM_SIZE; // texture size for shadowmmaps for AO computation |
| 16 |
|
| 17 |
int NVIDIA_PATCH; |
| 18 |
|
| 19 |
int MOVING_QUALITY; |
| 20 |
int STILL_QUALITY; |
| 21 |
|
| 22 |
// if true, use double ShadomMap optimization |
| 23 |
int doubleSM; |
| 24 |
|
| 25 |
int SNAP_SIZE; |
| 26 |
int SNAP_ANTIALIAS; |
| 27 |
|
| 28 |
int PNG_TRANSPARENT; |
| 29 |
|
| 30 |
// GIF animation settings |
| 31 |
int GIF_SNAP_SIZE; |
| 32 |
int GIF_INITIAL_PAUSE; |
| 33 |
int GIF_ANIMATION_MODE; |
| 34 |
|
| 35 |
int GIF_ROT_N_FRAMES; |
| 36 |
int GIF_ROT_MSEC; |
| 37 |
int GIF_ROT_SIDEVIEW_ANGLE; |
| 38 |
|
| 39 |
int GIF_INSP_N_FRAMES; |
| 40 |
int GIF_INSP_MSEC; |
| 41 |
int GIF_INSP_ANGLE; |
| 42 |
|
| 43 |
int GIF_6SIDES_N_FRAMES; |
| 44 |
int GIF_6SIDES_MSEC; |
| 45 |
int GIF_6SIDES_PAUSE; |
| 46 |
|
| 47 |
void SetDefaults(); |
| 48 |
bool Load(char *fn); |
| 49 |
bool Save(char *fn); |
| 50 |
bool OnStart(); // tries to load, on faliure setdefaults and saves |
| 51 |
HardSettings(); |
| 52 |
private: |
| 53 |
int* data[NNAMES]; |
| 54 |
}; |
| 55 |
|
| 56 |
extern HardSettings hardSettings; // SINGLETON |