mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-25 08:12:20 +00:00
Correct compiling error with Particle example
This commit is contained in:
parent
4e141fd476
commit
6b7416f655
2 changed files with 1 additions and 6 deletions
|
@ -18,7 +18,7 @@ include $(DEVKITPPC)/wii_rules
|
||||||
TARGET := $(notdir $(CURDIR))
|
TARGET := $(notdir $(CURDIR))
|
||||||
BUILD := build
|
BUILD := build
|
||||||
SOURCES := source
|
SOURCES := source
|
||||||
DATA := source/gfx
|
DATA := source/GFX
|
||||||
INCLUDES :=
|
INCLUDES :=
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
|
@ -26,8 +26,6 @@
|
||||||
// Random Number (0 - 1) in float
|
// Random Number (0 - 1) in float
|
||||||
#define RANDOM ((((float)(rand() % 12))/12)-0.5)
|
#define RANDOM ((((float)(rand() % 12))/12)-0.5)
|
||||||
|
|
||||||
Mtx GXmodelView2D;
|
|
||||||
|
|
||||||
// Basic structure to hold particle data
|
// Basic structure to hold particle data
|
||||||
typedef struct Particle {
|
typedef struct Particle {
|
||||||
u8 id;
|
u8 id;
|
||||||
|
@ -55,9 +53,6 @@ static bool updateParticle( Particle *part );
|
||||||
static u8 CalculateFrameRate();
|
static u8 CalculateFrameRate();
|
||||||
static u8 ClampVar8 (f32 Value);
|
static u8 ClampVar8 (f32 Value);
|
||||||
|
|
||||||
// Initialize general variables
|
|
||||||
extern GXRModeObj *rmode;
|
|
||||||
|
|
||||||
// Prepare Graphics
|
// Prepare Graphics
|
||||||
GRRLIB_texImg *GFX_Background;
|
GRRLIB_texImg *GFX_Background;
|
||||||
GRRLIB_texImg *GFX_Crosshair;
|
GRRLIB_texImg *GFX_Crosshair;
|
||||||
|
|
Loading…
Reference in a new issue