CUITileManager.cpp 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. LOGE("CUITileManager::Reset%p%x",this,b1);
  33. }
  34. //-------------------------------------------------------------------------------------------------
  35. //001472A8 //^_^
  36. void CUITileManager::SetButtons(uint64_t a1) {
  37. }
  38. //-------------------------------------------------------------------------------------------------
  39. //001472CC //^_^
  40. bool CUITileManager::GetHasButton(int a1) {
  41. return true;
  42. }
  43. //-------------------------------------------------------------------------------------------------
  44. //001472DE //-_- 经过单元测试,功能正常
  45. void CUITileManager::UpdateButtons() {
  46. LOGI("CUITileManager::UpdateButtons end");
  47. }
  48. //-------------------------------------------------------------------------------------------------
  49. //00147368
  50. //开始界面只需要 2, 9
  51. //%%% 只完成开始界面需要的2, 9
  52. void CUITileManager::AddButtonTile(EUITileAction eAction) {
  53. LOGI("CUITileManager::AddButtonTile entry %d", eAction);
  54. }
  55. //-------------------------------------------------------------------------------------------------
  56. //00147AFC //^_^
  57. void CUITileManager::RemoveTile(CUITile *pTile1) {
  58. }
  59. //-------------------------------------------------------------------------------------------------
  60. //00147B46 //^_- 经过单元测试,功能正常
  61. void CUITileManager::AddTile(float f1,
  62. float f2,
  63. CUITile *pTile3,
  64. bool b4,
  65. float f5,
  66. EHUDPosition ePos6) {
  67. LOGE("CUITileManager::AddTile%p%x%x%p%x%x%x",this,f1,f2,pTile3,b4,f5,ePos6);
  68. }
  69. //-------------------------------------------------------------------------------------------------
  70. //00147C10 //^_^
  71. void CUITileManager::ClearHighlights() {
  72. }
  73. //-------------------------------------------------------------------------------------------------
  74. //00147C2E //^_^
  75. void CUITileManager::RemoveTiles(CUITile *pTile) {
  76. }
  77. //-------------------------------------------------------------------------------------------------
  78. //00147CA8 ^_- 经过单元测试,功能正常
  79. EUITileAction CUITileManager::Process(bool b1, int *pa2) {
  80. LOGI("CUITileManager::Process entry %d %p", b1, pa2);
  81. return EUITileAction_0;
  82. }
  83. //-------------------------------------------------------------------------------------------------
  84. //0014831C //^_^
  85. void CUITileManager::AddDressing(EUIDressingType eType1,
  86. EUIDressingPos ePos2,
  87. float f3,
  88. float f4,
  89. float f5) {
  90. }
  91. //-------------------------------------------------------------------------------------------------
  92. //00148358 //^_^
  93. void CUITileManager::UpdateDressingPosition(EUIDressingType eType1,
  94. EUIDressingPos ePos2,
  95. float f3,
  96. float f4,
  97. float f5) {
  98. }
  99. //-------------------------------------------------------------------------------------------------
  100. //00148398 //^_^
  101. void CUITileManager::RenderBackground() {
  102. // locret_1483D2
  103. }
  104. //-------------------------------------------------------------------------------------------------
  105. //001483DC //^_^
  106. void CUITileManager::SortTiles() {
  107. }
  108. //-------------------------------------------------------------------------------------------------
  109. //001483F4 //^_^ 经过单元测试,功能正常
  110. void CUITileManager::Render() {
  111. LOGI("CUITileManager::Render entry");
  112. }
  113. //-------------------------------------------------------------------------------------------------
  114. //0014869C //^_^ 经过单元测试,功能正常
  115. void CUITileManager::RenderHUD() {
  116. LOGI("CUITileManager::RenderHUD entry");
  117. LOGI("CUITileManager::RenderHUD end");
  118. }
  119. //-------------------------------------------------------------------------------------------------
  120. //00148858 //^_^
  121. void CUITileManager::IncreaseMemory(int d1) {
  122. }
  123. //-------------------------------------------------------------------------------------------------
  124. //001488EE //^_^
  125. void CUITileManager::AddTileWithRotation(float f1, float f2, CUITile *pTile3, CUITile *pTile4, bool b5, float f6) {
  126. }
  127. //-------------------------------------------------------------------------------------------------
  128. //00148920 //^_^
  129. void CUITileManager::AddTileWithRotation(float f1,
  130. float f2,
  131. CUITile *pTile3,
  132. float f4,
  133. float f5,
  134. float f6,
  135. bool b7,
  136. float f8) {
  137. }
  138. //-------------------------------------------------------------------------------------------------
  139. //00148978 //^_^
  140. void CUITileManager::GetPositionFromRotation(float &f0, float &f1, float f2, float f3, float f4) {
  141. }
  142. //-------------------------------------------------------------------------------------------------
  143. //00148A00 //^_^
  144. void CUITileManager::BringTileToFront(CUITile *pTile) {
  145. }
  146. //-------------------------------------------------------------------------------------------------
  147. //00148A44 //^_^ 经过单元测试,功能正常
  148. void CUITileManager::UpdateScreenSize() {
  149. }
  150. //-------------------------------------------------------------------------------------------------
  151. //00148AA0 //^_^ 经过单元测试,功能正常
  152. void CUITileManager::EnableAllTiles(bool b1) {
  153. }
  154. //-------------------------------------------------------------------------------------------------