3dcam-headers/psx.h

22 lines
491 B
C
Raw Normal View History

2021-04-10 14:22:48 +02:00
#pragma once
#include <sys/types.h>
#include <libgte.h>
#include <libgpu.h>
#include <libetc.h>
2021-04-15 18:18:39 +02:00
#include <libcd.h>
2021-04-10 14:22:48 +02:00
#include "defines.h"
// PSX setup
void init(DISPENV disp[2], DRAWENV draw[2], short db, MATRIX * cmat, CVECTOR * BG, VECTOR * BK );
void display(DISPENV * disp, DRAWENV * draw, u_long * otdisc, char * primbuff, char ** nextprim, char * db);
// Utils
2021-04-15 18:18:39 +02:00
void LoadLevel(const char*const LevelName, u_long * LoadAddress);
2021-04-10 14:22:48 +02:00
void LoadTexture(u_long * tim, TIM_IMAGE * tparam);