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TUNMWTN7AX4NAC XGHCLIKBWIW24G7O5QLYH6EUIY3TWTYFTUIYTWE25RFEGBHMZOKQC ZMRMC3O6RXECMBAPOOKUSYDJ3K6CQVRFHFE2BID4BUBOL3YB6MGAC BQI2D6AG7PDOAGOFR7WGZ2ZDQ3R2H2SHZHQDZHAYJP43XUYSLRCQC A7O6MZIUNUHW65ODP7GLYO37RQ26AOUDGP5Z6M2RG77VZWKL27BQC M75WBEA4QUH5VRH6OD35FLPVSM3ILQNPJOE6QZPNONF32IMRLUJQC 564RK5FW46AHODXU7LMSGA5LQND5SIFQTZMBFEKYEA3KGMED4JBAC 2Y7YH7UPQWDNYDJN4BYY2MOHA36B2BIRX6DMIAKHJPQC7UP2R6NQC 2L5MEZV344TOZLVY3432RHJFIRVXFD6O3GWLL5O4CV66BGAFTURQC VG75U7IM2ZQTGM2QETDT6QQ4CSLQPB4APK436POAAQJWOMINPIJAC AVTNUQYRBW7IX2YQ3KDLVQ23RGW3BAKTAE7P73ASBYNKOHMQMH5AC UOTHQWM74AFOCPGQKKPLZXRI5HQFH3SRGI336AVZRGWPR6P256EAC LNUHQOGHIOFGJXNGA3DZLYEASLYYDGLN2I3EDZY5ANASQAHCG3YQC 6LJZN727CRPYR34LV75CQF55YZI3E7MGESYZSFSYAE73SNEZE3FAC end-- keep a few blank lines around: https://merveilles.town/@akkartik/110084833821965708love.window.setTitle('text.love - source')end-- keep a few blank lines around: https://merveilles.town/@akkartik/110084833821965708love.window.setTitle('text.love - source')
endfunction run.draw()edit.draw(Editor_state)endfunction run.update(dt)Cursor_time = Cursor_time + dtedit.update(Editor_state, dt)endfunction run.quit()edit.quit(Editor_state)endfunction run.settings()-- keep a few blank lines around: https://merveilles.town/@akkartik/110084833821965708love.window.setTitle('text.love - '..Editor_state.filename)if #arg > 1 thenprint('ignoring commandline args after '..arg[1])endif rawget(_G, 'jit') thenjit.off()jit.flush()endendfunction run.load_settings()love.graphics.setFont(love.graphics.newFont(Settings.font_height))-- keep a few blank lines around: https://merveilles.town/@akkartik/110084833821965708love.window.setTitle('text.love - '..Editor_state.filename)
endendelseassert(false, 'unknown app "'..Current_app..'"')if source.mouse_release then source.mouse_release(x,y, mouse_button) endelseif Current_app == 'source' thenif pong.mouse_release then pong.mouse_release(x,y, mouse_button) endif Current_app == 'pong' thenfunction App.mouserelease(x,y, mouse_button)elseassert(false, 'unknown app "'..Current_app..'"')endendif Current_app == 'pong' thenif pong.quit then pong.quit() endelseif Current_app == 'source' thenif source.quit then source.quit() endif Current_app == 'pong' thenSettings.pong = pong.settings()elseSettings.source = source.settings()endSettings.current_app = Current_applove.filesystem.write('config', json.encode(Settings))function love.quit()function App.wheelmoved(dx,dy)if Current_app == 'run' thenif run.mouse_wheel_move then run.mouse_wheel_move(dx,dy) endelseif Current_app == 'source' thenif source.mouse_wheel_move then source.mouse_wheel_move(dx,dy) endelseassert(false, 'unknown app "'..Current_app..'"')endendendendassert(false, 'unknown app "'..Current_app..'"')else
elseassert(false, 'unknown app "'..Current_app..'"')endendfunction App.mouserelease(x,y, mouse_button)if Current_app == 'pong' thenif pong.mouse_release then pong.mouse_release(x,y, mouse_button) endelseif Current_app == 'source' thenif source.mouse_release then source.mouse_release(x,y, mouse_button) endelseassert(false, 'unknown app "'..Current_app..'"')endendfunction App.wheelmoved(dx,dy)
if source.mouse_wheel_move then source.mouse_wheel_move(dx,dy) endelseassert(false, 'unknown app "'..Current_app..'"')endendfunction love.quit()if Current_app == 'pong' thenSettings.pong = pong.settings()elseSettings.source = source.settings()endSettings.current_app = Current_applove.filesystem.write('config', json.encode(Settings))if Current_app == 'pong' thenif pong.quit then pong.quit() endelseif Current_app == 'source' thenif source.quit then source.quit() endelseassert(false, 'unknown app "'..Current_app..'"')endend