Line 4:
Line 4:
| type = framework library
| type = framework library
| author = [[User:Minishlink|Minishlink]]
| author = [[User:Minishlink|Minishlink]]
−
| version = 1.2
+
| version = 1.3
| website = http://louislagrange.free.fr/MLlib/
| website = http://louislagrange.free.fr/MLlib/
| download = http://code.google.com/p/mllib/downloads/
| download = http://code.google.com/p/mllib/downloads/
Line 63:
Line 63:
First you need to have '''devkitPro''' installed. Go [[Devkitppc setup (Linux)|install]] it ! ;)
First you need to have '''devkitPro''' installed. Go [[Devkitppc setup (Linux)|install]] it ! ;)
−
[OPTIONAL] Then, '''libpng''' for Wii must be installed. ('''if you want to re-code the library only''' !)
+
Then, '''libpng''' for Wii must be installed.
# Download it at [http://louislagrange.free.fr/MLlib/downloads/libpng_wii.zip my FTP] or elsewhere.
# Download it at [http://louislagrange.free.fr/MLlib/downloads/libpng_wii.zip my FTP] or elsewhere.
# Extract it and place the .a in "devkitpro/libogc/lib/wii" and the folder "png" in "devkitpro/libogc/include".
# Extract it and place the .a in "devkitpro/libogc/lib/wii" and the folder "png" in "devkitpro/libogc/include".
+
# It's done !
+
+
'''libz''' has to be installed also.
+
# Download it at [http://louislagrange.free.fr/MLlib/downloads/libz_wii.zip my FTP] or elsewhere.
+
# Extract it and place the .a in "devkitpro/libogc/lib/wii" and the two files .h in "devkitpro/libogc/include".
# It's done !
# It's done !
Line 168:
Line 173:
==Update History==
==Update History==
+
+
===1.3 - January 19, 2011===
+
Compatible with DevkitPPc r22, libogc 1.8.6 and libfat 1.0.8.
+
* FreeTypeGX updated (0.3.1)
+
* Metaphrasis updated (0.1.2)
+
* uthash updated (1.9.1)
+
* fixed: ML_AnimateSpriteEx & ML_AnimateSpriteEx2
+
* added: ML_EnableTextureAntiAliasing() (AA is disabled by default)
+
* added: ML_DisableTextureAntiAliasing()
+
* modified: ML_DrawRect() now can be filled or not (and bug with color fixed)
+
* added: ML_DrawCircle(x, y, radius, rgba, filled)
+
* fixed: Issue #1 (finally! :D).
+
* fixed: possible buffer overflow with sprite texts.
+
* fixed: sprite texts were not at the right y coordinate.
+
* fixed: no more skipped characters with sprite texts when auto jumping lines.
+
(and textBox)
+
* improved: TTF text speed-up
+
* fixed: Underline and strike now applying well when jumping lines with TTF
+
fonts
+
* fixed: Jumping lines correctly with TTF fonts.
+
* fixed: anti-aliasing with modified textures
+
* added: u32 ML_ElapsedTime()
+
* added: ML_Wait(ms)
+
* fixed: possible code dump with ML_DrawRect() (forgot GX_End, lol)
+
* fixed: ML_ElapsedTime() now returns the true elapsed time since the app launch
+
(not since Wii launch)
+
* modified: ML_DrawText -> You can now use arguments !
+
* modified: ML_DrawText -> Use \n and \t instead of %n and %t, also use #cX
+
instead of %cX
+
* updated: template Makefile, now type "make emu" and if you have Dolphin
+
Emulator installed, the dol will load immediately ! :)
+
* fixed: Code dump when using ML_DrawText(), you have to use #n and #t instead
+
of \n and \t, sorry.
+
* fixed: possible weird things happening on the screen
+
* Added strucutre ML_TextInfo to store infos about a text to be drawn (width,
+
height, numbers of characters that will be printed) returned by ML_GetTextInfo()
+
* documentation update
+
* optimizations
===1.2 - December 24, 2009===
===1.2 - December 24, 2009===