From 395aa3f2b53550b9575dde1f5d2fb7494c21addf Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 5 Dec 2024 13:17:27 +0100 Subject: close #55 --- src/include/data.h | 1 + src/include/ui/selectors.h | 2 +- src/include/world.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/data.h b/src/include/data.h index cddce51..b10f0c0 100644 --- a/src/include/data.h +++ b/src/include/data.h @@ -64,6 +64,7 @@ image* img_handshake; image* img_resume_action; image* img_entry; image* img_exit; +image* img_refresh; image* img_button_bottom; image* img_button_top; diff --git a/src/include/ui/selectors.h b/src/include/ui/selectors.h index 6832ff7..200d61b 100644 --- a/src/include/ui/selectors.h +++ b/src/include/ui/selectors.h @@ -7,7 +7,7 @@ #ifndef INCLUDE_EMPLOYEE_SELECTOR #define INCLUDE_EMPLOYEE_SELECTOR -employee* employee_selector_render(platform_window* window, float scale, bool enabled, employee* current_val, s32 x, s32 y, s32 w, s32 h, animation an, scheduled_job* offer); +employee* employee_selector_render(platform_window* window, float scale, bool enabled, employee* current_val, s32 x, s32 y, s32 w, s32 h, animation an, scheduled_job* offer, world_location* loc); world_location* location_selector_render(platform_window* window, float scale, bool enabled, world_location* current_val, s32 x, s32 y, s32 w, s32 h); #endif \ No newline at end of file diff --git a/src/include/world.h b/src/include/world.h index 4407fcb..b11f43c 100644 --- a/src/include/world.h +++ b/src/include/world.h @@ -401,6 +401,7 @@ typedef struct t_world struct tm current_time; } world; +employee* world_get_most_available_employee_for_location(world* world, world_location* loc); world* world_create_new(bool create_default_state); void world_report_event(world* world, char* msg, event_type type, void* data); world_location* get_world_location_by_id(world* world, s32 id); -- cgit v1.2.3-70-g09d2