mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 05:08:57 -04:00
Debug build improvements (#1170)
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "dolphin/gx/GXTev.h" // IWYU pragma: export
|
||||
#include "dolphin/gx/GXTexture.h" // IWYU pragma: export
|
||||
#include "dolphin/gx/GXTransform.h" // IWYU pragma: export
|
||||
#include "dolphin/gx/GXDraw.h" // IWYU pragma: export
|
||||
|
||||
#include "dolphin/os/OSUtil.h"
|
||||
|
||||
|
||||
@@ -8,6 +8,14 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
void GXDrawCylinder(u8 numEdges);
|
||||
void GXDrawTorus(f32 rc, u8 numc, u8 numt);
|
||||
void GXDrawSphere(u8 numMajor, u8 numMinor);
|
||||
void GXDrawCube(void);
|
||||
void GXDrawDodeca(void);
|
||||
void GXDrawOctahedron(void);
|
||||
void GXDrawIcosahedron(void);
|
||||
void GXDrawSphere1(u8 depth);
|
||||
u32 GXGenNormalTable(u8 depth, f32* table);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "dolphin/os/OSSync.h" // IWYU pragma: export
|
||||
#include "dolphin/os/OSThread.h" // IWYU pragma: export
|
||||
#include "dolphin/os/OSTime.h" // IWYU pragma: export
|
||||
#include "dolphin/os/OSStopwatch.h" // IWYU pragma: export
|
||||
#include "dolphin/os/OSUtil.h" // IWYU pragma: export
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
#ifndef OSSTOPWATCH_H
|
||||
#define OSSTOPWATCH_H
|
||||
|
||||
struct OSStopwatch {
|
||||
char * name;
|
||||
long long total;
|
||||
unsigned long hits;
|
||||
long long min;
|
||||
long long max;
|
||||
long long last;
|
||||
int running;
|
||||
};
|
||||
|
||||
void OSInitStopwatch(struct OSStopwatch * sw, char * name);
|
||||
void OSStartStopwatch(struct OSStopwatch * sw);
|
||||
void OSStopStopwatch(struct OSStopwatch * sw);
|
||||
long long OSCheckStopwatch(struct OSStopwatch * sw);
|
||||
void OSResetStopwatch(struct OSStopwatch * sw);
|
||||
void OSDumpStopwatch(struct OSStopwatch * sw);
|
||||
|
||||
#endif /* OSSTOPWATCH_H */
|
||||
Reference in New Issue
Block a user