Skip to content

Instantly share code, notes, and snippets.

View Skaronator's full-sized avatar
🚀
Starship

Niklas Wagner Skaronator

🚀
Starship
View GitHub Profile
// Converts [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
// Into [[1, 4, 7], [2, 5, 8], [3, 6, 9]]
const transpose = (array: any[]) => Object.keys(array[0]).map((c: any) => array.map((r: any) => r[c]));
class RscDisplayDebriefing: RscStandardDisplay
{
class controls
{
delete Debriefing_MissionTitle;
delete CA_MissionTitle;
delete CA_TextVotingTimeLeft;
delete CA_MissionResult;
delete CA_DebriefingInfo;
delete CA_DebriefingTextGroup;
class CfgInGameUI
{
class MPTable
{
color[] = {0,0,0,0}; //{0.7,0.7,0.7,1};
colorTitleBg[] = {0,0,0,0}; //{0.1,0.15,0.15,1};
colorBg[] = {0,0,0,0}; //{0.1,0.15,0.1,0.9};
colorSelected[] = {0,0,0,0}; //{0.7,0.7,0.7,0.4};
colorWest[] = {0,0,0,0}; //{0.7,0.95,0.7,1};
colorEast[] = {0,0,0,0}; //{0.95,0.7,0.7,1};