Switch to spaces.
This commit is contained in:
parent
44ba30ee97
commit
9df836e0bf
4
Makefile
4
Makefile
|
@ -4,8 +4,8 @@ all:
|
||||||
pdc src BatterUp.pdx
|
pdc src BatterUp.pdx
|
||||||
|
|
||||||
check:
|
check:
|
||||||
stylua -c src/
|
stylua -c --indent-type Spaces src/
|
||||||
cat __stub.ext.lua <(sed 's/^function/-- selene: allow(unused_variable)\nfunction/' ${PLAYDATE_SDK_PATH}/CoreLibs/__types.lua) ${SOURCE_FILES} | grep -v '^import' | sed 's/<const>//g' | selene -
|
cat __stub.ext.lua <(sed 's/^function/-- selene: allow(unused_variable)\nfunction/' ${PLAYDATE_SDK_PATH}/CoreLibs/__types.lua) ${SOURCE_FILES} | grep -v '^import' | sed 's/<const>//g' | selene -
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
stylua src/
|
stylua --indent-type Spaces src/
|
||||||
|
|
|
@ -551,7 +551,7 @@ function init()
|
||||||
gfx.setBackgroundColor(gfx.kColorWhite)
|
gfx.setBackgroundColor(gfx.kColorWhite)
|
||||||
playdate.setMenuImage(gfx.image.new("images/game/menu-image.png"))
|
playdate.setMenuImage(gfx.image.new("images/game/menu-image.png"))
|
||||||
resetFielderPositions(true)
|
resetFielderPositions(true)
|
||||||
playdate.getSystemMenu():addMenuItem("Restart game", function() end)
|
playdate.getSystemMenu():addMenuItem("Restart game", function() end) -- TODO?
|
||||||
|
|
||||||
playdate.timer.new(2000, function()
|
playdate.timer.new(2000, function()
|
||||||
throwBall(PitchStartX, PitchStartY, playdate.easingFunctions.linear, nil, false)
|
throwBall(PitchStartX, PitchStartY, playdate.easingFunctions.linear, nil, false)
|
||||||
|
|
Loading…
Reference in New Issue