2023-12-20 00:07:54 -05:00
|
|
|
#include "game.h"
|
2023-12-21 13:03:16 -05:00
|
|
|
#include "render.h"
|
2023-12-20 00:07:54 -05:00
|
|
|
#include "engine.h"
|
2023-12-19 20:58:08 -05:00
|
|
|
|
2023-12-23 10:53:45 -05:00
|
|
|
#include <raylib.h>
|
2023-12-22 02:09:39 -05:00
|
|
|
|
2023-12-19 20:58:08 -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 ();
|
2023-12-19 20:58:08 -05:00
|
|
|
|
2024-01-01 10:08:39 -05:00
|
|
|
while (engine_active != 0) {
|
|
|
|
layout_synchronize ();
|
2023-12-30 06:33:33 -05:00
|
|
|
engine_synchronize ();
|
2023-12-19 20:58:08 -05:00
|
|
|
|
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);
|
2023-12-19 20:58:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
return (0);
|
|
|
|
}
|