X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain.cpp;h=7a8b425d1a8bea52ddb3f302556f8c1ca5923d3e;hb=107b78b720db69ad402c09c0b1d9beb3b88a1952;hp=ddd6b7adcda7cefc261bbb074316eccc1334d6ab;hpb=2bd2e92a227af66386af1dfca2f52df6941f0f94;p=l2e.git diff --git a/src/main.cpp b/src/main.cpp index ddd6b7a..7a8b425 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -25,6 +25,7 @@ #include "graphics/Menu.h" #include "graphics/SimpleAnimation.h" #include "graphics/Sprite.h" +#include "loader/Interpreter.h" #include "loader/ParsedSource.h" #include "loader/Parser.h" #include "sdl/InitImage.h" @@ -57,6 +58,7 @@ using graphics::Gauge; using graphics::Menu; using graphics::SimpleAnimation; using graphics::Sprite; +using loader::Interpreter; using loader::ParsedSource; using loader::Parser; using sdl::InitImage; @@ -80,8 +82,9 @@ int main(int argc, char **argv) { ParsedSource source; Parser parser("test-data/test.l2s", source); parser.Parse(); - cout << source; + Interpreter intp(source); + intp.ReadSource(); return 0;