Merge text0

This commit is contained in:
Kartik K. Agaram 2023-12-03 13:21:55 -08:00
commit cdbbe56519
3 changed files with 8 additions and 2 deletions

View File

@ -8,6 +8,12 @@ Initializing settings:
- from defaults
- `default_map` absent/present
- run with an unsupported version. Error message pops up and waits for a key. The app attempts to continue, and doesn't receive the key.
Code loading:
* run love with directory; text editor runs
* run love with zip file; text editor runs
* How the screen looks. Our tests use a level of indirection to check text and
graphics printed to screen, but not the precise pixels they translate to.
- where exactly the cursor is drawn to highlight a given character

View File

@ -12,7 +12,6 @@ local Keys_down = {}
-- and a source editor, while giving each the illusion of complete
-- control.
function love.run()
App.version_check()
App.snapshot_love()
live.load()
-- have LÖVE delegate all handlers to App if they exist
@ -145,6 +144,7 @@ function love.run()
live.send_run_time_error_to_driver(Error_message)
end
App.version_check()
App.initialize_globals()
xpcall(function() App.initialize(love.arg.parseGameArguments(arg), arg) end, live.handle_initialization_error)

View File

@ -18,7 +18,7 @@ function App.version_check()
Error_message = nil
Error_count = 0
-- we'll reuse error mode on load for an initial version check
Supported_versions = {'11.4', '11.3', '11.2', '11.1', '11.0', '12.0'} -- put the recommended version first
Supported_versions = {'11.5', '11.4', '11.3', '11.2', '11.1', '11.0', '12.0'} -- put the recommended version first
local minor_version
Major_version, minor_version = love.getVersion()
Version = Major_version..'.'..minor_version