CUITileManager.cpp 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. #include "CUITileManager.h"
  2. #include "CFE.h"
  3. #include "FE2D.h"
  4. #include "CCurrency.h"
  5. #include "CUITileActions.h"
  6. #include "CUITileButton.h"
  7. #include "CUITileCredits.h"
  8. #include "CUITileStars.h"
  9. #include "FESU.h"
  10. #include "FTTFont.h"
  11. #include "xsnprintf.h"
  12. #include "memctrl.h"
  13. int CUITileManager::UITILE_SCROLLBARW = 8; //0033659C
  14. float CUITileManager::m_fTileScale = 1.0; //003365A0
  15. int CUITileManager::UITILE_ADBAR_H; //00352E20
  16. CUITileManager *pCUITileManager_352E24 = nullptr; //00352E24
  17. //-------------------------------------------------------------------------------------------------
  18. //00147058 //^_^
  19. CUITileManager::CUITileManager(int a1) {
  20. }
  21. //-------------------------------------------------------------------------------------------------
  22. //001472B4 //^_^
  23. CUITileManager::~CUITileManager() {
  24. }
  25. //-------------------------------------------------------------------------------------------------
  26. //0013AD70 //^_^
  27. void CUITileManager::AddButton(EUITileAction eAction1) {
  28. }
  29. //-------------------------------------------------------------------------------------------------
  30. //0014712C //^_^
  31. void CUITileManager::Reset(bool b1) {
  32. }
  33. //-------------------------------------------------------------------------------------------------
  34. //001472A8 //^_^
  35. void CUITileManager::SetButtons(uint64_t a1) {
  36. }
  37. //-------------------------------------------------------------------------------------------------
  38. //001472CC //^_^
  39. bool CUITileManager::GetHasButton(int a1) {
  40. return true;
  41. }
  42. //-------------------------------------------------------------------------------------------------
  43. //001472DE //-_- 经过单元测试,功能正常
  44. void CUITileManager::UpdateButtons() {
  45. LOGI("CUITileManager::UpdateButtons end");
  46. }
  47. //-------------------------------------------------------------------------------------------------
  48. //00147368
  49. //开始界面只需要 2, 9
  50. //%%% 只完成开始界面需要的2, 9
  51. void CUITileManager::AddButtonTile(EUITileAction eAction) {
  52. LOGI("CUITileManager::AddButtonTile entry %d", eAction);
  53. }
  54. //-------------------------------------------------------------------------------------------------
  55. //00147AFC //^_^
  56. void CUITileManager::RemoveTile(CUITile *pTile1) {
  57. }
  58. //-------------------------------------------------------------------------------------------------
  59. //00147B46 //^_- 经过单元测试,功能正常
  60. void CUITileManager::AddTile(float f1,
  61. float f2,
  62. CUITile *pTile3,
  63. bool b4,
  64. float f5,
  65. EHUDPosition ePos6) {
  66. LOGE("CUITileManager::AddTile%p%x%x%p%x%x%x",this,f1,f2,pTile3,b4,f5,ePos6);
  67. }
  68. //-------------------------------------------------------------------------------------------------
  69. //00147C10 //^_^
  70. void CUITileManager::ClearHighlights() {
  71. }
  72. //-------------------------------------------------------------------------------------------------
  73. //00147C2E //^_^
  74. void CUITileManager::RemoveTiles(CUITile *pTile) {
  75. }
  76. //-------------------------------------------------------------------------------------------------
  77. //00147CA8 ^_- 经过单元测试,功能正常
  78. EUITileAction CUITileManager::Process(bool b1, int *pa2) {
  79. LOGI("CUITileManager::Process entry %d %p", b1, pa2);
  80. return EUITileAction_0;
  81. }
  82. //-------------------------------------------------------------------------------------------------
  83. //0014831C //^_^
  84. void CUITileManager::AddDressing(EUIDressingType eType1,
  85. EUIDressingPos ePos2,
  86. float f3,
  87. float f4,
  88. float f5) {
  89. }
  90. //-------------------------------------------------------------------------------------------------
  91. //00148358 //^_^
  92. void CUITileManager::UpdateDressingPosition(EUIDressingType eType1,
  93. EUIDressingPos ePos2,
  94. float f3,
  95. float f4,
  96. float f5) {
  97. }
  98. //-------------------------------------------------------------------------------------------------
  99. //00148398 //^_^
  100. void CUITileManager::RenderBackground() {
  101. // locret_1483D2
  102. }
  103. //-------------------------------------------------------------------------------------------------
  104. //001483DC //^_^
  105. void CUITileManager::SortTiles() {
  106. }
  107. //-------------------------------------------------------------------------------------------------
  108. //001483F4 //^_^ 经过单元测试,功能正常
  109. void CUITileManager::Render() {
  110. LOGI("CUITileManager::Render entry");
  111. }
  112. //-------------------------------------------------------------------------------------------------
  113. //0014869C //^_^ 经过单元测试,功能正常
  114. void CUITileManager::RenderHUD() {
  115. LOGI("CUITileManager::RenderHUD entry");
  116. LOGI("CUITileManager::RenderHUD end");
  117. }
  118. //-------------------------------------------------------------------------------------------------
  119. //00148858 //^_^
  120. void CUITileManager::IncreaseMemory(int d1) {
  121. }
  122. //-------------------------------------------------------------------------------------------------
  123. //001488EE //^_^
  124. void CUITileManager::AddTileWithRotation(float f1, float f2, CUITile *pTile3, CUITile *pTile4, bool b5, float f6) {
  125. }
  126. //-------------------------------------------------------------------------------------------------
  127. //00148920 //^_^
  128. void CUITileManager::AddTileWithRotation(float f1,
  129. float f2,
  130. CUITile *pTile3,
  131. float f4,
  132. float f5,
  133. float f6,
  134. bool b7,
  135. float f8) {
  136. }
  137. //-------------------------------------------------------------------------------------------------
  138. //00148978 //^_^
  139. void CUITileManager::GetPositionFromRotation(float &f0, float &f1, float f2, float f3, float f4) {
  140. }
  141. //-------------------------------------------------------------------------------------------------
  142. //00148A00 //^_^
  143. void CUITileManager::BringTileToFront(CUITile *pTile) {
  144. }
  145. //-------------------------------------------------------------------------------------------------
  146. //00148A44 //^_^ 经过单元测试,功能正常
  147. void CUITileManager::UpdateScreenSize() {
  148. }
  149. //-------------------------------------------------------------------------------------------------
  150. //00148AA0 //^_^ 经过单元测试,功能正常
  151. void CUITileManager::EnableAllTiles(bool b1) {
  152. }
  153. //-------------------------------------------------------------------------------------------------