Compare commits

..

No commits in common. "fbb2d290e3fe553bfe01d0296cda8b94c8b805e9" and "b6f1bdbbcdb3e2cc06439f67c107e006c4ca7292" have entirely different histories.

4 changed files with 1516 additions and 385 deletions

View File

@ -2,51 +2,18 @@ K1;56759edb-78b4-4108-b932-3cc5759b3921;O1;net.drinkingtea.nostalgia.gfx.Palette
"colorNames" : "colorNames" :
[ [
"Transparent", "Transparent",
"Shoe", "White"
"Black",
"Skin",
"Brown",
"Red",
"Trousers",
"Backpack"
], ],
"pages" : "pages" :
[ [
{ {
"colors" : "colors" :
[ [
{ {},
"b" : 5,
"g" : 5,
"r" : 5
},
{ {
"b" : 31, "b" : 31,
"g" : 31, "g" : 31,
"r" : 31 "r" : 31
},
{},
{
"b" : 20,
"g" : 20,
"r" : 23
},
{
"b" : 8,
"g" : 8,
"r" : 10
},
{
"g" : 6,
"r" : 24
},
{
"b" : 10,
"g" : 5
},
{
"b" : 20,
"g" : 15
} }
], ],
"name" : "Day" "name" : "Day"
@ -54,38 +21,11 @@ K1;56759edb-78b4-4108-b932-3cc5759b3921;O1;net.drinkingtea.nostalgia.gfx.Palette
{ {
"colors" : "colors" :
[ [
{ {},
"b" : 5,
"g" : 5,
"r" : 5
},
{ {
"b" : 31, "b" : 31,
"g" : 31, "g" : 31,
"r" : 31 "r" : 31
},
{},
{
"b" : 20,
"g" : 20,
"r" : 23
},
{
"b" : 8,
"g" : 8,
"r" : 10
},
{
"g" : 6,
"r" : 24
},
{
"b" : 10,
"g" : 5
},
{
"b" : 20,
"g" : 15
} }
], ],
"name" : "Night" "name" : "Night"

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -32,6 +32,7 @@ static class: public studio::Module {
ox::Vector<ox::UPtr<studio::ItemTemplate>> itemTemplates(studio::Context&) const noexcept override { ox::Vector<ox::UPtr<studio::ItemTemplate>> itemTemplates(studio::Context&) const noexcept override {
ox::Vector<ox::UniquePtr<studio::ItemTemplate>> out; ox::Vector<ox::UniquePtr<studio::ItemTemplate>> out;
// Person TileSheet // Person TileSheet
{
ngfx::TileSheetV5 ts; ngfx::TileSheetV5 ts;
ts.bpp = 4; ts.bpp = 4;
auto const addSheet = [&ts]( auto const addSheet = [&ts](
@ -49,10 +50,12 @@ static class: public studio::Module {
}; };
addSheetSet("Front"); addSheetSet("Front");
addSheetSet("Back"); addSheetSet("Back");
addSheetSet("Side"); addSheetSet("Left");
addSheetSet("Right");
out.emplace_back(ox::make<studio::ItemTemplateT<ngfx::TileSheetV5>>( out.emplace_back(ox::make<studio::ItemTemplateT<ngfx::TileSheetV5>>(
"Jasper World Person", "Jasper World Person",
std::move(ts))); std::move(ts)));
}
return out; return out;
} }