public CClientMain() { gCClientParse = new CClientParse(); gCClientEffect = new CClientEffect(); gCClientView = new CClientView(); gCClientEntity = new CClientEntity(); // TEMPORARY! (SHOULD BE IN SP_WORLDSPAWN) if (CClient.cl.configstrings == null) { CClient.cl.configstrings = new string[CShared.MAX_CONFIGSTRINGS]; } // setup light animation tables. 'a' is total darkness, 'z' is doublebright. // 0 normal CClient.cl.configstrings[CShared.CS_LIGHTS + 0] = "m"; // 1 FLICKER (first variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 1] = "mmnmmommommnonmmonqnmmo"; // 2 SLOW STRONG PULSE CClient.cl.configstrings[CShared.CS_LIGHTS + 2] = "abcdefghijklmnopqrstuvwxyzyxwvutsrqponmlkjihgfedcba"; // 3 CANDLE (first variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 3] = "mmmmmaaaaammmmmaaaaaabcdefgabcdefg"; // 4 FAST STROBE CClient.cl.configstrings[CShared.CS_LIGHTS + 4] = "mamamamamama"; // 5 GENTLE PULSE 1 CClient.cl.configstrings[CShared.CS_LIGHTS + 5] = "jklmnopqrstuvwxyzyxwvutsrqponmlkj"; // 6 FLICKER (second variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 6] = "nmonqnmomnmomomno"; // 7 CANDLE (second variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 7] = "mmmaaaabcdefgmmmmaaaammmaamm"; // 8 CANDLE (third variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 8] = "mmmaaammmaaammmabcdefaaaammmmabcdefmmmaaaa"; // 9 SLOW STROBE (fourth variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 9] = "aaaaaaaazzzzzzzz"; // 10 FLUORESCENT FLICKER CClient.cl.configstrings[CShared.CS_LIGHTS + 10] = "mmamammmmammamamaaamammma"; // 11 SLOW PULSE NOT FADE TO BLACK CClient.cl.configstrings[CShared.CS_LIGHTS + 11] = "abcdefghijklmnopqrrqponmlkjihgfedcba"; // styles 32-62 are assigned by the light program for switchable lights // 63 testing CClient.cl.configstrings[CShared.CS_LIGHTS + 63] = "a"; }
public CClientMain() { gCClientParse = new CClientParse(); gCClientEffect = new CClientEffect(); gCClientView = new CClientView(); gCClientEntity = new CClientEntity(); // TEMPORARY! (SHOULD BE IN SP_WORLDSPAWN) if (CClient.cl.configstrings == null) CClient.cl.configstrings = new string[CShared.MAX_CONFIGSTRINGS]; // setup light animation tables. 'a' is total darkness, 'z' is doublebright. // 0 normal CClient.cl.configstrings[CShared.CS_LIGHTS + 0] = "m"; // 1 FLICKER (first variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 1] = "mmnmmommommnonmmonqnmmo"; // 2 SLOW STRONG PULSE CClient.cl.configstrings[CShared.CS_LIGHTS + 2] = "abcdefghijklmnopqrstuvwxyzyxwvutsrqponmlkjihgfedcba"; // 3 CANDLE (first variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 3] = "mmmmmaaaaammmmmaaaaaabcdefgabcdefg"; // 4 FAST STROBE CClient.cl.configstrings[CShared.CS_LIGHTS + 4] = "mamamamamama"; // 5 GENTLE PULSE 1 CClient.cl.configstrings[CShared.CS_LIGHTS + 5] = "jklmnopqrstuvwxyzyxwvutsrqponmlkj"; // 6 FLICKER (second variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 6] = "nmonqnmomnmomomno"; // 7 CANDLE (second variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 7] = "mmmaaaabcdefgmmmmaaaammmaamm"; // 8 CANDLE (third variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 8] = "mmmaaammmaaammmabcdefaaaammmmabcdefmmmaaaa"; // 9 SLOW STROBE (fourth variety) CClient.cl.configstrings[CShared.CS_LIGHTS + 9] = "aaaaaaaazzzzzzzz"; // 10 FLUORESCENT FLICKER CClient.cl.configstrings[CShared.CS_LIGHTS + 10] = "mmamammmmammamamaaamammma"; // 11 SLOW PULSE NOT FADE TO BLACK CClient.cl.configstrings[CShared.CS_LIGHTS + 11] = "abcdefghijklmnopqrrqponmlkjihgfedcba"; // styles 32-62 are assigned by the light program for switchable lights // 63 testing CClient.cl.configstrings[CShared.CS_LIGHTS + 63] = "a"; }