]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/entity/light.h
Merge commit '515673c08f8718a237e90c2130a1f5294f966d6a'
[xonotic/netradiant.git] / plugins / entity / light.h
index 37b714f26b0e566c772ac15b7585e40ff6574eff..96f677ba11446172319363e424a3b15e5dee6d2d 100644 (file)
@@ -1,7 +1,6 @@
-
 /*
-Copyright (C) 1999-2007 id Software, Inc. and contributors.
-For a list of contributors, see the accompanying CONTRIBUTORS file.
+Copyright (C) 2001-2006, William Joseph.
+All Rights Reserved.
 
 This file is part of GtkRadiant.
 
@@ -20,7 +19,23 @@ along with GtkRadiant; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
 
-bool Entity_IsLight(entity_t *e);
-void Light_OnKeyValueChanged(entity_t *e, const char *key, const char* value);
-void DrawLight(entity_t* e, int nGLState, int pref, int nViewType);
+#if !defined(INCLUDED_LIGHT_H)
+#define INCLUDED_LIGHT_H
+
+namespace scene
+{
+  class Node;
+};
+class EntityClass;
+
+scene::Node& New_Light(EntityClass* eclass);
+enum LightType
+{
+  LIGHTTYPE_DEFAULT,
+  LIGHTTYPE_RTCW,
+  LIGHTTYPE_DOOM3
+};
+void Light_Construct(LightType lightType);
+void Light_Destroy();
 
+#endif