ignore new binary

Create new bserv binary

Herein lie the following ideas:

- change package visibility of many things
- try to stash the globals into structs
- the code is far from correct; it merely compiles
This commit is contained in:
sm
2014-03-31 23:21:14 -07:00
parent 62222a9ad9
commit c8efd34080
16 changed files with 146 additions and 126 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
package main
package botserv
import (
"encoding/json"
@@ -31,7 +31,7 @@ const (
DEFAULT_MODE = "deathmatch"
)
func loadConfig(filename string) (Config, error) {
func LoadConfig(filename string) (Config, error) {
c := Config{
Tick: TICK,
Timescale: TIMESCALE,