Move to gitea

This commit is contained in:
Melon 2021-12-16 20:57:35 +00:00
parent cbba9006e4
commit 98dad4d273
Signed by: melon
GPG Key ID: B0ADD5395BCDAAB6
84 changed files with 145 additions and 148 deletions

View File

@ -4,12 +4,12 @@ import (
"encoding/hex"
"fmt"
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/gamedata"
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
"codehub.onpointcoding.net/sean/go-susapp/mapdata"
"codehub.onpointcoding.net/sean/go-susapp/packets"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/gamedata"
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
"tea.melonie54.xyz/sean/go-susapp/src/mapdata"
"tea.melonie54.xyz/sean/go-susapp/src/packets"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type GameDataProcessor struct {

View File

@ -4,9 +4,9 @@ import (
"encoding/hex"
"fmt"
"codehub.onpointcoding.net/sean/go-susapp/gamedata"
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/gamedata"
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type GameRPCProcessor struct {

21
go.mod
View File

@ -3,6 +3,7 @@ module tea.melonie54.xyz/sean/go-susapp
go 1.17
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/gamedata => ./src/gamedata
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/systemtypes => ./src/systemtypes
tea.melonie54.xyz/sean/go-susapp/src/util => ./src/util
tea.melonie54.xyz/sean/go-susapp/src/collision => ./src/collision
)
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
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

View File

@ -1,7 +1,7 @@
package main
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/gtk"
)

View File

@ -1,6 +1,6 @@
package main
import "codehub.onpointcoding.net/sean/go-susapp/enum"
import "tea.melonie54.xyz/sean/go-susapp/src/enum"
func renderSkeld(r *Renderer) {
renderVents(r, enum.VENTS_SKELD)

View File

@ -3,8 +3,8 @@ package main
import (
"time"
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/util"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/util"
"github.com/gotk3/gotk3/gdk"
"github.com/gotk3/gotk3/gtk"
)

View File

@ -1,13 +1,13 @@
package main
import (
"codehub.onpointcoding.net/sean/go-susapp/collision"
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/gamedata"
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
"codehub.onpointcoding.net/sean/go-susapp/packets"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"codehub.onpointcoding.net/sean/go-susapp/util"
"tea.melonie54.xyz/sean/go-susapp/src/collision"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/gamedata"
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
"tea.melonie54.xyz/sean/go-susapp/src/packets"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/util"
)
type MovementProcessor struct {

View File

@ -1,6 +1,6 @@
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{
enum.MAP_THE_SKELD: enum.TASKS_SKELD,

View File

@ -4,12 +4,12 @@ import (
"encoding/hex"
"fmt"
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/gamedata"
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
"codehub.onpointcoding.net/sean/go-susapp/packets"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"codehub.onpointcoding.net/sean/go-susapp/util"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/gamedata"
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
"tea.melonie54.xyz/sean/go-susapp/src/packets"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/util"
)
type PacketProcessor struct {

View File

@ -6,9 +6,9 @@ import (
"strconv"
"time"
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
"codehub.onpointcoding.net/sean/go-susapp/util"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
"tea.melonie54.xyz/sean/go-susapp/src/util"
"github.com/gotk3/gotk3/cairo"
"github.com/gotk3/gotk3/gtk"

View File

@ -3,7 +3,7 @@ package main
import (
"encoding/json"
"codehub.onpointcoding.net/sean/go-susapp/enum"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
)
type SettingsJSON struct {

View File

@ -5,7 +5,7 @@ import (
"log"
"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/gtk"
)

View File

@ -1,7 +1,7 @@
package collision
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) {

View File

@ -8,5 +8,5 @@ replace (
)
require (
tea.melonie54.xyz/sean/go-susapp/src/util latest
tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
)

View File

@ -3,7 +3,7 @@ package collision
import (
"encoding/json"
"codehub.onpointcoding.net/sean/go-susapp/util"
"tea.melonie54.xyz/sean/go-susapp/src/util"
)
type CollisionAsset [][]util.Vec2

View File

@ -1,6 +1,6 @@
package enum
import "codehub.onpointcoding.net/sean/go-susapp/util"
import "tea.melonie54.xyz/sean/go-susapp/src/util"
type VentData struct {
ID byte

View File

@ -1,6 +1,6 @@
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{
0: NewVentData(0, util.NewVec2(-12.6322, 8.4735), []byte{1}),

View File

@ -1,6 +1,6 @@
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{
1: NewVentData(1, util.NewVec2(23.769283, -1.576561), []byte{1}),

View File

@ -1,6 +1,6 @@
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{
0: NewVentData(0, util.NewVec2(1.9281311, -9.195087), []byte{1}),

View File

@ -1,6 +1,6 @@
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{
0: NewVentData(0, util.NewVec2(2.543373, -9.59182), []byte{1}),

View File

@ -1,7 +1,7 @@
package gamedata
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type DataH2G struct {

View File

@ -1,9 +1,9 @@
package gamedata
import (
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"codehub.onpointcoding.net/sean/go-susapp/util"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/util"
)
//

View File

@ -1,6 +1,6 @@
package gamedata
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type SpawnH2G struct {
SpawnType uint32

View File

@ -1,6 +1,6 @@
package gamedata
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type DespawnH2G struct {
NetID uint32

View File

@ -1,6 +1,6 @@
package gamedata
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type SceneChangeC2H struct {
ClientID uint32

View File

@ -1,6 +1,6 @@
package gamedata
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type ReadyC2H struct {
ReadyClientID uint32

View File

@ -1,6 +1,6 @@
package gamedata
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type ClientInfoC2S struct {
ClientID uint32

View File

@ -8,6 +8,6 @@ replace (
)
require (
tea.melonie54.xyz/sean/go-susapp/src/protocol latest
tea.melonie54.xyz/sean/go-susapp/src/util latest
tea.melonie54.xyz/sean/go-susapp/src/protocol v0.0.0
tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
)

View File

@ -1,7 +1,7 @@
package innernetobjects
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type GameData struct {

View File

@ -10,8 +10,8 @@ replace (
)
require (
tea.melonie54.xyz/sean/go-susapp/src/enum 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/enum v0.0.0
tea.melonie54.xyz/sean/go-susapp/src/protocol v0.0.0
tea.melonie54.xyz/sean/go-susapp/src/systemtypes v0.0.0
tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
)

View File

@ -1,6 +1,6 @@
package innernetobjects
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type InnerNetObject interface {
Write(packet *protocol.Packet, isSpawn bool)

View File

@ -1,9 +1,9 @@
package innernetobjects
import (
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"codehub.onpointcoding.net/sean/go-susapp/systemtypes"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/systemtypes"
)
type MiraShipStatus struct {

View File

@ -1,7 +1,7 @@
package innernetobjects
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type PlayerControl struct {

View File

@ -1,8 +1,8 @@
package innernetobjects
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"codehub.onpointcoding.net/sean/go-susapp/util"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/util"
)
type PlayerNetworkTransform struct {

View File

@ -1,6 +1,6 @@
package innernetobjects
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
// PlayerPhysics has no data
type PlayerPhysics struct{}

View File

@ -1,9 +1,9 @@
package innernetobjects
import (
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"codehub.onpointcoding.net/sean/go-susapp/systemtypes"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/systemtypes"
)
type PolusShipStatus struct {

View File

@ -1,9 +1,9 @@
package innernetobjects
import (
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"codehub.onpointcoding.net/sean/go-susapp/systemtypes"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/systemtypes"
)
func WriteShipStatus(Systems map[int]systemtypes.SystemType, SystemsMask *uint32, packet *protocol.Packet, isSpawn bool) {

View File

@ -1,9 +1,9 @@
package innernetobjects
import (
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"codehub.onpointcoding.net/sean/go-susapp/systemtypes"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/systemtypes"
)
type SkeldShipStatus struct {

View File

@ -1,7 +1,7 @@
package innernetobjects
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type VoteBanSystem struct {

View File

@ -7,4 +7,4 @@ 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

View File

@ -1,6 +1,6 @@
package mapdata
import "codehub.onpointcoding.net/sean/go-susapp/util"
import "tea.melonie54.xyz/sean/go-susapp/src/util"
var LobbySpawnPositions = []util.Vec2{
util.NewVec2(-1.6, 2.4),

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type HostGameC2S struct {

View File

@ -1,6 +1,6 @@
package packets
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type HostGameS2C struct {
GameID int32

View File

@ -1,6 +1,6 @@
package packets
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type JoinGameC2S struct {
GameID int32

View File

@ -1,6 +1,6 @@
package packets
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type JoinGameS2C struct {
DisconnectReason int32

View File

@ -1,6 +1,6 @@
package packets
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type JoinGameS2G struct {
GameID int32

View File

@ -1,6 +1,6 @@
package packets
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type StartGameH2G struct {
GameID int32

View File

@ -1,8 +1,8 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type RemoveGameS2C struct {

View File

@ -1,8 +1,8 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type RemovePlayerH2C struct {

View File

@ -1,8 +1,8 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type RemovePlayerS2G struct {

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type GameDataAll struct {

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type GameDataTo struct {

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type JoinedGameH2C struct {

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type EndGameH2G struct {

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type AlterGameH2G struct {

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type KickPlayerH2G struct {

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type WaitForHostC2H struct {

View File

@ -3,7 +3,7 @@ package packets
import (
"net"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type RedirectS2C struct {

View File

@ -1,8 +1,8 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"codehub.onpointcoding.net/sean/go-susapp/util"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/util"
)
type ReselectServerS2C struct {

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type GetGameListV2C2S struct {

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type GetGameListV2S2C struct {

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type ReportPlayerC2S struct {

View File

@ -1,7 +1,7 @@
package packets
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type ReportPlayerS2C struct {

View File

@ -1,6 +1,6 @@
package packets
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
// PacketBase PacketType

View File

@ -9,7 +9,7 @@ tea.melonie54.xyz/sean/go-susapp/src/enum => ../enum
)
require (
tea.melonie54.xyz/sean/go-susapp/src/enum latest
tea.melonie54.xyz/sean/go-susapp/src/protocol latest
tea.melonie54.xyz/sean/go-susapp/src/util latest
tea.melonie54.xyz/sean/go-susapp/src/enum v0.0.0
tea.melonie54.xyz/sean/go-susapp/src/protocol v0.0.0
tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
)

View File

@ -3,4 +3,4 @@ module tea.melonie54.xyz/sean/go-susapp/src/protocol
go 1.17
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

View File

@ -5,7 +5,7 @@ import (
"math"
"net"
"codehub.onpointcoding.net/sean/go-susapp/util"
"tea.melonie54.xyz/sean/go-susapp/src/util"
)
type Packet struct {

View File

@ -1,8 +1,8 @@
package systemtypes
import (
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"codehub.onpointcoding.net/sean/go-susapp/util"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/util"
)
type AutoDoorsSystem struct {

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type DeconSystem struct {
Timer byte

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type DoorsSystem struct {
DoorCooldowns []*DoorCooldown

View File

@ -8,6 +8,6 @@ replace (
)
require (
tea.melonie54.xyz/sean/go-susapp/src/protocol latest
tea.melonie54.xyz/sean/go-susapp/src/util latest
tea.melonie54.xyz/sean/go-susapp/src/protocol v0.0.0
tea.melonie54.xyz/sean/go-susapp/src/util v0.0.0
)

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type HqHudSystem struct {
ActiveConsoles []*UserConsolePair

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type HudOverrideSystem struct {
IsSabotaged bool

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type LifeSuppSystem struct {
Timer float32

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type MedScanSystem struct {
Players []byte

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type ReactorSystem struct {
Timer float32

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type SabotageSystem struct {
Cooldown float32

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type SecurityCameraSystem struct {
Players []byte

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type SwitchSystem struct {
ExpectedSwitches byte

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type SystemType interface {
Write(packet *protocol.Packet, isSpawn bool)

View File

@ -1,6 +1,6 @@
package systemtypes
import "codehub.onpointcoding.net/sean/go-susapp/protocol"
import "tea.melonie54.xyz/sean/go-susapp/src/protocol"
type UserConsolePair struct {
PlayerID byte

View File

@ -1,7 +1,3 @@
module tea.melonie54.xyz/sean/go-susapp/src/util
go 1.17
replace tea.melonie54.xyz/sean/go-susapp/src/protocol => ../protocol
require tea.melonie54.xyz/sean/go-susapp/src/protocol latest

View File

@ -4,10 +4,10 @@ import (
"fmt"
"os"
"codehub.onpointcoding.net/sean/go-susapp/collision"
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/innernetobjects"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/collision"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/innernetobjects"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
)
type State struct {

12
sus.go
View File

@ -12,14 +12,14 @@ import (
"github.com/gotk3/gotk3/glib"
"github.com/gotk3/gotk3/gtk"
"codehub.onpointcoding.net/sean/go-susapp/enum"
"codehub.onpointcoding.net/sean/go-susapp/gamedata"
"codehub.onpointcoding.net/sean/go-susapp/packets"
"codehub.onpointcoding.net/sean/go-susapp/protocol"
"codehub.onpointcoding.net/sean/go-susapp/util"
"tea.melonie54.xyz/sean/go-susapp/src/enum"
"tea.melonie54.xyz/sean/go-susapp/src/gamedata"
"tea.melonie54.xyz/sean/go-susapp/src/packets"
"tea.melonie54.xyz/sean/go-susapp/src/protocol"
"tea.melonie54.xyz/sean/go-susapp/src/util"
)
const appID = "net.onpointcoding.susapp"
const appID = "xyz.melonie54.susapp"
func main() {
fmt.Println("Booting Sus App")