#include "PlatformMesh.h" #include "FTTUPtr.h" #include "CFTTRenderHelper.h" #include "CFTTShaderBuiltInConstants.h" static float g_f309C50[6] = {1.0, 1.0, 1.0, 0.0, 0.0, 0.0}; //--------------------------------------------------------------------------------------------------------------------------------------------- //0021B304 void PlatformMesh_Free(CFTTPlatformMesh *) { } //--------------------------------------------------------------------------------------------------------------------------------------------- //0021B340 //^_^ void PlatformMesh_PerMeshSetup(CFTTPlatformMesh const *pPlatformMesh1, CFTTVector32x4 const *pFTTVector32x42, CFTTVector32x4 const *pFTTVector32x43) { } //--------------------------------------------------------------------------------------------------------------------------------------------- //0021b370 ^_^ void PlatformMesh_Render(CFTTPlatformMesh* r0_pPlatformMesh1, int r1_i, unsigned short r2_us, unsigned int r3_u, unsigned int sp10_u) { CFTTModel_struct_14* r12_list_model = r0_pPlatformMesh1->uOPData_44.list_model; if (r2_us ==0xFFFF ) r2_us = r12_list_model[r1_i].tStr12_2.us_0; if (r3_u == 0xFFFFFFFF) r3_u = r12_list_model[r1_i].tStr12_2.field_6; if (sp10_u == 0xFFFFFFFF) sp10_u = r12_list_model[r1_i].tStr12_2.field_2 *3; return ((CFTTRenderHelper*)r0_pPlatformMesh1->pCFTTRenderHelper_94.pType_0)->Render( &CFTTShaderBuiltInConstants::ms_matWorld, r2_us, r3_u,sp10_u); } //--------------------------------------------------------------------------------------------------------------------------------------------- //0021b3c8 ^_^ void PlatformMesh_PerMeshRestore(CFTTPlatformMesh const *pMesh) { } //--------------------------------------------------------------------------------------------------------------------------------------------- //0021B3F0 //^_^ void PlatformMesh_CreateVolatileResources(CFTTPlatformMesh *p_cfttplatformesh_r0_arg, bool b_r1_arg) { } //--------------------------------------------------------------------------------------------------------------------------------------------- //0021B44A void PlatformMesh_DeleteVolatileResources(CFTTPlatformMesh *, bool) { } //--------------------------------------------------------------------------------------------------------------------------------------------- //0021B452 void PlatformMesh_CreateManagedResources(CFTTPlatformMesh *, bool) { // empty } //--------------------------------------------------------------------------------------------------------------------------------------------- //0021B454 void PlatformMesh_DeleteManagedResources(CFTTPlatformMesh *, bool) { // empty } //--------------------------------------------------------------------------------------------------------------------------------------------- //0021B456 //^_^ void PlatformMesh_SetVerts(CFTTPlatformMesh *p_cfttplatformesh_r0) { } //--------------------------------------------------------------------------------------------------------------------------------------------- //0021b478 ^_^ void PlatformMesh_SetIndices(CFTTPlatformMesh *pPlatformMesh1) { } //--------------------------------------------------------------------------------------------------------------------------------------------- //0x0021b488 ^_- 测试8关无异常 void PlatformMesh_ToModel(CFTTPlatformMesh *pfTTPlatformMesh1, TFTTModel *pfTTModel2, EMeshModelFlags eMeshModelFlags3) { //0021B488 return; } //--------------------------------------------------------------------------------------------------------------------------------------------- //0021BA38 void PlatformMesh_FromModel(CFTTPlatformMesh *, CFTTPlatformMesh *, TFTTModel *, EMeshModelFlags) { } //--------------------------------------------------------------------------------------------------------------------------------------------- /* 0021B304 PlatformMesh_Free 0021BA38 PlatformMesh_FromModel 0021B44A PlatformMesh_DeleteVolatileResources */