removed all references of ui module

since this is now a separate branch/pr
pull/2/head
Sara 2023-05-07 17:55:08 +02:00
parent 0bdfba4d11
commit 8f7792c673
2 changed files with 0 additions and 4 deletions

View File

@ -1,7 +1,6 @@
#include "engine.h" #include "engine.h"
#include "world.h" #include "world.h"
#include "player.h" #include "player.h"
#include "ui.h"
#include "corelib/input.h" #include "corelib/input.h"
#include "corelib/render.h" #include "corelib/render.h"
#include "corelib/assets.h" #include "corelib/assets.h"
@ -56,8 +55,6 @@ void on_scroll_zoom(float delta) {
} }
void load_game() { 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); world_sheet = make_spritesheet("tileset.png", 189, 189);
input_init(); input_init();

View File

@ -1,6 +1,5 @@
#include "player.h" #include "player.h"
#include "layers.h" #include "layers.h"
#include "ui.h"
#include "world.h" #include "world.h"
#include "input.h" #include "input.h"
#include "engine.h" #include "engine.h"