Skip to content

Instantly share code, notes, and snippets.

View tom4897's full-sized avatar

Tom_48_97 ☠ tom4897

View GitHub Profile
@tom4897
tom4897 / CfgDebriefing.hpp
Created August 18, 2019 15:55
Missing Config; If you intend to use these files, just don't :)
class CfgDebriefing
{
class achievement
{
title = "Mission Completed";
subtitle = "";
description = "";
pictureBackground = "data\overview\overview_co.paa";
picture = "flag_UK";
pictureColor[] = {1,1,1,1};
@tom4897
tom4897 / basicDefines.hpp
Last active August 18, 2019 15:02
Respawn
#define SUPERTRUE 2
#define CT_STATIC 0
#define CT_BUTTON 1
#define CT_EDIT 2
#define CT_SLIDER 3
#define CT_COMBO 4
#define CT_LISTBOX 5
#define CT_TOOLBOX 6
#define CT_CHECKBOXES 7
#define CT_PROGRESS 8
@echo off
l:
cd "l:\Poseidon Tools\dev\pe\internal\"
tm4_indenter.exe -silent -nobackup "C:\Users\Tom_48_97\Desktop\t.sqf"
@echo off
set Arma3CommunityToolsPath="L:\Arma3CommunityTools\"
L:
cd %Arma3CommunityToolsPath%
AddonBuilder.exe -help
pause
External Viewer = P:\buldozer.exe -window -buldozer -noland -cfg="L:\Config\buldozer.cfg"
@tom4897
tom4897 / RscDisplayMain.hpp
Created April 3, 2014 15:16
Main UI, first shot.
//--- RscDisplayMain
#define IDC_RSCDISPLAYMAIN_WIP_COPYRIGHTTEXT 17031
#define IDC_RSCDISPLAYMAIN_WIP_GAMELOGO 17631
#define IDC_RSCDISPLAYMAIN_WIP_TILEGROUP 18331
#define IDC_RSCDISPLAYMAIN_WIP_NEWS 18332
#define IDC_RSCDISPLAYMAIN_WIP_BUTTONEXIT 18431
#define IDC_RSCDISPLAYMAIN_WIP_BUTTONOPTIONS 18432
#define IDC_RSCDISPLAYMAIN_WIP_BUTTONEDITOR 18433
#define IDC_RSCDISPLAYMAIN_WIP_BUTTONEXPORT 18434
#define IDC_RSCDISPLAYMAIN_WIP_BUTTONALLMISSIONS 18435
@tom4897
tom4897 / class_cfgBuldozer.cpp
Last active August 29, 2015 13:57
bulldozer fixe
class cfgBuldozer
{
uiBackground[] = {0,0,0,1};
uiForeground[] = {1,1,1,1};
uiBorderSize = "0.002f";
infoHeight = "0.022f";
scaleInfoWidth = "0.3f";
toolInfoWidth = "0.6f";
fadeTimeMs = 6000;
font = "LucidaConsoleB";
:: this is dwarden's experimental TCP related batch
@netsh int tcp set global chimney=enabled
@netsh int tcp set global dca=enabled
@netsh int tcp set global ecncapability=enabled
@netsh int tcp set global congestionprovider=ctcp
@netsh int tcp set global timestamps=enabled
@rem netsh int tcp set global autotuninglevel=disabled
@netsh int tcp show global autotuninglevel
:: disabling autotuning needs testing, sometimes help sometimes not
format ["testUnit1: getPosATL: %1 ; getPosASL: %2 ; getPos: %3 ; getTerrainHeightASL: %4", getPosATL testUnit1,getPosASL testUnit1, getPos testUnit1, getTerrainHeightASL [getPos testUnit1 select 0, getPos testUnit1 select 1]];
format ["testTrigger1: getPosATL: %1 ; getPosASL: %2 ; getPos: %3 ; getTerrainHeightASL: %4", getPosATL testTrigger1,getPosASL testTrigger1, getPos testTrigger1, getTerrainHeightASL [getPos testTrigger1 select 0, getPos testTrigger1 select 1]];
@tom4897
tom4897 / CfgFunctions.hpp
Last active December 21, 2015 08:39
#define __filename CfgFunctions.hpp
class cfgFunctions
{
class BIS
{
class system
{
class bl {};
class convertToSqmPos {};
class debugLog {};
class debugLogF {};