1 Debian patch touch this file
| 1 | dokidoki_disable_debug = true |
| 2 | require 'dokidoki.module' [[]] |
| 3 | |
| 4 | local kernel = require 'dokidoki.kernel' |
| 5 | |
| 6 | local the_game = require 'the_game' |
| 7 | |
| 8 | local args = {} |
| 9 | for _, a in ipairs(arg) do |
| 10 | args[a] = true |
| 11 | end |
| 12 | |
| 13 | kernel.set_ratio(4/3) |
| 14 | |
| •15 | if args['--fullscreen'] then |
| 16 | kernel.set_fullscreen(true) |
| •17 | else |
| 18 | kernel.set_video_mode(1024, 768) |
| 19 | end |
| 20 | |
| 21 | kernel.start_main_loop(the_game.make()) |