CCurrency.cpp 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. #include "CCurrency.h"
  2. #include "TStoryConfig.h"
  3. #include "CMyProfile.h"
  4. #include "CFE.h"
  5. #include "CFEEffects.h"
  6. #include "GFXRENDER.h"
  7. #include "XMATH.h"
  8. #include "SNDFE.h"
  9. #include "SYSCORE.h"
  10. int CCurrency::s_iCredits = -1; //00342E30
  11. float CCurrency::s_fAnimCredits = -1.0; //00342E34
  12. int CCurrency::s_iPurchasedCredits; //00477DF0
  13. int CCurrency::s_iSpentCredits; //00477DF4
  14. float CCurrency::s_fAnimCoinAdjust; //00477DF8
  15. int CCurrency::s_iDuringMatchCredits; //00477DFC
  16. int CCurrency::s_iEffectDelay; //00477E00
  17. int CCurrency::s_iEffectCredits; //00477E04
  18. bool CCurrency::s_bEffectAnimation; //00477E08
  19. int64_t CCurrency::m_iAnimTick; //00477E10
  20. CInFlightCredits CCurrency::s_tInFlightCredits; //00477E18
  21. //-------------------------------------------------------------------------------------------------
  22. //001CBBF4
  23. void CCurrency::Init() {
  24. // empty
  25. }
  26. //-------------------------------------------------------------------------------------------------
  27. //001CBBF6
  28. void CCurrency::Shutdown() {
  29. // empty
  30. }
  31. //-------------------------------------------------------------------------------------------------
  32. //001CBBF8 //^_^
  33. void CCurrency::SetDefaults() {
  34. }
  35. //-------------------------------------------------------------------------------------------------
  36. //001CBC3C //^_^
  37. void CCurrency::SetCredits(int a0) {
  38. }
  39. //-------------------------------------------------------------------------------------------------
  40. //001CBC60 //^_^
  41. void CCurrency::ResetCreditsAnim() {
  42. }
  43. //-------------------------------------------------------------------------------------------------
  44. //001CBC84 //^_^
  45. void CCurrency::AddCredits(int a0, bool b1, int a2, bool b3, bool b4, bool b5) {
  46. }
  47. //-------------------------------------------------------------------------------------------------
  48. //001CBD68 此函数会调用上报分析的功能,都不写,因此不一样
  49. void CCurrency::SubtractCredits(int a0, ETrigger eTrigger1, bool b2) {
  50. }
  51. //-------------------------------------------------------------------------------------------------
  52. //001CBE90 //^_^
  53. void CCurrency::AddSpentCredits(int a0) {
  54. }
  55. //-------------------------------------------------------------------------------------------------
  56. //001CBEA4 //^_^
  57. int CCurrency::GetRenderCredits() {
  58. return 0;
  59. }
  60. //-------------------------------------------------------------------------------------------------
  61. //001CBEE4 //^_^
  62. void CCurrency::Process() {
  63. }
  64. //-------------------------------------------------------------------------------------------------
  65. //001CC020 //^_^
  66. void CCurrency::ResetDuringMatchCredits() {
  67. }
  68. //-------------------------------------------------------------------------------------------------
  69. //001CC030 //^_^
  70. void CCurrency::IncDuringMatchCredits(int a0) {
  71. }
  72. //-------------------------------------------------------------------------------------------------
  73. //001CC044 //^_^
  74. int CCurrency::GetDuringMatchCredits() {
  75. return 0;
  76. }
  77. //-------------------------------------------------------------------------------------------------
  78. //001CC054 //^_^
  79. void CCurrency::SetInFlightCredits(float f0, float f1, float f2, int a3, float f4) {
  80. }
  81. //-------------------------------------------------------------------------------------------------
  82. //001CC084 //^_- 经过单元测试,功能正常
  83. int CCurrency::UpdateInFlightCredits(float f0, float f1, float f2) {
  84. return 0;
  85. }
  86. //-------------------------------------------------------------------------------------------------
  87. //001CC24C //^_^
  88. bool CCurrency::InFlightActive() {
  89. return 0;
  90. }
  91. //-------------------------------------------------------------------------------------------------
  92. //001CC280 //^_^
  93. void CCurrency::RenderInFlightCredits() {
  94. }
  95. //-------------------------------------------------------------------------------------------------
  96. //001CC2AC 逻辑上是一致的,但是无法避免调用构造函数
  97. void CCurrency::RenderCredits(float f0, float f1, float f2, int a3, float f4) {
  98. }
  99. //-------------------------------------------------------------------------------------------------