-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathhft.hanson
64 lines (56 loc) · 1.47 KB
/
hft.hanson
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
hftDefaults: {
useTemplate: {
"controller": true,
},
},
hftGameTypeDefaults: {
html: {
useTemplate: {
"game": true,
},
gameUrl: "gameview.html",
},
Unity3D: {
gameExecutable: "unitygame",
},
"html-example": {
useTemplate: {
"game": true,
},
gameUrl: "gameview.html",
},
},
apiVersionSettings: {
"0.0.0-unsupportedApiVersion": {
templates: {
controller: "templates/unsupportedApiVersion/controller.index.html",
game: "templates/unsupportedApiVersion/game.gameview.html",
},
},
"0.0.1": {
templates: {
controller: "templates/0.x.x/controller.index.html",
game: "templates/0.x.x/game.gameview.html",
},
},
"1.15.0": {
templates: {
controller: "templates/0.x.x/controller.index.html",
game: "templates/0.x.x/game.gameview.html",
},
},
},
settings: {
// The default port. Note, lots of places have this hardcoded :(
port: 18679,
// The URL for the rendezvous server
rendezvousUrl: "http://happyfuntimes.net/api/inform2",
rendezvousRetryTimeout: 10, // in seconds
rendezvousRetryTimes: 60, // number of times to retry
// The URL for the games API.
gamesUrl: "http://api.superhappyfuntimes.net/hftapi/v0/games",
// The URL to add games to superhappyfuntimes.
manageEndpoint: "http://manage.superhappyfuntimes.net/api/v0/updateGame",
},
}