extract a function
[?]
Jun 7, 2022, 8:24 PM
NEXUNNCF5PJC57XAMQGMSSYNI7MJ4ARWDY3HFGVYMGWG3MPHG7CQCDependencies
- [2]
RF5ALVNYallow the window to be resized - [3]
AVTNUQYRbasic test-enabled framework - [4]
OTIBCAUJlove2d scaffold - [5]
Z4KNS42Nto open a file without a terminal, drag it on! - [6]
XSLCFVFH. - [7]
AD34IX2Zcouple more tests - [8]
73OCE2MCafter much struggle, a brute-force undo - [9]
AJB4LFRBtry to maintain a reasonable line width - [10]
AVQ5MC5Dfinish uppercasing all globals
Change contents
- replacement in main.lua at line 88[3.1738]→[3.1738:1800](∅→∅),[3.1800]→[2.8:88](∅→∅),[2.88]→[3.1862:2002](∅→∅),[3.1862]→[3.1862:2002](∅→∅),[3.2002]→[2.89:330](∅→∅)
-- maximize windowlove.window.setMode(0, 0) -- maximizeApp.screen.width, App.screen.height, App.screen.flags = love.window.getMode()-- shrink slightly to account for window decorationApp.screen.width = App.screen.width-100App.screen.height = App.screen.height-100App.screen.flags.resizable = trueApp.screen.flags.minwidth = math.min(App.screen.width, 200)App.screen.flags.minheight = math.min(App.screen.width, 200)love.window.updateMode(App.screen.width, App.screen.height, App.screen.flags)initialize_window_geometry() - edit in main.lua at line 104
end -- App.initialize - replacement in main.lua at line 106
end -- App.initializefunction initialize_window_geometry()-- maximize windowlove.window.setMode(0, 0) -- maximizeApp.screen.width, App.screen.height, App.screen.flags = love.window.getMode()-- shrink slightly to account for window decorationApp.screen.width = App.screen.width-100App.screen.height = App.screen.height-100App.screen.flags.resizable = trueApp.screen.flags.minwidth = math.min(App.screen.width, 200)App.screen.flags.minheight = math.min(App.screen.width, 200)love.window.updateMode(App.screen.width, App.screen.height, App.screen.flags)end