New VitePress and design look + little work on update to work with.

This commit is contained in:
Starystars67
2026-06-16 12:31:19 +01:00
parent 0ed2597186
commit 97a7aaf643
141 changed files with 4356 additions and 539 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
!!! warning "This site is under construction!"
::: warning "This site is under construction!"
This site is being actively worked on.
+1 -1
View File
@@ -1,4 +1,4 @@
!!! warning "This site is under construction!"
::: warning "This site is under construction!"
This site is being actively worked on.
+1 -1
View File
@@ -1,4 +1,4 @@
!!! warning "This site is under construction!"
::: warning "This site is under construction!"
This site is being actively worked on.
+1 -1
View File
@@ -1,4 +1,4 @@
!!! warning "This site is under construction!"
::: warning "This site is under construction!"
This site is being actively worked on.
+1 -1
View File
@@ -1,4 +1,4 @@
!!! warning "This site is under construction!"
::: warning "This site is under construction!"
This site is being actively worked on.
+4 -6
View File
@@ -1,9 +1,7 @@
!!! warning "This site is under construction!"
::: warning This site is under construction!
This site is being actively worked on.
This site is being actively worked on.
Feel you could help? Please do by clicking on the page with a pencil on the right!
This can be done any page too.
Feel you could help? Please do by clicking "Edit this page" at the bottom!
:::
# BeamNG.drive Development Introduction
@@ -1,4 +1,4 @@
!!! warning "This site is under construction!"
::: warning "This site is under construction!"
This site is being actively worked on.
+7 -6
View File
@@ -1,11 +1,12 @@
!!! warning "This site is under construction!"
::: warning "This site is under construction!"
This site is being actively worked on.
Feel you could help? Please do by clicking on the page with a pencil on the right!
This site is being actively worked on.
Feel you could help? Please do by clicking on the page with a pencil on the right!
This can be done any page too.
:::
This can be done any page too.
# BeamNG.drive ImGui Code Snippets
## Setup
+7 -7
View File
@@ -1,4 +1,4 @@
!!! warning "This site is under construction!"
::: warning "This site is under construction!"
This site is being actively worked on.
@@ -205,11 +205,11 @@ HTML is supported and can be used to add images/icons, for example.
Multiple can be displayed at once, displayed sequentially.
!!! bug
::: bug
Providing no buttons prevents the player from escaping the dialog without using the console.
!!! bug
::: bug
The SDF parts of the Minimap UI app remain visible while a ConfirmationDialog is active.
@@ -249,7 +249,7 @@ guihooks.trigger("introPopupClose")
* `noButtons`
* Provides no buttons
!!! warning
::: warning
When using the noButtons flavour on the page, providing no extra JavaScript in the page content to close the popup causes a softlock. Pages are not combined into one popup in this flavour. It is not recommended to use this flavour.
@@ -293,7 +293,7 @@ guihooks.trigger("introPopupClose")
If multiple pages are provided, or the hook is triggered multiple times, then the pages are combined into the same popup. If the hook is triggered while a introPopup is active, or when a different introPopup type has already been triggered, then it is displayed in a separate popup after the existing popup is closed.
!!! bug
::: bug
The background blur has a minimum height, causing popups with short content to have excess blur below its window. Two main workarounds exist:
@@ -338,7 +338,7 @@ guihooks.trigger("introPopupClose")
If multiple pages are provided, or the hook is triggered multiple times, then the pages are combined into the same popup. If the hook is triggered while a introPopup is active, or when a different introPopup type has already been triggered, then it is displayed in a separate popup after the existing popup is closed.
!!! bug
::: bug
The background blur has a minimum height, causing popups with short content to have excess blur below its window. Two main workarounds exist:
@@ -374,7 +374,7 @@ ui_missionInfo.closeDialogue()
Only one Dialogue can be displayed at once. Any existing Dialogue is overridden.
!!! info
::: info
`#!lua ui_missionInfo.closeDialogue()` must be used to close a dialogue.