29 lines
493 B
C
29 lines
493 B
C
#include "game.h"
|
|
#include "render.h"
|
|
#include "engine.h"
|
|
|
|
#include <raylib.h>
|
|
|
|
int main (void) {
|
|
game_configure ();
|
|
render_configure ();
|
|
engine_configure ();
|
|
|
|
while (render_active != 0) {
|
|
engine_synchronize ();
|
|
render_synchronize ();
|
|
|
|
view_map (camera_x, camera_y);
|
|
|
|
view_side ();
|
|
|
|
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);
|
|
}
|