CUITileManager.cpp 6.7 KB

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