~ubuntu-branches/ubuntu/quantal/xbill/quantal

« back to all changes in this revision

Viewing changes to Spark.cc

  • Committer: Bazaar Package Importer
  • Author(s): Adrian Bridgett
  • Date: 2001-06-24 22:44:40 UTC
  • Revision ID: james.westby@ubuntu.com-20010624224440-r8kbgt5ae7q1230g
Tags: upstream-2.0
ImportĀ upstreamĀ versionĀ 2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "objects.h"
 
2
 
 
3
int Spark::delay(unsigned int lev) {
 
4
        return game.MAX (20-lev, 0);
 
5
}
 
6
 
 
7
void Spark::load_pix() {
 
8
        int i;
 
9
        for (i=0; i<2; i++)
 
10
                pictures[i].load("spark", i);
 
11
        width = pictures[0].width;
 
12
        height = pictures[0].height;
 
13
}