Skip to content

Commit

Permalink
Update version to 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tumppi066 committed Dec 29, 2023
1 parent 7091fdd commit 8055b4f
Show file tree
Hide file tree
Showing 13 changed files with 6,188 additions and 1,389 deletions.
5 changes: 4 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Fixed crashes and added changelog to auto updater.
Added navigation detection V3.
Added controls manager.
Bugfixes.
YOU WILL NEED TO REBIND YOUR KEYS AFTER THE UPDATE IN THE CONTROLS PANEL.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -726,12 +726,13 @@ <h1 class="title">Module <code>Euro-Truck-Simulator-2-Lane-Assist.plugins.Defaul

try:
if IndicatingLeft or IndicatingRight:
cv2.putText(output_img, &#34;Indicating&#34;, (int(w/2), int(h - h/10 - 20)), cv2.FONT_HERSHEY_SIMPLEX, 0.5, (0, 255, 255), 2, cv2.LINE_AA)
text_size_indicating, _ = cv2.getTextSize(&#34;Indicating&#34;, cv2.FONT_HERSHEY_SIMPLEX, 0.8, 2)
cv2.putText(output_img, &#34;Indicating&#34;, (int(w-text_size_indicating[0]-5), int(27)), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 255, 255), 2, cv2.LINE_AA)
except:
pass

# Also draw a enabled text to the top left
cv2.putText(output_img, &#34;Enabled&#34;, (10, 30), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 0), 2, cv2.LINE_AA)
cv2.putText(output_img, &#34;Enabled&#34;, (5, 30), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 0), 2, cv2.LINE_AA)

data[&#34;frame&#34;] = output_img
else:
Expand Down Expand Up @@ -1215,12 +1216,13 @@ <h2 class="section-title" id="header-functions">Functions</h2>

try:
if IndicatingLeft or IndicatingRight:
cv2.putText(output_img, &#34;Indicating&#34;, (int(w/2), int(h - h/10 - 20)), cv2.FONT_HERSHEY_SIMPLEX, 0.5, (0, 255, 255), 2, cv2.LINE_AA)
text_size_indicating, _ = cv2.getTextSize(&#34;Indicating&#34;, cv2.FONT_HERSHEY_SIMPLEX, 0.8, 2)
cv2.putText(output_img, &#34;Indicating&#34;, (int(w-text_size_indicating[0]-5), int(27)), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0, 255, 255), 2, cv2.LINE_AA)
except:
pass

# Also draw a enabled text to the top left
cv2.putText(output_img, &#34;Enabled&#34;, (10, 30), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 0), 2, cv2.LINE_AA)
cv2.putText(output_img, &#34;Enabled&#34;, (5, 30), cv2.FONT_HERSHEY_SIMPLEX, 1, (0, 255, 0), 2, cv2.LINE_AA)

data[&#34;frame&#34;] = output_img
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ <h1 class="title">Module <code>Euro-Truck-Simulator-2-Lane-Assist.plugins.Exampl
import src.mainUI as mainUI
import src.variables as variables
import src.settings as settings
import src.controls as controls # use controls.RegisterKeybind() and controls.GetKeybindValue()
import os


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<meta name="generator" content="pdoc 0.10.0" />
<title>Euro-Truck-Simulator-2-Lane-Assist.plugins.Examples API documentation</title>
<meta name="description" content="" />
<meta name="description" content="Provides examples to create plugins quickly. Just copy either the plugin or panel example and use them as a template." />
<link rel="preload stylesheet" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/11.0.1/sanitize.min.css" integrity="sha256-PK9q560IAAa6WVRRh76LtCaI8pjTJ2z11v0miyNNjrs=" crossorigin>
<link rel="preload stylesheet" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/11.0.1/typography.min.css" integrity="sha256-7l/o7C8jubJiy74VsKTidCy1yBkRtiUGbVkYBylBqUg=" crossorigin>
<link rel="stylesheet preload" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/styles/ir-black.min.css" crossorigin>
Expand Down Expand Up @@ -339,9 +339,16 @@
<main>
<article id="content">
<header>
<h1 class="title">Namespace <code>Euro-Truck-Simulator-2-Lane-Assist.plugins.Examples</code></h1>
<h1 class="title">Module <code>Euro-Truck-Simulator-2-Lane-Assist.plugins.Examples</code></h1>
</header>
<section id="section-intro">
<p>Provides examples to create plugins quickly. Just copy either the plugin or panel example and use them as a template.</p>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">&#34;&#34;&#34;Provides examples to create plugins quickly. Just copy either the plugin or panel example and use them as a template.&#34;&#34;&#34;</code></pre>
</details>
</section>
<section>
<h2 class="section-title" id="header-submodules">Sub-modules</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<meta name="generator" content="pdoc 0.10.0" />
<title>Euro-Truck-Simulator-2-Lane-Assist.plugins.ExternalAPI API documentation</title>
<meta name="description" content="" />
<meta name="description" content="Provides an external API for external applications to use." />
<link rel="preload stylesheet" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/11.0.1/sanitize.min.css" integrity="sha256-PK9q560IAAa6WVRRh76LtCaI8pjTJ2z11v0miyNNjrs=" crossorigin>
<link rel="preload stylesheet" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/11.0.1/typography.min.css" integrity="sha256-7l/o7C8jubJiy74VsKTidCy1yBkRtiUGbVkYBylBqUg=" crossorigin>
<link rel="stylesheet preload" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/styles/ir-black.min.css" crossorigin>
Expand Down Expand Up @@ -339,9 +339,16 @@
<main>
<article id="content">
<header>
<h1 class="title">Namespace <code>Euro-Truck-Simulator-2-Lane-Assist.plugins.ExternalAPI</code></h1>
<h1 class="title">Module <code>Euro-Truck-Simulator-2-Lane-Assist.plugins.ExternalAPI</code></h1>
</header>
<section id="section-intro">
<p>Provides an external API for external applications to use.</p>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">&#34;&#34;&#34;Provides an external API for external applications to use.&#34;&#34;&#34;</code></pre>
</details>
</section>
<section>
<h2 class="section-title" id="header-submodules">Sub-modules</h2>
Expand Down
Loading

0 comments on commit 8055b4f

Please sign in to comment.