2013-12-19 17:10:14 +00:00
|
|
|
#pragma once
|
2020-03-28 16:58:01 +00:00
|
|
|
#include "types.h"
|
|
|
|
#include "ta_ctx.h"
|
2021-03-23 15:07:53 +00:00
|
|
|
#include "hw/sh4/sh4_if.h"
|
2013-12-19 17:10:14 +00:00
|
|
|
|
|
|
|
struct TA_context;
|
|
|
|
|
|
|
|
void ta_vtx_ListCont();
|
|
|
|
void ta_vtx_ListInit();
|
|
|
|
void ta_vtx_SoftReset();
|
|
|
|
|
2021-03-23 15:07:53 +00:00
|
|
|
void DYNACALL ta_vtx_data32(const SQBuffer *data);
|
|
|
|
void ta_vtx_data(const SQBuffer *data, u32 size);
|
2013-12-19 17:10:14 +00:00
|
|
|
|
|
|
|
bool ta_parse_vdrc(TA_context* ctx);
|
2021-03-26 17:39:19 +00:00
|
|
|
|
|
|
|
class TaTypeLut
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static const TaTypeLut& instance() {
|
|
|
|
static TaTypeLut _instance;
|
|
|
|
return _instance;
|
|
|
|
}
|
|
|
|
u32 table[256];
|
|
|
|
|
|
|
|
private:
|
|
|
|
TaTypeLut();
|
|
|
|
};
|