Skip to content

Commit

Permalink
taiko判定&机制完成(除了转盘&动画)
Browse files Browse the repository at this point in the history
  • Loading branch information
telecomadm1145 committed Nov 19, 2023
1 parent 9390f2b commit 8a655bc
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 113 deletions.
2 changes: 2 additions & 0 deletions cmania/GameplayScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ class GameplayScreen : public Screen {
rec_input_handler = std::unique_ptr<RecordInputHandler>(new RecordInputHandler(rec));
if (mode == 0)
ruleset = std::unique_ptr<RulesetBase>((RulesetBase*)new StdRuleset());
else if (mode == 1)
ruleset = std::unique_ptr<RulesetBase>((RulesetBase*)new TaikoRuleset());
else if (mode == 3)
ruleset = std::unique_ptr<RulesetBase>((RulesetBase*)new ManiaRuleset());
else
Expand Down
4 changes: 2 additions & 2 deletions cmania/TaikoObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ struct TaikoObject : public HitObject {
Kat = 1,// 0λ
Large = 2,// 1λ
Spinner = 4,// 2λ
Barline = 8
Barline = 8,
SliderTick = 16,
} ObjectType;
double EndTime;
int RemainsHits;
int TotalHits;
double TickTime;
// ÒÔ 1 Ϊµ¥Î»(
double Velocity;
};
Loading

0 comments on commit 8a655bc

Please sign in to comment.