mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
Add Codacy Badge
This commit is contained in:
parent
f8669ff668
commit
7494de85ce
4 changed files with 7 additions and 6 deletions
|
@ -2,6 +2,7 @@
|
||||||
======
|
======
|
||||||
|
|
||||||
[![Build Status](https://travis-ci.org/GRRLIB/GRRLIB.svg?branch=master)](https://travis-ci.org/GRRLIB/GRRLIB)
|
[![Build Status](https://travis-ci.org/GRRLIB/GRRLIB.svg?branch=master)](https://travis-ci.org/GRRLIB/GRRLIB)
|
||||||
|
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/5b2983faefbf443eaa5705e7cc6e5f68)](https://www.codacy.com/app/Crayon2000/GRRLIB?utm_source=github.com&utm_medium=referral&utm_content=GRRLIB/GRRLIB&utm_campaign=Badge_Grade)
|
||||||
[![Join the chat at https://gitter.im/GRRLIB/GRRLIB](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/GRRLIB/GRRLIB?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[![Join the chat at https://gitter.im/GRRLIB/GRRLIB](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/GRRLIB/GRRLIB?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
|
|
||||||
Table of Contents
|
Table of Contents
|
||||||
|
|
|
@ -137,7 +137,7 @@ int main() {
|
||||||
int bgx=-32, bgy=-32;
|
int bgx=-32, bgy=-32;
|
||||||
float idperso=0;
|
float idperso=0;
|
||||||
int i=0;
|
int i=0;
|
||||||
float sinnonameno=0, oldsinnonameno=0;
|
float sinnonameno=0;
|
||||||
float camZ=1400.0f;
|
float camZ=1400.0f;
|
||||||
float a=0;
|
float a=0;
|
||||||
|
|
||||||
|
@ -266,7 +266,7 @@ int main() {
|
||||||
}
|
}
|
||||||
GRRLIB_DrawTile(TileMap1Width*9,TileMap1Height*6,tex_perso,0,1,1,0xFFFFFFFF,(int)idperso);
|
GRRLIB_DrawTile(TileMap1Width*9,TileMap1Height*6,tex_perso,0,1,1,0xFFFFFFFF,(int)idperso);
|
||||||
|
|
||||||
oldsinnonameno=sinnonameno;
|
const float oldsinnonameno=sinnonameno;
|
||||||
for(i=0; i<8; i++) {
|
for(i=0; i<8; i++) {
|
||||||
GRRLIB_DrawTile(TileMap1Width*(6+i),(TileMap1Height*10)+sin(sinnonameno)*64,tex_nonameno,0,1,1,0xFFFFFFFF,i);
|
GRRLIB_DrawTile(TileMap1Width*(6+i),(TileMap1Height*10)+sin(sinnonameno)*64,tex_nonameno,0,1,1,0xFFFFFFFF,i);
|
||||||
sinnonameno+=0.4F;
|
sinnonameno+=0.4F;
|
||||||
|
|
|
@ -20,7 +20,7 @@ int main() {
|
||||||
float a=0;
|
float a=0;
|
||||||
int cubeZ=5;
|
int cubeZ=5;
|
||||||
int i=0;
|
int i=0;
|
||||||
float sinx=0, oldsinx=0;
|
float sinx=0;
|
||||||
|
|
||||||
GRRLIB_Init();
|
GRRLIB_Init();
|
||||||
WPAD_Init();
|
WPAD_Init();
|
||||||
|
@ -133,7 +133,7 @@ int main() {
|
||||||
|
|
||||||
// Switch To 2D Mode to display text
|
// Switch To 2D Mode to display text
|
||||||
GRRLIB_2dMode();
|
GRRLIB_2dMode();
|
||||||
oldsinx=sinx;
|
const float oldsinx=sinx;
|
||||||
for(i=0; i<rmode->efbHeight; i++) {
|
for(i=0; i<rmode->efbHeight; i++) {
|
||||||
GRRLIB_DrawTile(0+sin(sinx)*60,i,tex_screen,0,1,1,0xFFFFFFFF,i);
|
GRRLIB_DrawTile(0+sin(sinx)*60,i,tex_screen,0,1,1,0xFFFFFFFF,i);
|
||||||
sinx+=0.02f;
|
sinx+=0.02f;
|
||||||
|
|
|
@ -135,7 +135,7 @@ int main() {
|
||||||
int bgx=-32, bgy=-32;
|
int bgx=-32, bgy=-32;
|
||||||
float idperso=0;
|
float idperso=0;
|
||||||
int i=0;
|
int i=0;
|
||||||
float sinnonameno=0, oldsinnonameno=0;
|
float sinnonameno=0;
|
||||||
|
|
||||||
GRRLIB_Init();
|
GRRLIB_Init();
|
||||||
GRRLIB_Settings.antialias = false;
|
GRRLIB_Settings.antialias = false;
|
||||||
|
@ -253,7 +253,7 @@ int main() {
|
||||||
}
|
}
|
||||||
GRRLIB_DrawTile(TileMap1Width*9,TileMap1Height*6,tex_perso,0,1,1,0xFFFFFFFF,(int)idperso);
|
GRRLIB_DrawTile(TileMap1Width*9,TileMap1Height*6,tex_perso,0,1,1,0xFFFFFFFF,(int)idperso);
|
||||||
|
|
||||||
oldsinnonameno=sinnonameno;
|
const float oldsinnonameno=sinnonameno;
|
||||||
for(i=0; i<8; i++) {
|
for(i=0; i<8; i++) {
|
||||||
GRRLIB_DrawTile(TileMap1Width*(6+i),(TileMap1Height*10)+sin(sinnonameno)*64,tex_nonameno,0,1,1,0xFFFFFFFF,i);
|
GRRLIB_DrawTile(TileMap1Width*(6+i),(TileMap1Height*10)+sin(sinnonameno)*64,tex_nonameno,0,1,1,0xFFFFFFFF,i);
|
||||||
sinnonameno+=0.4F;
|
sinnonameno+=0.4F;
|
||||||
|
|
Loading…
Reference in a new issue