~ubuntu-branches/ubuntu/lucid/warzone2100/lucid

« back to all changes in this revision

Viewing changes to data/script/fastplay/start.slo

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Egger, Paul Wise, Christoph Egger
  • Date: 2009-06-29 17:12:52 UTC
  • mfrom: (1.1.11 upstream) (2.1.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090629171252-5ddnlfg3zfchrega
Tags: 2.2.1+dfsg1-1
[ Paul Wise ]
* New upstream release (Closes: #534962)
* Adjust the flex build-depends to take account of the conflict
  with all the versions of flex 2.5.34 (LP: #372872)
* Make the -music Recommends more strict, 2.1 music doesn't work
  with 2.2.
* Upstream moved the downloads to sourceforge, update the watch file
* Bump Standards-Version, no changes needed
* Drop use of dh_desktop since it no longer does anything
* Recommend the new warzone2100-video package, version 2.2 or similar
* Mention the warzone2100 crash reports in the -dbg package description

[ Christoph Egger ]
* Replace CC-2.0 graphic from cybersphinx, create a new tarball
* Add myself to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//Start.slo
2
 
//used to setup all the starting tech and power for player starting game
3
 
 
4
 
public          int             player, startPow;
5
 
public          int             numTechs;
6
 
public          RESEARCHSTAT    startTech[5];
7
 
public          WEAPON          mg;                             //req'd for start level
8
 
private         int             count, count2;
9
 
 
10
 
/* Initialisation */
11
 
event   start(CALL_GAMEINIT)
12
 
{
13
 
//make MG available to player!
14
 
        //makeComponentAvailable(mg, player);           //needs to be done this way so doesn't enable rest of tree!
15
 
//set technology for player
16
 
        count2 = 0;
17
 
        while (count2 < numTechs)
18
 
        {
19
 
                completeResearch(startTech[count2], player);
20
 
                count2 = count2 + 1;
21
 
        }
22
 
//set power level
23
 
        setPowerLevel(startPow, player);
24
 
}