The MLlib (or Minishlink’s Library) is a simple library to develop on Nintendo Wii. Technically, it’s a wrapper of libogc and others librairies. Coding with this lib on Wii should be way easier and faster now!
Features:
Proper code so that it’s nice to see;
Easy for all;
Friendly functions;
Handles drawing (lol);
Sprite system;
Handles PNG images;
Special effects;
Write graphically text;
MP3 system;
MOD system;
Input (Wiimote, Nunchuk, and extensions…) system;
And much more…
Changes:
added: float ML_Distance(x1, y1, x2, y2)
added: float ML_TrueDistance(x1, y1, x2, y2)
added: bool ML_IsCollisionSpriteRect(sprite, x, y, width, height)
added: bool ML_IsCollisionSpriteCircle(sprite, centerX, centerY, radius)
added: bool ML_IsCollisionRectRect(x1, y1, width1, height1, x2, y2, width2, height2)
added: bool ML_IsCollisionCircleCircle(centerX1, centerY1, radius1, centerX2, centerY2, radius2)
added: bool ML_IsCollisionRectCircle(x, y, width, height, centerX, centerY, radius)
added: ML_Font structure
added: ML_InitFont()
added: ML_QuitFont()
added: ML_DeleteFont(ML_Font *font)
added: ML_LoadFontFromBuffer(ML_Font *font, const uint8_t *filename, FT_Long bufferSize, FT_UInt pointSize)
added: ML_LoadFontFromFile(ML_Font *font, const char *filename, FT_UInt pointSize)
added: ML_DrawText(ML_Font *font, int x, int y, char *text, …) (arguments are not currently working though)
fixed: relative paths now working
fixed: ML_ShutdownWii() now freeing like ML_Exit()
fixed: ML_ReturnToWii() now freeing like ML_Exit()