CGfxPlayer.cpp 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. #include "CGfxPlayer.h"
  2. #include "CPlayerShader.h"
  3. #include "CFTTBatchModelBin.h"
  4. #include "CGFXSpec.h"
  5. #include "CFTTBatchModelManager.h"
  6. #include "memctrl.h"
  7. //0033F40C
  8. int GFXPLAYER_spBatchBinMats[8] = {-1, -1, -1, -1, -1, -1, -1, -1};
  9. //0045FC68
  10. CFTTBatchModelBin *GFXPLAYER_spBatchBins[8];
  11. //0045FC88
  12. HashNode HashNode_45FC88[8] = {
  13. {-1, 0x28000, FTTHash("torso"), 0, 0, 0, 1},
  14. {-1, 0x40000, FTTHash("suit"), 0, 0, 0, 0},
  15. {-1, 0x20000, FTTHash("kit"), 0, 0, 0, 0},
  16. {-1, 0x4000, FTTHash("kit_a"), 0, 0, 0, 0},
  17. {-1, 0x4000, FTTHash("atlas_a"), 1, 0, 0, 1},
  18. {-1, 0x60000, FTTHash("atlas"), 1, 0, 0, 1},
  19. {-1, 0x10000, FTTHash("hair"), 1, 1, 0, 2},
  20. {6, 0x10000, FTTHash("hair_x"), 1, 1, 0, 2},
  21. };
  22. //002FEEEC
  23. int s_ePerCharacterMat[8] = {2, 2, 2, 2, 0, 1, 2, 2};
  24. //0045FBD8
  25. int GFXPLAYER_iNumCharacters;
  26. //0045DC28
  27. CGfxCharacter *GFXPLAYER_pPlayer[33];
  28. //0045EBE4
  29. CFTTAABB32 GFXPLAYER_tPlayerAABBV[33];
  30. //0045F94C
  31. CFTTAABB32 GFXPLAYER_tShadowMapAABB[4];
  32. //0045E4EC
  33. bool GFXPLAYER_bPlayerVisible[33];
  34. //0045E50D
  35. bool GFXPLAYER_bPlayerShadowVisible[35];
  36. //0045F298
  37. CFTTAABB32 GFXPLAYER_tPlayerAABBL[33];
  38. //int CGfxPlayer::ms_iHairMatList[33];
  39. //int CGfxPlayer::ms_iNumHairMats;
  40. //-------------------------------------------------------------------------------------------------
  41. //00186800
  42. void CGfxPlayer::LoadBuildKitTextures() {
  43. }
  44. //-------------------------------------------------------------------------------------------------
  45. //00186848
  46. void CGfxPlayer::FreeBuildKitTextures() {
  47. }
  48. //-------------------------------------------------------------------------------------------------
  49. //00186868
  50. void CGfxPlayer::InitKits(int) {
  51. }
  52. //-------------------------------------------------------------------------------------------------
  53. //001869E8 -_-
  54. void CGfxPlayer::InitBatchManager() {
  55. LOGI("CGfxPlayer::InitBatchManager End");
  56. }
  57. //-------------------------------------------------------------------------------------------------
  58. //00186B68
  59. void CGfxPlayer::ShutdownBatchManager() {
  60. }
  61. //-------------------------------------------------------------------------------------------------
  62. //00186BD4
  63. void CGfxPlayer::SetupBatchConstants() {
  64. LOGE("CGfxPlayer::SetupBatchConstants");
  65. }
  66. //-------------------------------------------------------------------------------------------------
  67. //00186D48
  68. void CGfxPlayer::InitPlayersGame() {
  69. LOGE("CGfxPlayer::InitPlayersGame");
  70. }
  71. //-------------------------------------------------------------------------------------------------
  72. //00186F9C
  73. void CGfxPlayer::ReInitialisePlayer(int a0, int a1, int a2) {
  74. //empty
  75. }
  76. //-------------------------------------------------------------------------------------------------
  77. //00186FA0
  78. void CGfxPlayer::RenderProps() {
  79. }
  80. //-------------------------------------------------------------------------------------------------
  81. //00186FEC
  82. void CGfxPlayer::RenderPlayerOpaque(int) {
  83. }
  84. //-------------------------------------------------------------------------------------------------
  85. //00187338
  86. void CGfxPlayer::GetFrustumCullingSphere(CFTTSphere32 &, int, bool) {
  87. }
  88. //-------------------------------------------------------------------------------------------------
  89. //001873C0
  90. void CGfxPlayer::RenderPlayerAlphaTested(bool) {
  91. }
  92. //-------------------------------------------------------------------------------------------------
  93. //001874A8
  94. void CGfxPlayer::RenderPlayerTranslucent(bool) {
  95. }
  96. //-------------------------------------------------------------------------------------------------
  97. //00187598
  98. void CGfxPlayer::FlushPlayerSkins() {
  99. LOGE("CGfxPlayer::FlushPlayerSkins");
  100. }
  101. //-------------------------------------------------------------------------------------------------
  102. //00187604
  103. void CGfxPlayer::FreeKits() {
  104. }
  105. //-------------------------------------------------------------------------------------------------
  106. //0018763C
  107. void CGfxPlayer::FreePlayers() {
  108. }
  109. //-------------------------------------------------------------------------------------------------
  110. //00187684
  111. void CGfxPlayer::UpdateProps() {
  112. }
  113. //-------------------------------------------------------------------------------------------------
  114. //00187790
  115. void CGfxPlayer::AnimatePlayer(CPlayer *) {
  116. }
  117. //-------------------------------------------------------------------------------------------------
  118. //001877D4
  119. void CGfxPlayer::AnimatePlayer(CGfxCharacter *, CFTTMatrix32 *) {
  120. }
  121. //-------------------------------------------------------------------------------------------------
  122. //001877F8
  123. void CGfxPlayer::SkinPlayers() {
  124. }
  125. //-------------------------------------------------------------------------------------------------
  126. //00187D04
  127. void CGfxPlayer::SwapTeamKits() {
  128. }
  129. //-------------------------------------------------------------------------------------------------
  130. //00187EB4
  131. void CGfxPlayer::GetKitFileName(int) {
  132. }
  133. //-------------------------------------------------------------------------------------------------
  134. //00187EC0
  135. void CGfxPlayer::AddPlayer(CGfxCharacter *) {
  136. }
  137. //-------------------------------------------------------------------------------------------------
  138. //00187EE0
  139. void CGfxPlayer::RemovePlayer(CGfxCharacter *) {
  140. }
  141. //-------------------------------------------------------------------------------------------------