diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/world.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/world.h b/src/include/world.h index 4f11c5d..c4864fc 100644 --- a/src/include/world.h +++ b/src/include/world.h @@ -401,7 +401,7 @@ typedef struct t_world struct tm current_time;
} world;
-world* world_create_new();
+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);
world_location* get_world_location_by_name(world* world, char* str);
@@ -409,5 +409,8 @@ float world_location_get_price(world_location* location); void add_truck_to_world_location(world* world, world_location* location, truck* tr);
void world_update(platform_window* window, world* world);
world_update_result world_render(platform_window* window, world* world);
+company* world_get_company_by_name(world* world, char* str);
+company* world_get_product_by_name(world* world, char* str);
+truck* world_get_truck_by_type(world* world, s32 type);
#endif
\ No newline at end of file |
