/* -----------------------------------------------------------------------------
	GSFramework
	Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
----------------------------------------------------------------------------- */


		#include "script/script_engine_types.h"


//------------------------------------------------------------------------------
const char	*GS::Script::CObjectTypeToString(GS::Script::CObjectType type)
{
	static const char *types[typetag_End] =
	{
		"Undefined",
		"Deleted",

		"Engine",
		"ScriptVM",
		"ResourceSet",
		"Project",
		"Renderer",
		"Raytracer",
		"Mixer",
		"Scene3d",
		"Clock",

		"Font",
		"RasterFont",
		"Scene2d",
		"UICursor",
		"Window",
		"Item2d",
		"Sprite2d",
		"Widget",
		"SizerWidget",
		"ContainerWidget",
		"SpacerWidget",
		"CanvasWidget",
		"TextWidget",
		"BitmapWidget",
		"CheckWidget",
		"Picture",

		"Group",
		"Item",
		"Camera",
		"Object",
		"Light",
		"Instance",
		"Emitter",
		"ParticleModel",
		"Motion",
		"Trigger",
		"Path",

		"Sound",
		"Shader",
		"Texture",
		"Geometry",
		"GeometryTemplate",
		"Material",
		"MaterialShader",
		"ColShape",
		"Constraint",

		"Metafile",
		"Metatag",
		"FileHandle",

		"InputDevice",

		"EditorPlugin",

		"ProjectScene",
		"ProjectLayer",

		"AutomationSource",
		"AutomationSourceGroup",

		"ResourceFactories",

		"PeerInterface",
		"Peer",
	};

	return types[type];
}
//------------------------------------------------------------------------------
