-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added C++ version of the trigger system that works for most levels - Updated physics engine to use bump allocator for internal allocations - Updated project to latest MSVC version - Updated framerate to 30fps - Various other improvements and incomplete changes
- Loading branch information
Showing
105 changed files
with
4,983 additions
and
638 deletions.
There are no files selected for viewing
87 changes: 87 additions & 0 deletions
87
data/SimpleConfiguredProxyLuaGlobals/basicTriggerSystem.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
local function cloneAttachment(a) | ||
return {platform = a.platform, xOffset = a.xOffset, yOffset = a.yOffset} | ||
end | ||
|
||
local function momentarySwitch(p) | ||
return { | ||
type = 'momentarySwitch', | ||
timeDirection = p.timeDirection, | ||
attachment = cloneAttachment(p.attachment), | ||
width = p.width, | ||
height = p.height, | ||
triggerID = p.triggerID, | ||
stateTriggerID = p.stateTriggerID, | ||
extraTriggerIDs = p.extraTriggerIDs, | ||
} | ||
end | ||
|
||
local function stickySwitch(p) | ||
return { | ||
type = 'stickySwitch', | ||
timeDirection = p.timeDirection, | ||
attachment = cloneAttachment(p.attachment), | ||
width = p.width, | ||
height = p.height, | ||
triggerID = p.triggerID, | ||
stateTriggerID = p.stateTriggerID, | ||
extraTriggerIDs = p.extraTriggerIDs, | ||
} | ||
end | ||
|
||
local function pickup(p) | ||
return { | ||
type = 'pickup', | ||
timeDirection = p.timeDirection, | ||
attachment = cloneAttachment(p.attachment), | ||
width = p.width, | ||
height = p.height, | ||
pickupType = p.pickupType, | ||
triggerID = p.triggerID, | ||
pickupNumber = p.pickupNumber, | ||
} | ||
end | ||
local function spikes(p) | ||
return { | ||
type = 'spikes', | ||
timeDirection = p.timeDirection, | ||
attachment = cloneAttachment(p.attachment), | ||
width = p.width, | ||
height = p.height, | ||
} | ||
end | ||
local function wireGlitz(p) | ||
end | ||
local function easyWireGlitz(p) | ||
end | ||
local function basicRectangleGlitz(p) | ||
end | ||
local function basicTextGlitz(p) | ||
end | ||
local function calculatePhysicsAffectingStuff(tempStore) | ||
return tempStore | ||
end | ||
local function getDepartureInformation(tempStore) | ||
return tempStore | ||
end | ||
local function mutateObject(tempStore) | ||
return tempStore | ||
end | ||
return { | ||
momentarySwitch = momentarySwitch, | ||
--toggleSwitch = toggleSwitch, | ||
stickySwitch = stickySwitch, | ||
--stickyLaserSwitch = stickyLaserSwitch, | ||
--multiStickySwitch = multiStickySwitch, | ||
pickup = pickup, | ||
spikes = spikes, | ||
--boxOMatic = boxOMatic, | ||
wireGlitz = wireGlitz, | ||
easyWireGlitz = easyWireGlitz, | ||
basicRectangleGlitz = basicRectangleGlitz, | ||
basicTextGlitz = basicTextGlitz, | ||
mutateObject = mutateObject, | ||
calculatePhysicsAffectingStuff = calculatePhysicsAffectingStuff, | ||
getDepartureInformation = getDepartureInformation, | ||
--calculateBidirectionalGlitz = calculateBidirectionalGlitz, | ||
--timeDirectionToInt = timeDirectionToInt, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.