MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / zCombo_Add

Function zCombo_Add

src/SB/Game/zCombo.cpp:153–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153void zCombo_Add(S32 points)
154{
155 if (comboTimer < 0.0f)
156 {
157 comboTimer = comboMaxTime;
158 comboPending = points - 1;
159 }
160 else
161 {
162 comboTimer = comboMaxTime;
163 comboCounter += points;
164 if (comboPending != 0)
165 {
166 comboCounter += comboPending;
167 comboPending = 0;
168 }
169 }
170}
171
172void zComboHideMessage(xhud::widget& w, xhud::motive& motive)
173{

Callers 1

GiveRewardMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected