File: laser.h

package info (click to toggle)
rockdodger 0.9.2-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,220 kB
  • ctags: 756
  • sloc: ansic: 5,374; makefile: 159; sh: 21
file content (16 lines) | stat: -rw-r--r-- 382 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __LASER_H__2012
#define __LASER_H__2012
#include <SDL/SDL_video.h>

/*! \brief draw (laser) random dots
 *
 * Draw horizontal random laser dots.
 *
 * \param surf surface to draw on (is being locked!)
 * \param ypos horizontal position
 * \param x_min minimum x
 * \param x_max maximum x
 */
void draw_random_dots(SDL_Surface *surf, int ypos, int x_min, int x_max);

#endif