mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-11 15:29:16 -04:00
clean some gbi function in header (#30)
* clean some gbi function in header * move gbi extra in mk64.h * Update mk64.h --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef ALL_COURSE_DATA_H
|
||||
#define ALL_COURSE_DATA_H
|
||||
|
||||
#include "mk64.h"
|
||||
|
||||
#include "courses/big_donut/course_data.h"
|
||||
#include "courses/block_fort/course_data.h"
|
||||
#include "courses/double_deck/course_data.h"
|
||||
@@ -15,6 +17,5 @@
|
||||
#include "courses/bowsers_castle/course_data.h"
|
||||
#include "courses/sherbet_land/course_data.h"
|
||||
#include "courses/wario_stadium/course_data.h"
|
||||
void gSPDisplayList(Gfx* pkt, Gfx* dl);
|
||||
|
||||
#endif // ALL_COURSE_DATA_H
|
||||
|
||||
@@ -99,6 +99,4 @@
|
||||
**/
|
||||
#define GET_PACKED_END(dl) (((u8 *) dl) + sizeof(dl) - sizeof(dl[0]) - 0x07000000)
|
||||
|
||||
void gSPDisplayList(Gfx* pkt, Gfx* dl);
|
||||
|
||||
#endif
|
||||
|
||||
+2
-1
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <libultraship.h>
|
||||
#include <string.h>
|
||||
#include <libultra/gbi.h>
|
||||
|
||||
/**
|
||||
* @file mk64.h
|
||||
@@ -119,7 +120,7 @@ enum SURFACE_TYPE {
|
||||
|
||||
#define MACRO_COLOR_FLAG(r, g, b, flag) (r&~0x3) | (flag & 0x3), (g&~0x3) | ((flag>>2) & 0x3), b
|
||||
|
||||
// libultra
|
||||
// Extra gbi commands
|
||||
void gSPSegmentLoadRes(void* value, int segNum, uintptr_t target);
|
||||
void gSPDisplayList(Gfx* pkt, Gfx* dl);
|
||||
void gSPDisplayListOffset(Gfx* pkt, Gfx* dl, int offset);
|
||||
|
||||
Reference in New Issue
Block a user