diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-12-05 13:17:27 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2024-12-05 13:17:27 +0100 |
| commit | 395aa3f2b53550b9575dde1f5d2fb7494c21addf (patch) | |
| tree | 478f5609bd86d9de085d684c374971b6ce913f6a /src/include | |
| parent | 0974ff30789a215a31255080251c01eaaf9a5297 (diff) | |
close #55
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/data.h | 1 | ||||
| -rw-r--r-- | src/include/ui/selectors.h | 2 | ||||
| -rw-r--r-- | src/include/world.h | 1 |
3 files changed, 3 insertions, 1 deletions
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);
|
