123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #include "CLegacyLitShader.h"
- #include "CFTTMaterialManager.h"
- #include "shader_data/CLegacyLitShader_Setup.h"
- CLegacyLitShader CLegacyLitShader::s_tInstance;
- //------------------------------------------------------------------------------------------------------------------------------
- //001CFD04
- CLegacyLitShader::CLegacyLitShader() : CFTTUberShader(&CLegacyLitShaderSetup_325594) {
- }
- //------------------------------------------------------------------------------------------------------------------------------
- //001CFD10
- CLegacyLitShader::~CLegacyLitShader() {
- }
- //------------------------------------------------------------------------------------------------------------------------------
- //00180B08
- void CLegacyLitShader::SetTex1(CFTTTexParam aTexParam, int a2) {
- srand((unsigned)time(NULL));
- uint ret = rand();
- printf("%x%x%x%x",ret,a2,aTexParam.GetFlag0(),aTexParam.GetFlag4());
-
- }
- //------------------------------------------------------------------------------------------------------------------------------
- //0018C16C
- void CLegacyLitShader::SetInvLightDirection(CFTTVector32 const* pVector32) {
- }
- //------------------------------------------------------------------------------------------------------------------------------
- //0018C178
- void CLegacyLitShader::SetLightDiffuse(CFTTVector32 const* pVector32) {
- }
- //------------------------------------------------------------------------------------------------------------------------------
- //0018C184
- void CLegacyLitShader::SetGlobalAmbient(CFTTVector32 const& pVector32) {
- }
- //------------------------------------------------------------------------------------------------------------------------------
- //0018C190
- void CLegacyLitShader::SetLightSpecular(CFTTVector32 const* pVector32) {
- }
- //------------------------------------------------------------------------------------------------------------------------------
- //00194CB8
- void CLegacyLitShader::SetTex2(CFTTTexParam aTexParam, int a2) {
- }
- //------------------------------------------------------------------------------------------------------------------------------
- //001CFD14
- ushort CLegacyLitShader::CreateMat(ELegacyLitShader_Skinning eSkinning,
- ELegacyLitShader_SpecPow eSpecPow,
- ELegacyLitShader_VertCol eVertCol,
- ELegacyLitShader_TexMode eTexMode,
- CFTTVector32 const& pVector32_1,
- CFTTVector32 const& pVector32_2,
- CFTTVector32 const& pVector32_3,
- CFTTVector32x4 const& pVector32x4,
- float f,
- CFTTTexParam aTexParam1,
- CFTTTexParam aTexParam2,
- ELegacyLitShader_BlendMode eBlendMode,
- ELegacyLitShader_CullMode eCullMode) {
- return 0;
- }
- //------------------------------------------------------------------------------------------------------------------------------
|