forked from Leather128/LeatherEngine
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scale down long song names in freeplay
- Loading branch information
1 parent
3934871
commit 31150ba
Showing
7 changed files
with
87 additions
and
69 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
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
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 |
---|---|---|
@@ -1,57 +1,52 @@ | ||
package game; | ||
|
||
|
||
@:forward | ||
abstract Tallies(RawTallies) | ||
{ | ||
public function new() | ||
{ | ||
this = | ||
{ | ||
combo: 0, | ||
missed: 0, | ||
shit: 0, | ||
bad: 0, | ||
good: 0, | ||
sick: 0, | ||
totalNotes: 0, | ||
totalNotesHit: 0, | ||
maxCombo: 0, | ||
score: 0, | ||
isNewHighscore: false | ||
} | ||
} | ||
abstract Tallies(RawTallies) { | ||
public function new() { | ||
this = { | ||
combo: 0, | ||
missed: 0, | ||
shit: 0, | ||
bad: 0, | ||
good: 0, | ||
sick: 0, | ||
totalNotes: 0, | ||
totalNotesHit: 0, | ||
maxCombo: 0, | ||
score: 0, | ||
isNewHighscore: false | ||
} | ||
} | ||
} | ||
|
||
/** | ||
* A structure object containing the data for highscore tallies. | ||
*/ | ||
typedef RawTallies = | ||
{ | ||
var combo:Int; | ||
|
||
/** | ||
* How many notes you let scroll by. | ||
*/ | ||
var missed:Int; | ||
|
||
var shit:Int; | ||
var bad:Int; | ||
var good:Int; | ||
var sick:Int; | ||
var maxCombo:Int; | ||
|
||
var score:Int; | ||
|
||
var isNewHighscore:Bool; | ||
|
||
/** | ||
* How many notes total that you hit. (NOT how many notes total in the song!) | ||
*/ | ||
var totalNotesHit:Int; | ||
|
||
/** | ||
* How many notes in the current chart | ||
*/ | ||
var totalNotes:Int; | ||
} | ||
typedef RawTallies = { | ||
var combo:Int; | ||
|
||
/** | ||
* How many notes you let scroll by. | ||
*/ | ||
var missed:Int; | ||
|
||
var shit:Int; | ||
var bad:Int; | ||
var good:Int; | ||
var sick:Int; | ||
var maxCombo:Int; | ||
|
||
var score:Int; | ||
|
||
var isNewHighscore:Bool; | ||
|
||
/** | ||
* How many notes total that you hit. (NOT how many notes total in the song!) | ||
*/ | ||
var totalNotesHit:Int; | ||
|
||
/** | ||
* How many notes in the current chart | ||
*/ | ||
var totalNotes:Int; | ||
} |
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
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
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
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