From 0b26b535d7d5670eaf89741a41049ffacabc4845 Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Tue, 9 Nov 2010 04:10:19 +0000 Subject: [PATCH] [CHG] Fixed some typographical errors ... again --- GRRLIB/GRRLIB/GRRLIB_3D.c | 6 +++--- examples/basic_drawing/source/main.c | 6 +++--- examples/bitmap_fx/source/main.c | 14 +++++++------- examples/funsin/source/main.c | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/GRRLIB/GRRLIB/GRRLIB_3D.c b/GRRLIB/GRRLIB/GRRLIB_3D.c index 086ad67..ff3fd33 100644 --- a/GRRLIB/GRRLIB/GRRLIB_3D.c +++ b/GRRLIB/GRRLIB/GRRLIB_3D.c @@ -144,7 +144,7 @@ void GRRLIB_2dMode() { GX_SetChanCtrl(GX_COLOR0A0, GX_DISABLE, GX_SRC_VTX, GX_SRC_VTX, 0, GX_DF_NONE, GX_AF_NONE); GX_SetTevOrder(GX_TEVSTAGE0, GX_TEXCOORD0, GX_TEXMAP0, GX_COLOR0A0); - GRRLIB_Settings.lights = 0; + GRRLIB_Settings.lights = 0; } /** @@ -401,7 +401,7 @@ void GRRLIB_DrawTorus(f32 r, f32 R, int nsides, int rings, bool filled, u32 col) /** * Draw a sphere (with normal). * @param r Radius of the sphere. - * @param lats Number of latitude. + * @param lats Number of latitudes. * @param longs Number of longitudes. * @param filled Wired or not. * @param col Color of the sphere. @@ -750,5 +750,5 @@ void GRRLIB_SetLightOff(void) { GX_SetChanCtrl(GX_COLOR0A0, GX_DISABLE, GX_SRC_VTX, GX_SRC_VTX, 0, GX_DF_NONE, GX_AF_NONE); GX_SetTevOrder(GX_TEVSTAGE0, GX_TEXCOORD0, GX_TEXMAP0, GX_COLOR0A0); - GRRLIB_Settings.lights = 0; + GRRLIB_Settings.lights = 0; } diff --git a/examples/basic_drawing/source/main.c b/examples/basic_drawing/source/main.c index 75260b7..8d30ac4 100644 --- a/examples/basic_drawing/source/main.c +++ b/examples/basic_drawing/source/main.c @@ -118,14 +118,14 @@ int main() { WPAD_Rumble(WPAD_CHAN_0, 1); } if(direction_new != direction) { - // Direction has changed, modify frame immidiately + // Direction has changed, modify frame immediately direction = direction_new; frame = direction; wait = 0; } wait++; if(wait > TILE_DELAY) { - // wait is needed for the number of frame per second to be ok + // wait is needed for the number of frame per second to be OK wait = 0; if(wpadheld & WPAD_BUTTON_LEFT || wpadheld & WPAD_BUTTON_RIGHT || wpadheld & WPAD_BUTTON_UP || wpadheld & WPAD_BUTTON_DOWN) { @@ -147,7 +147,7 @@ int main() { GRRLIB_Rectangle(left + 150, top + 150, 200, 200, 0x0000FFC8, 1); // Blue with alpha GRRLIB_Circle(left + 300, top + 300, 50, GRRLIB_OLIVE, 1); - // Draw a yellow four pixel dot where the wiimote is pointing + // Draw a yellow four pixel dot where the Wii Remote is pointing GRRLIB_Plot(ir1.sx, ir1.sy, GRRLIB_YELLOW); GRRLIB_Plot(ir1.sx + 1, ir1.sy, GRRLIB_YELLOW); GRRLIB_Plot(ir1.sx, ir1.sy + 1, GRRLIB_YELLOW); diff --git a/examples/bitmap_fx/source/main.c b/examples/bitmap_fx/source/main.c index 454c3ce..db43296 100644 --- a/examples/bitmap_fx/source/main.c +++ b/examples/bitmap_fx/source/main.c @@ -48,19 +48,19 @@ int main() { GRRLIB_texImg *tex_flipv = GRRLIB_CreateEmptyTexture(tex_pirate->w, tex_pirate->h); GRRLIB_texImg *tex_fliphv = GRRLIB_CreateEmptyTexture(tex_pirate->w, tex_pirate->h); - // Let's precalculte the grayscale texture + // Let's precalculate the grayscale texture GRRLIB_BMFX_Grayscale(tex_pirate, tex_gray); GRRLIB_FlushTex(tex_gray); - // Let's precalculte the sepia texture + // Let's precalculate the sepia texture GRRLIB_BMFX_Sepia(tex_pirate, tex_sepia); GRRLIB_FlushTex(tex_sepia); - // Let's precalculte the inverted color texture + // Let's precalculate the inverted color texture GRRLIB_BMFX_Invert(tex_pirate, tex_invert); GRRLIB_FlushTex(tex_invert); - // Let's precalculte 6 differents blur texture with 6 differents blur factor + // Let's precalculate 6 differents blur texture with 6 differents blur factor GRRLIB_BMFX_Blur(tex_pirate, tex_blur1, 1); GRRLIB_FlushTex(tex_blur1); GRRLIB_BMFX_Blur(tex_pirate, tex_blur2, 2); @@ -74,7 +74,7 @@ int main() { GRRLIB_BMFX_Blur(tex_pirate, tex_blur6, 6); GRRLIB_FlushTex(tex_blur6); - // Let's precalculte 6 differents pixelate texture with 6 differents pixelate factor + // Let's precalculate 6 differents pixelate texture with 6 differents pixelate factor GRRLIB_BMFX_Pixelate(tex_pirate, tex_pixel1, 1); GRRLIB_FlushTex(tex_pixel1); GRRLIB_BMFX_Pixelate(tex_pirate, tex_pixel2, 2); @@ -88,7 +88,7 @@ int main() { GRRLIB_BMFX_Pixelate(tex_pirate, tex_pixel6, 6); GRRLIB_FlushTex(tex_pixel6); - // Let's precalculte 6 differents pixelate texture with 6 differents pixelate factor + // Let's precalculate 6 differents pixelate texture with 6 differents pixelate factor GRRLIB_BMFX_Scatter(tex_pirate, tex_scatter1, 2); GRRLIB_FlushTex(tex_pixel1); GRRLIB_BMFX_Scatter(tex_pirate, tex_scatter2, 4); @@ -102,7 +102,7 @@ int main() { GRRLIB_BMFX_Scatter(tex_pirate, tex_scatter6, 12); GRRLIB_FlushTex(tex_pixel6); - // Let's precalculte for flipping the texture + // Let's precalculate for flipping the texture GRRLIB_BMFX_FlipH(tex_pirate, tex_fliph); GRRLIB_FlushTex(tex_fliph); GRRLIB_BMFX_FlipV(tex_pirate, tex_flipv); diff --git a/examples/funsin/source/main.c b/examples/funsin/source/main.c index c3c1c45..12c234d 100644 --- a/examples/funsin/source/main.c +++ b/examples/funsin/source/main.c @@ -67,7 +67,7 @@ int main() { while(1) { GRRLIB_FillScreen(0x000000FF); - WPAD_ScanPads(); // Scan the wiimotes + WPAD_ScanPads(); // Scan the Wiimotes if (WPAD_ButtonsDown(0) & WPAD_BUTTON_HOME) break; old1=siny1; old2=siny2; old3=siny3; old4=siny4;