diff --git a/d2core/d2item/diablo2item/item.go b/d2core/d2item/diablo2item/item.go index 061cf59a..70271acc 100644 --- a/d2core/d2item/diablo2item/item.go +++ b/d2core/d2item/diablo2item/item.go @@ -820,7 +820,8 @@ func (i *Item) Identify() *Item { return i } -// from a string table +// string table keys +// nolint:deadcode,unused,varcheck // WIP const ( reqNotMet = "ItemStats1a" // "Requirements not met", unidentified = "ItemStats1b" // "Unidentified", diff --git a/d2core/d2records/object_types_loader.go b/d2core/d2records/object_types_loader.go index 0e6833d7..97f0eec1 100644 --- a/d2core/d2records/object_types_loader.go +++ b/d2core/d2records/object_types_loader.go @@ -7,11 +7,6 @@ import ( "github.com/OpenDiablo2/OpenDiablo2/d2common/d2fileformats/d2txt" ) -const ( - nameSize = 32 - tokenSize = 20 -) - // LoadObjectTypes loads ObjectTypeRecords from objtype.txt func objectTypesLoader(r *RecordManager, d *d2txt.DataDictionary) error { records := make(ObjectTypes, 0) diff --git a/d2networking/d2server/game_server.go b/d2networking/d2server/game_server.go index a44b5271..32d33c3c 100644 --- a/d2networking/d2server/game_server.go +++ b/d2networking/d2server/game_server.go @@ -25,7 +25,7 @@ import ( const ( port = "6669" - chunkSize int = 4096 + chunkSize int = 4096 // nolint:deadcode,unused,varcheck // WIP subtilesPerTile = 5 middleOfTileOffset = 3 )