MCPcopy Create free account

hub / github.com/Aidymouse/Hexfriend / functions

Functions152 in github.com/Aidymouse/Hexfriend

↓ 12 callersMethodadd
(v: Vector)
src/lib/vector2d.ts:16
↓ 12 callersMethodmultiply
(v: Vector | number)
src/lib/vector2d.ts:38
↓ 8 callersFunctiongenHexId
(q: number, r: number, s: number)
src/lib/terrainGenerator.ts:120
↓ 8 callersFunctiongenHexId
(q: number, r: number, s: number)
src/helpers/hexHelpers.ts:101
↓ 6 callersFunctioncoords_cubeToWorld
( q: number, r: number, s: number, HexOrientation: HexOrientation, hexWidth: number, hexHeight: nu
src/helpers/hexHelpers.ts:232
↓ 5 callersMethodnormalize
()
src/lib/vector2d.ts:78
↓ 5 callersFunctionsaver
(url, winMode)
src/lib/download2.js:67
↓ 4 callersFunctionAxialToCube
(q: number, r: number)
src/helpers/hexHelpers.ts:169
↓ 4 callersFunctionbreakDownHexID
(hexId: HexId)
src/helpers/hexHelpers.ts:66
↓ 4 callersFunctioncoords_worldToCube
( worldX: number, worldY: number, HexOrientation: HexOrientation, hexWidth: number, hexHeight: numbe
src/helpers/hexHelpers.ts:194
↓ 4 callersFunctiongetHexPath
( hexWidth: number, hexHeight: number, orientation: HexOrientation = HexOrientation.FLATTOP, centerX:
src/helpers/hexHelpers.ts:15
↓ 4 callersMethodset
(x: number, y: number)
src/lib/vector2d.ts:106
↓ 4 callersMethodsubtract
(v: Vector | number)
src/lib/vector2d.ts:27
↓ 3 callersFunctioncoords_cubeToq
(raisedColumn: 'odd' | 'even', q: number, r: number, s: number)
src/helpers/hexHelpers.ts:276
↓ 3 callersFunctioncoords_cubeTor
(indentedRow: 'odd' | 'even', q, r, s)
src/helpers/hexHelpers.ts:312
↓ 3 callersFunctionget_icon_scale_for_hex
(icon: Icon, hexInfo: HexSizeParams)
src/helpers/imageSizing.ts:54
↓ 3 callersFunctionget_symbol_texture
(tile: Tile)
src/lib/texture_loader.ts:68
↓ 3 callersMethodlength
()
src/lib/vector2d.ts:74
↓ 3 callersMethodmax
()
src/lib/vector2d.ts:86
↓ 3 callersMethodrotate
(ang: number)
src/lib/vector2d.ts:112
↓ 3 callersFunctionworldX
(state: pan_state)
src/stores/panning.ts:27
↓ 3 callersFunctionworldY
(state: pan_state)
src/stores/panning.ts:31
↓ 2 callersFunctionapply_state_data
(applied_data: UndoData, layers: LayerComponents, panels: PanelComponents)
src/lib/undoManager.ts:160
↓ 2 callersMethodclone
()
src/lib/vector2d.ts:102
↓ 2 callersFunctioncolorWith
(hex, tileid, tileset)
src/lib/terrainGenerator.ts:197
↓ 2 callersFunctioncube_add
(c1: cube_coords, c2: cube_coords)
src/helpers/hexHelpers.ts:153
↓ 2 callersFunctioncube_round
(frac: cube_coords)
src/helpers/hexHelpers.ts:173
↓ 2 callersMethoddot
(v: Vector)
src/lib/vector2d.ts:66
↓ 2 callersFunctionfindIntersectionPoint
(line1, line2)
src/helpers/pathHelpers.ts:52
↓ 2 callersFunctiongenerate_tile_preview
( tile: Tile, preview_hex_info: PreviewHexInfo, spr: PIXI.Sprite, grph: PIXI.Graphics, cont: PIXI.Co
src/helpers/tileFns.ts:46
↓ 2 callersFunctiongetHexNeighbours
(q: number, r: number, s: number)
src/lib/terrainGenerator.ts:130
↓ 2 callersFunctionget_icon_texture
(icon_id: string)
src/lib/texture_loader.ts:40
↓ 2 callersFunctionpreProcessUndoState
(data: UndoData)
src/lib/undoManager.ts:79
↓ 2 callersFunctionrand
(min: number, max: number)
src/lib/terrainGenerator.ts:124
↓ 1 callersFunctionaddResourcesToCache
(resources)
public/worker.js:3
↓ 1 callersFunctionconvert_v10_to_v11
(old_data: SaveData)
src/lib/saveDataConverter.ts:172
↓ 1 callersFunctionconvert_v11_to_v12
(old_data: SaveData)
src/lib/saveDataConverter.ts:187
↓ 1 callersFunctionconvert_v12_to_v13
(old_data: SaveData)
src/lib/saveDataConverter.ts:198
↓ 1 callersFunctionconvert_v13_to_v14
(oldData: SaveData)
src/lib/saveDataConverter.ts:235
↓ 1 callersFunctionconvert_v1_to_v2
(old_tileset: Tileset)
src/lib/tilesetConverter.ts:8
↓ 1 callersFunctionconvert_v1_to_v2
(old: Iconset)
src/lib/iconsetConverter.ts:5
↓ 1 callersFunctionconvert_v1_to_v5
I better make sure I like these names because they can NEVER CHANGE! Or old save versions will need to know what they used to be
src/lib/saveDataConverter.ts:8
↓ 1 callersFunctionconvert_v2_to_v3
(old_tileset: Tileset)
src/lib/tilesetConverter.ts:23
↓ 1 callersFunctionconvert_v3_to_v4
(old: Tileset)
src/lib/tilesetConverter.ts:36
↓ 1 callersFunctionconvert_v5_to_v6
(oldData: SaveData)
src/lib/saveDataConverter.ts:67
↓ 1 callersFunctionconvert_v6_to_v7
(oldData: SaveData)
src/lib/saveDataConverter.ts:78
↓ 1 callersFunctionconvert_v7_to_v8
(old_data: SaveData)
src/lib/saveDataConverter.ts:100
↓ 1 callersFunctionconvert_v8_to_v9
(old_data: SaveData)
src/lib/saveDataConverter.ts:111
↓ 1 callersFunctionconvert_v9_to_v10
(old_data: SaveData)
src/lib/saveDataConverter.ts:132
↓ 1 callersFunctioncoords_cubeToEvenq
(q: number, r: number, s)
src/helpers/hexHelpers.ts:264
↓ 1 callersFunctioncoords_cubeToEvenr
(q, r, s)
src/helpers/hexHelpers.ts:300
↓ 1 callersFunctioncoords_cubeToOddq
(q: number, r: number, s)
src/helpers/hexHelpers.ts:270
↓ 1 callersFunctioncoords_cubeToOddr
(q, r, s)
src/helpers/hexHelpers.ts:306
↓ 1 callersFunctioncoords_evenqToCube
(col: number, row: number)
src/helpers/hexHelpers.ts:281
↓ 1 callersFunctioncoords_evenrToCube
(col, row)
src/helpers/hexHelpers.ts:317
↓ 1 callersFunctioncoords_oddqToCube
(col: number, row: number)
src/helpers/hexHelpers.ts:287
↓ 1 callersFunctioncoords_oddrToCube
(col, row)
src/helpers/hexHelpers.ts:323
↓ 1 callersFunctioncoords_qToCube
(oddOrEven: 'odd' | 'even', col: number, row: number)
src/helpers/hexHelpers.ts:293
↓ 1 callersFunctioncoords_rToCube
(indentedRow: 'odd' | 'even', col, row)
src/helpers/hexHelpers.ts:329
↓ 1 callersFunctioncube_scale
(coords: cube_coords, scale: number)
src/helpers/hexHelpers.ts:149
↓ 1 callersFunctiond2b
(u)
src/lib/download2.js:53
↓ 1 callersMethoddivide
(v: Vector | number)
src/lib/vector2d.ts:49
↓ 1 callersFunctiongenCoordsObj
(hexId: HexId)
src/helpers/hexHelpers.ts:116
↓ 1 callersFunctiongenHexId_coordsObj
(coords: cube_coords)
src/helpers/hexHelpers.ts:105
↓ 1 callersFunctiongenerate_tile_previews
( tile: Tile, preview_hex_info: PreviewHexInfo, spr: PIXI.Sprite, grph: PIXI.Graphics, cont: PIXI.Co
src/helpers/tileFns.ts:20
↓ 1 callersFunctiongetHexGridParams
(terrainField: TerrainField)
src/helpers/hexHelpers.ts:343
↓ 1 callersFunctiongetShiftForSquareExpansion
( direction: 'left' | 'top' | 'right' | 'bottom', amount: number, hexInfo: HexGridParams, )
src/helpers/dimensionHelpers.ts:30
↓ 1 callersFunctiongetTextMetrics
(text: TextLayerText)
src/helpers/textHelpers.ts:46
↓ 1 callersFunctionget_image_scaled_for_hex_bydimension
( texWidth: number, texHeight: number, hexWidth: number, hexHeight: number, proportion_of_hex_width:
src/helpers/imageSizing.ts:39
↓ 1 callersFunctionget_image_scaled_for_hex_relative
( texWidth: number, texHeight: number, hexWidth: number, hexHeight: number, proportion_of_hex: numbe
src/helpers/imageSizing.ts:19
↓ 1 callersFunctionload_icon_texture
(icon_id: string, base64: string)
src/lib/texture_loader.ts:11
↓ 1 callersFunctionload_symbol_texture
(texture_id: string, base64: string)
src/lib/texture_loader.ts:51
↓ 1 callersFunctionmerge_translation
(translation: Translation, merge: Translation)
src/stores/translation.ts:16
↓ 1 callersMethodmin
()
src/lib/vector2d.ts:82
↓ 1 callersFunctionnetworkFirst
({ request, fallbackUrl })
public/worker.js:14
↓ 1 callersFunctionnumToAlphabet
(num: number)
src/helpers/coordHelpers.ts:5
↓ 1 callersFunctionpathPointsToPoints
(path: PathLayerPath)
src/helpers/pathHelpers.ts:44
↓ 1 callersFunctionputInCache
(request, response)
public/worker.js:9
↓ 1 callersFunctionregisterServiceWorker
()
public/register.js:1
↓ 1 callersFunctiontextStylesMatch
(style1: TextStyle, style2: TextStyle)
src/helpers/textHelpers.ts:25
MethodangleTo
(v: Vector)
src/lib/vector2d.ts:94
FunctioncancelProspectiveUndoState
()
src/lib/undoManager.ts:87
Functioncapitialize
(str: string)
src/helpers/string.ts:1
FunctioncollapseWaveGen
(hexesOut: number, rules = gf_test)
src/lib/terrainGenerator.ts:28
FunctioncompleteUndoState
(data: UndoData, label?: string)
src/lib/undoManager.ts:59
Methodconstructor
()
src/lib/db.ts:19
Methodconstructor
(x: number, y: number)
src/lib/vector2d.ts:5
FunctionconvertSaveDataToLatest
(oldData: SaveData)
src/lib/saveDataConverter.ts:289
Functionconvert_iconset_to_latest
(iconset: Iconset)
src/lib/iconsetConverter.ts:35
Functionconvert_tileset_to_latest
(old: Tileset)
src/lib/tilesetConverter.ts:83
Functioncopy_iconset
(set: Iconset, new_id: string)
src/helpers/iconFns.ts:101
Functioncopy_tileset
(set: Tileset, new_id: string)
src/helpers/tileFns.ts:95
Methodcross
(v: Vector)
src/lib/vector2d.ts:70
FunctioncurWorldX
()
src/stores/panning.ts:35
FunctioncurWorldY
()
src/stores/panning.ts:39
Functioncyrb128
(str: string)
src/helpers/random.ts:19
Functiondownload
(data, strFileName, strMimeType)
src/lib/download2.js:9
Methodequals
(v: Vector)
src/lib/vector2d.ts:62
FunctionfindHitArea
(path: PathLayerPath)
src/helpers/pathHelpers.ts:91
Functionfind_new_pos_square_orientation_change
( pos: { x: number; y: number }, old_hex_size: HexSizeParams, new_hex_size: HexSizeParams, cur_raised:
src/lib/map_resize.ts:75
next →1–100 of 152, ranked by callers