Adding modding folder with a hacked build.

This commit is contained in:
ml
2026-09-26 08:53:08 +02:00
parent cdb960dc71
commit c91080aba7
755 changed files with 50424 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
package world
import "github.com/inkyblackness/hacked/ss1"
const (
// StartingLevel identifies the level a new game is started in by default.
StartingLevel = 1
// StartingTileX identifies the default X position of the protagonist.
StartingTileX = 30
// StartingTileY identifies the default Y position of the protagonist.
StartingTileY = 22
// MaxWorldTextures is the limit of how many textures the engine supports.
// Note that this value is equal to that of the resource limits in package ids. It is actually based on them.
MaxWorldTextures = 293
)
const (
// TexturePropertiesFilename specifies the lowercase name of the file containing texture properties.
TexturePropertiesFilename = "textprop.dat"
// ObjectPropertiesFilename specifies the lowercase name of the file containing object properties.
ObjectPropertiesFilename = "objprop.dat"
)
const (
errNoResourcesFound ss1.StringError = "resource unknown"
errBlockLengthMismatch ss1.StringError = "block length mismatch"
errIndexOutOfBounds ss1.StringError = "index is out of bounds"
errEntryIsNil ss1.StringError = "entry is nil"
)