Last change
on this file since 1507 was
48,
checked in by darran, 20 years ago
|
- added alpha-related command line params
- added -nosky flag
|
File size:
845 bytes
|
Line | |
---|
1 | |
---|
2 | /* |
---|
3 | Project-wide includes and adjustable defaults |
---|
4 | |
---|
5 | An OpenSceneGraph viewer for pyVolution SWW files. |
---|
6 | copyright (C) 2004 Geoscience Australia |
---|
7 | */ |
---|
8 | |
---|
9 | |
---|
10 | #ifndef PROJECT_H |
---|
11 | #define PROJECT_H |
---|
12 | |
---|
13 | |
---|
14 | // copied from OSG, must be Visual Studio idiosyncrocies ... |
---|
15 | #if defined(WIN32) && !(defined(__CYGWIN__) || defined(__MINGW32__)) |
---|
16 | #pragma warning( disable : 4244 ) |
---|
17 | #pragma warning( disable : 4251 ) |
---|
18 | #pragma warning( disable : 4267 ) |
---|
19 | #pragma warning( disable : 4275 ) |
---|
20 | #pragma warning( disable : 4290 ) |
---|
21 | #pragma warning( disable : 4786 ) |
---|
22 | #pragma warning( disable : 4305 ) |
---|
23 | #endif |
---|
24 | |
---|
25 | |
---|
26 | // Compile-time defaults |
---|
27 | #define DEF_PAUSED_START true |
---|
28 | #define DEF_BACKGROUND_COLOUR 0.5, 0.5, 0.5, 1.0 // R, G, B, Alpha (grey) |
---|
29 | #define DEF_TPS 10.0 // sww timesteps per second |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | #endif PROJECT_H |
---|
Note: See
TracBrowser
for help on using the repository browser.