farmlands/src/resources/Resources.g.h

59 lines
1.5 KiB
C++

// WARNING: This file is auto generated by the build/prepareAssets.py script.
#ifndef STORAGE_RESOURCES_G_H_
#define STORAGE_RESOURCES_G_H_
#include <resources/ResourceInfo.h>
namespace farmlands {
namespace resources {
/**
* This namespace contains all the resource IDs, used by the resource manager.
* The IDs are generated at build time by the 'prepareAssets.py' script.
*/
namespace R {
enum Fonts
{
DejaVuSans = 0,
};
enum Player
{
Default = 1,
};
enum Tilesets
{
Ground = 2,
};
enum Ui
{
Cursor = 3,
};
enum Levels
{
Farm_Background = 4,
Farm = 5,
};
}
const int RInfo_Fonts_Begin = 0;
const int RInfo_Player_Begin = 1;
const int RInfo_Tilesets_Begin = 2;
const int RInfo_Ui_Begin = 3;
const int RInfo_Levels_Begin = 4;
/**
* This array contains the names of all the files, and the corresponding file type.
*/
const ResourceInfo RInfo[] = {
{ "fonts/DejaVuSans.ttf", ResourceType::Font },
{ "player/default.png", ResourceType::Texture },
{ "tilesets/Ground.png", ResourceType::Texture },
{ "ui/cursor.png", ResourceType::Texture },
{ "levels/Farm_Background.csv", ResourceType::LevelLayer },
{ "levels/Farm.level", ResourceType::Level },
};
}
}
#endif /* STORAGE_RESOURCES_G_H_ */