]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/util/SGNodeMasks.hxx
Random trees from Stuart Buchanan
[simgear.git] / simgear / scene / util / SGNodeMasks.hxx
index 315d73fc1311c4a1b4fb4e6527774e15d3d6627d..19520eb6d1d3d0a8098c0bf20216c91c1c623aef 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c++-*-
  *
- * Copyright (C) 2006 Mathias Froehlich 
+ * Copyright (C) 2006-2007 Mathias Froehlich 
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
 #ifndef SG_SCENE_NODEMASKS_HXX
 #define SG_SCENE_NODEMASKS_HXX
 
+#include "RenderConstants.hxx"
+
 /// If set, do terrain elevation computations with that nodes
-#define SG_NODEMASK_TERRAIN_BIT (1<<0)
+#define SG_NODEMASK_TERRAIN_BIT        simgear::TERRAIN_BIT
+/// If set, this is the main model of this simulation
+#define SG_NODEMASK_MAINMODEL_BIT      simgear::MAINMODEL_BIT
 /// If set, cast shadows
-#define SG_NODEMASK_SHADOW_BIT  (1<<1)
+#define SG_NODEMASK_CASTSHADOW_BIT     simgear::CASTSHADOW_BIT
+/// If set, cast recieves shadows
+#define SG_NODEMASK_RECIEVESHADOW_BIT  simgear::RECEIVESHADOW_BIT
+#define SG_NODEMASK_GUI_BIT            simgear::GUI_BIT
+#define SG_NODEMASK_2DPANEL_BIT        simgear::PANEL2D_BIT
 /// If set, the node is pickable
-#define SG_NODEMASK_PICK_BIT    (1<<2)
-
+#define SG_NODEMASK_PICK_BIT           simgear::PICK_BIT
 #endif