58 lines
1.1 KiB
C
58 lines
1.1 KiB
C
/**********************/
|
|
/*** Global Defines ***/
|
|
/**********************/
|
|
|
|
#ifndef _GLOBAL_HEADER_
|
|
#define _GLOBAL_HEADER_
|
|
|
|
#include <stddef.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <strings.h>
|
|
#include <libetc.h>
|
|
#include <libgte.h>
|
|
#include <libgpu.h>
|
|
#include <libsn.h>
|
|
#include <libcd.h>
|
|
#include <libspu.h>
|
|
#include <libapi.h>
|
|
#include <inline_c.h>
|
|
#include <sys\types.h>
|
|
#include "utils\replace.h"
|
|
#include <gtemac.h>
|
|
|
|
/*****************************************************************************/
|
|
#define SCRATCH_RAM 0x1f800000
|
|
#define FAST_STACK (SCRATCH_RAM+0x3f0)
|
|
|
|
enum
|
|
{
|
|
FRACTION_SHIFT = 8,
|
|
};
|
|
|
|
enum DRAW_TYPE
|
|
{
|
|
DT_NORMAL,
|
|
DT_TRANSPARENT,
|
|
DT_SUBTRACT,
|
|
DT_ADDITION,
|
|
DT_MULTIPLY,
|
|
};
|
|
|
|
|
|
/*****************************************************************************/
|
|
#include "system\types.h"
|
|
|
|
#include "mem\memory.h"
|
|
#include "system\gte.h"
|
|
#include "utils\cmxmacro.h"
|
|
#include "utils\fixed.h"
|
|
|
|
#include "system\dbg.h"
|
|
#include "system\info.h"
|
|
#include "system\lnkopt.h"
|
|
|
|
/*****************************************************************************/
|
|
|
|
#endif
|