Skip to content

Commit

Permalink
Fixed|Renderer|Client: Build errors (missing changes in previous commit)
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Jul 3, 2015
1 parent 128afdd commit 0f0c400
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions doomsday/apps/client/src/render/rend_fakeradio.cpp
Expand Up @@ -45,6 +45,14 @@

using namespace de;

enum WallShadow
{
TopShadow,
BottomShadow,
LeftShadow,
RightShadow
};

static dfloat const MIN_OPEN = 0.1f;
static ddouble const MINDIFF = 8; ///< Min plane height difference (world units).
static ddouble const INDIFF = 8; ///< Max plane height for indifference offset.
Expand All @@ -60,14 +68,6 @@ static inline RenderSystem &rendSys()
return ClientApp::renderSystem();
}

enum WallShadow
{
TopShadow,
BottomShadow,
LeftShadow,
RightShadow
};

/**
* Returns the "shadow darkness" (factor) for the given @a ambientLight (level), derived
* from values in Config.
Expand Down Expand Up @@ -863,7 +863,7 @@ static void drawWallShadow(Vector3f const *posCoords, WallEdge const &leftEdge,
}
}

void Rend_RadioWallSection(WallEdge const &leftEdge, WallEdge const &rightEdge, dfloat ambientLight)
void Rend_DrawWallRadio(WallEdge const &leftEdge, WallEdge const &rightEdge, dfloat ambientLight)
{
// Disabled?
if(!::rendFakeRadio || ::levelFullBright)
Expand Down
2 changes: 1 addition & 1 deletion doomsday/apps/client/src/render/rend_main.cpp
Expand Up @@ -3608,7 +3608,7 @@ static void drawCurrentSubspace()
// Perform contact spreading for this map region.
sector.map().spreadAllContacts(curSubspace->poly().aaBox());

Rend_RadioSubspaceEdges(*curSubspace);
Rend_DrawFlatRadio(*curSubspace);

// Before clip testing lumobjs (for halos), range-occlude the back facing edges.
// After testing, range-occlude the front facing edges. Done before drawing wall
Expand Down

0 comments on commit 0f0c400

Please sign in to comment.