Commit Graph

72 Commits

Author SHA1 Message Date
Josh Goldberg f775d0ab65 Converted maps.js to maps.ts
Also fixed a few tslint errors.
2015-11-29 15:51:03 -08:00
Josh Goldberg fc1771c3c7 Added basic time measurementts
Fixes #102.

This doesn't account for pause menu, which shouldn't increase in-game
time. Issue #??? created to account for that.
2015-11-29 12:13:03 -08:00
Josh Goldberg eb70a04f35 Fixed rest of menu.ts to tslintification
Changes in replacers will need to be tested.
2015-11-29 09:23:27 -08:00
Josh Goldberg b53288d9d0 Mostly got menus.js converted to .ts
Getting rid of replacementStatistics and replaceFromItemsHolder.
Instead, replacements can either be a string[] or a function returning a
string[]. This simplifies the API and allows for non-ItemsHolder things
being returned, such as badges.length.
2015-11-29 08:56:35 -08:00
Josh Goldberg d2f5896df3 One more TS fix 2015-11-29 06:42:25 -08:00
Josh Goldberg cc1e489811 Finished migrating names to uppercase
Fixes #105.

Hopefully...
2015-11-29 06:29:37 -08:00
Josh Goldberg eddbcae750 Updated math.js to math.ts, with definitions
Fixes #104. Incidentally updated grunt-typescript to 0.8.
2015-11-29 03:03:25 -08:00
Josh Goldberg e8817e5436 Fix for player's shadow having the player's id 2015-11-28 17:04:20 -08:00
Josh Goldberg fa89a4437b Added event.preventDefault to canInputsTrigger
Fixes #103. Also a regression in animateFadeFromColor.
2015-11-28 14:26:55 -08:00
Josh Goldberg 7e204f905d Brought in tslint fixed references 2015-11-28 01:41:29 -08:00
Josh Goldberg 6dda2617b8 Brought in a couple more module updates 2015-11-27 21:07:41 -08:00
Josh Goldberg f9dc9b41ab Brought in most of FullScreenMario's module updates
A few have merge conflicts. Will need to resolve.
2015-11-27 20:23:30 -08:00
Josh Goldberg a536b71ae3 Fixed battleInfo.keptThings inconsistencies
Super-speed characters were happening because they were repeatedly being
put into the Character group. BattleMovr's battleInfo now keeps
keptThings as an IThing[] with a collection method in FSP, so there's no
confusion with how to pass those in.

GroupHoldr's deleteObject assumed Array usage so now those
functionalities have been better worded.
2015-11-07 17:58:47 -08:00
Josh Goldberg 0036630e2b Brought in new & improved AudioPlayr 2015-11-05 18:50:28 -08:00
Josh Goldberg 319f91b8ec Fixed progress being too loose in addMenuWords
Added an 's' to addMenuWords to be more clear semantically.

menu.progress is only made as an object and the .working attribute is
more intelligently set.

Fixes #95. Fixes #99.
2015-11-05 18:48:18 -08:00
Josh Goldberg a56e47158e Corrected QuadsKeepr spawn directions for unshifts
They should be decreasing, not increasing.

Fixes #90.
2015-10-30 08:15:48 -07:00
Josh Goldberg d50f934028 Small fixes for dialog stabilities
Made the GeneralText menu deleteOnFinish by default for character
dialog.

Fixed tslint too.
2015-10-29 09:54:38 -07:00
Josh Goldberg 545a1a7132 Fix for "Got away safely!" one-letter-at-a-time 2015-10-26 21:58:27 -07:00
Josh Goldberg 62798273c0 Fix for DeviceLayr erroring with unknown controllers
Triggers was undefined because devices.js wasn't included. Having a
controller with fewer buttons or axes than expected gave out-of-bounds
errors.

This was discovered because my browser now thinks I have an unknown type
of controller attached.

Fixes #79.
2015-10-24 14:40:29 -07:00
Josh Goldberg f016c36e0d Standardized more of battle dialogs' format
Allowed (string | string[])[] instead of string[][] in dialogRaw, so
correctly formatted battle dialog is easier.

Fixes #74. Helps with #75.
2015-10-23 20:44:00 -07:00
Josh Goldberg 9e85c0dfc4 Re-enabled maps' afterAdd, with correct scope
Turns out areas' attributes weren't being taken into consideration.
They're now used again, and MapsHandlr keeps an optional commandScope
for stretches and afters.

Fixes #54.
2015-10-23 19:58:43 -07:00
Josh Goldberg f2f369672f Fixed keyboard menu to allow spaces
Fixes #71.
2015-10-22 20:31:13 -07:00
Josh Goldberg cfc451c958 Fixed scoping issues from BattleMovr
Fixes #73.
2015-10-22 20:30:52 -07:00
Josh Goldberg bd1f1c5c78 Changed routineArguments to be taken in by routines
This instead of being settings.routineArguments. Much nicer this way.

Fixes #69 (hehe).
2015-10-22 20:11:05 -07:00
Josh Goldberg 8f5b116bab Fix for crashing on starting keyboard menu
It was from MenuGraphr not being updated to correctly add .bottom text
children to a menu.

Fixes #66.
2015-10-22 07:45:57 -07:00