diff libcore/core/animation.h @ 169:eb0a7ab71023

misc: extreme cleanup, closes #2506 While here, remove unneeded stuff.
author David Demelier <markand@malikania.fr>
date Tue, 20 Oct 2020 17:39:13 +0200
parents b386d25832c8
children 604fad63bd9c
line wrap: on
line diff
--- a/libcore/core/animation.h	Tue Oct 20 15:09:39 2020 +0200
+++ b/libcore/core/animation.h	Tue Oct 20 17:39:13 2020 +0200
@@ -74,7 +74,7 @@
  * \pre an != NULL
  * \param an the animation
  * \param ticks the elapsed ticks since the last call
- * \return true if the animation is complete
+ * \return True if the animation is complete.
  */
 bool
 animation_update(struct animation *an, unsigned int ticks);
@@ -86,8 +86,9 @@
  * \param an the animation
  * \param x the X coordinate
  * \param y the Y coordinate
+ * \return False in case of rendering error.
  */
-void
+bool
 animation_draw(struct animation *an, int x, int y);
 
 /**