Skip to content

Commit 0524963

Browse files
committed
Add infinite cap bounce and noclip flags; clean up commented code in hakoniwaSequenceHook
1 parent e86dea1 commit 0524963

1 file changed

Lines changed: 5 additions & 26 deletions

File tree

source/main.cpp

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
static int pInfSendTimer = 0;
4747
static int gameInfSendTimer = 0;
4848

49+
bool gInfiniteCapBounce = false;
50+
bool gNoclip = false;
51+
4952
//---------------------------freezetag branch-------------------------------------------------
5053
/*void updatePlayerInfo(GameDataHolderAccessor holder, PlayerActorBase* playerBase, bool isYukimaru) {
5154
@@ -491,32 +494,8 @@ bool hakoniwaSequenceHook(HakoniwaSequence* sequence) {
491494
if (al::isPadTriggerLeft(-1)) { // L + Left => Activate gamemode
492495
GameModeManager::instance()->toggleActive();
493496
}
494-
}// else if (al::isPadHoldR(-1)) {
495-
// if (al::isPadTriggerUp(-1)) { // R + Up => Toggle CustomMsg layout
496-
// CustomMsg* customMsg = Client::instance()->getCustomMsg();
497-
// if (customMsg) {
498-
// if (customMsg->isActive()) {
499-
// customMsg->tryEnd(); // Hide it
500-
// } else {
501-
// customMsg->tryStart(); // Show it
502-
// customMsg->showHiding(); // Show with hiding status
503-
// }
504-
// }
505-
// }
506-
// if (al::isPadTriggerDown(-1)) { // R + Down => Toggle between hiding/seeking
507-
// CustomMsg* customMsg = Client::instance()->getCustomMsg();
508-
// if (customMsg && customMsg->isActive()) {
509-
// static bool showingHiding = true;
510-
// if (showingHiding) {
511-
// customMsg->showSeeking();
512-
// } else {
513-
// customMsg->showHiding();
514-
// }
515-
// showingHiding = !showingHiding;
516-
// }
517-
// }
518-
// }
519-
} else if (al::isPadHoldR(-1)) {
497+
}
498+
else if (al::isPadHoldR(-1)) {
520499
if (al::isPadTriggerLeft(-1)) { // R + Left => Set custom text for CustomMsg
521500
CustomMsg* customMsg = Client::instance()->getCustomMsg();
522501
if (customMsg) {

0 commit comments

Comments
 (0)