~ubuntu-branches/ubuntu/karmic/xbill/karmic

« back to all changes in this revision

Viewing changes to Spark.cc

  • Committer: Bazaar Package Importer
  • Author(s): Adrian Bridgett
  • Date: 2004-09-07 09:52:14 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040907095214-d0m46ojc8f7upuqm
Tags: 2.1-4
maintainer upload of NMU - many thanks Tollef (closes: #268885) 

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
 
}