From 8f7792c6734b7bd2317d41bdc242eb1b8ac1f856 Mon Sep 17 00:00:00 2001 From: Sara Date: Sun, 7 May 2023 17:55:08 +0200 Subject: [PATCH] removed all references of ui module since this is now a separate branch/pr --- src/game.c | 3 --- src/player.c | 1 - 2 files changed, 4 deletions(-) diff --git a/src/game.c b/src/game.c index 6601076..c2feec3 100644 --- a/src/game.c +++ b/src/game.c @@ -1,7 +1,6 @@ #include "engine.h" #include "world.h" #include "player.h" -#include "ui.h" #include "corelib/input.h" #include "corelib/render.h" #include "corelib/assets.h" @@ -56,8 +55,6 @@ void on_scroll_zoom(float delta) { } void load_game() { - ui_style.button.button = ui_style.button.active = make_nineslice("button.png", 126, 0.01); - ui_style.text = make_text_style("ui_font.otf", (SDL_Color){255, 255, 255, 255}, 50, 0.02f); world_sheet = make_spritesheet("tileset.png", 189, 189); input_init(); diff --git a/src/player.c b/src/player.c index f90c3c2..6589109 100644 --- a/src/player.c +++ b/src/player.c @@ -1,6 +1,5 @@ #include "player.h" #include "layers.h" -#include "ui.h" #include "world.h" #include "input.h" #include "engine.h"