mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-25 00:02:20 +00:00
Update Doxyfile to v1.9.6
This commit is contained in:
parent
3050dba256
commit
7ed7b6b16b
4 changed files with 44 additions and 23 deletions
|
@ -592,7 +592,7 @@ void GRRLIB_DrawCone(f32 r, f32 h, u16 d, bool filled, u32 col) {
|
||||||
for(u16 i = 0; i <= d; i++) {
|
for(u16 i = 0; i <= d; i++) {
|
||||||
const f32 dx = cosf( M_PI * 2.0f * i / d );
|
const f32 dx = cosf( M_PI * 2.0f * i / d );
|
||||||
const f32 dy = sinf( M_PI * 2.0f * i / d );
|
const f32 dy = sinf( M_PI * 2.0f * i / d );
|
||||||
GX_Position3f32( 0, -0.5f * h,0);
|
GX_Position3f32( 0, -0.5f * h, 0);
|
||||||
GX_Normal3f32( dx, 0.0f, dy );
|
GX_Normal3f32( dx, 0.0f, dy );
|
||||||
GX_Color1u32(col);
|
GX_Color1u32(col);
|
||||||
GX_Position3f32( r * dx, 0.5f * h, r * dy );
|
GX_Position3f32( r * dx, 0.5f * h, r * dy );
|
||||||
|
|
|
@ -46,7 +46,7 @@ GRRLIB_bytemapFont* GRRLIB_LoadBMF (const u8 my_bmf[] ) {
|
||||||
//u8 usedcolors = my_bmf[10];
|
//u8 usedcolors = my_bmf[10];
|
||||||
//u8 highestcolor = my_bmf[11];
|
//u8 highestcolor = my_bmf[11];
|
||||||
u8 nbPalette = my_bmf[16];
|
u8 nbPalette = my_bmf[16];
|
||||||
short int numcolpal = 3 * nbPalette;
|
const short int numcolpal = 3 * nbPalette;
|
||||||
fontArray->palette = (u32 *)calloc(nbPalette + 1, sizeof(u32));
|
fontArray->palette = (u32 *)calloc(nbPalette + 1, sizeof(u32));
|
||||||
for (u32 i=0; i < numcolpal; i+=3) {
|
for (u32 i=0; i < numcolpal; i+=3) {
|
||||||
fontArray->palette[j++] = ((((my_bmf[i+17]<<2)+3)<<24) | (((my_bmf[i+18]<<2)+3)<<16) | (((my_bmf[i+19]<<2)+3)<<8) | 0xFF);
|
fontArray->palette[j++] = ((((my_bmf[i+17]<<2)+3)<<24) | (((my_bmf[i+18]<<2)+3)<<16) | (((my_bmf[i+19]<<2)+3)<<8) | 0xFF);
|
||||||
|
|
14
README.md
14
README.md
|
@ -71,6 +71,7 @@ version" to a directory called C:\grr
|
||||||
|
|
||||||
This guide is for Windows. If you are using Linux, I am going to presume you
|
This guide is for Windows. If you are using Linux, I am going to presume you
|
||||||
are smart enough to convert these instructions.
|
are smart enough to convert these instructions.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
GRRLIB is supplied as source code
|
GRRLIB is supplied as source code
|
||||||
libpngu is supplied as source code
|
libpngu is supplied as source code
|
||||||
|
@ -80,8 +81,9 @@ libjpeg is supplied via devkitPro pacman (ppc-libjpeg-turbo)
|
||||||
libfat is supplied via devkitPro pacman (libfat-ogc)
|
libfat is supplied via devkitPro pacman (libfat-ogc)
|
||||||
```
|
```
|
||||||
|
|
||||||
The easy way is to install GRRLIB and all the required libraries in a single
|
The easy way is to install GRRLIB and all the required libraries with a few
|
||||||
command:
|
commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB
|
cd \grr\GRRLIB
|
||||||
|
@ -96,6 +98,7 @@ installed and you are ready to start developing Wii homebrew games.
|
||||||
|
|
||||||
If you want, you could install the libfat, libpng,
|
If you want, you could install the libfat, libpng,
|
||||||
libfreetype and libjpeg with there dependencies in a single command:
|
libfreetype and libjpeg with there dependencies in a single command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pacman --sync --needed --noconfirm libfat-ogc ppc-libpng ppc-freetype ppc-libjpeg-turbo
|
pacman --sync --needed --noconfirm libfat-ogc ppc-libpng ppc-freetype ppc-libjpeg-turbo
|
||||||
```
|
```
|
||||||
|
@ -103,6 +106,7 @@ libfreetype and libjpeg with there dependencies in a single command:
|
||||||
Each library could also be installed individually:
|
Each library could also be installed individually:
|
||||||
|
|
||||||
To install libpngu:
|
To install libpngu:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB\lib\pngu
|
cd \grr\GRRLIB\lib\pngu
|
||||||
|
@ -110,6 +114,7 @@ To install libpngu:
|
||||||
```
|
```
|
||||||
|
|
||||||
To install libgrrlib for Wii:
|
To install libgrrlib for Wii:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB\GRRLIB
|
cd \grr\GRRLIB\GRRLIB
|
||||||
|
@ -117,6 +122,7 @@ To install libgrrlib for Wii:
|
||||||
```
|
```
|
||||||
|
|
||||||
To install libgrrlib for GameCube:
|
To install libgrrlib for GameCube:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
c:
|
c:
|
||||||
cd \grr\GRRLIB\GRRLIB
|
cd \grr\GRRLIB\GRRLIB
|
||||||
|
@ -126,15 +132,19 @@ To install libgrrlib for GameCube:
|
||||||
## Using GRRLIB
|
## Using GRRLIB
|
||||||
|
|
||||||
After everything is installed, simply put
|
After everything is installed, simply put
|
||||||
|
|
||||||
```c
|
```c
|
||||||
#include <grrlib.h>
|
#include <grrlib.h>
|
||||||
```
|
```
|
||||||
|
|
||||||
at the top of your .c/.cpp file and use the functions as required
|
at the top of your .c/.cpp file and use the functions as required
|
||||||
|
|
||||||
You will need to add
|
You will need to add
|
||||||
|
|
||||||
```make
|
```make
|
||||||
-lgrrlib -lfreetype -lbz2 -lfat -ljpeg -lpngu -lpng -lz
|
-lgrrlib -lfreetype -lbz2 -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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Doxyfile 1.9.5
|
# Doxyfile 1.9.6
|
||||||
|
|
||||||
# This file describes the settings to be used by the documentation system
|
# This file describes the settings to be used by the documentation system
|
||||||
# doxygen (www.doxygen.org) for a project.
|
# doxygen (www.doxygen.org) for a project.
|
||||||
|
@ -86,7 +86,7 @@ CREATE_SUBDIRS = NO
|
||||||
# level increment doubles the number of directories, resulting in 4096
|
# level increment doubles the number of directories, resulting in 4096
|
||||||
# directories at level 8 which is the default and also the maximum value. The
|
# directories at level 8 which is the default and also the maximum value. The
|
||||||
# sub-directories are organized in 2 levels, the first level always has a fixed
|
# sub-directories are organized in 2 levels, the first level always has a fixed
|
||||||
# numer of 16 directories.
|
# number of 16 directories.
|
||||||
# Minimum value: 0, maximum value: 8, default value: 8.
|
# Minimum value: 0, maximum value: 8, default value: 8.
|
||||||
# This tag requires that the tag CREATE_SUBDIRS is set to YES.
|
# This tag requires that the tag CREATE_SUBDIRS is set to YES.
|
||||||
|
|
||||||
|
@ -568,7 +568,8 @@ HIDE_UNDOC_MEMBERS = NO
|
||||||
# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
|
# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
|
||||||
# undocumented classes that are normally visible in the class hierarchy. If set
|
# undocumented classes that are normally visible in the class hierarchy. If set
|
||||||
# to NO, these classes will be included in the various overviews. This option
|
# to NO, these classes will be included in the various overviews. This option
|
||||||
# has no effect if EXTRACT_ALL is enabled.
|
# will also hide undocumented C++ concepts if enabled. This option has no effect
|
||||||
|
# if EXTRACT_ALL is enabled.
|
||||||
# The default value is: NO.
|
# The default value is: NO.
|
||||||
|
|
||||||
HIDE_UNDOC_CLASSES = NO
|
HIDE_UNDOC_CLASSES = NO
|
||||||
|
@ -859,6 +860,14 @@ WARN_IF_INCOMPLETE_DOC = YES
|
||||||
|
|
||||||
WARN_NO_PARAMDOC = YES
|
WARN_NO_PARAMDOC = YES
|
||||||
|
|
||||||
|
# If WARN_IF_UNDOC_ENUM_VAL option is set to YES, doxygen will warn about
|
||||||
|
# undocumented enumeration values. If set to NO, doxygen will accept
|
||||||
|
# undocumented enumeration values. If EXTRACT_ALL is set to YES then this flag
|
||||||
|
# will automatically be disabled.
|
||||||
|
# The default value is: NO.
|
||||||
|
|
||||||
|
WARN_IF_UNDOC_ENUM_VAL = NO
|
||||||
|
|
||||||
# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when
|
# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when
|
||||||
# a warning is encountered. If the WARN_AS_ERROR tag is set to FAIL_ON_WARNINGS
|
# a warning is encountered. If the WARN_AS_ERROR tag is set to FAIL_ON_WARNINGS
|
||||||
# then doxygen will continue running as if WARN_AS_ERROR tag is set to NO, but
|
# then doxygen will continue running as if WARN_AS_ERROR tag is set to NO, but
|
||||||
|
@ -1233,10 +1242,11 @@ CLANG_DATABASE_PATH =
|
||||||
|
|
||||||
ALPHABETICAL_INDEX = NO
|
ALPHABETICAL_INDEX = NO
|
||||||
|
|
||||||
# In case all classes in a project start with a common prefix, all classes will
|
# The IGNORE_PREFIX tag can be used to specify a prefix (or a list of prefixes)
|
||||||
# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
|
# that should be ignored while generating the index headers. The IGNORE_PREFIX
|
||||||
# can be used to specify a prefix (or a list of prefixes) that should be ignored
|
# tag works for classes, function and member names. The entity will be placed in
|
||||||
# while generating the index headers.
|
# the alphabetical list under the first letter of the entity name that remains
|
||||||
|
# after removing the prefix.
|
||||||
# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
|
# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
|
||||||
|
|
||||||
IGNORE_PREFIX =
|
IGNORE_PREFIX =
|
||||||
|
@ -1315,7 +1325,12 @@ HTML_STYLESHEET =
|
||||||
# Doxygen will copy the style sheet files to the output directory.
|
# Doxygen will copy the style sheet files to the output directory.
|
||||||
# Note: The order of the extra style sheet files is of importance (e.g. the last
|
# Note: The order of the extra style sheet files is of importance (e.g. the last
|
||||||
# style sheet in the list overrules the setting of the previous ones in the
|
# style sheet in the list overrules the setting of the previous ones in the
|
||||||
# list). For an example see the documentation.
|
# list).
|
||||||
|
# Note: Since the styling of scrollbars can currently not be overruled in
|
||||||
|
# Webkit/Chromium, the styling will be left out of the default doxygen.css if
|
||||||
|
# one or more extra stylesheets have been specified. So if scrollbar
|
||||||
|
# customization is desired it has to be added explicitly. For an example see the
|
||||||
|
# documentation.
|
||||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
|
|
||||||
HTML_EXTRA_STYLESHEET =
|
HTML_EXTRA_STYLESHEET =
|
||||||
|
@ -1331,17 +1346,13 @@ HTML_EXTRA_STYLESHEET =
|
||||||
HTML_EXTRA_FILES =
|
HTML_EXTRA_FILES =
|
||||||
|
|
||||||
# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output
|
# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output
|
||||||
# should be rendered with a dark or light theme. Default setting AUTO_LIGHT
|
# should be rendered with a dark or light theme.
|
||||||
# enables light output unless the user preference is dark output. Other options
|
# Possible values are: LIGHT always generate light mode output, DARK always
|
||||||
# are DARK to always use dark mode, LIGHT to always use light mode, AUTO_DARK to
|
# generate dark mode output, AUTO_LIGHT automatically set the mode according to
|
||||||
# default to dark mode unless the user prefers light mode, and TOGGLE to let the
|
# the user preference, use light mode if no preference is set (the default),
|
||||||
# user toggle between dark and light mode via a button.
|
# AUTO_DARK automatically set the mode according to the user preference, use
|
||||||
# Possible values are: LIGHT Always generate light output., DARK Always generate
|
# dark mode if no preference is set and TOGGLE allow to user to switch between
|
||||||
# dark output., AUTO_LIGHT Automatically set the mode according to the user
|
# light and dark mode via a button.
|
||||||
# preference, use light mode if no preference is set (the default)., AUTO_DARK
|
|
||||||
# Automatically set the mode according to the user preference, use dark mode if
|
|
||||||
# no preference is set. and TOGGLE Allow to user to switch between light and
|
|
||||||
# dark mode via a button..
|
|
||||||
# The default value is: AUTO_LIGHT.
|
# The default value is: AUTO_LIGHT.
|
||||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue