Move to gitea
This commit is contained in:
parent
cbba9006e4
commit
98dad4d273
@ -4,12 +4,12 @@ import (
|
|||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/gamedata"
|
"tea.melonie54.xyz/sean/go-susapp/src/gamedata"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
|
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/mapdata"
|
"tea.melonie54.xyz/sean/go-susapp/src/mapdata"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/packets"
|
"tea.melonie54.xyz/sean/go-susapp/src/packets"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GameDataProcessor struct {
|
type GameDataProcessor struct {
|
||||||
|
@ -4,9 +4,9 @@ import (
|
|||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/gamedata"
|
"tea.melonie54.xyz/sean/go-susapp/src/gamedata"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
|
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GameRPCProcessor struct {
|
type GameRPCProcessor struct {
|
||||||
|
21
go.mod
21
go.mod
@ -3,6 +3,7 @@ module tea.melonie54.xyz/sean/go-susapp
|
|||||||
go 1.17
|
go 1.17
|
||||||
|
|
||||||
replace (
|
replace (
|
||||||
|
tea.melonie54.xyz/sean/go-susapp/src/collision => ./src/collision
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/enum => ./src/enum
|
tea.melonie54.xyz/sean/go-susapp/src/enum => ./src/enum
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/gamedata => ./src/gamedata
|
tea.melonie54.xyz/sean/go-susapp/src/gamedata => ./src/gamedata
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/innernetobjects => ./src/innernetobjects
|
tea.melonie54.xyz/sean/go-susapp/src/innernetobjects => ./src/innernetobjects
|
||||||
@ -11,18 +12,18 @@ replace (
|
|||||||
tea.melonie54.xyz/sean/go-susapp/src/protocol => ./src/protocol
|
tea.melonie54.xyz/sean/go-susapp/src/protocol => ./src/protocol
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/systemtypes => ./src/systemtypes
|
tea.melonie54.xyz/sean/go-susapp/src/systemtypes => ./src/systemtypes
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/util => ./src/util
|
tea.melonie54.xyz/sean/go-susapp/src/util => ./src/util
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/collision => ./src/collision
|
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/enum latest
|
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/gamedata latest
|
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/innernetobjects latest
|
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/packets latest
|
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/protocol latest
|
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/systemtypes latest
|
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/util latest
|
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/mapdata latest
|
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/collision latest
|
|
||||||
github.com/gotk3/gotk3 v0.6.1
|
github.com/gotk3/gotk3 v0.6.1
|
||||||
|
tea.melonie54.xyz/sean/go-susapp/src/collision v0.0.0-20211216203152-cbba9006e452
|
||||||
|
tea.melonie54.xyz/sean/go-susapp/src/enum v0.0.0
|
||||||
|
tea.melonie54.xyz/sean/go-susapp/src/gamedata v0.0.0-20211216203152-cbba9006e452
|
||||||
|
tea.melonie54.xyz/sean/go-susapp/src/innernetobjects v0.0.0-20211216203152-cbba9006e452
|
||||||
|
tea.melonie54.xyz/sean/go-susapp/src/mapdata v0.0.0-20211216203152-cbba9006e452
|
||||||
|
tea.melonie54.xyz/sean/go-susapp/src/packets v0.0.0-20211216203152-cbba9006e452
|
||||||
|
tea.melonie54.xyz/sean/go-susapp/src/protocol v0.0.0
|
||||||
|
tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
|
||||||
)
|
)
|
||||||
|
|
||||||
|
require tea.melonie54.xyz/sean/go-susapp/src/systemtypes v0.0.0 // indirect
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"github.com/gotk3/gotk3/gdk"
|
"github.com/gotk3/gotk3/gdk"
|
||||||
"github.com/gotk3/gotk3/gtk"
|
"github.com/gotk3/gotk3/gtk"
|
||||||
)
|
)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/enum"
|
import "tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
|
|
||||||
func renderSkeld(r *Renderer) {
|
func renderSkeld(r *Renderer) {
|
||||||
renderVents(r, enum.VENTS_SKELD)
|
renderVents(r, enum.VENTS_SKELD)
|
||||||
|
@ -3,8 +3,8 @@ package main
|
|||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
"github.com/gotk3/gotk3/gdk"
|
"github.com/gotk3/gotk3/gdk"
|
||||||
"github.com/gotk3/gotk3/gtk"
|
"github.com/gotk3/gotk3/gtk"
|
||||||
)
|
)
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/collision"
|
"tea.melonie54.xyz/sean/go-susapp/src/collision"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/gamedata"
|
"tea.melonie54.xyz/sean/go-susapp/src/gamedata"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
|
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/packets"
|
"tea.melonie54.xyz/sean/go-susapp/src/packets"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MovementProcessor struct {
|
type MovementProcessor struct {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/enum"
|
import "tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
|
|
||||||
var taskMapTypeMapped = map[byte]map[byte]enum.TaskData{
|
var taskMapTypeMapped = map[byte]map[byte]enum.TaskData{
|
||||||
enum.MAP_THE_SKELD: enum.TASKS_SKELD,
|
enum.MAP_THE_SKELD: enum.TASKS_SKELD,
|
||||||
|
@ -4,12 +4,12 @@ import (
|
|||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/gamedata"
|
"tea.melonie54.xyz/sean/go-susapp/src/gamedata"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
|
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/packets"
|
"tea.melonie54.xyz/sean/go-susapp/src/packets"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PacketProcessor struct {
|
type PacketProcessor struct {
|
||||||
|
@ -6,9 +6,9 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
|
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
|
|
||||||
"github.com/gotk3/gotk3/cairo"
|
"github.com/gotk3/gotk3/cairo"
|
||||||
"github.com/gotk3/gotk3/gtk"
|
"github.com/gotk3/gotk3/gtk"
|
||||||
|
@ -3,7 +3,7 @@ package main
|
|||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SettingsJSON struct {
|
type SettingsJSON struct {
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"github.com/gotk3/gotk3/glib"
|
"github.com/gotk3/gotk3/glib"
|
||||||
"github.com/gotk3/gotk3/gtk"
|
"github.com/gotk3/gotk3/gtk"
|
||||||
)
|
)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package collision
|
package collision
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func CollisionLineCircle(a util.Vec2, b util.Vec2, c util.Vec2, r float32) (bool, util.Vec2) {
|
func CollisionLineCircle(a util.Vec2, b util.Vec2, c util.Vec2, r float32) (bool, util.Vec2) {
|
||||||
|
@ -8,5 +8,5 @@ replace (
|
|||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/util latest
|
tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@ package collision
|
|||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CollisionAsset [][]util.Vec2
|
type CollisionAsset [][]util.Vec2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package enum
|
package enum
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/util"
|
import "tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
|
|
||||||
type VentData struct {
|
type VentData struct {
|
||||||
ID byte
|
ID byte
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package enum
|
package enum
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/util"
|
import "tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
|
|
||||||
var VENTS_AIRSHIP = map[byte]VentData{
|
var VENTS_AIRSHIP = map[byte]VentData{
|
||||||
0: NewVentData(0, util.NewVec2(-12.6322, 8.4735), []byte{1}),
|
0: NewVentData(0, util.NewVec2(-12.6322, 8.4735), []byte{1}),
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package enum
|
package enum
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/util"
|
import "tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
|
|
||||||
var VENTS_MIRA = map[byte]VentData{
|
var VENTS_MIRA = map[byte]VentData{
|
||||||
1: NewVentData(1, util.NewVec2(23.769283, -1.576561), []byte{1}),
|
1: NewVentData(1, util.NewVec2(23.769283, -1.576561), []byte{1}),
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package enum
|
package enum
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/util"
|
import "tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
|
|
||||||
var VENTS_POLUS = map[byte]VentData{
|
var VENTS_POLUS = map[byte]VentData{
|
||||||
0: NewVentData(0, util.NewVec2(1.9281311, -9.195087), []byte{1}),
|
0: NewVentData(0, util.NewVec2(1.9281311, -9.195087), []byte{1}),
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package enum
|
package enum
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/util"
|
import "tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
|
|
||||||
var VENTS_SKELD = map[byte]VentData{
|
var VENTS_SKELD = map[byte]VentData{
|
||||||
0: NewVentData(0, util.NewVec2(2.543373, -9.59182), []byte{1}),
|
0: NewVentData(0, util.NewVec2(2.543373, -9.59182), []byte{1}),
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package gamedata
|
package gamedata
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DataH2G struct {
|
type DataH2G struct {
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package gamedata
|
package gamedata
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package gamedata
|
package gamedata
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type SpawnH2G struct {
|
type SpawnH2G struct {
|
||||||
SpawnType uint32
|
SpawnType uint32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package gamedata
|
package gamedata
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type DespawnH2G struct {
|
type DespawnH2G struct {
|
||||||
NetID uint32
|
NetID uint32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package gamedata
|
package gamedata
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type SceneChangeC2H struct {
|
type SceneChangeC2H struct {
|
||||||
ClientID uint32
|
ClientID uint32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package gamedata
|
package gamedata
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type ReadyC2H struct {
|
type ReadyC2H struct {
|
||||||
ReadyClientID uint32
|
ReadyClientID uint32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package gamedata
|
package gamedata
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type ClientInfoC2S struct {
|
type ClientInfoC2S struct {
|
||||||
ClientID uint32
|
ClientID uint32
|
||||||
|
@ -8,6 +8,6 @@ replace (
|
|||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/protocol latest
|
tea.melonie54.xyz/sean/go-susapp/src/protocol v0.0.0
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/util latest
|
tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
|
||||||
)
|
)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package innernetobjects
|
package innernetobjects
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GameData struct {
|
type GameData struct {
|
||||||
|
@ -10,8 +10,8 @@ replace (
|
|||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/enum latest
|
tea.melonie54.xyz/sean/go-susapp/src/enum v0.0.0
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/protocol latest
|
tea.melonie54.xyz/sean/go-susapp/src/protocol v0.0.0
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/systemtypes latest
|
tea.melonie54.xyz/sean/go-susapp/src/systemtypes v0.0.0
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/util latest
|
tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
|
||||||
)
|
)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package innernetobjects
|
package innernetobjects
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type InnerNetObject interface {
|
type InnerNetObject interface {
|
||||||
Write(packet *protocol.Packet, isSpawn bool)
|
Write(packet *protocol.Packet, isSpawn bool)
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package innernetobjects
|
package innernetobjects
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/systemtypes"
|
"tea.melonie54.xyz/sean/go-susapp/src/systemtypes"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MiraShipStatus struct {
|
type MiraShipStatus struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package innernetobjects
|
package innernetobjects
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PlayerControl struct {
|
type PlayerControl struct {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package innernetobjects
|
package innernetobjects
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PlayerNetworkTransform struct {
|
type PlayerNetworkTransform struct {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package innernetobjects
|
package innernetobjects
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
// PlayerPhysics has no data
|
// PlayerPhysics has no data
|
||||||
type PlayerPhysics struct{}
|
type PlayerPhysics struct{}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package innernetobjects
|
package innernetobjects
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/systemtypes"
|
"tea.melonie54.xyz/sean/go-susapp/src/systemtypes"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PolusShipStatus struct {
|
type PolusShipStatus struct {
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package innernetobjects
|
package innernetobjects
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/systemtypes"
|
"tea.melonie54.xyz/sean/go-susapp/src/systemtypes"
|
||||||
)
|
)
|
||||||
|
|
||||||
func WriteShipStatus(Systems map[int]systemtypes.SystemType, SystemsMask *uint32, packet *protocol.Packet, isSpawn bool) {
|
func WriteShipStatus(Systems map[int]systemtypes.SystemType, SystemsMask *uint32, packet *protocol.Packet, isSpawn bool) {
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package innernetobjects
|
package innernetobjects
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/systemtypes"
|
"tea.melonie54.xyz/sean/go-susapp/src/systemtypes"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SkeldShipStatus struct {
|
type SkeldShipStatus struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package innernetobjects
|
package innernetobjects
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type VoteBanSystem struct {
|
type VoteBanSystem struct {
|
||||||
|
@ -7,4 +7,4 @@ replace (
|
|||||||
tea.melonie54.xyz/sean/go-susapp/src/util => ../util
|
tea.melonie54.xyz/sean/go-susapp/src/util => ../util
|
||||||
)
|
)
|
||||||
|
|
||||||
require tea.melonie54.xyz/sean/go-susapp/src/util latest
|
require tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package mapdata
|
package mapdata
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/util"
|
import "tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
|
|
||||||
var LobbySpawnPositions = []util.Vec2{
|
var LobbySpawnPositions = []util.Vec2{
|
||||||
util.NewVec2(-1.6, 2.4),
|
util.NewVec2(-1.6, 2.4),
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type HostGameC2S struct {
|
type HostGameC2S struct {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type HostGameS2C struct {
|
type HostGameS2C struct {
|
||||||
GameID int32
|
GameID int32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type JoinGameC2S struct {
|
type JoinGameC2S struct {
|
||||||
GameID int32
|
GameID int32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type JoinGameS2C struct {
|
type JoinGameS2C struct {
|
||||||
DisconnectReason int32
|
DisconnectReason int32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type JoinGameS2G struct {
|
type JoinGameS2G struct {
|
||||||
GameID int32
|
GameID int32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type StartGameH2G struct {
|
type StartGameH2G struct {
|
||||||
GameID int32
|
GameID int32
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RemoveGameS2C struct {
|
type RemoveGameS2C struct {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RemovePlayerH2C struct {
|
type RemovePlayerH2C struct {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RemovePlayerS2G struct {
|
type RemovePlayerS2G struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GameDataAll struct {
|
type GameDataAll struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GameDataTo struct {
|
type GameDataTo struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type JoinedGameH2C struct {
|
type JoinedGameH2C struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type EndGameH2G struct {
|
type EndGameH2G struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type AlterGameH2G struct {
|
type AlterGameH2G struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type KickPlayerH2G struct {
|
type KickPlayerH2G struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type WaitForHostC2H struct {
|
type WaitForHostC2H struct {
|
||||||
|
@ -3,7 +3,7 @@ package packets
|
|||||||
import (
|
import (
|
||||||
"net"
|
"net"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RedirectS2C struct {
|
type RedirectS2C struct {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ReselectServerS2C struct {
|
type ReselectServerS2C struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetGameListV2C2S struct {
|
type GetGameListV2C2S struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetGameListV2S2C struct {
|
type GetGameListV2S2C struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ReportPlayerC2S struct {
|
type ReportPlayerC2S struct {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ReportPlayerS2C struct {
|
type ReportPlayerS2C struct {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package packets
|
package packets
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
// PacketBase PacketType
|
// PacketBase PacketType
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ tea.melonie54.xyz/sean/go-susapp/src/enum => ../enum
|
|||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/enum latest
|
tea.melonie54.xyz/sean/go-susapp/src/enum v0.0.0
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/protocol latest
|
tea.melonie54.xyz/sean/go-susapp/src/protocol v0.0.0
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/util latest
|
tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
|
||||||
)
|
)
|
||||||
|
@ -3,4 +3,4 @@ module tea.melonie54.xyz/sean/go-susapp/src/protocol
|
|||||||
go 1.17
|
go 1.17
|
||||||
|
|
||||||
replace tea.melonie54.xyz/sean/go-susapp/src/util => ../util
|
replace tea.melonie54.xyz/sean/go-susapp/src/util => ../util
|
||||||
require tea.melonie54.xyz/sean/go-susapp/src/util latest
|
require tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
|
||||||
|
@ -5,7 +5,7 @@ import (
|
|||||||
"math"
|
"math"
|
||||||
"net"
|
"net"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Packet struct {
|
type Packet struct {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
type AutoDoorsSystem struct {
|
type AutoDoorsSystem struct {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type DeconSystem struct {
|
type DeconSystem struct {
|
||||||
Timer byte
|
Timer byte
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type DoorsSystem struct {
|
type DoorsSystem struct {
|
||||||
DoorCooldowns []*DoorCooldown
|
DoorCooldowns []*DoorCooldown
|
||||||
|
@ -8,6 +8,6 @@ replace (
|
|||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/protocol latest
|
tea.melonie54.xyz/sean/go-susapp/src/protocol v0.0.0
|
||||||
tea.melonie54.xyz/sean/go-susapp/src/util latest
|
tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
|
||||||
)
|
)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type HqHudSystem struct {
|
type HqHudSystem struct {
|
||||||
ActiveConsoles []*UserConsolePair
|
ActiveConsoles []*UserConsolePair
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type HudOverrideSystem struct {
|
type HudOverrideSystem struct {
|
||||||
IsSabotaged bool
|
IsSabotaged bool
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type LifeSuppSystem struct {
|
type LifeSuppSystem struct {
|
||||||
Timer float32
|
Timer float32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type MedScanSystem struct {
|
type MedScanSystem struct {
|
||||||
Players []byte
|
Players []byte
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type ReactorSystem struct {
|
type ReactorSystem struct {
|
||||||
Timer float32
|
Timer float32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type SabotageSystem struct {
|
type SabotageSystem struct {
|
||||||
Cooldown float32
|
Cooldown float32
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type SecurityCameraSystem struct {
|
type SecurityCameraSystem struct {
|
||||||
Players []byte
|
Players []byte
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type SwitchSystem struct {
|
type SwitchSystem struct {
|
||||||
ExpectedSwitches byte
|
ExpectedSwitches byte
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type SystemType interface {
|
type SystemType interface {
|
||||||
Write(packet *protocol.Packet, isSpawn bool)
|
Write(packet *protocol.Packet, isSpawn bool)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package systemtypes
|
package systemtypes
|
||||||
|
|
||||||
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
|
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
|
|
||||||
type UserConsolePair struct {
|
type UserConsolePair struct {
|
||||||
PlayerID byte
|
PlayerID byte
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
module tea.melonie54.xyz/sean/go-susapp/src/util
|
module tea.melonie54.xyz/sean/go-susapp/src/util
|
||||||
|
|
||||||
go 1.17
|
go 1.17
|
||||||
|
|
||||||
replace tea.melonie54.xyz/sean/go-susapp/src/protocol => ../protocol
|
|
||||||
|
|
||||||
require tea.melonie54.xyz/sean/go-susapp/src/protocol latest
|
|
||||||
|
8
state.go
8
state.go
@ -4,10 +4,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/collision"
|
"tea.melonie54.xyz/sean/go-susapp/src/collision"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
|
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
)
|
)
|
||||||
|
|
||||||
type State struct {
|
type State struct {
|
||||||
|
12
sus.go
12
sus.go
@ -12,14 +12,14 @@ import (
|
|||||||
"github.com/gotk3/gotk3/glib"
|
"github.com/gotk3/gotk3/glib"
|
||||||
"github.com/gotk3/gotk3/gtk"
|
"github.com/gotk3/gotk3/gtk"
|
||||||
|
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/enum"
|
"tea.melonie54.xyz/sean/go-susapp/src/enum"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/gamedata"
|
"tea.melonie54.xyz/sean/go-susapp/src/gamedata"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/packets"
|
"tea.melonie54.xyz/sean/go-susapp/src/packets"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/protocol"
|
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
|
||||||
"codehub.onpointcoding.net/sean/go-susapp/util"
|
"tea.melonie54.xyz/sean/go-susapp/src/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
const appID = "net.onpointcoding.susapp"
|
const appID = "xyz.melonie54.susapp"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Println("Booting Sus App")
|
fmt.Println("Booting Sus App")
|
||||||
|
Loading…
Reference in New Issue
Block a user