mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-10 18:56:53 -04:00
26 lines
652 B
C
26 lines
652 B
C
#include <ultra64.h>
|
|
#include "constants.h"
|
|
#include "game/data/data_000000.h"
|
|
#include "game/data/data_0083d0.h"
|
|
#include "game/data/data_00e460.h"
|
|
#include "game/data/data_0160b0.h"
|
|
#include "game/data/data_01a3a0.h"
|
|
#include "game/data/data_020df0.h"
|
|
#include "game/data/data_02da90.h"
|
|
#include "gvars/gvars.h"
|
|
#include "lib/lib_0d0a0.h"
|
|
#include "lib/lib_121e0.h"
|
|
#include "types.h"
|
|
|
|
void loadTextureList(void)
|
|
{
|
|
extern u8 _texturesTableRomStart;
|
|
extern u8 _texturesTableRomEnd;
|
|
|
|
u32 len = ((&_texturesTableRomEnd - &_texturesTableRomStart) + 15) & -16;
|
|
|
|
g_Textures = malloc(len, 6);
|
|
|
|
func0000d410(g_Textures, &_texturesTableRomStart, len);
|
|
}
|