hardcode some assumptions about how this app uses love
[?]
Aug 6, 2022, 4:35 PM
AGJXIDOFAZEKPSGDVZJAZXNOKQLTVZUKOCIYFN4AB4YEWVRFRNRACDependencies
- [2]
DJSIRUMDa more radical attempt at ignoring nil y's - [3]
AVTNUQYRbasic test-enabled framework - [4]
AD34IX2Zcouple more tests - [5]
PESSMQBJno, make sure to compute line width after screen dimensions - [6]
3QNOKBFMbeginnings of a test harness
Change contents
- replacement in app.lua at line 19[3.2343]→[3.2243:2305](∅→∅),[3.2305]→[3.2343:2426](∅→∅),[3.2343]→[3.2343:2426](∅→∅),[3.2426]→[3.127:170](∅→∅),[3.127]→[3.127:170](∅→∅)
if App.initialize_globals then App.initialize_globals() endif App.initialize then App.initialize(love.arg.parseGameArguments(arg), arg) endif love.timer then love.timer.step() endApp.initialize_globals()App.initialize(love.arg.parseGameArguments(arg), arg) - edit in app.lua at line 22
love.timer.step() - replacement in app.lua at line 38
-- perform draw before update to give it a chance to mutate state-- draw before update to give it a chance to mutate statelove.graphics.origin()love.graphics.clear(love.graphics.getBackgroundColor())App.draw()love.graphics.present() - replacement in app.lua at line 44[3.637]→[3.637:784](∅→∅),[3.784]→[3.277:315](∅→∅),[3.315]→[3.824:863](∅→∅),[3.2549]→[3.824:863](∅→∅),[3.824]→[3.824:863](∅→∅),[3.863]→[2.90:225](∅→∅),[2.225]→[3.863:915](∅→∅),[3.863]→[3.863:915](∅→∅)
if love.graphics and love.graphics.isActive() thenlove.graphics.origin()love.graphics.clear(love.graphics.getBackgroundColor())if App.draw then App.draw() endlove.graphics.present()endif love.timer then dt = love.timer.step() endif App.update then App.update(dt) end -- will pass 0 if love.timer is disabledif love.timer then love.timer.sleep(0.001) enddt = love.timer.step()App.update(dt)love.timer.sleep(0.001)