Skip to content

Commit

Permalink
Renderer|Client: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed May 3, 2015
1 parent c7fc315 commit e4737b7
Show file tree
Hide file tree
Showing 6 changed files with 476 additions and 491 deletions.
1 change: 0 additions & 1 deletion doomsday/client/include/de_render.h
Expand Up @@ -29,7 +29,6 @@
#include "render/r_main.h"
#include "render/r_things.h"
#include "render/rend_halo.h"
#include "render/rend_particle.h"
#include "render/rend_main.h"
#include "render/rend_model.h"
#include "render/rend_fakeradio.h"
Expand Down
13 changes: 6 additions & 7 deletions doomsday/client/include/render/rend_particle.h
@@ -1,9 +1,7 @@
/** @file rend_particle.h Particle effect rendering.
*
* @ingroup render
*
* @authors Copyright © 2003-2013 Jaakko Keränen <jaakko.keranen@iki.fi>
* @authors Copyright © 2006-2013 Daniel Swanson <danij@dengine.net>
* @authors Copyright © 2006-2015 Daniel Swanson <danij@dengine.net>
*
* @par License
* GPL: http://www.gnu.org/licenses/gpl.html
Expand All @@ -20,8 +18,8 @@
* 02110-1301 USA</small>
*/

#ifndef DENG_CLIENT_RENDER_PARTICLE_H
#define DENG_CLIENT_RENDER_PARTICLE_H
#ifndef CLIENT_RENDER_PARTICLE_H
#define CLIENT_RENDER_PARTICLE_H

#include "world/map.h"

Expand All @@ -31,6 +29,7 @@
// Maximum number of particle models (not instances).
#define MAX_PTC_MODELS 100

/// @ingroup render
enum ParticleType
{
PTC_NONE,
Expand All @@ -42,7 +41,7 @@ enum ParticleType
PTC_MODEL = 1000
};

DENG_EXTERN_C byte useParticles;
DENG_EXTERN_C de::dbyte useParticles;

void Rend_ParticleRegister();

Expand All @@ -69,4 +68,4 @@ void Rend_ParticleReleaseExtraTextures();
*/
void Rend_RenderParticles(de::Map &map);

#endif // DENG_CLIENT_RENDER_PARTICLE_H
#endif // CLIENT_RENDER_PARTICLE_H

0 comments on commit e4737b7

Please sign in to comment.