mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 19:23:51 +02:00
Added skydome support.
This commit is contained in:
@@ -4277,6 +4277,9 @@ intptr_t idWorldspawn::Invoke(const char *functionName, void *param1) {
|
||||
Spawn();
|
||||
return 0;
|
||||
};
|
||||
if(functionNameHash == 234239) { // GetSkydomeMaterial
|
||||
return (intptr_t)GetSkydomeMaterial();
|
||||
};
|
||||
if(functionNameHash == 153439) { // Event_Remove
|
||||
Event_Remove();
|
||||
return 0;
|
||||
@@ -4290,6 +4293,9 @@ bool idWorldspawn::HasNativeFunction(const char *functionName) {
|
||||
if(functionNameHash == 63102) { // Spawn
|
||||
return true;
|
||||
};
|
||||
if(functionNameHash == 234239) { // GetSkydomeMaterial
|
||||
return true;
|
||||
};
|
||||
if(functionNameHash == 153439) { // Event_Remove
|
||||
return true;
|
||||
};
|
||||
|
||||
@@ -4562,6 +4562,7 @@ static classVariableInfo_t renderView_t_typeInfo[] = {
|
||||
{ "float[12]", "shaderParms", (intptr_t)(&((renderView_t *)0)->shaderParms), sizeof( ((renderView_t *)0)->shaderParms ) },
|
||||
{ "const idMaterial *", "globalMaterial", (intptr_t)(&((renderView_t *)0)->globalMaterial), sizeof( ((renderView_t *)0)->globalMaterial ) },
|
||||
{ "renderGlobalFog_t", "globalFog", (intptr_t)(&((renderView_t *)0)->globalFog), sizeof( ((renderView_t *)0)->globalFog ) },
|
||||
{ "const idMaterial *", "skyDomeMaterial", (intptr_t)(&((renderView_t *)0)->skyDomeMaterial), sizeof( ((renderView_t *)0)->skyDomeMaterial ) },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
@@ -7064,6 +7065,7 @@ classVariableInfo_t idLight::typeInfo[] = {
|
||||
};
|
||||
|
||||
classVariableInfo_t idWorldspawn::typeInfo[] = {
|
||||
{ "const idMaterial *", "skydomeMaterial", (intptr_t)(&((idWorldspawn *)0)->skydomeMaterial), sizeof( ((idWorldspawn *)0)->skydomeMaterial ) },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user