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,36 @@
package movies
import (
"github.com/inkyblackness/imgui-go/v3"
"github.com/inkyblackness/hacked/ss1/content/movie"
"github.com/inkyblackness/hacked/ui/gui"
)
type compressionListenerFunc func(compressionResult)
type compressingStartState struct {
machine gui.ModalStateMachine
view *View
width int
height int
input movie.Scene
listener compressionListenerFunc
}
func (state compressingStartState) Render() {
imgui.OpenPopup("Compressing...")
task := newCompressionTask(state.input, state.width, state.height)
state.machine.SetState(&compressingWaitingState{
machine: state.machine,
view: state.view,
input: state.input,
listener: state.listener,
task: task,
})
go task.run()
}
func (state compressingStartState) HandleFiles(names []string) {
}