entity.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #if !defined(INCLUDED_ENTITY_H)
00023 #define INCLUDED_ENTITY_H
00024
00025 #include <string>
00026 #include <stdexcept>
00027
00028 template<typename Element> class BasicVector3;
00029 typedef BasicVector3<float> Vector3;
00030
00035 class EntityCreationException: public std::runtime_error
00036 {
00037 public:
00038 EntityCreationException (const std::string& what) :
00039 std::runtime_error(what)
00040 {
00041 }
00042 };
00043
00046 void Entity_createFromSelection (const std::string& name, const Vector3& origin);
00047 void Entity_connectSelected ();
00048
00049 void Scene_EntitySetKeyValue_Selected (const char* classname, const char* key, const char* value);
00050 void Scene_EntitySetClassname_Selected (const char* classname, const char* newClassname);
00051
00052 typedef struct _GtkWidget GtkWidget;
00053 char* misc_particle_dialog (GtkWidget* parent);
00054
00055 typedef struct _GtkMenu GtkMenu;
00056 void Entity_constructMenu (GtkMenu* menu);
00057
00058 void Entity_Construct ();
00059 void Entity_Destroy ();
00060
00061 #endif