Merge text0

[?]
Mar 19, 2023, 7:08 AM
PTOMKY7CQ2CZ4APBDV2IS5SAIWLESLYRQR7LXDEWJC4PQUBJAG6AC

Dependencies

  • [2] DD5K2FU2 Merge text0
  • [3] YCYCQOFC bugfix: on.load_settings when there are none
  • [4] QF3HGULO Merge text.love
  • [5] FRXBX5FC create space for app-specific settings
  • [6] G4FCGDN6 rename
  • [7] HNRU45ZM inline a function
  • [8] DUHVCYW5 Merge text.love
  • [9] 36Z442IV back to commit 8123959e52f without code editing
  • [10] YJ6ASFBG yet another fork trying to integrate my live framework with everything else
  • [11] DSDKFEUK persist window geometry to disk across restart
  • [12] MPETAKZ2 insert space for loading settings
  • [13] W5H5YI6S Merge text.love
  • [14] W3UFZ4FO run on.load_settings after loading defaults
  • [15] 7RDQRRP5 Merge text0
  • [*] OTIBCAUJ love2d scaffold

Change contents

  • replacement in main.lua at line 72
    [5.318][5.318:373]()
    local width, height, flags = love.window.getMode()
    [5.318]
    [5.373]
    local width, height, flags = App.screen.size()
  • replacement in main.lua at line 79
    [5.593][5.593:747]()
    love.window.setMode(App.screen.width, App.screen.height, App.screen.flags)
    love.window.setPosition(settings.x, settings.y, settings.displayindex)
    [5.593]
    [3.8]
    App.screen.resize(App.screen.width, App.screen.height, App.screen.flags)
    App.screen.move(settings.x, settings.y, settings.displayindex)
  • replacement in main.lua at line 86
    [5.170][5.170:295]()
    love.window.setMode(0, 0) -- maximize
    App.screen.width, App.screen.height, App.screen.flags = love.window.getMode()
    [5.170]
    [5.295]
    App.screen.resize(0, 0) -- maximize
    App.screen.width, App.screen.height, App.screen.flags = App.screen.size()
  • replacement in main.lua at line 94
    [5.73][5.650:729](),[5.650][5.650:729]()
    love.window.setMode(App.screen.width, App.screen.height, App.screen.flags)
    [5.73]
    [3.73]
    App.screen.resize(App.screen.width, App.screen.height, App.screen.flags)
  • edit in main.lua at line 97
    [5.70][5.75:75](),[5.735][5.75:75](),[5.52][4.8:84](),[5.52][4.8:84](),[5.52][4.8:84](),[5.3728][4.85:225](),[5.3728][4.85:225](),[5.4589][4.226:550](),[5.4589][4.226:550](),[5.4589][4.226:550](),[5.4610][4.551:666](),[5.4610][4.551:666](),[5.137][4.667:742](),[5.137][4.667:742]()
    App.screen.width, App.screen.height, App.screen.flags = App.screen.size()
    App.screen.resize(App.screen.width, App.screen.height, App.screen.flags)
    App.screen.move(settings.x, settings.y, settings.displayindex)
    local os = love.system.getOS()
    if os == 'Android' or os == 'iOS' then
    -- maximizing on iOS breaks text rendering: https://github.com/deltadaedalus/vudu/issues/7
    -- no point second-guessing window dimensions on mobile
    App.screen.width, App.screen.height, App.screen.flags = App.screen.size()
    return
    end
    App.screen.resize(0, 0) -- maximize
    App.screen.width, App.screen.height, App.screen.flags = App.screen.size()
    App.screen.resize(App.screen.width, App.screen.height, App.screen.flags)
  • resolve order conflict in main.lua at line 97
    [5.735]
    [5.5107]
  • edit in main.lua at line 125
    [5.6223][4.743:792](),[5.6223][4.743:792]()
    local x,y,displayindex = App.screen.position()