mirror of
https://github.com/ZDoom/ZDRay.git
synced 2024-11-10 14:51:40 +00:00
- fix tag for udmf maps
- fix the default surface color
This commit is contained in:
parent
9e1a9d7d75
commit
8716182c99
2 changed files with 9 additions and 2 deletions
|
@ -207,6 +207,10 @@ void FProcessor::ParseLinedef(IntLineDef *ld)
|
|||
{
|
||||
ld->args[0] = CheckInt(key);
|
||||
}
|
||||
else if (Extended && !stricmp(key, "id"))
|
||||
{
|
||||
ld->args[1] = CheckInt(key);
|
||||
}
|
||||
else if (!stricmp(key, "blocking") && !stricmp(value, "true"))
|
||||
{
|
||||
ld->flags |= ML_BLOCKING;
|
||||
|
|
|
@ -567,11 +567,14 @@ void FLevel::ParseConfigFile(const char *file)
|
|||
surfaceLight.outerCone = 1.0f;
|
||||
surfaceLight.innerCone = 0;
|
||||
surfaceLight.falloff = 1.0f;
|
||||
surfaceLight.intensity = 1.0f;
|
||||
surfaceLight.distance = 32.0f;
|
||||
surfaceLight.intensity = 10.0f;
|
||||
surfaceLight.distance = 150.0f;
|
||||
surfaceLight.bIgnoreCeiling = false;
|
||||
surfaceLight.bIgnoreFloor = false;
|
||||
surfaceLight.bNoCenterPoint = false;
|
||||
surfaceLight.rgb.x = 1.0f;
|
||||
surfaceLight.rgb.y = 1.0f;
|
||||
surfaceLight.rgb.z = 1.0f;
|
||||
|
||||
lexer->ExpectNextToken(TK_LBRACK);
|
||||
lexer->Find();
|
||||
|
|
Loading…
Reference in a new issue