Skip to content

Commit

Permalink
library: more undocumented functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamcake committed Dec 1, 2024
1 parent bef3074 commit e201417
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions src/library/doc.texi
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,21 @@ end)

@eventobjectwarning{}

@node functions-onrenderminimap
@section onrenderminimap

@eventhandler{minimap-rendering events, @ref{objects-renderminimap}}

@example lua
@verbatim
bolt.onrenderminimap(function (event)
-- ...
end)
@end verbatim
@end example

@eventobjectwarning{}

@node functions-onswapbuffers
@section onswapbuffers

Expand Down Expand Up @@ -2451,7 +2466,7 @@ local red, green, blue, alpha = event:colour()
@node renderitemicon-color
@subsection color

Alias for @ref{renderitem-colour}
Alias for @ref{renderitemicon-colour}

@node objects-minimapterrain
@section Minimap Terrain Event
Expand Down Expand Up @@ -2496,7 +2511,7 @@ occurs when the minimap image gets drawn to the game window, which
usually happens once per frame, unless the minimap isn't visible. This
event can be used to find out the location of the minimap on the user's
screen. To get the minimap contents, see @ref{objects-minimapterrain}
and @ref{objects-minimaprender2d}.
and @ref{functions-onminimaprender2d}.

@eventobjectwarning{}

Expand Down

0 comments on commit e201417

Please sign in to comment.