Some minor framework tweaks.

This commit is contained in:
Scott Duensing 2023-11-20 20:33:42 -06:00
parent 448c58e20e
commit 9c08013026
2 changed files with 8 additions and 0 deletions

View file

@ -21,6 +21,8 @@ New Features
- SINGE_FRAMEWORK_VERSION variable added. - SINGE_FRAMEWORK_VERSION variable added.
- DIR variable added providing directory to the running script.
- All new Lua library handling. Previously Singe "injected" libraries - All new Lua library handling. Previously Singe "injected" libraries
directly into the script context. Now there is a proper Lua module search directly into the script context. Now there is a proper Lua module search
handler. Scripts can properly require() modules from the following: handler. Scripts can properly require() modules from the following:
@ -52,6 +54,10 @@ Fixes
- PNG files no longer generate warnings on the console. - PNG files no longer generate warnings on the console.
- Menu system now performs "natural sorting" of game titles instead of brain
dead "computer sorting". It should make a lot more sense paging through
games now.
- Building Singe depended on a lot of undocumented software cobbled together - Building Singe depended on a lot of undocumented software cobbled together
from other projects. This has been vastly improved and should be usable by from other projects. This has been vastly improved and should be usable by
actual humans now. actual humans now.

View file

@ -26,6 +26,8 @@
SINGE_FRAMEWORK_VERSION = 2.10 SINGE_FRAMEWORK_VERSION = 2.10
DIR = singeGetScriptPath():match("(.*[/\\])") or "./"
function utilDeepCopy(orig) function utilDeepCopy(orig)
local orig_type = type(orig) local orig_type = type(orig)