diff --git a/scripts/vlua_globals.lua b/scripts/vlua_globals.lua index 58a2dd3..841a6db 100644 --- a/scripts/vlua_globals.lua +++ b/scripts/vlua_globals.lua @@ -2,7 +2,7 @@ ---@diagnostic disable: lowercase-global, deprecated, undefined-doc-name --[[ - Version 2.1.0 + Version 2.1.1 This file helps intellisense in editors like Visual Studio Code by introducing definitions of all known VLua functions into the global scope. diff --git a/scripts/vscripts/class.lua b/scripts/vscripts/class.lua index 8d5111e..31a5d2c 100644 --- a/scripts/vscripts/class.lua +++ b/scripts/vscripts/class.lua @@ -1,5 +1,5 @@ --[[ - v1.0.0 + v1.0.1 https://github.com/FrostSource/hla_extravaganza If not using `vscripts/core.lua`, load this file at game start using the following line: @@ -74,7 +74,7 @@ end ``` ]] -local version = "v1.0.0" +local version = "v1.0.1" require "storage" require "util.globals" diff --git a/scripts/vscripts/core.lua b/scripts/vscripts/core.lua index 0f338fe..b9295dd 100644 --- a/scripts/vscripts/core.lua +++ b/scripts/vscripts/core.lua @@ -1,5 +1,5 @@ --[[ - v3.0.0 + v3.0.1 https://github.com/FrostSource/hla_extravaganza The main core script provides useful global functions as well as loading any standard libraries that it can find. @@ -17,7 +17,7 @@ ]] -local version = "v3.0.0" +local version = "v3.0.1" print("Initializing Extravaganza core system ".. version .." ...") @@ -26,6 +26,9 @@ require "util.globals" -- Base libraries ifrequire "debug.core" +if not IsVREnabled() then + ifrequire "debug.novr" +end ifrequire "util.enums" ifrequire "extensions.string" ifrequire "extensions.vector" @@ -45,6 +48,8 @@ ifrequire "gesture" ifrequire "player" ifrequire "class" +ifrequire "gameplay.smooth_speed" + -- Common third-party libraries ifrequire "wrist_pocket.core" diff --git a/scripts/vscripts/debug/common.lua b/scripts/vscripts/debug/common.lua index 9681510..6820d7f 100644 --- a/scripts/vscripts/debug/common.lua +++ b/scripts/vscripts/debug/common.lua @@ -1,5 +1,5 @@ --[[ - v1.6.0 + v1.7.0 https://github.com/FrostSource/hla_extravaganza Debug utility functions. @@ -16,7 +16,7 @@ require "extensions.entity" require "math.common" Debug = {} -Debug.version = "v1.6.0" +Debug.version = "v1.7.0" --- ---Prints all entities in the map, along with any supplied property patterns. diff --git a/scripts/vscripts/extensions/entity.lua b/scripts/vscripts/extensions/entity.lua index abc34ef..b288d9b 100644 --- a/scripts/vscripts/extensions/entity.lua +++ b/scripts/vscripts/extensions/entity.lua @@ -1,5 +1,5 @@ --[[ - v2.2.0 + v2.3.0 https://github.com/FrostSource/hla_extravaganza Provides base entity extension methods. @@ -11,7 +11,7 @@ ``` ]] -local version = "v2.2.0" +local version = "v2.3.0" --- ---Get the top level entities parented to this entity. Not children of children. diff --git a/scripts/vscripts/extensions/vector.lua b/scripts/vscripts/extensions/vector.lua index 7c8a87a..1eea183 100644 --- a/scripts/vscripts/extensions/vector.lua +++ b/scripts/vscripts/extensions/vector.lua @@ -1,5 +1,5 @@ --[[ - v1.1.0 + v1.2.0 https://github.com/FrostSource/hla_extravaganza Provides Vector class extension methods. @@ -12,7 +12,7 @@ ]] require "math.common" -local version = "v1.1.0" +local version = "v1.2.0" ---@class Vector local meta = getmetatable(Vector()) diff --git a/scripts/vscripts/player.lua b/scripts/vscripts/player.lua index 0440c2c..004eee6 100644 --- a/scripts/vscripts/player.lua +++ b/scripts/vscripts/player.lua @@ -1,5 +1,5 @@ --[[ - v3.1.0 + v4.0.0 https://github.com/FrostSource/hla_extravaganza Player script allows for more advanced player manipulation and easier @@ -100,7 +100,7 @@ require "util.globals" require "extensions.entity" require "storage" -local version = "v3.1.0" +local version = "v4.0.0" ----------------------------- -- Class extension members -- diff --git a/scripts/vscripts/util/common.lua b/scripts/vscripts/util/common.lua index 52fb75b..8db4e6d 100644 --- a/scripts/vscripts/util/common.lua +++ b/scripts/vscripts/util/common.lua @@ -1,5 +1,5 @@ --[[ - v2.2.0 + v3.0.0 https://github.com/FrostSource/hla_extravaganza This file contains utility functions to help reduce repetitive code and add general miscellaneous functionality. @@ -12,7 +12,7 @@ ]] Util = {} -Util.version = "v2.2.0" +Util.version = "v3.0.0" --- ---Convert vr_tip_attachment from a game event [1,2] into a hand id [0,1] taking into account left handedness. diff --git a/scripts/vscripts/util/globals.lua b/scripts/vscripts/util/globals.lua index fc8746d..af9d373 100644 --- a/scripts/vscripts/util/globals.lua +++ b/scripts/vscripts/util/globals.lua @@ -1,5 +1,5 @@ --[[ - v1.0.0 + v2.0.0 https://github.com/FrostSource/hla_extravaganza Provides common global functions used throughout extravaganza libraries. @@ -14,6 +14,8 @@ -- These are expected by globals require 'util.common' +local version = "v2.0.0" + --- ---Get the file name of the current script without folders or extension. E.g. `util.util` --- @@ -622,3 +624,7 @@ function SearchEntity(entity, searchPattern) return nil, nil end + +devprint("globals.lua ".. version .." initialized...") + +return version \ No newline at end of file