Skip to content

Commit

Permalink
Fix doxygen errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mesilliac committed Jul 2, 2022
1 parent 23baabf commit 30cd5af
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/display.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,12 @@ class display : public video2::draw_layering

public:
/**
* Add an item to the drawing buffer. You need to update screen on affected area
* Add an item to the drawing buffer.
*
* This returns a blit_helper reference with several extra fields that can
* be modified as necessary. In particular hflip, vflip and alpha_mod
* have been moved to this helper. Fields that can be modified are
* available as public members of blit_helper.
*
* @param layer The layer to draw on.
* @param loc The hex the image belongs to, needed for the
Expand All @@ -987,10 +992,6 @@ class display : public video2::draw_layering
* in drawing coordinates.
* @param tex The texture to use.
* @param clip The portion of the source texture to use.
* @param hflip If true, flip the image horizontally.
* @param vflip If true, flip the image vertically.
* @param alpha_mod An alpha modifier to apply - multiplies
* texture alpha by this value when drawing.
*/
blit_helper& drawing_buffer_add(const drawing_layer layer,
const map_location& loc, const SDL_Rect& dest, const texture& tex,
Expand Down

0 comments on commit 30cd5af

Please sign in to comment.