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

« back to all changes in this revision

Viewing changes to data/base/script/text/cam3ax.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
//cam3aX.SLO
 
2
 
 
3
/* ******************** */
 
4
/* Declared Variables   */
 
5
/* ******************** */
 
6
 
 
7
public          int             startPower;     //initial power level
 
8
public          int             player;
 
9
//starting Tech
 
10
public          int             numTechs;
 
11
public          RESEARCHSTAT    startTech[10];
 
12
private         int             count, temp;
 
13
 
 
14
 
 
15
event start(CALL_GAMEINIT)
 
16
{
 
17
        //reset the flag so that the Transporters leave the map when they have been emptied
 
18
        setDroidsToSafetyFlag(false);
 
19
        //set starting power
 
20
        setPowerLevel(startPower,player);
 
21
//give player starting tech
 
22
        count = 0;
 
23
        while (count < numTechs)
 
24
        {
 
25
                completeResearch(startTech[count], player);
 
26
                count = count + 1;
 
27
        }
 
28
    //reset the mission timer for the start of cam 3
 
29
    setMissionTime(-1);
 
30
}
 
31