MCPcopy Create free account

hub / github.com/Aidymouse/Hexfriend / functions

Functions152 in github.com/Aidymouse/Hexfriend

Functionfind_new_pos_through_resize
( pos: { x: number; y: number }, old_hex_size: HexSizeParams, new_hex_size: HexSizeParams, )
src/lib/map_resize.ts:20
FunctiongenCoord_axial
(hexId: HexId, seperator: string, offsets: CoordinateOffsets, hexGridInfo: HexCoordParams)
src/helpers/coordHelpers.ts:92
FunctiongenCoord_cube
(hexId: HexId, seperator: string, offsets: CoordinateOffsets)
src/helpers/coordHelpers.ts:60
FunctiongenCoord_letterNumber
(hexId: HexId, seperator: string, offsets: CoordinateOffsets, hexGridInfo: HexCoordParams)
src/helpers/coordHelpers.ts:106
FunctiongenCoord_rowCol
(hexId: HexId, seperator: string, offsets: CoordinateOffsets, hexGridInfo: HexCoordParams)
src/helpers/coordHelpers.ts:74
FunctiongenHexId_tfieldHex
(hex: TerrainHex)
src/helpers/hexHelpers.ts:112
FunctiongenerateTerrain
(tfield: TerrainField, tileset: Tileset)
src/lib/terrainGenerator.ts:141
Functiongenerate_icon_preview
( icon: Icon, hexInfo: PreviewHexInfo, grph: PIXI.Graphics, spr: PIXI.Sprite, cont: PIXI.Container,
src/helpers/iconFns.ts:21
Functiongenerate_ordered_icon_preview
( icon: Icon, hexInfo: PreviewHexInfo, customTexture: PIXI.Texture, )
src/helpers/iconFns.ts:54
FunctiongetHexCoordParams
(terrainField: TerrainField)
src/helpers/coordHelpers.ts:49
FunctiongetHexPathRadius
( radius: number, orientation: HexOrientation = HexOrientation.FLATTOP, centerX: number = 0, centerY:
src/helpers/hexHelpers.ts:79
FunctiongetHexSizeParams
(terrainField: TerrainField)
src/helpers/hexHelpers.ts:337
FunctiongetIconPositionFor
( x: number, y: number, hexInfo: Omit<PreviewHexInfo, 'color'> & { gap: number }, snap: boolean, )
src/helpers/iconFns.ts:112
FunctiongetKeyboardShortcut
(keyCode: string, $store_selected_tool: Tools)
src/lib/keyboardShortcuts.ts:62
FunctiongetNeighbours
(q: number, r: number, s: number)
src/helpers/hexHelpers.ts:157
FunctiongetPathSnapPoint
(x: number, y: number, hex_info: HexGridParams)
src/helpers/pathHelpers.ts:18
FunctiongetRing
(centerId: HexId, radius: number)
src/helpers/hexHelpers.ts:127
FunctiongetShiftForSquareReduction
( direction: 'left' | 'top' | 'right' | 'bottom', amount: number, hexInfo: HexGridParams, )
src/helpers/dimensionHelpers.ts:15
FunctiongetStoreableTile
(tile: Tile)
src/helpers/tiles.ts:34
FunctiongetTextHeight
(text: TextLayerText)
src/helpers/textHelpers.ts:40
FunctiongetTextHoverBox
(text: TextLayerText)
src/helpers/textHelpers.ts:57
FunctiongetTextWidth
(text: TextLayerText)
src/helpers/textHelpers.ts:35
Functionget_data_ready_for_save
(SaveData: SaveData)
src/lib/save_export.ts:3
Functionget_min_max_rand_function
( rand_func: Function )
src/helpers/random.ts:8
Functionget_radius_from_width_height
(width: number, height: number, orientation: HexOrientation)
src/helpers/hexHelpers.ts:71
Functionget_tileset_id
(tileset: Tileset)
src/helpers/tiles.ts:4
Functionget_width_height_from_radius
(radius: number, orientation: HexOrientation)
src/helpers/hexHelpers.ts:58
FunctioniconsMatch
(icon1: IconLayerIcon, icon2: IconLayerIcon)
src/helpers/iconFns.ts:136
Functionid_to_coords
(hex_id: HexId)
src/helpers/hexHelpers.ts:96
Functionload_iconset_textures
(iconset: Iconset)
src/lib/texture_loader.ts:34
Functionload_tileset_textures
(tileset: Tileset)
src/lib/texture_loader.ts:57
Methodnegate
()
src/lib/vector2d.ts:10
FunctionoverlayDataMatches
(data1: OverlayData, data2: OverlayData)
src/helpers/overlayHelpers.ts:4
FunctionpathStylesMatch
(style1: PathStyle, style2: PathStyle)
src/helpers/pathHelpers.ts:8
Functionpick_from_weighted
(weighted_list: {item: any, weight: number}[], rand_function: (low_incl: number, high_incl: number) => number
src/helpers/random.ts:52
Functionpush_undo_state
()
src/lib/undoManager.ts:110
Functionrand
(min: number, max: number, rand_func: Function = Math.random)
src/helpers/random.ts:1
Functionrandom_choice
(array: any[], rand_func: (min, max) => number )
src/helpers/random.ts:64
Functionredo
(layers: LayerComponents, panels: PanelComponents)
src/lib/undoManager.ts:141
Functionreset_undo_stack
()
src/lib/undoManager.ts:8
Functionrf
(min: number, max: number)
src/helpers/random.ts:9
Functionsfc32
(a: number, b: number, c: number, d: number)
src/helpers/random.ts:39
FunctionstartUndoState
( data: UndoData, label: string = 'Undo', options: { allow_override?: boolean; bounce?: boolean } = { al
src/lib/undoManager.ts:25
Functionswitch_translation
(new_translation: string)
src/stores/translation.ts:30
FunctiontextsMatch
(text1: TextLayerText, text2: TextLayerText, includeId: boolean = true)
src/helpers/textHelpers.ts:7
Functiontile_to_key
(tile: Tile)
src/helpers/tiles.ts:9
Functiontiles_match
(tile1: Tile, tile2: Tile)
src/helpers/tiles.ts:13
MethodtoAngles
()
src/lib/vector2d.ts:90
MethodtoArray
(n: number)
src/lib/vector2d.ts:98
Functionundo
(layers: LayerComponents, panels: PanelComponents)
src/lib/undoManager.ts:115
Functionupdate_map_to_new_default_tileset
(tfield: TerrainField)
src/lib/tileset_updater.ts:167
Functionz
(a)
src/lib/download2.js:16
← previous101–152 of 152, ranked by callers