Add Codacy Badge

This commit is contained in:
Crayon2000 2017-06-18 14:29:12 -04:00
parent f8669ff668
commit 7494de85ce
4 changed files with 7 additions and 6 deletions

View file

@ -2,6 +2,7 @@
======
[![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)
Table of Contents

View file

@ -137,7 +137,7 @@ int main() {
int bgx=-32, bgy=-32;
float idperso=0;
int i=0;
float sinnonameno=0, oldsinnonameno=0;
float sinnonameno=0;
float camZ=1400.0f;
float a=0;
@ -266,7 +266,7 @@ int main() {
}
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++) {
GRRLIB_DrawTile(TileMap1Width*(6+i),(TileMap1Height*10)+sin(sinnonameno)*64,tex_nonameno,0,1,1,0xFFFFFFFF,i);
sinnonameno+=0.4F;

View file

@ -20,7 +20,7 @@ int main() {
float a=0;
int cubeZ=5;
int i=0;
float sinx=0, oldsinx=0;
float sinx=0;
GRRLIB_Init();
WPAD_Init();
@ -133,7 +133,7 @@ int main() {
// Switch To 2D Mode to display text
GRRLIB_2dMode();
oldsinx=sinx;
const float oldsinx=sinx;
for(i=0; i<rmode->efbHeight; i++) {
GRRLIB_DrawTile(0+sin(sinx)*60,i,tex_screen,0,1,1,0xFFFFFFFF,i);
sinx+=0.02f;

View file

@ -135,7 +135,7 @@ int main() {
int bgx=-32, bgy=-32;
float idperso=0;
int i=0;
float sinnonameno=0, oldsinnonameno=0;
float sinnonameno=0;
GRRLIB_Init();
GRRLIB_Settings.antialias = false;
@ -253,7 +253,7 @@ int main() {
}
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++) {
GRRLIB_DrawTile(TileMap1Width*(6+i),(TileMap1Height*10)+sin(sinnonameno)*64,tex_nonameno,0,1,1,0xFFFFFFFF,i);
sinnonameno+=0.4F;