Skip to content

Commit

Permalink
Update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostSource committed Dec 1, 2023
1 parent b168717 commit 98f8dab
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 16 deletions.
2 changes: 1 addition & 1 deletion scripts/vlua_globals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions scripts/vscripts/class.lua
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -74,7 +74,7 @@
end
```
]]
local version = "v1.0.0"
local version = "v1.0.1"

require "storage"
require "util.globals"
Expand Down
9 changes: 7 additions & 2 deletions scripts/vscripts/core.lua
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -17,7 +17,7 @@
]]

local version = "v3.0.0"
local version = "v3.0.1"

print("Initializing Extravaganza core system ".. version .." ...")

Expand All @@ -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"
Expand All @@ -45,6 +48,8 @@ ifrequire "gesture"
ifrequire "player"
ifrequire "class"

ifrequire "gameplay.smooth_speed"

-- Common third-party libraries

ifrequire "wrist_pocket.core"
Expand Down
4 changes: 2 additions & 2 deletions scripts/vscripts/debug/common.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
v1.6.0
v1.7.0
https://github.com/FrostSource/hla_extravaganza
Debug utility functions.
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions scripts/vscripts/extensions/entity.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
v2.2.0
v2.3.0
https://github.com/FrostSource/hla_extravaganza
Provides base entity extension methods.
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions scripts/vscripts/extensions/vector.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
v1.1.0
v1.2.0
https://github.com/FrostSource/hla_extravaganza
Provides Vector class extension methods.
Expand All @@ -12,7 +12,7 @@
]]
require "math.common"

local version = "v1.1.0"
local version = "v1.2.0"

---@class Vector
local meta = getmetatable(Vector())
Expand Down
4 changes: 2 additions & 2 deletions scripts/vscripts/player.lua
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 --
Expand Down
4 changes: 2 additions & 2 deletions scripts/vscripts/util/common.lua
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.
Expand Down
8 changes: 7 additions & 1 deletion scripts/vscripts/util/globals.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--[[
v1.0.0
v2.0.0
https://github.com/FrostSource/hla_extravaganza
Provides common global functions used throughout extravaganza libraries.
Expand All @@ -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`
---
Expand Down Expand Up @@ -622,3 +624,7 @@ function SearchEntity(entity, searchPattern)

return nil, nil
end

devprint("globals.lua ".. version .." initialized...")

return version

0 comments on commit 98f8dab

Please sign in to comment.