| 1260 | |
| 1261 | void EmptyDeadIdentities() |
| 1262 | { |
| 1263 | MissionHistory* mh = GetGCampaignHistory().CurrentMission(); |
| 1264 | if (mh) |
| 1265 | { |
| 1266 | mh->dead.Clear(); |
| 1267 | } |
| 1268 | } |
| 1269 | |
| 1270 | void AddDeadIdentity(RString identity) |
| 1271 | { |
| 1272 | MissionHistory* mh = GetGCampaignHistory().CurrentMission(); |
| 1273 | if (mh) |
| 1274 | { |
| 1275 | mh->dead.Add(identity); |
| 1276 | } |
| 1277 | } |
| 1278 | |
| 1279 | } // namespace Poseidon |
| 1280 | Object* GetObject(GameValuePar oper); |
| 1281 | namespace Poseidon |
| 1282 | { |
| 1283 | |
| 1284 | GameValue PoolAddWeapon(const GameState* state, GameValuePar oper1) |
| 1285 | { |
| 1286 | const GameArrayType& array = oper1; |
| 1287 | if (array.Size() != 2 || array[0].GetType() != GameString || array[1].GetType() != GameScalar) |
| 1288 | { |
| 1289 | return GameValue(); |
| 1290 | } |
| 1291 |
nothing calls this directly
no test coverage detected