umorna/source/main.c

31 lines
649 B
C

#include "game.h"
#include "render.h"
#include "engine.h"
#include <raylib.h>
int main (void) {
game_configure ();
render_configure ();
while (render_active != 0) {
render_synchronize ();
view_map (camera_x, camera_y);
view_map_overlay ();
view_hud (render_width () - SIDE_SIZE, 0, SIDE_SIZE, render_height (), 0, 0);
view_hud (0, 0, render_width () - SIDE_SIZE, render_height (), 0, 1);
view_menu (menu_resources, 96, 96, 1, 0, 1);
view_menu (menu_traits, 0, 0, 1, 1, 0);
view_menu (menu_skills, 0, 0, 0, 0, 0);
view_menu (menu_values, 96, 240, 0, 0, 0);
}
return (0);
}