Document object_stream (#553)

* Document XML

* Finish documentation

* Add file header comment

* Single line comment styling
This commit is contained in:
Tom Overton
2022-01-03 23:19:15 -08:00
committed by GitHub
parent e7ba2c507d
commit be952305d8
4 changed files with 5 additions and 14 deletions
@@ -5,6 +5,7 @@
*/
#include "z_en_stream.h"
#include "objects/object_stream/object_stream.h"
#define FLAGS 0x00000010
@@ -33,8 +34,6 @@ static InitChainEntry sInitChain[] = {
ICHAIN_VEC3F_DIV1000(scale, 20, ICHAIN_STOP),
};
extern Gfx D_06000950[];
void EnStream_SetupAction(EnStream* this, EnStreamActionFunc actionFunc) {
this->actionFunc = actionFunc;
}
@@ -144,7 +143,7 @@ void EnStream_Draw(Actor* thisx, GlobalContext* globalCtx) {
gSPSegment(&gfx[1], 0x08,
Gfx_TwoTexScroll(globalCtx->state.gfxCtx, 0, frames * 30, -multipliedFrames, 64, 64, 1, multipliedFrames,
-multipliedFrames, 64, 64));
gSPDisplayList(&gfx[2], D_06000950);
gSPDisplayList(&gfx[2], gWaterVortexDL);
POLY_XLU_DISP = &gfx[3];
CLOSE_DISPS(globalCtx->state.gfxCtx);
}