diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/world.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/world.h b/src/include/world.h index 06a6d11..458478b 100644 --- a/src/include/world.h +++ b/src/include/world.h @@ -135,8 +135,10 @@ typedef struct t_job_offer u32 reward;
array connections; // Should not be freed if offer has been accepted.
double total_distance; // in KM
+ double boat_distance; // in KM, included in trip time but not worked time. reward for these KM's are 10% of normal price.
time_t duration_sec_min; // experienced drivers
time_t duration_sec_max; // inexperienced drivers
+ time_t duration_sec_min_excluding_boat; // used to calculate scheduled hours. hours on boat are only counted for 10%
} job_offer;
typedef struct t_employee
@@ -227,6 +229,7 @@ typedef struct t_schedule typedef struct t_world_location
{
// Static
+ s32 index;
u8 size;
double latitude;
double longitude;
|
