Restructured the layout

This commit is contained in:
Tim Sarbin 2019-10-24 11:26:07 -04:00
parent 721a467bf7
commit d9b471fc50
21 changed files with 15 additions and 32 deletions

BIN
Client.exe Normal file

Binary file not shown.

View File

@ -8,8 +8,8 @@ import (
"strings"
"sync"
"./Common"
"./ResourcePaths"
"github.com/essial/OpenDiablo2/Common"
"github.com/essial/OpenDiablo2/ResourcePaths"
"github.com/hajimehoshi/ebiten"
)

Binary file not shown.

View File

@ -19,9 +19,15 @@ ALL OTHER TRADEMARKS ARE THE PROPERTY OF THEIR RESPECTIVE OWNERS.
## Building
In the root folder, run `go get -d ./src/App` to pull down all dependencies.
To pull the project down, run `go get https://github.com/essial/OpenDiablo2`
To run the project, run `go run ./src/App` from the root project folder.
On windows this folder will most likely be in `C:\\users\\(you)\\go\\src\\github.com\\essial\\OpenDiablo2`
In the root folder, run `go get -d` to pull down all dependencies.
To run the project, run `go run ./cmd/Client` from the root folder.
You can also open the root folder in VSCode. Make sure you have the `ms-vscode.go` plugin installed.
## Configuration

View File

@ -1,7 +1,7 @@
package OpenDiablo2
import (
"./ResourcePaths"
"github.com/essial/OpenDiablo2/ResourcePaths"
"github.com/hajimehoshi/ebiten"
)

View File

@ -1,4 +1,4 @@
#!/bin/bash
go get ./src/App
golangci-lint run ./src/App
go build ./src/App
go get
golangci-lint run .
go build ./cmd/Client

View File

@ -3,7 +3,7 @@ package main
import (
"log"
"../OpenDiablo2"
"github.com/essial/OpenDiablo2"
"github.com/hajimehoshi/ebiten"
)

View File

@ -1,18 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/App",
"env": {},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}

View File

@ -1,5 +0,0 @@
{
"go.lintFlags": [
"--exclude=\"\bexported \\w+ (\\S*['.]*)([a-zA-Z'.*]*) should have comment or be unexported\b\""
]
}