Adding modding folder with a hacked build.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package world
|
||||
|
||||
import "github.com/inkyblackness/hacked/ss1/resource"
|
||||
|
||||
// BlockPatch describes a raw delta-change of a resource block.
|
||||
// The change can be applied, and reverted.
|
||||
type BlockPatch struct {
|
||||
// ID identifier of the resource
|
||||
ID resource.ID
|
||||
// BlockIndex identifies the block for which the patch applies.
|
||||
BlockIndex int
|
||||
// BlockLength describes the expected length of the block.
|
||||
BlockLength int
|
||||
|
||||
// ForwardData contains the delta information to patch to a new version.
|
||||
ForwardData []byte
|
||||
// ReverseData contains the delta information to change a new version back to the original.
|
||||
ReverseData []byte
|
||||
}
|
||||
Reference in New Issue
Block a user