CLegacyLitShader.cpp 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #include "CLegacyLitShader.h"
  2. #include "CFTTMaterialManager.h"
  3. #include "shader_data/CLegacyLitShader_Setup.h"
  4. CLegacyLitShader CLegacyLitShader::s_tInstance;
  5. //------------------------------------------------------------------------------------------------------------------------------
  6. //001CFD04
  7. CLegacyLitShader::CLegacyLitShader() : CFTTUberShader(&CLegacyLitShaderSetup_325594) {
  8. }
  9. //------------------------------------------------------------------------------------------------------------------------------
  10. //001CFD10
  11. CLegacyLitShader::~CLegacyLitShader() {
  12. }
  13. //------------------------------------------------------------------------------------------------------------------------------
  14. //00180B08
  15. void CLegacyLitShader::SetTex1(CFTTTexParam aTexParam, int a2) {
  16. srand((unsigned)time(NULL));
  17. uint ret = rand();
  18. printf("%x%x%x%x",ret,a2,aTexParam.GetFlag0(),aTexParam.GetFlag4());
  19. }
  20. //------------------------------------------------------------------------------------------------------------------------------
  21. //0018C16C
  22. void CLegacyLitShader::SetInvLightDirection(CFTTVector32 const* pVector32) {
  23. }
  24. //------------------------------------------------------------------------------------------------------------------------------
  25. //0018C178
  26. void CLegacyLitShader::SetLightDiffuse(CFTTVector32 const* pVector32) {
  27. }
  28. //------------------------------------------------------------------------------------------------------------------------------
  29. //0018C184
  30. void CLegacyLitShader::SetGlobalAmbient(CFTTVector32 const& pVector32) {
  31. }
  32. //------------------------------------------------------------------------------------------------------------------------------
  33. //0018C190
  34. void CLegacyLitShader::SetLightSpecular(CFTTVector32 const* pVector32) {
  35. }
  36. //------------------------------------------------------------------------------------------------------------------------------
  37. //00194CB8
  38. void CLegacyLitShader::SetTex2(CFTTTexParam aTexParam, int a2) {
  39. }
  40. //------------------------------------------------------------------------------------------------------------------------------
  41. //001CFD14
  42. ushort CLegacyLitShader::CreateMat(ELegacyLitShader_Skinning eSkinning,
  43. ELegacyLitShader_SpecPow eSpecPow,
  44. ELegacyLitShader_VertCol eVertCol,
  45. ELegacyLitShader_TexMode eTexMode,
  46. CFTTVector32 const& pVector32_1,
  47. CFTTVector32 const& pVector32_2,
  48. CFTTVector32 const& pVector32_3,
  49. CFTTVector32x4 const& pVector32x4,
  50. float f,
  51. CFTTTexParam aTexParam1,
  52. CFTTTexParam aTexParam2,
  53. ELegacyLitShader_BlendMode eBlendMode,
  54. ELegacyLitShader_CullMode eCullMode) {
  55. return 0;
  56. }
  57. //------------------------------------------------------------------------------------------------------------------------------