mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
Updated README file with a real Table of Contents.
This commit is contained in:
parent
e2fabc1888
commit
30c060518c
2 changed files with 32 additions and 62 deletions
92
README.md
92
README.md
|
@ -5,32 +5,24 @@ GRRLIB
|
||||||
Table of Contents
|
Table of Contents
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
#####Introduction
|
- [Introduction](#introduction)
|
||||||
######...What is it?
|
- ...What is it?
|
||||||
|
- [Developing for the Wii](#developing-for-the-wii)
|
||||||
#####Developing for the Wii
|
- ...How do I even start?
|
||||||
######...How do I even start?
|
- [Downloading GRRLIB](#downloading-grrlib)
|
||||||
|
- ...Where do I get it from?
|
||||||
#####Downloading GRRLIB
|
- [Installing GRRLIB](#installing-grrlib)
|
||||||
######...Where do I get it from?
|
- ...How do I get it to a useable state?
|
||||||
|
- [Using GRRLIB](#using-grrlib)
|
||||||
#####Installing GRRLIB
|
- ...What essentials do I need to know to get going?
|
||||||
######...How do I get it to a useable state?
|
- [Upgrading to v4.1.0 From Previous Versions of GRRLIB](#upgrading-to-v410-from-previous-versions-of-grrlib)
|
||||||
|
- ...I upgraded and now my programs won't compile properly!?
|
||||||
#####Using GRRLIB
|
- [Using GitHub](#using-github)
|
||||||
######...What essentials do I need to know to get going?
|
- ...What is this Git thing that the L337 devs keep talking about?
|
||||||
|
- [Credits](#credits)
|
||||||
#####Upgrading to v4.1.0 From Previous Versions of GRRLIB
|
- ...Who do I thank for all this free stuff?
|
||||||
######...I upgraded and now my programs won't compile properly!?
|
- [Licence](#licence)
|
||||||
|
- ...When you say "free" do you actually mean something else?
|
||||||
#####Using GitHub
|
|
||||||
######...What is this Git thing that the L337 devs keep talking about?
|
|
||||||
|
|
||||||
#####Credits
|
|
||||||
######...Who do I thank for all this free stuff?
|
|
||||||
|
|
||||||
#####Licence
|
|
||||||
######...When you say "free" do you actually mean something else?
|
|
||||||
|
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
|
@ -51,13 +43,15 @@ to allow real-time loading and saving of graphical data, and thus requires
|
||||||
'libfat'. GRRLIB also has the possibility to use TrueType fonts, so
|
'libfat'. GRRLIB also has the possibility to use TrueType fonts, so
|
||||||
'libfreetype' is also required.
|
'libfreetype' is also required.
|
||||||
|
|
||||||
libgrrlib <- 2D/3D graphics library
|
```
|
||||||
+-- libfat <- File I/O
|
libgrrlib <- 2D/3D graphics library
|
||||||
+-- libjpeg <- JPEG image processor
|
+-- libfat <- File I/O
|
||||||
+-- libpngu <- Wii wrapper for libpng
|
+-- libjpeg <- JPEG image processor
|
||||||
+-- libpng <- PNG image processor
|
+-- libpngu <- Wii wrapper for libpng
|
||||||
+-- libz <- Zip (lossless) compression (for PNG compression)
|
+-- libpng <- PNG image processor
|
||||||
+-- libfreetype <- TrueType font processor
|
+-- libz <- Zip (lossless) compression (for PNG compression)
|
||||||
|
+-- libfreetype <- TrueType font processor
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Developing for the Wii
|
Developing for the Wii
|
||||||
|
@ -173,9 +167,10 @@ at the top of your .c/.cpp file and use the functions as required
|
||||||
|
|
||||||
You will also need to add
|
You will also need to add
|
||||||
```make
|
```make
|
||||||
-lgrrlib -lfreetype -lfat -ljpeg -lpngu -lpng -lz
|
-lgrrlib -lfreetype -lfat -ljpeg -lpngu -lpng -lz
|
||||||
```
|
```
|
||||||
to the libs line in your makefile
|
to the libs line in your makefile
|
||||||
|
|
||||||
...Remember the order of the libraries is critical. You may (need to) insert
|
...Remember the order of the libraries is critical. You may (need to) insert
|
||||||
other libraries in the middle of the list, you may need to add others to the
|
other libraries in the middle of the list, you may need to add others to the
|
||||||
start, or even the end - but do _not_ change the order of the libraries shown
|
start, or even the end - but do _not_ change the order of the libraries shown
|
||||||
|
@ -274,9 +269,9 @@ Credits
|
||||||
Licence
|
Licence
|
||||||
-------
|
-------
|
||||||
|
|
||||||
GRRLIB is released under the MIT Licence. If we had chosen the GPL licence you
|
GRRLIB is released under [the MIT Licence](https://github.com/GRRLIB/GRRLIB/blob/master/LICENCE.TXT).
|
||||||
would be +forced+ (legally required) to release your source code. But in the
|
If we had chosen the GPL licence you would be +forced+ (legally required) to release your source code.
|
||||||
spirit of "free as in FREE" we have left you with the +option+ to release your
|
But in the spirit of "free as in FREE" we have left you with the +option+ to release your
|
||||||
source code.
|
source code.
|
||||||
|
|
||||||
We do +request+ that you tell others about us by naming our library (GRRLIB) in
|
We do +request+ that you tell others about us by naming our library (GRRLIB) in
|
||||||
|
@ -285,26 +280,3 @@ encourage you to use our logo to achieve it; You can find our logo here:
|
||||||
C:\grr\grrlib_logo.png
|
C:\grr\grrlib_logo.png
|
||||||
and here:
|
and here:
|
||||||
http://grrlib.santo.fr/wiki/images/logo.png
|
http://grrlib.santo.fr/wiki/images/logo.png
|
||||||
|
|
||||||
This is the official license text
|
|
||||||
```
|
|
||||||
Copyright (c) 2015 The GRRLIB Team
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
```
|
|
||||||
|
|
|
@ -70,7 +70,6 @@ GRRLIB_texImg *GFX_Smoke;
|
||||||
GRRLIB_texImg *GFX_Font;
|
GRRLIB_texImg *GFX_Font;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
u32 WPADKeyDown;
|
u32 WPADKeyDown;
|
||||||
u32 WPADKeyHeld;
|
u32 WPADKeyHeld;
|
||||||
|
@ -256,7 +255,6 @@ static bool updateParticle( Particle *part ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void ExitGame() {
|
static void ExitGame() {
|
||||||
// Free all memory used by textures.
|
// Free all memory used by textures.
|
||||||
for (vector<GRRLIB_texImg *>::iterator TexIter = TextureList.begin(); TexIter != TextureList.end(); TexIter++) {
|
for (vector<GRRLIB_texImg *>::iterator TexIter = TextureList.begin(); TexIter != TextureList.end(); TexIter++) {
|
||||||
|
|
Loading…
Reference in a new issue