94 else if (LocalClan = 0) then LocalClan:= t |
102 else if (LocalClan = 0) then LocalClan:= t |
95 end; |
103 end; |
96 end; |
104 end; |
97 CurrentTeam:= ClansArray[0]^.Teams[0]; |
105 CurrentTeam:= ClansArray[0]^.Teams[0]; |
98 end; |
106 end; |
|
107 |
|
108 // if special game flags are set, add them to the game mode notice window and then show it |
|
109 g:= ''; // no text/things to note yet |
|
110 g:= AddGoal(g, gfForts, gidForts); // forts? |
|
111 g:= AddGoal(g, gfLowGravity, gidLowGravity); // low gravity? |
|
112 g:= AddGoal(g, gfInvulnerable, gidInvulnerable); // invulnerability? |
|
113 g:= AddGoal(g, gfVampiric, gidVampiric); // vampirism? |
|
114 g:= AddGoal(g, gfKarma, gidKarma); // karma? |
|
115 g:= AddGoal(g, gfKing, gidKing); // king? |
|
116 g:= AddGoal(g, gfPlaceHog, gidPlaceHog); // placement? |
|
117 g:= AddGoal(g, gfArtillery, gidArtillery); // artillery? |
|
118 g:= AddGoal(g, gfSolidLand, gidSolidLand); // solid land? |
|
119 // if the string has been set, show it for (default timeframe) seconds |
|
120 if g <> '' then ShowMission(trgoal[gidCaption], trgoal[gidSubCaption], g, 1, 0); |
99 |
121 |
100 cWaveWidth:= SpritesData[sprWater].Width; |
122 cWaveWidth:= SpritesData[sprWater].Width; |
101 //cWaveHeight:= SpritesData[sprWater].Height; |
123 //cWaveHeight:= SpritesData[sprWater].Height; |
102 cWaveHeight:= 32; |
124 cWaveHeight:= 32; |
103 |
125 |