-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
7,250 additions
and
2,118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
// 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": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Mocha", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"preLaunchTask": "build_ts", | ||
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | ||
"stopOnEntry": false, | ||
"args": [ | ||
"test/**/*.js", | ||
"--no-timeouts" | ||
], | ||
"cwd": "${workspaceRoot}", | ||
"runtimeExecutable": null, | ||
"env": { | ||
"NODE_ENV": "testing" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"files.exclude": { | ||
"**/*.js": true, | ||
"**/*d.ts": true, | ||
"**/*d.ts.map": true, | ||
"node_modules/": true, | ||
"**/*js.map": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "build_ts", | ||
"command": "tsc", // Could be any other shell command | ||
"args": [ | ||
"--build" | ||
], | ||
"type": "shell" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { DoodadsTranslator, StringsTranslator, TerrainTranslator, UnitsTranslator, RegionsTranslator, CamerasTranslator, SoundsTranslator, ObjectsTranslator, ImportsTranslator, InfoTranslator } from './lib/translators'; | ||
|
||
export default class Translator { | ||
|
||
public Doodads: DoodadsTranslator; | ||
public Strings: StringsTranslator; | ||
public Terrain: TerrainTranslator; | ||
public Units: UnitsTranslator; | ||
public Regions: RegionsTranslator; | ||
public Cameras: CamerasTranslator; | ||
public Sounds: SoundsTranslator; | ||
|
||
public Objects: ObjectsTranslator; | ||
|
||
public Imports: ImportsTranslator; | ||
public Info: InfoTranslator; | ||
|
||
constructor() { | ||
this.Doodads = new DoodadsTranslator(); | ||
this.Strings = new StringsTranslator(); | ||
this.Terrain = new TerrainTranslator(); | ||
this.Units = new UnitsTranslator(); | ||
this.Regions = new RegionsTranslator(); | ||
this.Cameras = new CamerasTranslator(); | ||
this.Sounds = new SoundsTranslator(); | ||
|
||
this.Objects = new ObjectsTranslator(); | ||
|
||
this.Imports = new ImportsTranslator(); | ||
this.Info = new InfoTranslator(); | ||
} | ||
|
||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.