]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/preferences.h
- Updated Windows build doc, very slight revision. Changed 37 targets to 38.
[xonotic/netradiant.git] / radiant / preferences.h
index 8a9cc63d6fe37f11f7faa51783c16dcc4f6a1374..51c9ccb4e903247523be8038eff05af7d5390476 100644 (file)
@@ -26,6 +26,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include "gtkr_list.h"
 //#include "profile.h"
 
+#ifdef _WIN32
+#define NVIDIA_AERO_HACK
+#endif
+
 #define MAX_TEXTURE_QUALITY 3
 
 enum PrefTypes_t
@@ -208,6 +212,8 @@ select games, copy editing assets and write out configuration files
 #define NEXUIZ_PACK "NexuizPack"
 #define Q2_PACK "Q2Pack"
 #define TREMULOUS_PACK "TremulousPack"
+#define JA_PACK "JAPack"
+#define REACTION_PACK "ReactionPack"
 
 class CGameInstall : public Dialog {
 public:
@@ -229,6 +235,8 @@ public:
                GAME_NEXUIZ,
                GAME_Q2,
                GAME_TREMULOUS,
+               GAME_JA,
+               GAME_REACTION,
                GAME_COUNT
        };
 
@@ -471,7 +479,7 @@ public:
   // Gef: updated preferences dialog
   /*! Preference notebook page numbers */
   enum {PTAB_FRONT = 0, PTAB_GAME_SETTINGS, PTAB_2D, PTAB_CAMERA, PTAB_TEXTURE, PTAB_LAYOUT, PTAB_MOUSE,
-        PTAB_EDITING, PTAB_STARTUP, PTAB_PATHS, PTAB_MISC, PTAB_BSPMONITOR} pref_tabs;
+        PTAB_EDITING, PTAB_STARTUP, PTAB_PATHS, PTAB_BRUSH, PTAB_MISC, PTAB_BSPMONITOR} pref_tabs;
 
   GtkWidget *notebook;
 
@@ -481,6 +489,10 @@ public:
   void UpdateATIHack();
 #endif
 
+#ifdef NVIDIA_AERO_HACK
+  void UpdateNvidiaAeroHack();
+#endif
+
   void LoadPrefs();
   void SavePrefs();
   void LoadTexdefPref(texdef_t* pTexdef, char* pName);
@@ -609,6 +621,7 @@ public:
   bool  m_bGLLighting;
   bool  m_bTexturesShaderlistOnly;
   int   m_nSubdivisions;
+  float m_fDefTextureScale;
   bool  m_bFloatingZ;
   bool  m_bLatchedFloatingZ;
   // Gef: Kyro GL_POINT workaround
@@ -682,7 +695,12 @@ public:
   bool m_bQ3Map2Texturing;
 
 #ifdef ATIHACK_812
-       bool m_bGlATIHack;
+  bool m_bGlATIHack;
+#endif
+
+#ifdef NVIDIA_AERO_HACK
+  bool m_bGlNvidiaAeroHack;
+  int m_bGlNvidiaAeroHackPrevState;
 #endif
 
   void UpdateData (bool retrieve);