2022-03-08 08:13:53 +00:00
|
|
|
package funkin;
|
2020-11-07 02:17:27 +00:00
|
|
|
|
|
|
|
class Highscore
|
|
|
|
{
|
2023-01-23 03:25:45 +00:00
|
|
|
public static var tallies:Tallies = new Tallies();
|
2020-11-07 02:17:27 +00:00
|
|
|
}
|
2022-09-20 06:16:12 +00:00
|
|
|
|
|
|
|
@:forward
|
|
|
|
abstract Tallies(RawTallies)
|
|
|
|
{
|
2023-01-23 03:25:45 +00:00
|
|
|
public function new()
|
|
|
|
{
|
|
|
|
this =
|
|
|
|
{
|
|
|
|
combo: 0,
|
|
|
|
missed: 0,
|
|
|
|
shit: 0,
|
|
|
|
bad: 0,
|
|
|
|
good: 0,
|
|
|
|
sick: 0,
|
2023-06-22 05:41:01 +00:00
|
|
|
killer: 0,
|
2023-01-23 03:25:45 +00:00
|
|
|
totalNotes: 0,
|
|
|
|
totalNotesHit: 0,
|
|
|
|
maxCombo: 0,
|
|
|
|
isNewHighscore: false
|
|
|
|
}
|
|
|
|
}
|
2022-09-20 06:16:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
typedef RawTallies =
|
|
|
|
{
|
2023-01-23 03:25:45 +00:00
|
|
|
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;
|
2023-06-22 05:41:01 +00:00
|
|
|
var killer:Int;
|
2023-01-23 03:25:45 +00:00
|
|
|
var maxCombo: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 PASSED BY AND/OR HIT!!!
|
|
|
|
*/
|
|
|
|
var totalNotes:Int;
|
2022-09-20 06:16:12 +00:00
|
|
|
}
|