Line 137:
Line 137:
* added : ML_Screenshot(filename)
* added : ML_Screenshot(filename)
* added : ML_IsSpriteVisible(sprite)
* added : ML_IsSpriteVisible(sprite)
−
* added : ML_AnimateSpriteEx(sprite, enabled,
+
* added : ML_AnimateSpriteEx(sprite, enabled, waitForXRefreshBetweenFrames, from, to)
−
waitForXRefreshBetweenFrames, from, to)
* added : ML_TextBox(ML_Sprite *sprite, x, y, x2, y2, const char *text, ...)
* added : ML_TextBox(ML_Sprite *sprite, x, y, x2, y2, const char *text, ...)
* added : ML_DrawRect(int x, int y, u16 width, u16 height, u32 rgba)
* added : ML_DrawRect(int x, int y, u16 width, u16 height, u32 rgba)
Line 153:
Line 152:
* modified : ML_SetPixelColor
* modified : ML_SetPixelColor
* modified : ML_SplashScreen
* modified : ML_SplashScreen
−
* modified : ML_Cursor, so that it draws your cursor/sprite with the center of
+
* modified : ML_Cursor, so that it draws your cursor/sprite with the center of the image, and then modifies the sprite.x and sprite.y so that if you point to the left-up edge of the screen it gives you 0, 0.
−
the image, and then modifies the sprite.x and sprite.y so that if you point to
−
the left-up edge of the screen it gives you 0, 0.
* fixes and optimizations
* fixes and optimizations
===1.0 - May 31, 2009===
===1.0 - May 31, 2009===
* First public release
* First public release