Navigation Menu

Skip to content

Commit

Permalink
Renderer|Billboard: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Nov 21, 2013
1 parent 4a89ad1 commit 7642517
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 142 deletions.
14 changes: 8 additions & 6 deletions doomsday/client/include/render/billboard.h
Expand Up @@ -25,9 +25,7 @@
#include "render/vissprite.h"
#include "MaterialVariantSpec"

/// @addtogroup render
///@{

/// @ingroup render
struct rendpspriteparams_t
{
float pos[2]; // {X, Y} Screen-space position.
Expand All @@ -41,6 +39,8 @@ struct rendpspriteparams_t
uint vLightListIdx;
};

/// @addtogroup render
/// @{
DENG_EXTERN_C int alwaysAlign;
DENG_EXTERN_C int spriteLight, useSpriteAlpha, useSpriteBlend;
DENG_EXTERN_C int noSpriteZWrite;
Expand All @@ -54,12 +54,14 @@ DENG_EXTERN_C void Rend_SpriteRegister();
* with sprites, so no artifacts appear when sprites are seen behind
* masked walls.
*/
void Rend_DrawMaskedWall(rendmaskedwallparams_t const *parms);
void Rend_DrawMaskedWall(rendmaskedwallparams_t const &parms);

void Rend_DrawPSprite(rendpspriteparams_t const *parms);
void Rend_DrawPSprite(rendpspriteparams_t const &parms);

void Rend_DrawSprite(rendspriteparams_t const *parms);
void Rend_DrawSprite(rendspriteparams_t const &parms);

de::MaterialVariantSpec const &Rend_SpriteMaterialSpec(int tclass = 0, int tmap = 0);

/// @}

#endif // DENG_CLIENT_RENDER_BILLBOARD_H

0 comments on commit 7642517

Please sign in to comment.