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
@@ -0,0 +1,14 @@
package compression
// PackedControlWord contains a ControlWord together with a count value of occurrences.
type PackedControlWord uint32
// Times returns the amount of occurrences of the contained control word.
func (packed PackedControlWord) Times() int {
return int((packed >> 24) & 0xFF)
}
// Value returns the control word value.
func (packed PackedControlWord) Value() ControlWord {
return ControlWord(uint32(packed) & 0x00FFFFFF)
}