diff --git a/libs/blah b/libs/blah index 3f07c03..78b8140 160000 --- a/libs/blah +++ b/libs/blah @@ -1 +1 @@ -Subproject commit 3f07c03fa51162cee4dbe53abf4a958bb6c35cda +Subproject commit 78b8140f539b0d0911b4426826201fcf95e568bf diff --git a/src/content.cpp b/src/content.cpp index ccdd806..fd87abc 100644 --- a/src/content.cpp +++ b/src/content.cpp @@ -57,7 +57,7 @@ void Content::load() packer.padding = 0; // load the main font - font = SpriteFont(path() + "fonts/dogica.ttf", 8, SpriteFont::ASCII); + font = SpriteFont(path() + "fonts/dogica.ttf", 8, SpriteFont::CharRange::ASCII); font.line_gap = 4; // load sprites @@ -118,8 +118,8 @@ void Content::load() packer.pack(); sprite_atlas = Texture::create(packer.pages[0]); - subtextures.expand(packer.entries.size()); - for (auto& entry : packer.entries) + subtextures.expand(packer.entries().size()); + for (auto& entry : packer.entries()) subtextures[entry.id] = Subtexture(sprite_atlas, entry.packed, entry.frame); }