Adding modding folder with a hacked build.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package texts
|
||||
|
||||
import (
|
||||
"github.com/inkyblackness/hacked/ss1/edit"
|
||||
"github.com/inkyblackness/hacked/ss1/resource"
|
||||
)
|
||||
|
||||
type viewModel struct {
|
||||
windowOpen bool
|
||||
restoreFocus bool
|
||||
currentKey resource.Key
|
||||
}
|
||||
|
||||
func freshViewModel() viewModel {
|
||||
return viewModel{
|
||||
currentKey: resource.KeyOf(edit.KnownTexts()[0].ID, resource.LangDefault, 0),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user