coastline 0.0.4
Loading...
Searching...
No Matches
fadecommands.h
Go to the documentation of this file.
1#ifndef COASTLINE_FADE_COMMANDS_H
2#define COASTLINE_FADE_COMMANDS_H
3
4#include "common/render.h"
5
6#if TGR_BOSS_RALLY
7#include "common/combine.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
16#define WriteFadeCombineMode(secondCycle) \
17 PackCombineMode(gDisplayListPtr++, \
18 0, \
19 0, \
20 0, \
21 1000 + G_CCMUX_PRIMITIVE, \
22 0, \
23 0, \
24 0, \
25 1000 + G_ACMUX_PRIMITIVE, \
26 0, \
27 0, \
28 0, \
29 1000 + G_CCMUX_##secondCycle, \
30 0, \
31 0, \
32 0, \
33 1000 + G_ACMUX_##secondCycle)
34
35#ifdef __cplusplus
36}
37#endif
38
39#else
43#define WriteFadeCombineMode(secondCycle) \
44 gDPSetCombineLERP(gDisplayListPtr++, \
45 0, \
46 0, \
47 0, \
48 PRIMITIVE, \
49 0, \
50 0, \
51 0, \
52 PRIMITIVE, \
53 0, \
54 0, \
55 0, \
56 secondCycle, \
57 0, \
58 0, \
59 0, \
60 secondCycle)
61#endif /* TGR_BOSS_RALLY */
62
63#endif /* COASTLINE_FADE_COMMANDS_H */
The state the renderer shares between the parts of a frame.