Skip to content

Commit

Permalink
Version 1.11
Browse files Browse the repository at this point in the history
Experimental/open beta for 1.36
  • Loading branch information
Lihis committed Dec 17, 2019
1 parent 81cfc88 commit 5b2bf46
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project(SCS_SDK VERSION 1.10)
project(SCS_SDK VERSION 1.11)

set(SDK_SOURCES
include/scs/scssdk.h
Expand Down
4 changes: 3 additions & 1 deletion include/scs/amtrucks/scssdk_telemetry_ats.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ SCSSDK_HEADER
* 1.00 - initial version - corresponds to 1.12 in ETS2
* 1.01 - added support for multiple trailers (doubles, triples), trailer ownership support,
* gameplay events support added
* 1.02 - added planned_distance_km to active job info
*/
//@{
#define SCS_TELEMETRY_ATS_GAME_VERSION_1_00 SCS_MAKE_VERSION(1, 0)
#define SCS_TELEMETRY_ATS_GAME_VERSION_1_01 SCS_MAKE_VERSION(1, 1)
#define SCS_TELEMETRY_ATS_GAME_VERSION_CURRENT SCS_TELEMETRY_ATS_GAME_VERSION_1_01
#define SCS_TELEMETRY_ATS_GAME_VERSION_1_02 SCS_MAKE_VERSION(1, 2) // Patch 1.36
#define SCS_TELEMETRY_ATS_GAME_VERSION_CURRENT SCS_TELEMETRY_ATS_GAME_VERSION_1_02
//@}

// Game specific units.
Expand Down
15 changes: 12 additions & 3 deletions include/scs/common/scssdk_telemetry_common_configs.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ SCSSDK_HEADER
*
* If there are less trailers in game than @c SCS_TELEMETRY_trailers_count
* telemetry will return all configurations however starting from the trailer after last
* existing one its attributes will be empty. (only one unnamed attribute will be returned)
* existing one its attributes will be empty.
*
* Supported attributes:
* @li id
Expand All @@ -109,8 +109,8 @@ SCSSDK_HEADER
* @li brand_id
* @li brand
* @li name
* @li chain_type
* @li body_type
* @li chain_type (reported only for first trailer)
* @li body_type (reported only for first trailer)
* @li license_plate
* @li license_plate_country
* @li license_plate_country_id
Expand Down Expand Up @@ -141,6 +141,7 @@ SCSSDK_HEADER
* @li is_cargo_loaded
* @li job_market
* @li special_job
* @li planned_distance_km
*/
#define SCS_TELEMETRY_CONFIG_job "job"

Expand Down Expand Up @@ -606,6 +607,14 @@ SCSSDK_HEADER
*/
#define SCS_TELEMETRY_CONFIG_ATTRIBUTE_delivery_time "delivery.time"

/**
* @brief Planned job distance in simulated kilometers.
*
* Does not include distance driven using ferry.
*
* Type: u32
*/
#define SCS_TELEMETRY_CONFIG_ATTRIBUTE_planned_distance_km "planned_distance.km"

/**
* @brief Is cargo loaded on the trailer?
Expand Down
4 changes: 3 additions & 1 deletion include/scs/eurotrucks2/scssdk_telemetry_eut2.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ SCSSDK_HEADER
* by ETS2 1.24 and older.
* 1.14 - added support for multiple trailers (doubles, triples), trailer ownership support,
* gameplay events support added
* 1.15 - added planned_distance_km to active job info
*/
//@{
#define SCS_TELEMETRY_EUT2_GAME_VERSION_1_00 SCS_MAKE_VERSION(1, 0)
Expand All @@ -67,7 +68,8 @@ SCSSDK_HEADER
#define SCS_TELEMETRY_EUT2_GAME_VERSION_1_12 SCS_MAKE_VERSION(1, 12) // Patch 1.17
#define SCS_TELEMETRY_EUT2_GAME_VERSION_1_13 SCS_MAKE_VERSION(1, 13) // Patch 1.27
#define SCS_TELEMETRY_EUT2_GAME_VERSION_1_14 SCS_MAKE_VERSION(1, 14) // Patch 1.35
#define SCS_TELEMETRY_EUT2_GAME_VERSION_CURRENT SCS_TELEMETRY_EUT2_GAME_VERSION_1_14
#define SCS_TELEMETRY_EUT2_GAME_VERSION_1_15 SCS_MAKE_VERSION(1, 15) // Patch 1.36
#define SCS_TELEMETRY_EUT2_GAME_VERSION_CURRENT SCS_TELEMETRY_EUT2_GAME_VERSION_1_15
//@}

// Game specific units.
Expand Down

0 comments on commit 5b2bf46

Please sign in to comment.