diff --git a/source/render.c b/source/render.c index f32bab1..d414e82 100644 --- a/source/render.c +++ b/source/render.c @@ -1,5 +1,8 @@ #include "render.h" +#include +#include + float render_zoom = 2.0; static Texture2D render_texture [render_texture_count]; @@ -55,13 +58,20 @@ void render_configure (void) { SetTextureFilter (render_texture [neonui], TEXTURE_FILTER_POINT); SetTextureFilter (render_texture [ui], TEXTURE_FILTER_POINT); - render_texture [traits] = LoadTexture ("sprite/traits.png"); - render_texture [skills] = LoadTexture ("sprite/skills.png"); - render_texture [values] = LoadTexture ("sprite/values.png"); - render_texture [orcs] = LoadTexture ("sprite/orcs.png"); - render_texture [humans] = LoadTexture ("sprite/humans.png"); - render_texture [elves] = LoadTexture ("sprite/elves.png"); - render_texture [ashlands] = LoadTexture ("sprite/ashlands.png"); - render_texture [base_1] = LoadTexture ("sprite/base_1.png"); - render_texture [base_2] = LoadTexture ("sprite/base_2.png"); + render_texture [traits] = LoadTexture ("sprite/traits.png"); + render_texture [skills] = LoadTexture ("sprite/skills.png"); + render_texture [values] = LoadTexture ("sprite/values.png"); + render_texture [orcs] = LoadTexture ("sprite/orcs.png"); + render_texture [humans] = LoadTexture ("sprite/humans.png"); + render_texture [elves] = LoadTexture ("sprite/elves.png"); + render_texture [ashlands] = LoadTexture ("sprite/ashlands.png"); + render_texture [base_1] = LoadTexture ("sprite/base_1.png"); + render_texture [base_2] = LoadTexture ("sprite/base_2.png"); + render_texture [model_1_1] = LoadTexture ("sprite/model_1_1.png"); + render_texture [model_1_2] = LoadTexture ("sprite/model_1_2.png"); + render_texture [model_2_1] = LoadTexture ("sprite/model_2_1.png"); + render_texture [model_2_2] = LoadTexture ("sprite/model_2_2.png"); + render_texture [model_2_4] = LoadTexture ("sprite/model_2_4.png"); + render_texture [model_3_2] = LoadTexture ("sprite/model_3_2.png"); + render_texture [model_4_5] = LoadTexture ("sprite/model_4_5.png"); } diff --git a/source/render.h b/source/render.h index fe3ca60..6893fb8 100644 --- a/source/render.h +++ b/source/render.h @@ -1,9 +1,6 @@ #ifndef UMORNA_RENDER #define UMORNA_RENDER -#include -#include - #define BASE_SIZE ( 16) #define ICON_SIZE ( 32) #define FONT_SIZE ( 24) @@ -12,7 +9,8 @@ enum { neonui, ui, traits, skills, values, orcs, humans, elves, ashlands, - base_1, base_2, + base_1, base_2, model_1_1, model_1_2, model_2_1, model_2_2, model_2_4, model_3_2, + model_4_5, render_texture_count };