X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FTilemap.cc;h=02184bc99dec6049aa72a7c991d19653d5eb9b3e;hp=232d0034c72186ad4963d3cbdfae03fa6be979ee;hb=6a5d12788f2778a26223de690d34b00ac16a6ec3;hpb=a31d65a998121df0651c57bfb68782e2a07d2e2f diff --git a/src/Tilemap.cc b/src/Tilemap.cc index 232d003..02184bc 100644 --- a/src/Tilemap.cc +++ b/src/Tilemap.cc @@ -26,17 +26,17 @@ *******************************************************************************/ -#include +#include #include #include #include "Tilemap.hh" -struct Tilemap::Impl : public Mf::Mippleton +struct Tilemap::Impl : public Mf::Library { Impl(const std::string& name) : - Mf::Mippleton(name), + Mf::Library(name), mMagFilter(GL_NEAREST), mMinFilter(GL_NEAREST), mTilesS(1), @@ -66,7 +66,7 @@ struct Tilemap::Impl : public Mf::Mippleton std::string filePath = Tilemap::getPath(getName()); script.importStandardLibraries(); - importLogScript(script); + importLogPrintFunction(script); bindScriptConstants(script); if (script.doFile(filePath) != Mf::Script::SUCCESS)