/*
   render/render.h
   This file is part of the Osirion project and is distributed under 
   the terms of the GNU General Public License version 2 
*/

#ifndef __INCLUDED_RENDER_H__
#define __INCLUDED_RENDER_H__

#include "core/cvar.h"
#include "model/vertexarray.h"

#include "render/draw.h"
#include "render/gl.h"
#include "render/text.h"
#include "render/tga.h"

namespace render {

	/// initialize the render subsystem
	void init();

	/// shutdown the render subsystem
	void shutdown();

	extern core::Cvar *r_radius;
	extern core::Cvar *r_wireframe;
	extern core::Cvar *r_arraysize;

	extern model::VertexArray *vertexarray;
}


#endif // __INCLUDED_RENDER_H__