Merge luaML.love
This commit is contained in:
commit
278b612070
|
@ -9,6 +9,12 @@ Initializing settings:
|
|||
- `default_map` absent/present
|
||||
- when connecting to a new app
|
||||
|
||||
- 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
|
||||
|
|
2
app.lua
2
app.lua
|
@ -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
|
||||
|
@ -146,6 +145,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)
|
||||
|
||||
|
|
2
main.lua
2
main.lua
|
@ -20,7 +20,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
|
||||
|
|
Loading…
Reference in New Issue