Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajhager/rog
/ functions
Functions
152 in github.com/ajhager/rog
⨍
Functions
152
◇
Types & classes
20
Function
Cursor
Cursor enables or disables the mouse cursor.
rog.go:61
Function
Darken
(top RGB)
color.go:294
Method
Darken
Darken = MIN(old, new)
color.go:212
Function
Discrete
(blenders ...Blender)
color.go:343
Function
Dodge
(top RGB)
color.go:270
Function
Dt
Dt returns length of the last frame in seconds.
rog.go:71
Function
FOVCircular
FOVCicular raycasts out from the vantage in a circle.
fov.go:82
Function
Fill
Fill draws a rect on the root console.
rog.go:100
Function
Flush
Flush renders the root console to the window.
rog.go:50
Function
Font
(path string, cellWidth, cellHeight int, maps string)
font.go:51
Function
Fps
Fps returns the number of rendered frames per second.
rog.go:76
Function
Get
Get returns the fg, bg colors and rune of the cell on the root console.
rog.go:95
Function
Height
Height returns the height of the root console in cells.
rog.go:115
Function
Hex
HEX returns parses a uint32 into RGB components.
color.go:176
Function
Key
Key returns the last key typed this frame.
rog.go:66
Method
Len
* sort.Interface */
path.go:37
Method
Less
(i, j int)
path.go:41
Function
Lighten
(top RGB)
color.go:288
Method
Lighten
Lighten = MIN(old, new)
color.go:217
Function
Linear
(blenders ...Blender)
color.go:349
Function
Mouse
Mouse returns a struct representing the state of the mouse.
rog.go:56
Method
MoveBlocked
(x, y int)
demos/fov/main.go:13
Method
MoveBlocked
(x, y int)
demos/path/main.go:13
Function
Multiply
(top RGB)
color.go:264
Method
Multiply
Multiply = old * new
color.go:192
Function
NewMap
(width, height int)
map.go:8
Function
Open
Open creates a window and a root console with size width by height cells.
rog.go:19
Function
Overlay
(top RGB)
color.go:282
Method
Overlay
Overlay = new.x <= 0.5 ? 2*new*old : white - 2*(white-new)*(white-old)
color.go:207
Function
Path
(g GridMove, this image.Rectangle, start, end image.Point)
path.go:14
Method
RGBA
()
color.go:164
Function
Rand
Rand returns a random RGB color
color.go:184
Function
RandScale
()
color.go:312
Function
Running
Running returns whether the rog window is open or not.
rog.go:34
Function
Scale
(s float64)
color.go:306
Function
Screen
(top RGB)
color.go:276
Method
Screen
Screen = white - (white - old) * (white - new)
color.go:202
Function
Set
Set draws on the root console.
rog.go:85
Function
SetR
Set draws on the root console with wrapping bounds of x, y, w, h.
rog.go:90
Function
SetTitle
SetTitle changes the title of the window.
rog.go:45
Method
String
Return string representation of the node
path.go:189
Method
Swap
(i, j int)
path.go:46
Function
Width
Width returns the width of the root console in cells.
rog.go:110
Function
colorToFloatsA
(c RGB)
color.go:15
Function
main
()
demos/fov/main.go:136
Function
main
()
demos/tcod/main.go:75
Function
main
()
demos/font/main.go:7
Function
main
()
demos/path/main.go:44
Function
main
()
demos/hello/main.go:7
Function
main
()
demos/perlin/main.go:85
Function
main
()
demos/scales/main.go:10
Function
str_map
(data MapData, nodes []*Node)
path.go:135
← previous
101–152 of 152, ranked by callers