Correct compiling error with Particle example

This commit is contained in:
Crayon2000 2017-02-05 04:33:43 -05:00
parent 4e141fd476
commit 6b7416f655
2 changed files with 1 additions and 6 deletions

View file

@ -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 :=
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------

View file

@ -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;