umorna/source/main.c

27 lines
452 B
C
Raw Normal View History

#include "game.h"
#include "render.h"
#include "engine.h"
2023-12-23 10:53:45 -05:00
#include <raylib.h>
2023-12-22 02:09:39 -05:00
int main (void) {
2023-12-30 06:33:33 -05:00
game_configure ();
engine_configure ();
2024-01-01 10:08:39 -05:00
layout_configure ();
2024-01-01 10:08:39 -05:00
while (engine_active != 0) {
layout_synchronize ();
2023-12-30 06:33:33 -05:00
engine_synchronize ();
2024-01-01 10:08:39 -05:00
render_map (camera_x, camera_y);
2023-12-29 07:14:30 -05:00
2024-01-01 10:08:39 -05:00
render_side ();
2023-12-29 07:14:30 -05:00
2024-01-01 10:08:39 -05:00
render_menu (menu_traits, 0, 0, 1, 1, 0);
render_menu (menu_skills, 0, 0, 1, 1, 0);
render_menu (menu_values, 0, 0, 1, 1, 0);
}
return (0);
}