-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.ts
33 lines (29 loc) · 1.01 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import RandomizeRom from "./lib/randomize";
import ProtectRom from "./lib/protect";
import BpsPatch from "./lib/bps-patch";
export const computeCRC32 = BpsPatch.CRC32;
export * from "./lib/signature";
export * as vanilla from "./lib/vanilla";
export { patchRom } from "./helpers/patcher";
export { findPreset, getPreset, getAllPresets } from "./lib/presets";
export { Item } from "./lib/items";
export { generateFromPreset, getSeedNumber } from "./lib/sm-rando";
export { getItemProgression } from "./lib/graph/solver";
export { getAreaPortals, getBossPortals } from "./lib/graph/data/portals";
export {
bytesToParams,
paramsToString,
stringToParams,
} from "./lib/graph/params";
export {
loadGraph
} from "./lib/graph/init";
export {
readParams,
readPortals,
readGraph
} from "./helpers/reader"
export { RandomizeRom, ProtectRom, BpsPatch };
export type { Options, Settings } from "./lib/graph/params";
export type { Graph, Vertex, Edge } from "./lib/graph/init";
export type { ItemLocation } from "./lib/graph/solver";