Skip to content

Commit

Permalink
146 developer want to feature toggle a custom biome for testing and d…
Browse files Browse the repository at this point in the history
…ebugging purpose (#147)

* feat: 🚧 Adding custom biome for debugging purpose

developer want to be able to have a smaller map for debugging sessions.

* feat: 🧪 custom debug biome

Add custom debug biome for better debugging sessions

---------

Co-authored-by: Ismoh <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored May 11, 2024
1 parent 6f677d6 commit e77a667
Show file tree
Hide file tree
Showing 770 changed files with 9,073 additions and 7,859 deletions.
20 changes: 8 additions & 12 deletions .building/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
```cmd
cd fullPathTo\NoitaMP\mods\noita-mp
set INIT_PATH=%CD%
REM // resolve absolute path
set REL_PATH=..\..\.building\luarocks-3.9.1-windows-32
set ABS_PATH=
Expand All @@ -23,15 +23,15 @@
rem // Save value of CD variable (current directory)
set ABS_PATH=%CD%
rem // Restore original directory
popd
popd
echo Relative path: %REL_PATH%
echo Maps to path: %ABS_PATH%
REM // make use of LuaJIT-2.0.4
REM // make use of LuaJIT-2.0.4
%ABS_PATH%\luarocks config --local variables.LUA_BINDIR %INIT_PATH%\..\..\LuaJIT-2.0.4\bin
%ABS_PATH%\luarocks config --local variables.LUA_DIR %INIT_PATH%\..\..\LuaJIT-2.0.4
%ABS_PATH%\luarocks config --local variables.LUA_INCDIR %INIT_PATH%\..\..\LuaJIT-2.0.4\include
REM // init luarocks
%ABS_PATH%\luarocks --lua-version="5.1" init noita-mp --output="%INIT_PATH%" --homepage="https://github.com/Ismoh/NoitaMP" --lua-versions="5.1" --license="GNU GPL v3"
```
Expand All @@ -40,11 +40,11 @@
```cmd
Initializing project 'noita-mp' for Lua 5.1 ...
-----------------------------------------------
Checking your Lua installation ...
Wrote template at D:\______BACKUP\NoitaMP_repo\NoitaMP\mods\noita-mp -- you should now edit and finish it.
Adding entries to .gitignore ...
Preparing ./.luarocks/ ...
Wrote .luarocks/config-5.1.lua
Expand Down Expand Up @@ -115,7 +115,3 @@ Simply type in `luarocks install --only-deps noita` and hit tab to autocomplete
~~After that in cmd as admin:~~\
~~`luarocks install lua-zstd ZSTD_DIR=D:\______BACKUP\NoitaMP_repo\NoitaMP\.building\zstd-v1.5.2-win32`~~
All of this fails! Simply use prebuild dll from https://github.com/facebook/zstd/releases zstd-v1.5.2-win32.zip
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ function Action:isDone () end
---* return A new action that performs the exact reverse of the action.<br>
---* js NA
---@return self
function Action:reverse () end
function Action:reverse () end
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,34 @@ cc.ActionCamera=ActionCamera
---@param z float
---@return self
function ActionCamera:setEye (x,y,z) end
---*
---*
---@return vec3_table
function ActionCamera:getEye () end
---*
---*
---@param up vec3_table
---@return self
function ActionCamera:setUp (up) end
---*
---*
---@return vec3_table
function ActionCamera:getCenter () end
---*
---*
---@param center vec3_table
---@return self
function ActionCamera:setCenter (center) end
---*
---*
---@return vec3_table
function ActionCamera:getUp () end
---*
---*
---@param target cc.Node
---@return self
function ActionCamera:startWithTarget (target) end
---*
---*
---@return self
function ActionCamera:clone () end
---*
---*
---@return self
function ActionCamera:reverse () end
---* js ctor<br>
---* lua new
---@return self
function ActionCamera:ActionCamera () end
function ActionCamera:ActionCamera () end
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ function ActionEase:initWithAction (action) end
---* return The pointer of the inner action.
---@return cc.ActionInterval
function ActionEase:getInnerAction () end
---*
---*
---@param target cc.Node
---@return self
function ActionEase:startWithTarget (target) end
---*
---*
---@return self
function ActionEase:stop () end
---*
---*
---@param time float
---@return self
function ActionEase:update (time) end
function ActionEase:update (time) end
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cc.ActionFloat=ActionFloat



---*
---*
---@param duration float
---@param from float
---@param to float
Expand All @@ -31,16 +31,16 @@ function ActionFloat:create (duration,from,to,callback) end
---@param target cc.Node
---@return self
function ActionFloat:startWithTarget (target) end
---*
---*
---@return self
function ActionFloat:clone () end
---*
---*
---@param delta float
---@return self
function ActionFloat:update (delta) end
---*
---*
---@return self
function ActionFloat:reverse () end
---*
---*
---@return self
function ActionFloat:ActionFloat () end
function ActionFloat:ActionFloat () end
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ cc.ActionInstant=ActionInstant



---*
---*
---@param target cc.Node
---@return self
function ActionInstant:startWithTarget (target) end
---*
---*
---@return self
function ActionInstant:reverse () end
---*
---*
---@return self
function ActionInstant:clone () end
---* param time In seconds.
Expand All @@ -25,6 +25,6 @@ function ActionInstant:update (time) end
---@param dt float
---@return self
function ActionInstant:step (dt) end
---*
---*
---@return boolean
function ActionInstant:isDone () end
function ActionInstant:isDone () end
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cc.ActionInterval=ActionInterval
---* return The amplitude rate.
---@return float
function ActionInterval:getAmplitudeRate () end
---* initializes the action
---* initializes the action
---@param d float
---@return boolean
function ActionInterval:initWithDuration (d) end
Expand All @@ -24,20 +24,20 @@ function ActionInterval:setAmplitudeRate (amp) end
---* return The seconds had elapsed since the actions started to run.
---@return float
function ActionInterval:getElapsed () end
---*
---*
---@param target cc.Node
---@return self
function ActionInterval:startWithTarget (target) end
---* param dt in seconds
---@param dt float
---@return self
function ActionInterval:step (dt) end
---*
---*
---@return self
function ActionInterval:clone () end
---*
---*
---@return self
function ActionInterval:reverse () end
---*
---*
---@return boolean
function ActionInterval:isDone () end
function ActionInterval:isDone () end
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ function ActionManager:removeAllActionsByTag (tag,target) end
function ActionManager:getNumberOfRunningActionsInTargetByTag (target,tag) end
---* js ctor
---@return self
function ActionManager:ActionManager () end
function ActionManager:ActionManager () end
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ function ActionTween:initWithDuration (duration,key,from,to) end
---@param to float
---@return self
function ActionTween:create (duration,key,from,to) end
---*
---*
---@param target cc.Node
---@return self
function ActionTween:startWithTarget (target) end
---*
---*
---@return self
function ActionTween:clone () end
---*
---*
---@param dt float
---@return self
function ActionTween:update (dt) end
---*
---*
---@return self
function ActionTween:reverse () end
function ActionTween:reverse () end
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ cc.AmbientLight=AmbientLight
---@param color color3b_table
---@return self
function AmbientLight:create (color) end
---*
---*
---@return int
function AmbientLight:getLightType () end
---*
---*
---@return self
function AmbientLight:AmbientLight () end
function AmbientLight:AmbientLight () end
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cc.Animate=Animate



---* initializes the action with an Animation and will restore the original frame when the animation is over
---* initializes the action with an Animation and will restore the original frame when the animation is over
---@param animation cc.Animation
---@return boolean
function Animate:initWithAnimation (animation) end
Expand All @@ -30,23 +30,23 @@ function Animate:setAnimation (animation) end
---@param animation cc.Animation
---@return self
function Animate:create (animation) end
---*
---*
---@param target cc.Node
---@return self
function Animate:startWithTarget (target) end
---*
---*
---@return self
function Animate:clone () end
---*
---*
---@return self
function Animate:stop () end
---*
---*
---@return self
function Animate:reverse () end
---* param t In seconds.
---@param t float
---@return self
function Animate:update (t) end
---*
---*
---@return self
function Animate:Animate () end
function Animate:Animate () end
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,36 @@ cc.Animate3D=Animate3D



---*
---*
---@param keyFrame int
---@param userInfo map_table
---@return self
function Animate3D:setKeyFrameUserInfo (keyFrame,userInfo) end
---* get & set speed, negative speed means playing reverse
---* get & set speed, negative speed means playing reverse
---@return float
function Animate3D:getSpeed () end
---* set animate quality
---@param quality int
---@return self
function Animate3D:setQuality (quality) end
---*
---*
---@param weight float
---@return self
function Animate3D:setWeight (weight) end
---*
---*
---@return self
function Animate3D:removeFromMap () end
---*
---*
---@param animation cc.Animation3D
---@param startFrame int
---@param endFrame int
---@param frameRate float
---@return boolean
function Animate3D:initWithFrames (animation,startFrame,endFrame,frameRate) end
---*
---*
---@return float
function Animate3D:getOriginInterval () end
---*
---*
---@param speed float
---@return self
function Animate3D:setSpeed (speed) end
Expand Down Expand Up @@ -64,7 +64,7 @@ function Animate3D:getQuality () end
---@param duration float
---@return self
function Animate3D:create (animation,fromTime,duration) end
---* get animate transition time between 3d animations
---* get animate transition time between 3d animations
---@return float
function Animate3D:getTransitionTime () end
---* create Animate3D by frame section, [startFrame, endFrame)<br>
Expand All @@ -79,31 +79,31 @@ function Animate3D:getTransitionTime () end
---@param frameRate float
---@return self
function Animate3D:createWithFrames (animation,startFrame,endFrame,frameRate) end
---* set animate transition time between 3d animations
---* set animate transition time between 3d animations
---@param transTime float
---@return self
function Animate3D:setTransitionTime (transTime) end
---*
---*
---@param target cc.Node
---@return self
function Animate3D:startWithTarget (target) end
---*
---*
---@return self
function Animate3D:reverse () end
---*
---*
---@return self
function Animate3D:clone () end
---*
---*
---@return self
function Animate3D:stop () end
---*
---*
---@param t float
---@return self
function Animate3D:update (t) end
---*
---*
---@param dt float
---@return self
function Animate3D:step (dt) end
---*
---*
---@return self
function Animate3D:Animate3D () end
function Animate3D:Animate3D () end
Loading

0 comments on commit e77a667

Please sign in to comment.