mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
Fix links to tags in CHANGELOG.md
This commit is contained in:
parent
ea175caf4e
commit
0d76531301
5 changed files with 17 additions and 17 deletions
|
@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file.
|
||||||
## [4.4.0] - 2020-01-12
|
## [4.4.0] - 2020-01-12
|
||||||
|
|
||||||
- Removed libpng, zlib, libfreetype and libjpeg from the project. These libraries should now be installed in devkitPro with pacman.
|
- Removed libpng, zlib, libfreetype and libjpeg from the project. These libraries should now be installed in devkitPro with pacman.
|
||||||
- GRRLIB and pngu are now installed into the porlibs folder.
|
- GRRLIB and pngu are now installed into the _porlibs_ folder instead of the _libogc_ folder.
|
||||||
- Removed `uint` declaration. The `u32` type should be used instead.
|
- Removed `uint` declaration. The `u32` type should be used instead.
|
||||||
- The `GRRLIB_CreateEmptyTexture()` function is not inline anymore.
|
- The `GRRLIB_CreateEmptyTexture()` function is not inline anymore.
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## 4.0.0 - 2009-03-05
|
## 4.0.0 - 2009-03-05
|
||||||
|
|
||||||
- Color format changed for ALL GRRLib functions (now its RGBA) to fit to GX_Color format and use `GX_Color1u32`
|
- Color format changed to RGBA for ALL GRRLib functions to fit to GX_Color format and use `GX_Color1u32`
|
||||||
- `GRRLIB_LoadTexture()` now auto detect PNG or JPEG
|
- `GRRLIB_LoadTexture()` now auto detect PNG or JPEG
|
||||||
- GRRLib introduce a new texture structure (easier to handle texture width, height, etc ...)
|
- GRRLib introduce a new texture structure (easier to handle texture width, height, etc ...)
|
||||||
- Add `GRRLIB_InitTileSet()` to initialize a tile set
|
- Add `GRRLIB_InitTileSet()` to initialize a tile set
|
||||||
|
@ -106,8 +106,8 @@ All notable changes to this project will be documented in this file.
|
||||||
- New Bitmap FX
|
- New Bitmap FX
|
||||||
- Add `GRRLIB_Exit()` to free the memory allocated by GRRLIB
|
- Add `GRRLIB_Exit()` to free the memory allocated by GRRLIB
|
||||||
|
|
||||||
[Unreleased]: https://github.com/GRRLIB/GRRLIB/compare/4.4.0...HEAD
|
[Unreleased]: https://github.com/GRRLIB/GRRLIB/compare/v4.4.0...HEAD
|
||||||
[4.4.0]: https://github.com/GRRLIB/GRRLIB/compare/4.3.2...4.4.0
|
[4.4.0]: https://github.com/GRRLIB/GRRLIB/compare/4.3.2...v4.4.0
|
||||||
[4.3.2]: https://github.com/GRRLIB/GRRLIB/compare/4.3.1...4.3.2
|
[4.3.2]: https://github.com/GRRLIB/GRRLIB/compare/4.3.1...4.3.2
|
||||||
[4.3.1]: https://github.com/GRRLIB/GRRLIB/compare/4.3.0...4.3.1
|
[4.3.1]: https://github.com/GRRLIB/GRRLIB/compare/4.3.0...4.3.1
|
||||||
[4.3.0]: https://github.com/GRRLIB/GRRLIB/compare/4.2.0...4.3.0
|
[4.3.0]: https://github.com/GRRLIB/GRRLIB/compare/4.2.0...4.3.0
|
||||||
|
|
|
@ -131,7 +131,7 @@ void GRRLIB_PrintfTTFW(int x, int y, GRRLIB_ttfFont *myFont, const wchar_t *utf3
|
||||||
int penX = 0;
|
int penX = 0;
|
||||||
int penY = fontSize;
|
int penY = fontSize;
|
||||||
FT_GlyphSlot slot = Face->glyph;
|
FT_GlyphSlot slot = Face->glyph;
|
||||||
FT_UInt glyphIndex = 0;
|
FT_UInt glyphIndex;
|
||||||
FT_UInt previousGlyph = 0;
|
FT_UInt previousGlyph = 0;
|
||||||
u8 cR = R(color), cG = G(color), cB = B(color);
|
u8 cR = R(color), cG = G(color), cB = B(color);
|
||||||
|
|
||||||
|
|
|
@ -131,12 +131,12 @@ signed int Map1Info[53][87] =
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
int startx=0, starty=0;
|
int startx=0, starty=0;
|
||||||
int x=0, y=0;
|
int x, y;
|
||||||
int dirx=0, diry=0;
|
int dirx=0, diry=0;
|
||||||
int cptx=0, cpty=0;
|
int cptx=0, cpty=0;
|
||||||
int bgx=-32, bgy=-32;
|
int bgx=-32, bgy=-32;
|
||||||
float idperso=0;
|
float idperso=0;
|
||||||
int i=0;
|
int i;
|
||||||
float sinnonameno=0;
|
float sinnonameno=0;
|
||||||
float camZ=1400.0f;
|
float camZ=1400.0f;
|
||||||
float a=0;
|
float a=0;
|
||||||
|
@ -257,8 +257,8 @@ int main() {
|
||||||
}
|
}
|
||||||
GRRLIB_DrawImg(bgx, bgy, tex_bg, 0, 1, 1, 0xFFFFFFFF);
|
GRRLIB_DrawImg(bgx, bgy, tex_bg, 0, 1, 1, 0xFFFFFFFF);
|
||||||
|
|
||||||
for(y=0;y<=(17);y++) {
|
for(y=0; y<=17; y++) {
|
||||||
for(x=0;x<=(21);x++) {
|
for(x=0; x<=21; x++) {
|
||||||
if(Map1Data[y+starty][x+startx] != 0) {
|
if(Map1Data[y+starty][x+startx] != 0) {
|
||||||
GRRLIB_DrawTile(x*TileMap1Width+cptx-TileMap1Width,y*TileMap1Height+cpty-TileMap1Height,tex_tile1,0,1,1,0xFFFFFFFF,Map1Data[y+starty][x+startx]-1);
|
GRRLIB_DrawTile(x*TileMap1Width+cptx-TileMap1Width,y*TileMap1Height+cpty-TileMap1Height,tex_tile1,0,1,1,0xFFFFFFFF,Map1Data[y+starty][x+startx]-1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,12 +129,12 @@ signed int Map1Info[51][87] =
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
int startx=0, starty=0;
|
int startx=0, starty=0;
|
||||||
int x=0, y=0;
|
int x, y;
|
||||||
int dirx=0, diry=0;
|
int dirx=0, diry=0;
|
||||||
int cptx=0, cpty=0;
|
int cptx=0, cpty=0;
|
||||||
int bgx=-32, bgy=-32;
|
int bgx=-32, bgy=-32;
|
||||||
float idperso=0;
|
float idperso=0;
|
||||||
int i=0;
|
int i;
|
||||||
float sinnonameno=0;
|
float sinnonameno=0;
|
||||||
|
|
||||||
GRRLIB_Init();
|
GRRLIB_Init();
|
||||||
|
@ -244,8 +244,8 @@ int main() {
|
||||||
}
|
}
|
||||||
GRRLIB_DrawImg(bgx, bgy, tex_bg, 0, 1, 1, 0xFFFFFFFF);
|
GRRLIB_DrawImg(bgx, bgy, tex_bg, 0, 1, 1, 0xFFFFFFFF);
|
||||||
|
|
||||||
for(y=0; y<=(16); y++) {
|
for(y=0; y<=16; y++) {
|
||||||
for(x=0; x<=(21); x++) {
|
for(x=0; x<=21; x++) {
|
||||||
if(Map1Data[y+starty][x+startx] != 0) {
|
if(Map1Data[y+starty][x+startx] != 0) {
|
||||||
GRRLIB_DrawTile(x*TileMap1Width+cptx-TileMap1Width,y*TileMap1Height+cpty-TileMap1Height,tex_tile1,0,1,1,0xFFFFFFFF,Map1Data[y+starty][x+startx]-1);
|
GRRLIB_DrawTile(x*TileMap1Width+cptx-TileMap1Width,y*TileMap1Height+cpty-TileMap1Height,tex_tile1,0,1,1,0xFFFFFFFF,Map1Data[y+starty][x+startx]-1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
============================================*/
|
============================================*/
|
||||||
#include <grrlib.h>
|
#include <grrlib.h>
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <cstdlib>
|
||||||
#include <wiiuse/wpad.h>
|
#include <wiiuse/wpad.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <ogc/lwp_watchdog.h>
|
#include <ogc/lwp_watchdog.h>
|
||||||
|
|
Loading…
Reference in a new issue