From 41e7e7152a66f40f3a23439fb0ea4b2b03acbf1c Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 14 Jun 2024 12:02:39 -0400 Subject: Fix some doc typos that daviwil found live on stream. Only slightly embarrassing! --- doc/api.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/api.texi b/doc/api.texi index 50ce301..5c598c2 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -84,7 +84,7 @@ argument known as the @code{alpha} value. See the documentation for the game window. The default behavior is to exit the game. @item -@var{key-press}: Called with four arguments when a key is pressed on +@var{key-press}: Called with three arguments when a key is pressed on the keyboard: @enumerate @@ -349,7 +349,7 @@ Desktop environments use the top-left corner as the origin rather than the bottom-left like Chickadee does, hence the discrepancy here. @item -@var{window-resize}: Called with zero arguments when the window is +@var{window-resize}: Called with two arguments when the window is resized. @enumerate @@ -418,7 +418,7 @@ perform game initialization. @item @var{update}: Called @var{update-hz} times per second to advance the game simulation. This procedure is called with a single argument: The -amount of time that has passed since the last update, in milliseconds. +amount of time that has passed since the last update. @item @var{render}: Called each iteration of the loop to render the game to the desired output device. This procedure is called with a single -- cgit v1.2.3