Added lit particle emissive support.

This commit is contained in:
Justin Marshall
2026-05-24 14:07:55 -07:00
parent 56bb2f004f
commit 4e6d4a281f
49 changed files with 34640 additions and 87 deletions
+2
View File
@@ -3868,6 +3868,7 @@ static classVariableInfo_t idParticleStage_typeInfo[] = {
{ "idParticleParm", "aspect", (intptr_t)(&((idParticleStage *)0)->aspect), sizeof( ((idParticleStage *)0)->aspect ) },
{ "idVec4", "color", (intptr_t)(&((idParticleStage *)0)->color), sizeof( ((idParticleStage *)0)->color ) },
{ "idVec4", "fadeColor", (intptr_t)(&((idParticleStage *)0)->fadeColor), sizeof( ((idParticleStage *)0)->fadeColor ) },
{ "float", "emissive", (intptr_t)(&((idParticleStage *)0)->emissive), sizeof( ((idParticleStage *)0)->emissive ) },
{ "float", "fadeInFraction", (intptr_t)(&((idParticleStage *)0)->fadeInFraction), sizeof( ((idParticleStage *)0)->fadeInFraction ) },
{ "float", "fadeOutFraction", (intptr_t)(&((idParticleStage *)0)->fadeOutFraction), sizeof( ((idParticleStage *)0)->fadeOutFraction ) },
{ "float", "fadeIndexFraction", (intptr_t)(&((idParticleStage *)0)->fadeIndexFraction), sizeof( ((idParticleStage *)0)->fadeIndexFraction ) },
@@ -4371,6 +4372,7 @@ static classVariableInfo_t srfTriangles_t_typeInfo[] = {
{ "unsigned int", "ambientVbo", (intptr_t)(&((srfTriangles_t *)0)->ambientVbo), sizeof( ((srfTriangles_t *)0)->ambientVbo ) },
{ "unsigned int", "indexVbo", (intptr_t)(&((srfTriangles_t *)0)->indexVbo), sizeof( ((srfTriangles_t *)0)->indexVbo ) },
{ "bool", "isSkeletal", (intptr_t)(&((srfTriangles_t *)0)->isSkeletal), sizeof( ((srfTriangles_t *)0)->isSkeletal ) },
{ "float", "particleEmissiveScale", (intptr_t)(&((srfTriangles_t *)0)->particleEmissiveScale), sizeof( ((srfTriangles_t *)0)->particleEmissiveScale ) },
{ "int", "numAllocedVerts", (intptr_t)(&((srfTriangles_t *)0)->numAllocedVerts), sizeof( ((srfTriangles_t *)0)->numAllocedVerts ) },
{ "int", "numAllocedIndices", (intptr_t)(&((srfTriangles_t *)0)->numAllocedIndices), sizeof( ((srfTriangles_t *)0)->numAllocedIndices ) },
{ NULL, 0 }