#include "CCurrency.h" #include "TStoryConfig.h" #include "CMyProfile.h" #include "CFE.h" #include "CFEEffects.h" #include "GFXRENDER.h" #include "XMATH.h" #include "SNDFE.h" #include "SYSCORE.h" int CCurrency::s_iCredits = -1; //00342E30 float CCurrency::s_fAnimCredits = -1.0; //00342E34 int CCurrency::s_iPurchasedCredits; //00477DF0 int CCurrency::s_iSpentCredits; //00477DF4 float CCurrency::s_fAnimCoinAdjust; //00477DF8 int CCurrency::s_iDuringMatchCredits; //00477DFC int CCurrency::s_iEffectDelay; //00477E00 int CCurrency::s_iEffectCredits; //00477E04 bool CCurrency::s_bEffectAnimation; //00477E08 int64_t CCurrency::m_iAnimTick; //00477E10 CInFlightCredits CCurrency::s_tInFlightCredits; //00477E18 //------------------------------------------------------------------------------------------------- //001CBBF4 void CCurrency::Init() { // empty } //------------------------------------------------------------------------------------------------- //001CBBF6 void CCurrency::Shutdown() { // empty } //------------------------------------------------------------------------------------------------- //001CBBF8 //^_^ void CCurrency::SetDefaults() { } //------------------------------------------------------------------------------------------------- //001CBC3C //^_^ void CCurrency::SetCredits(int a0) { } //------------------------------------------------------------------------------------------------- //001CBC60 //^_^ void CCurrency::ResetCreditsAnim() { } //------------------------------------------------------------------------------------------------- //001CBC84 //^_^ void CCurrency::AddCredits(int a0, bool b1, int a2, bool b3, bool b4, bool b5) { } //------------------------------------------------------------------------------------------------- //001CBD68 此函数会调用上报分析的功能,都不写,因此不一样 void CCurrency::SubtractCredits(int a0, ETrigger eTrigger1, bool b2) { } //------------------------------------------------------------------------------------------------- //001CBE90 //^_^ void CCurrency::AddSpentCredits(int a0) { } //------------------------------------------------------------------------------------------------- //001CBEA4 //^_^ int CCurrency::GetRenderCredits() { return 0; } //------------------------------------------------------------------------------------------------- //001CBEE4 //^_^ void CCurrency::Process() { } //------------------------------------------------------------------------------------------------- //001CC020 //^_^ void CCurrency::ResetDuringMatchCredits() { } //------------------------------------------------------------------------------------------------- //001CC030 //^_^ void CCurrency::IncDuringMatchCredits(int a0) { } //------------------------------------------------------------------------------------------------- //001CC044 //^_^ int CCurrency::GetDuringMatchCredits() { return 0; } //------------------------------------------------------------------------------------------------- //001CC054 //^_^ void CCurrency::SetInFlightCredits(float f0, float f1, float f2, int a3, float f4) { } //------------------------------------------------------------------------------------------------- //001CC084 //^_- 经过单元测试,功能正常 int CCurrency::UpdateInFlightCredits(float f0, float f1, float f2) { return 0; } //------------------------------------------------------------------------------------------------- //001CC24C //^_^ bool CCurrency::InFlightActive() { return 0; } //------------------------------------------------------------------------------------------------- //001CC280 //^_^ void CCurrency::RenderInFlightCredits() { } //------------------------------------------------------------------------------------------------- //001CC2AC 逻辑上是一致的,但是无法避免调用构造函数 void CCurrency::RenderCredits(float f0, float f1, float f2, int a3, float f4) { } //-------------------------------------------------------------------------------------------------