LIGHT namespace JJ2+
Light types and lighting enforcement modes
Enums
- enum Enforce { OPTIONAL, BASIC, COMPLETE } JJ2+
- How much of the lighting players are allowed to turn off, see jjEnforceLighting
- enum Type { NONE = 0, NORMAL = 3, POINT = 1, POINT2 = 2, FLICKER = 4, BRIGHT = 5, LASERBEAM = 6 partially supported, LASER = 7, RING = 8, RING2 = 9, PLAYER = 10 } JJ2+
- Kinds of light objects and players can emit, see jjOBJ::lightType
Enum documentation
enum LIGHT:: Enforce JJ2+
How much of the lighting players are allowed to turn off, see jjEnforceLighting
| Enumerators | |
|---|---|
| OPTIONAL |
Players may turn off lighting completely |
| BASIC |
Players may turn off ambient lighting, but lights of objects and players stay |
| COMPLETE |
All lighting is always shown |
enum LIGHT:: Type JJ2+
Kinds of light objects and players can emit, see jjOBJ::lightType
| Enumerators | |
|---|---|
| NONE |
No light |
| NORMAL |
Round light whose size is given by jjOBJ::light |
| POINT |
Small dim point of a fixed size |
| POINT2 |
Small brighter point of a fixed size that slowly pulses |
| FLICKER |
Round light that randomly flickers |
| BRIGHT |
Round light that also brightens what it lights |
| LASERBEAM |
Beam of light, currently not shown |
| LASER |
Cloud of soft spots swirling around the object |
| RING |
Ring of light whose radius is given by jjOBJ::light |
| RING2 |
Wider ring of light around a dim disk |
| PLAYER |
Light around a player |