]> git.localhorst.tv Git - blank.git/blobdiff - src/app/app.cpp
split chunk redering from world model
[blank.git] / src / app / app.cpp
index 8f3801c3893709a0bc0c92ee652158e25c40c6fd..610f995c135a68cf221595652cfe044400a62706 100644 (file)
@@ -129,6 +129,7 @@ void Application::Handle(const SDL_WindowEvent &event) {
 
 void Application::Update(int dt) {
        env.counter.EnterUpdate();
+       env.audio.Update(dt);
        if (HasState()) {
                GetState().Update(dt);
        }
@@ -268,6 +269,8 @@ void Assets::LoadBlockTypes(const std::string &set_name, BlockTypeRegistry &reg,
                                type.texture = tex_index.GetID(tex_name);
                        } else if (name == "color") {
                                in.ReadVec(type.color);
+                       } else if (name == "outline") {
+                               in.ReadVec(type.outline_color);
                        } else if (name == "label") {
                                in.ReadString(type.label);
                        } else if (name == "luminosity") {