//	ResourceManagerInit.cpp
//	----------------------------------------------------------------------------
//	File generated automatically by Niall's AVLib Resource Generator.
//	----------------------------------------------------------------------------

#include "ResourceManager.h"
#include "TextureAtlas.h"
#include "SingleImage.h"
#include "FilePath.h"
#include "Shader.h"
#include "Font.h"

#include "TankTrail.h"
#include "RadialSpokes.h"
#include "Shockwave.h"
#include "OptionsAtlas.h"
#include "MainAtlas.h"

//------------------------------------------------------------------------------
void ResourceManager::initialiseResources()
{
	registerFont(FontPtr(new Font(FilePath::getDataFilesDir().getChild(L"fonts").getChild(L"LeagueGothic-Italic.otf"), 144, L"BigFont")));
	registerFont(FontPtr(new Font(FilePath::getDataFilesDir().getChild(L"fonts").getChild(L"LeagueGothic-Italic.otf"), 32, L"KilledByFont")));
	registerSound(FilePath::getDataFilesDir().getChild(L"sounds").getChild(L"Music.ogg"));
	registerSingleImage(shared_ptr<SingleImage>(new TankTrail()));
	registerSingleImage(shared_ptr<SingleImage>(new RadialSpokes()));
	registerSingleImage(shared_ptr<SingleImage>(new Shockwave()));
	registerTextureAtlas(shared_ptr<TextureAtlas>(new OptionsAtlas()));
	registerTextureAtlas(shared_ptr<TextureAtlas>(new MainAtlas()));
}
