From 80024a0ff4092ce330a0caf489bf09c42918cc09 Mon Sep 17 00:00:00 2001 From: Abdullah-Ajeebi <111107624+Abdullah-Ajeebi@users.noreply.github.com> Date: Sun, 30 Oct 2022 18:04:44 +0300 Subject: [PATCH 1/3] Changed engine from the subaru even header to the subaru uneven header --- assets/main.mr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/main.mr b/assets/main.mr index 0dc7be4d..2c5b01bc 100644 --- a/assets/main.mr +++ b/assets/main.mr @@ -1,6 +1,6 @@ import "engine_sim.mr" import "themes/default.mr" -import "engines/atg-video-2/01_subaru_ej25_eh.mr" +import "engines/atg-video-2/02_subaru_ej25_uh.mr" use_default_theme() main() From 8aee845759f5e0bdbc1892e0f403302c42aa98f1 Mon Sep 17 00:00:00 2001 From: Abdullah-Ajeebi <111107624+Abdullah-Ajeebi@users.noreply.github.com> Date: Sun, 30 Oct 2022 19:04:59 +0300 Subject: [PATCH 2/3] Added metric themes --- assets/themes/amateur_metric.mr | 31 +++++++++++++++++++++++++++ assets/themes/bubble_gum_metric.mr | 31 +++++++++++++++++++++++++++ assets/themes/default_metric.mr | 31 +++++++++++++++++++++++++++ assets/themes/minimalistic_metric.mr | 31 +++++++++++++++++++++++++++ assets/themes/night_vision_metric.mr | 32 ++++++++++++++++++++++++++++ assets/themes/paper_metric.mr | 32 ++++++++++++++++++++++++++++ 6 files changed, 188 insertions(+) create mode 100644 assets/themes/amateur_metric.mr create mode 100644 assets/themes/bubble_gum_metric.mr create mode 100644 assets/themes/default_metric.mr create mode 100644 assets/themes/minimalistic_metric.mr create mode 100644 assets/themes/night_vision_metric.mr create mode 100644 assets/themes/paper_metric.mr diff --git a/assets/themes/amateur_metric.mr b/assets/themes/amateur_metric.mr new file mode 100644 index 00000000..bfc4501d --- /dev/null +++ b/assets/themes/amateur_metric.mr @@ -0,0 +1,31 @@ +import "engine_sim.mr" + +unit_names units() +public node use_amateur_theme { + input start_fullscreen: false; + input speed_units: units.kph; + input pressure_units: units.bar; + input torque_units: units.Nm; + input power_units: units.kW; + + set_application_settings( + start_fullscreen: start_fullscreen, + speed_units: speed_units, + pressure_units: pressure_units, + torque_units:torque_units, + power_units: power_units, + + // Default Color Settings + color_background: 0x000000, + color_foreground: 0xFFFFFF, + color_highlight1: 0xFF0000, + color_highlight2: 0xFFFFFF, + color_shadow: 0x000000, + color_pink: 0xFF00FF, + color_red: 0xFF0000, + color_orange: 0xFF8000, + color_yellow: 0xFFFF00, + color_blue: 0x0000FF, + color_green: 0x00FF00 + ) +} diff --git a/assets/themes/bubble_gum_metric.mr b/assets/themes/bubble_gum_metric.mr new file mode 100644 index 00000000..25be4738 --- /dev/null +++ b/assets/themes/bubble_gum_metric.mr @@ -0,0 +1,31 @@ +import "engine_sim.mr" + +unit_names units() +public node use_bubble_gum_theme { + input start_fullscreen: false; + input speed_units: units.kph; + input pressure_units: units.bar; + input torque_units: units.Nm; + input power_units: units.kW; + + set_application_settings( + start_fullscreen: start_fullscreen, + speed_units: speed_units, + pressure_units: pressure_units, + torque_units:torque_units, + power_units: power_units, + + // Default Color Settings + color_background: 0xF394BE, + color_foreground: 0xFFFFFF, + color_highlight1: 0xfdeaf2, + color_highlight2: 0xFFFFFF, + color_shadow: 0xF394BE, + color_pink: 0xfad4e5, + color_red: 0xf5a9cb, + color_orange: 0xffd086, + color_yellow: 0xffd0c3, + color_blue: 0xcfd2dc, + color_green: 0xd7f7d2 + ) +} diff --git a/assets/themes/default_metric.mr b/assets/themes/default_metric.mr new file mode 100644 index 00000000..c1eda6c4 --- /dev/null +++ b/assets/themes/default_metric.mr @@ -0,0 +1,31 @@ +import "engine_sim.mr" + +unit_names units() +public node use_default_theme { + input start_fullscreen: false; + input speed_units: units.kph; + input pressure_units: units.bar; + input torque_units: units.Nm; + input power_units: units.kW; + + set_application_settings( + start_fullscreen: start_fullscreen, + speed_units: speed_units, + pressure_units: pressure_units, + torque_units: torque_units, + power_units: power_units, + + // Default Color Settings + color_background: 0x0E1012, + color_foreground: 0xFFFFFF, + color_shadow: 0x0E1012, + color_highlight1: 0xEF4545, + color_highlight2: 0xFFFFFF, + color_pink: 0xF394BE, + color_red: 0xEE4445, + color_orange: 0xF4802A, + color_yellow: 0xFDBD2E, + color_blue: 0x77CEE0, + color_green: 0xBDD869 + ) +} diff --git a/assets/themes/minimalistic_metric.mr b/assets/themes/minimalistic_metric.mr new file mode 100644 index 00000000..ec0a3c53 --- /dev/null +++ b/assets/themes/minimalistic_metric.mr @@ -0,0 +1,31 @@ +import "engine_sim.mr" + +unit_names units() +public node use_minimalistic_theme { + input start_fullscreen: false; + input speed_units: units.kph; + input pressure_units: units.bar; + input torque_units: units.Nm; + input power_units: units.kW; + + set_application_settings( + start_fullscreen: start_fullscreen, + speed_units: speed_units, + pressure_units: pressure_units, + torque_units:torque_units, + power_units: power_units, + + // Default Color Settings + color_background: 0x000000, + color_foreground: 0xFFFFFF, + color_highlight1: 0xFFFFFF, + color_highlight2: 0xFFFFFF, + color_shadow: 0x000000, + color_pink: 0xFFFFFF, + color_red: 0xFFFFFF, + color_orange: 0xFFFFFF, + color_yellow: 0xFFFFFF, + color_blue: 0xFFFFFF, + color_green: 0xFFFFFF + ) +} diff --git a/assets/themes/night_vision_metric.mr b/assets/themes/night_vision_metric.mr new file mode 100644 index 00000000..ae7181a7 --- /dev/null +++ b/assets/themes/night_vision_metric.mr @@ -0,0 +1,32 @@ +import "engine_sim.mr" + +unit_names units() +public node use_night_vision_theme { + input start_fullscreen: false; + input speed_units: units.kph; + input pressure_units: units.bar; + input torque_units: units.Nm; + input power_units: units.kW; + input color: 0x4dff68; + + set_application_settings( + start_fullscreen: start_fullscreen, + speed_units: speed_units, + pressure_units: pressure_units, + torque_units:torque_units, + power_units: power_units, + + // Default Color Settings + color_background: 0x000000, + color_foreground: color, + color_highlight1: color, + color_highlight2: color, + color_shadow: 0x000000, + color_pink: color, + color_red: color, + color_orange: color, + color_yellow: color, + color_blue: color, + color_green: color + ) +} diff --git a/assets/themes/paper_metric.mr b/assets/themes/paper_metric.mr new file mode 100644 index 00000000..1576386b --- /dev/null +++ b/assets/themes/paper_metric.mr @@ -0,0 +1,32 @@ +import "engine_sim.mr" + +unit_names units() +public node use_paper_theme { + input start_fullscreen: false; + input speed_units: units.kph; + input pressure_units: units.bar; + input torque_units: units.Nm; + input power_units: units.kW; + input color: 0x63aaff; + + set_application_settings( + start_fullscreen: start_fullscreen, + speed_units: speed_units, + pressure_units: pressure_units, + torque_units:torque_units, + power_units: power_units, + + // Default Color Settings + color_background: 0xf8f2f0, + color_foreground: color, + color_highlight1: color, + color_highlight2: color, + color_shadow: 0xf8f2f0, + color_pink: color, + color_red: color, + color_orange: color, + color_yellow: color, + color_blue: color, + color_green: color + ) +} From 5a664eb304e1bbf82b11486d45a2d5156fc178b8 Mon Sep 17 00:00:00 2001 From: Abdullah-Ajeebi <111107624+Abdullah-Ajeebi@users.noreply.github.com> Date: Sat, 26 Nov 2022 13:16:32 +0300 Subject: [PATCH 3/3] Using metric instead of imperial --- assets/main.mr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/main.mr b/assets/main.mr index 2c5b01bc..70970a0b 100644 --- a/assets/main.mr +++ b/assets/main.mr @@ -1,6 +1,6 @@ import "engine_sim.mr" -import "themes/default.mr" -import "engines/atg-video-2/02_subaru_ej25_uh.mr" +import "themes/default_metric.mr" +import "engines/atg-video-2/01_subaru_ej25_eh.mr" use_default_theme() main()