MCPcopy Create free account

hub / github.com/ajhager/rog / functions

Functions152 in github.com/ajhager/rog

FunctionCursor
Cursor enables or disables the mouse cursor.
rog.go:61
FunctionDarken
(top RGB)
color.go:294
MethodDarken
Darken = MIN(old, new)
color.go:212
FunctionDiscrete
(blenders ...Blender)
color.go:343
FunctionDodge
(top RGB)
color.go:270
FunctionDt
Dt returns length of the last frame in seconds.
rog.go:71
FunctionFOVCircular
FOVCicular raycasts out from the vantage in a circle.
fov.go:82
FunctionFill
Fill draws a rect on the root console.
rog.go:100
FunctionFlush
Flush renders the root console to the window.
rog.go:50
FunctionFont
(path string, cellWidth, cellHeight int, maps string)
font.go:51
FunctionFps
Fps returns the number of rendered frames per second.
rog.go:76
FunctionGet
Get returns the fg, bg colors and rune of the cell on the root console.
rog.go:95
FunctionHeight
Height returns the height of the root console in cells.
rog.go:115
FunctionHex
HEX returns parses a uint32 into RGB components.
color.go:176
FunctionKey
Key returns the last key typed this frame.
rog.go:66
MethodLen
* sort.Interface */
path.go:37
MethodLess
(i, j int)
path.go:41
FunctionLighten
(top RGB)
color.go:288
MethodLighten
Lighten = MIN(old, new)
color.go:217
FunctionLinear
(blenders ...Blender)
color.go:349
FunctionMouse
Mouse returns a struct representing the state of the mouse.
rog.go:56
MethodMoveBlocked
(x, y int)
demos/fov/main.go:13
MethodMoveBlocked
(x, y int)
demos/path/main.go:13
FunctionMultiply
(top RGB)
color.go:264
MethodMultiply
Multiply = old * new
color.go:192
FunctionNewMap
(width, height int)
map.go:8
FunctionOpen
Open creates a window and a root console with size width by height cells.
rog.go:19
FunctionOverlay
(top RGB)
color.go:282
MethodOverlay
Overlay = new.x <= 0.5 ? 2*new*old : white - 2*(white-new)*(white-old)
color.go:207
FunctionPath
(g GridMove, this image.Rectangle, start, end image.Point)
path.go:14
MethodRGBA
()
color.go:164
FunctionRand
Rand returns a random RGB color
color.go:184
FunctionRandScale
()
color.go:312
FunctionRunning
Running returns whether the rog window is open or not.
rog.go:34
FunctionScale
(s float64)
color.go:306
FunctionScreen
(top RGB)
color.go:276
MethodScreen
Screen = white - (white - old) * (white - new)
color.go:202
FunctionSet
Set draws on the root console.
rog.go:85
FunctionSetR
Set draws on the root console with wrapping bounds of x, y, w, h.
rog.go:90
FunctionSetTitle
SetTitle changes the title of the window.
rog.go:45
MethodString
Return string representation of the node
path.go:189
MethodSwap
(i, j int)
path.go:46
FunctionWidth
Width returns the width of the root console in cells.
rog.go:110
FunctioncolorToFloatsA
(c RGB)
color.go:15
Functionmain
()
demos/fov/main.go:136
Functionmain
()
demos/tcod/main.go:75
Functionmain
()
demos/font/main.go:7
Functionmain
()
demos/path/main.go:44
Functionmain
()
demos/hello/main.go:7
Functionmain
()
demos/perlin/main.go:85
Functionmain
()
demos/scales/main.go:10
Functionstr_map
(data MapData, nodes []*Node)
path.go:135
← previous101–152 of 152, ranked by callers