Switch to spaces.

This commit is contained in:
Sage Vaillancourt 2025-02-04 13:06:41 -05:00
parent 44ba30ee97
commit 9df836e0bf
7 changed files with 732 additions and 732 deletions

View File

@ -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/

View File

@ -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)