section and within annotations for ldoc
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
2026-02-25 23:24:53 +01:00
parent 297ee8b622
commit 777c27aa54
27 changed files with 175 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
--- @section Main
local initialized_game = false
--- Initializes game state.
--- @within Main
local function init_game()
if initialized_game then return end
Context.reset()
@@ -10,6 +12,7 @@ local function init_game()
end
--- Main game loop (TIC-80 callback).
--- @within Main
function TIC()
init_game()
cls(Config.colors.black)