You've already forked FullScreenPokemon
mirror of
https://github.com/FullScreenShenanigans/FullScreenPokemon.git
synced 2026-04-28 12:58:40 -07:00
Added TS compilation to settings files in grunt
Updated GameStartr to make it work.
This commit is contained in:
+8
-2
@@ -21,10 +21,16 @@ module.exports = function (grunt) {
|
||||
},
|
||||
"typescript": {
|
||||
"base": {
|
||||
"src": "<%= meta.paths.source %>/<%= pkg.name %>.ts"
|
||||
"src": [
|
||||
"<%= meta.paths.source %>/<%= pkg.name %>.ts",
|
||||
"<%= meta.paths.source %>/settings/**/*.ts"
|
||||
]
|
||||
},
|
||||
"distribution": {
|
||||
"src": "<%= meta.paths.source %>/<%= pkg.name %>.ts",
|
||||
"src": [
|
||||
"<%= meta.paths.source %>/<%= pkg.name %>.ts",
|
||||
"<%= meta.paths.source %>/settings/**/*.ts"
|
||||
],
|
||||
"dest": "<%= meta.paths.dist %>/<%= pkg.name %>-<%= pkg.version %>.js"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -397,11 +397,15 @@ declare module GameStartr {
|
||||
|
||||
/**
|
||||
* Function for when a PreThing is to be spawned.
|
||||
*
|
||||
* @param prething A PreThing entering the map.
|
||||
*/
|
||||
onSpawn?: (prething: MapsCreatr.IPreThing) => void;
|
||||
|
||||
/**
|
||||
* Function for when a PreThing is to be un-spawned.
|
||||
*
|
||||
* @param prething A PreThing leaving the map.
|
||||
*/
|
||||
onUnspawn?: (prething: MapsCreatr.IPreThing) => void;
|
||||
|
||||
@@ -425,12 +429,12 @@ declare module GameStartr {
|
||||
/**
|
||||
* If stretches exists, a Function to add stretches to an Area.
|
||||
*/
|
||||
stretchAdd: AreaSpawnr.ICommandAdder;
|
||||
stretchAdd?: AreaSpawnr.ICommandAdder;
|
||||
|
||||
/**
|
||||
* If afters exists, a Function to add afters to an Area.
|
||||
*/
|
||||
afterAdd: AreaSpawnr.ICommandAdder;
|
||||
afterAdd?: AreaSpawnr.ICommandAdder;
|
||||
|
||||
/**
|
||||
* Macro functions to create PreThings, keyed by String alias.
|
||||
|
||||
@@ -209,7 +209,7 @@ module FullScreenPokemon {
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
<MenuGraphr.IMenuChildSchema>{
|
||||
"type": "menu",
|
||||
"name": "PokedexNumbers"
|
||||
}],
|
||||
@@ -255,7 +255,7 @@ module FullScreenPokemon {
|
||||
"textSpeed": 0,
|
||||
"textPaddingY": 4
|
||||
},
|
||||
"PokedexOptions": {
|
||||
"PokedexOptions": <MenuGraphr.IListMenuSchema>{
|
||||
"size": {
|
||||
"width": 21.5,
|
||||
"height": 37
|
||||
@@ -276,7 +276,7 @@ module FullScreenPokemon {
|
||||
"textXOffset": 4,
|
||||
"textYOffset": 5
|
||||
},
|
||||
"PokedexListing": {
|
||||
"PokedexListing": <any>{
|
||||
"size": {
|
||||
"width": 80,
|
||||
"height": 72
|
||||
|
||||
Reference in New Issue
Block a user