mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
94d5dfcf10
* 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
14 lines
482 B
C
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);
|