1
0
Fork 0
mirror of https://github.com/demostf/demo.js synced 2026-06-04 00:54:14 +02:00

add test for new celt codec

This commit is contained in:
Robin Appelman 2017-02-17 23:18:45 +01:00
commit 1ef9fe444b
7 changed files with 2043 additions and 27 deletions

View file

@ -33,28 +33,30 @@ export class Match {
playerMap: {[entityId: number]: Player};
entityClasses: {[entityId: string]: ServerClass};
sendTableMap: {[name: string]: SendTable};
baseLineCache: {[serverClass: string]: PacketEntity};
constructor() {
this.tick = 0;
this.chat = [];
this.users = {};
this.deaths = [];
this.rounds = [];
this.startTick = 0;
this.intervalPerTick = 0;
this.stringTables = [];
this.sendTables = [];
this.serverClasses = [];
this.staticBaseLines = [];
this.eventDefinitions = {};
this.players = [];
this.playerMap = {};
this.world = {
this.tick = 0;
this.chat = [];
this.users = {};
this.deaths = [];
this.rounds = [];
this.startTick = 0;
this.intervalPerTick = 0;
this.stringTables = [];
this.sendTables = [];
this.serverClasses = [];
this.staticBaseLines = [];
this.eventDefinitions = {};
this.players = [];
this.playerMap = {};
this.world = {
boundaryMin: {x: 0, y: 0, z: 0},
boundaryMax: {x: 0, y: 0, z: 0}
};
this.entityClasses = {};
this.sendTableMap = {};
this.entityClasses = {};
this.sendTableMap = {};
this.baseLineCache = {};
}
getSendTable(name) {