File: Spark.cc

package info (click to toggle)
xbill 2.0-7
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 528 kB
  • ctags: 339
  • sloc: cpp: 1,803; makefile: 38; sh: 21
file content (13 lines) | stat: -rw-r--r-- 238 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "objects.h"

int Spark::delay(unsigned int lev) {
	return game.MAX (20-lev, 0);
}

void Spark::load_pix() {
	int i;
	for (i=0; i<2; i++)
		pictures[i].load("spark", i);
	width = pictures[0].width;
	height = pictures[0].height;
}