[jasper/world/studio] Change Person TS template type to V5
Some checks failed
Build / build (push) Failing after 1m10s
Some checks failed
Build / build (push) Failing after 1m10s
This commit is contained in:
parent
d4a691bcc2
commit
c0fc18cee0
@ -33,10 +33,10 @@ static class: public studio::Module {
|
|||||||
ox::Vector<ox::UniquePtr<studio::ItemTemplate>> out;
|
ox::Vector<ox::UniquePtr<studio::ItemTemplate>> out;
|
||||||
// Person TileSheet
|
// Person TileSheet
|
||||||
{
|
{
|
||||||
ngfx::TileSheetV4 ts;
|
ngfx::TileSheetV5 ts;
|
||||||
ts.bpp = 4;
|
ts.bpp = 4;
|
||||||
auto const addSheet = [&ts](
|
auto const addSheet = [&ts](
|
||||||
ngfx::TileSheetV4::SubSheet &ss,
|
ngfx::TileSheetV5::SubSheet &ss,
|
||||||
ox::StringParam name,
|
ox::StringParam name,
|
||||||
int const cols,
|
int const cols,
|
||||||
int const rows) -> auto& {
|
int const rows) -> auto& {
|
||||||
@ -52,7 +52,7 @@ static class: public studio::Module {
|
|||||||
addSheetSet("Back");
|
addSheetSet("Back");
|
||||||
addSheetSet("Left");
|
addSheetSet("Left");
|
||||||
addSheetSet("Right");
|
addSheetSet("Right");
|
||||||
out.emplace_back(ox::make<studio::ItemTemplateT<ngfx::TileSheetV4>>(
|
out.emplace_back(ox::make<studio::ItemTemplateT<ngfx::TileSheetV5>>(
|
||||||
"Jasper World Person",
|
"Jasper World Person",
|
||||||
std::move(ts)));
|
std::move(ts)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user