示例#1
0
        public Intermission(GameOptions options, IntermissionInfo info)
        {
            this.options = options;
            this.info    = info;

            this.scores = info.Player;

            this.killCount   = 0;
            this.itemCount   = 0;
            this.secretCount = 0;

            this.InitSinglePLayerStats();

            this.completed = false;
        }
示例#2
0
        public Intermission(GameOptions options, IntermissionInfo info)
        {
            this.options = options;
            this.info    = info;

            this.scores = info.Players;

            this.killCount   = new int[Player.MaxPlayerCount];
            this.itemCount   = new int[Player.MaxPlayerCount];
            this.secretCount = new int[Player.MaxPlayerCount];
            this.fragCount   = new int[Player.MaxPlayerCount];

            this.dmFragCount = new int[Player.MaxPlayerCount][];

            for (var i = 0; i < Player.MaxPlayerCount; i++)
            {
                this.dmFragCount[i] = new int[Player.MaxPlayerCount];
            }

            this.dmTotalCount = new int[Player.MaxPlayerCount];

            if (options.Deathmatch != 0)
            {
                this.InitDeathmatchStats();
            }
            else if (options.NetGame)
            {
                this.InitNetGameStats();
            }
            else
            {
                this.InitSinglePLayerStats();
            }

            this.completed = false;
        }