Nuclide
Software Development Kit for id Tech
effects.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Vera Visions LLC.
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
13 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
14 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*/
16
17/* engine reserved */
18typedef enum
19{
20 EF_BRIGHTFIELD = (1<<0),
21 EF_MUZZLEFLASH = (1<<1),
22 EF_BRIGHTLIGHT = (1<<2),
23 EF_DIMLIGHT = (1<<3),
24 EF_NODRAW = (1<<4),
25 EF_ADDITIVE = (1<<5),
26 EF_BLUE = (1<<6),
27 EF_RED = (1<<7),
28 EF_UNUSED1 = (1<<8),
29 EF_FULLBRIGHT = (1<<9),
30 EF_UNUSED2 = (1<<10),
31 EF_UNUSED3 = (1<<11),
32 EF_NOSHADOW = (1<<12),
33 EF_NODEPTHTEST = (1<<13),
34 EF_UNUSED4 = (1<<14),
35 EF_UNUSED5 = (1<<15),
36 EF_UNUSED6 = (1<<16),
37 EF_UNUSED7 = (1<<17),
38 EF_GREEN = (1<<18),
39 EF_UNUSED8 = (1<<19),
40 EF_UNUSED9 = (1<<20),
41 EF_UNUSED10 = (1<<21),
42 EF_UNUSED11 = (1<<22),
43 EF_ONFIRE = (1<<23)
effects_t
Definition: effects.h:19
@ EF_UNUSED9
Unused.
Definition: effects.h:40
@ EF_ADDITIVE
Render the entity additively.
Definition: effects.h:25
@ EF_UNUSED1
Unused.
Definition: effects.h:28
@ EF_UNUSED10
Unused.
Definition: effects.h:41
@ EF_UNUSED4
Unused.
Definition: effects.h:34
@ EF_NOSHADOW
Entity won't cast a shadow.
Definition: effects.h:32
@ EF_UNUSED6
Unused.
Definition: effects.h:36
@ EF_NODEPTHTEST
Entity renders through walls.
Definition: effects.h:33
@ EF_UNUSED2
Unused.
Definition: effects.h:30
@ EF_RED
Cast a red dynamic light.
Definition: effects.h:27
@ EF_NODRAW
Skip rendering of the entity.
Definition: effects.h:24
@ EF_UNUSED5
Unused.
Definition: effects.h:35
@ EF_ONFIRE
Unused.
Definition: effects.h:43
@ EF_FULLBRIGHT
Render entity without lighting.
Definition: effects.h:29
@ EF_BRIGHTFIELD
Cast a bright, starry field volume.
Definition: effects.h:20
@ EF_BRIGHTLIGHT
Cast a large sized dynamic light.
Definition: effects.h:22
@ EF_UNUSED7
Unused.
Definition: effects.h:37
@ EF_UNUSED8
Unused.
Definition: effects.h:39
@ EF_DIMLIGHT
Cast a small sized dynamic light.
Definition: effects.h:23
@ EF_UNUSED3
Unused.
Definition: effects.h:31
@ EF_GREEN
Cast a green dynamic light.
Definition: effects.h:38
@ EF_MUZZLEFLASH
Cast a medium sized dynamic light.
Definition: effects.h:21
@ EF_UNUSED11
Unused.
Definition: effects.h:42
@ EF_BLUE
Cast a blue dynamic light.
Definition: effects.h:26