sm64coopdx/src/game/scroll_targets.h
wRadion 94d5dfcf10
Scrolling textures (continued) (#175)
* Handle scroll targets as dynamic array + some error handling

* Remove the need to call init (clean automatically scroll targets)

* Free iteratively instead of recursive

* Added comments + handled some potential errors

* Completed comments

* Remove debug print
2022-09-12 19:57:28 -07:00

14 lines
482 B
C

/*
* All credit goes to https://github.com/jesusyoshi54
* also known as scuttlebugraiser, the creator of RM2C
* Created for the project https://github.com/jesusyoshi54/sm64ex-alo for RM2C support
* https://github.com/jesusyoshi54/sm64ex-alo/blob/master/src/game/ScrollTargets.inc.c
*/
#include <PR/ultratypes.h>
#include "sm64.h"
#include "types.h"
Vtx* *get_scroll_targets(u32 id);
void add_vtx_scroll_target(u32 id, Vtx *vtx, u32 size);
void free_vtx_scroll_targets(void);