diff options
| author | NachosChipeados <103285866+NachosChipeados@users.noreply.github.com> | 2025-04-11 10:44:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-11 16:44:55 +0200 |
| commit | 7e18d968b87212b6dbcc49b8166f8245b614838c (patch) | |
| tree | cec71b3aa0c6e266d568b5da98a425ec979cf509 /Northstar.Client/mod/scripts/vscripts | |
| parent | 71e40fe4c7bf1167ec43406016d4dc298a9e3c12 (diff) | |
| download | NorthstarMods-1.30.2-rc2.tar.gz NorthstarMods-1.30.2-rc2.zip | |
Globalize the `PrecacheRes` function (#921)v1.30.2-rc2v1.30.2-rc1v1.30.2v1.30.1-rc5v1.30.1-rc3v1.30.1
* Let mods access PrecacheRes function to create custom vgui screens
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts')
| -rw-r--r-- | Northstar.Client/mod/scripts/vscripts/cl_mapspawn.gnut | 2 | ||||
| -rw-r--r-- | Northstar.Client/mod/scripts/vscripts/cl_sp_mapspawn.gnut | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/cl_mapspawn.gnut b/Northstar.Client/mod/scripts/vscripts/cl_mapspawn.gnut index 6f4794e4..059a0408 100644 --- a/Northstar.Client/mod/scripts/vscripts/cl_mapspawn.gnut +++ b/Northstar.Client/mod/scripts/vscripts/cl_mapspawn.gnut @@ -16,6 +16,8 @@ global function ClientCodeCallback_OnDropShipCinematicEventStateChanged global function ClientCodeCallback_OnDetenteEnded global function PerfInitLabels +global function PrecacheRes + global var Hud = null global bool TITAN_CORE_ENABLED = true diff --git a/Northstar.Client/mod/scripts/vscripts/cl_sp_mapspawn.gnut b/Northstar.Client/mod/scripts/vscripts/cl_sp_mapspawn.gnut index 7284f972..f9e61500 100644 --- a/Northstar.Client/mod/scripts/vscripts/cl_sp_mapspawn.gnut +++ b/Northstar.Client/mod/scripts/vscripts/cl_sp_mapspawn.gnut @@ -15,9 +15,10 @@ global function ServerCallback_ClientInitComplete global function ClientCodeCallback_OnDropShipCinematicEventStateChanged global function ClientCodeCallback_OnDetenteEnded global function ClientCodeCallback_OnResolutionChanged - global function PerfInitLabels +global function PrecacheRes + global var Hud = null global bool TITAN_CORE_ENABLED = true |
