//	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"


//------------------------------------------------------------------------------
void ResourceManager::initialiseResources()
{
#ifdef OSX
	registerImageFolder(FilePath::getCurrentExecutableDir().getChild(L"images"));
#else
	registerImageFolder(FilePath::getDataFilesDir().getChild(L"images"));
#endif
	registerFont(FontPtr(new Font(FilePath::getDataFilesDir().getChild(L"fonts").getChild(L"LiberationMono-Regular.ttf"), 40, L"DebugFont")));
#ifdef OSX
	registerSoundFolder(FilePath::getCurrentExecutableDir().getChild(L"sounds"));
#else
	registerSoundFolder(FilePath::getDataFilesDir().getChild(L"sounds"));
#endif
	registerFont(FontPtr(new Font(FilePath::getDataFilesDir().getChild(L"fonts").getChild(L"LeagueGothic-Regular.otf"), 32, L"SmallFont")));
	registerFont(FontPtr(new Font(FilePath::getDataFilesDir().getChild(L"fonts").getChild(L"LeagueGothic-Regular.otf"), 80, L"MedFont")));
	registerFont(FontPtr(new Font(FilePath::getDataFilesDir().getChild(L"fonts").getChild(L"LeagueGothic-Regular.otf"), 160, L"BigFont")));
}
