This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GitPktLine | |
{ | |
// Git Pkt-line protocol | |
// https://git-scm.com/docs/gitprotocol-common | |
// https://github.com/git-lfs/pktline | |
//public static FileStream debugLog = new FileStream("p:/log", FileMode.Create); | |
private static void WritePacketInt(string data, Stream output) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Header File: | |
#pragma once | |
struct ISpVoice; | |
struct ISpStreamFormat; | |
namespace Speech | |
{ | |
class TextToSpeech |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ACE Medical | |
force force ace_medical_ai_enabledFor = 0; | |
force force ace_medical_AIDamageThreshold = 0.8; | |
force force ace_medical_bleedingCoefficient = 0.4; | |
force force ace_medical_blood_bloodLifetime = 300; | |
force force ace_medical_blood_maxBloodObjects = 200; | |
force force ace_medical_fractures = 0; | |
force force ace_medical_ivFlowRate = 2.5; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[]spawn { | |
fps_sum = 0; | |
fps_count = 0; | |
[[],{ | |
for "_i" from 1 to 3 do { | |
[diag_fps,{ | |
fps_sum = fps_sum + _this; | |
fps_count = fps_count + 1; | |
}] remoteExec ["call", remoteExecutedOwner]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GetMatrixFromDirAndUp = { | |
params ["_vectorDir", "_vectorUp"]; | |
private _xAxis = vectorNormalized (_vectorDir vectorCrossProduct _vectorUp); | |
[ | |
[_xAxis#0, _vectorDir#0, _vectorUp#0], | |
[_xAxis#1, _vectorDir#1, _vectorUp#1], | |
[_xAxis#2, _vectorDir#2, _vectorUp#2] | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Arma #scripting 03.03.2019 10:41 | |
[] spawn { | |
private _Crates = nearestObjects [SearchObj, ["plp_ct_LockerBig"], 100]; | |
private _weaponsArray = []; | |
private _magazineArray = []; | |
private _itemArray = []; | |
{ | |
private _WeaponCargo = getWeaponCargo _x; | |
private _MagazineCargo = getMagazineCargo _x; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13:10:19 "_this call UK3CB_BAF_Vehicles_LandRover_fnc_ContainerClosed_EH;" | |
13:10:19 "_this call UK3CB_BAF_Vehicles_Wildcat_fnc_engine_EH;" | |
13:10:19 "_this call UK3CB_BAF_Vehicles_Apache_fnc_engine_EH;" | |
13:10:19 "_this call UK3CB_BAF_Vehicles_Merlin_fnc_engine_EH;" | |
13:10:19 "_this call ace_common_fnc_handleEngine;" | |
13:10:19 "if (local driver (_this select 0)) then {_this call ace_vehicles_fnc_startEngine};;" | |
13:10:19 "_this call asr_ai3_hitreactions_fnc_handleExplosion;" | |
13:10:19 "_this call asr_ai3_hitreactions_fnc_handleExplosion;" | |
13:10:19 "_this call asr_ai3_hitreactions_fnc_handleExplosion;" | |
13:10:19 "_this call asr_ai3_hitreactions_fnc_handleExplosion;" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
params ["_unit"]; | |
//calc sun pos and set night/day time in map view | |
VKN_fnc_sunEval = { //TO-DO may wanna move this to CfgFunctions | |
private _lat = -1 * getNumber(configFile >> "CfgWorlds" >> worldName >> "latitude"); | |
private _day = 360 * (dateToNumber date); | |
private _hour = acos ((24 * sin(_lat) * cos(_day)) / ((12 * cos(_day) - 78) * cos(_lat))); | |
_daytime = _hour / 360 * 24; | |
_daytime | |
}; |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
author = "[W] rufix"; | |
onLoadName = "xru ZGM"; | |
onLoadMission = "xru ZGM"; | |
overviewText = "Zeus Guided Mission"; | |
loadScreen = ""; | |
class Header { | |
gameType = "Zeus"; | |
minPlayers = 1; | |
maxPlayers = 128; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/dedmen/armake/blob/master/src/main.c | |
https://github.com/acemod/ACE3/blob/master/Makefile | |
class AceModuleOptions { | |
force = 1; //Force build | |
disableWarnings[] = {"unquoted-string", "redefinition-wo-undef"}; | |
includeFolders[] = {"include"}; //local or global path. If local then relative to buildscript | |
target = "release/ace_<sourceName>.pbo"; | |
//<sourceName> is auto replaced by the folder-/filename that IterateMainAddons provides |
NewerOlder