mirror of
https://github.com/CorsixTH/CorsixTH.git
synced 2025-07-23 04:13:01 +02:00
Document effect and effect_ticks parameters for patient effects. (#2000)
This commit is contained in:
@@ -338,7 +338,9 @@ class animation_manager {
|
||||
@param iX The screen position to use as the animation X origin.
|
||||
@param iY The screen position to use as the animation Y origin.
|
||||
@param iFlags Zero or more THDrawFlags flags.
|
||||
@param effect The animation effect to apply.
|
||||
@param patient_effect The animation effect to apply to the patient.
|
||||
@param patient_effect_offset The number of ticks to offset the effect
|
||||
animation by.
|
||||
*/
|
||||
void draw_frame(render_target* pCanvas, size_t iFrame,
|
||||
const ::layers& oLayers, int iX, int iY, uint32_t iFlags,
|
||||
|
@@ -549,6 +549,8 @@ class sprite_sheet {
|
||||
@param iX X position to draw the sprite.
|
||||
@param iY Y position to draw the sprite.
|
||||
@param iFlags Flags to apply for drawing.
|
||||
@param effect_ticks The number of ticks into the effect animation.
|
||||
@param effect The animation effect to apply to the sprite.
|
||||
*/
|
||||
void draw_sprite(render_target* pCanvas, size_t iSprite, int iX, int iY,
|
||||
uint32_t iFlags, size_t effect_ticks = 0u,
|
||||
|
Reference in New Issue
Block a user