Adding modding folder with a hacked build.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package level
|
||||
|
||||
const (
|
||||
// ParametersSize is the serialized size, in bytes, of the Parameters structure.
|
||||
ParametersSize = 94
|
||||
)
|
||||
|
||||
// Parameters describes level-global properties.
|
||||
// It also contains information on the auto-maps, which, as per original code, should have been in the game state.
|
||||
type Parameters struct {
|
||||
Size int16
|
||||
_ [2]byte
|
||||
|
||||
CeilingHazardLevel byte
|
||||
FloorHazardLevel byte
|
||||
FloorHazardIsGravity byte
|
||||
BiohazardRegister byte
|
||||
RadiationRegister byte
|
||||
|
||||
_ [4]byte
|
||||
_ [3][27]byte
|
||||
}
|
||||
|
||||
// DefaultParameters returns a new instance of parameters.
|
||||
func DefaultParameters() Parameters {
|
||||
return Parameters{
|
||||
Size: ParametersSize,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user