Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix checksums import when used as library #110

Merged
merged 1 commit into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion nwn_erf.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import shared, checksums, std/oids
import shared, std/oids

let args = DOC """
Un/packs erf files.
Expand Down
2 changes: 1 addition & 1 deletion nwn_erf_tlkify.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import shared, checksums, std/oids
import shared, std/oids

import critbits, os, tables, options, sets, sequtils, strutils, logging

Expand Down
2 changes: 1 addition & 1 deletion nwn_key_pack.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import shared, checksums
import shared

let args = DOC """
This utility packs a .key file and all associated bifs from directory tree.
Expand Down
2 changes: 1 addition & 1 deletion nwn_resman_grep.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import shared, checksums
import shared

let args = DOC """
Find files in resman
Expand Down
2 changes: 1 addition & 1 deletion nwn_resman_pkg.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import shared, checksums
import shared

const ServerPackageExtensions = [
# walkmeshes: needed to pathfind
Expand Down
5 changes: 3 additions & 2 deletions private/shared.nim
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ import neverwinter/util, neverwinter/resman,
neverwinter/erf, neverwinter/gff, neverwinter/gffjson,
neverwinter/languages, neverwinter/compressedbuf,
neverwinter/exo,
neverwinter/game
neverwinter/game,
neverwinter/checksums

# The things we do to cut down import hassle in tools.
# Should clean this up at some point and let the utils deal with it.
export util, resman, resref, key, resfile, resmemfile, resdir, erf, gff, gffjson,
languages, compressedbuf, exo, game
languages, compressedbuf, exo, game, checksums

import version

Expand Down
Loading