Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3956 in orxonox.OLD for orxonox/branches/particleEngine/src/lib


Ignore:
Timestamp:
Apr 25, 2005, 2:02:55 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/particleEngine: some definitions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/particleEngine/src/lib/graphics/particles/particle_system.h

    r3951 r3956  
    1010#include "vector.h"
    1111
     12#define PARTICLE_DOT_MASK           0x00001
     13#define PARTICLE_SPRITE_MASK        0x00010
     14#define PARTICLE_MODEL_MASK         0x00100
     15#define PARTICLE_WORDL_ENTITY_MASK  0x01000
     16#define PARTICLE_MULTI_MASK         0x10000
     17
    1218//! An enumerator for the different types of particles.
    13 typedef enum PARTICLE_TYPE {PARTICLE_DOT,
    14                             PARTICLE_SPRITE,
    15                             PARTICLE_MULTI_SPRITE,
    16                             PARTICLE_OBJECT,
    17                             PARTICLE_MULTI_OBJECT,
    18                             PARTICLE_PRIMITIVE};
     19typedef enum PARTICLE_TYPE {PARTICLE_DOT = PARTICLE_DOT_MASK,
     20                            PARTICLE_SPRITE = PARTICLE_SPRITE_MASK,
     21                            PARTICLE_MULTI_SPRITE = PARTICLE_SPRITE_MASK | PARTICLE_MULTI_MASK,
     22                            PARTICLE_MODEL = PARTICLE_MODEL_MASK,
     23                            PARTICLE_MULTI_MODE = PARTICLE_MODEL_MASK | PARTICLE_MULTI_MASK};
    1924
    2025#define PARTICLE_DEFAULT_MAX_COUNT    200               //!< a default count of particles in the system.
Note: See TracChangeset for help on using the changeset viewer.