Skip to content

Instantly share code, notes, and snippets.

View andykorth's full-sized avatar

Andy Korth andykorth

View GitHub Profile
***************************
* Searching near Nascent (QJ-149)
***************************
QJ-149
QJ-149 Distance 0
QJ-149b HYF Base Cost: 2391k High Temp (TSH), Low Press (SEA),
QJ-149a HYF Base Cost: 2368k High Temp (TSH),
Nascent HYF Base Cost: 1688k COGC: Resource Extraction
{
var batch = batches.First();
var sprite = batch.Key;
var mat = new Material(batch.First().material);
mat.mainTexture = sprite.texture;
var count = batch.Count();
var indexes = new int[6*count];
var vertexes = new Vector3[4*count];
{
var batch = batches.First();
var sprite = batch.Key;
var mat = new Material(batch.First().material);
mat.mainTexture = sprite.texture;
var count = batch.Count();
var indexes = new int[6*count];
var vertexes = new Vector3[4*count];
1>------ Build started: Project: Il2CppOutputProject, Configuration: Debug x64 ------
1>Building GameAssembly.dll with MsvcWinRtToolChain
1> Msvc Install Version: 15.0
1> Msvc Install SDK Directory: C:\Program Files (x86)\Windows Kits\10
1> Msvc Linker Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe
1> Msvc Compiler Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe
1>
1> Output directory: C:\Users\kortham\projects\hyperdot\Build\UWP\build\bin\x64\Debug
1> Cache directory: C:\Users\kortham\projects\hyperdot\Build\UWP\build\obj\il2cppOutputProject\x64\Debug
1>Il2CppSequencePointTable3.cpp
@andykorth
andykorth / gist:4cae0117e5320edfd9934417bbcebd4b
Created August 16, 2019 04:12
UWP Build in Visual Studio 2017
1>------ Build started: Project: Il2CppOutputProject, Configuration: Debug x64 ------
1>Building GameAssembly.dll with MsvcWinRtToolChain
1> Msvc Install Version: 15.0
1> Msvc Install SDK Directory: C:\Program Files (x86)\Windows Kits\10
1> Msvc Linker Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe
1> Msvc Compiler Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe
1>
1> Output directory: C:\Users\kortham\Projects\hyperdot\BuildUWP\build\bin\x64\Debug
1> Cache directory: C:\Users\kortham\Projects\hyperdot\BuildUWP\build\obj\il2cppOutputProject\x64\Debug
1>Il2CppMethodPointerTable.cpp
[CustomPropertyDrawer(typeof(EnumFlagAttribute))]
public class EnumFlagDrawer : PropertyDrawer {
public override void OnGUI (Rect position, SerializedProperty property, GUIContent label) {
Enum targetEnum = GetBaseProperty<Enum>(property);
EditorGUI.BeginProperty(position, label, property);
EditorGUI.BeginChangeCheck();
#if UNITY_2017_3_OR_NEWER
Enum enumNew = EditorGUI.EnumFlagsField(position, label, targetEnum);
#else
<key>RewiredSaveData_ControllerAssignments</key>
<string>{"players":[{"id":9999999,"hasKeyboard":true,"hasMouse":true,"joysticks":[]},{"id":0,"hasKeyboard":true,"hasMouse":true,"joysticks":[]}]}</string>
<key>RewiredSaveData|dataType=CalibrationMap|controllerType=Joystick|hardwareIdentifier=OSXInternalDriverWirelessController13561476|hardwareGuid=cd9718bf-a87a-44bc-8716-60a0def28a9f</key>
<string>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;CalibrationMap dataVersion="4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://guavaman.com/rewired http://guavaman.com/schemas/rewired/1.3/CalibrationMap.xsd" xmlns="http://guavaman.com/rewired"&gt;&lt;axes&gt;&lt;AxisCalibration&gt;&lt;enabled&gt;true&lt;/enabled&gt;&lt;deadZone&gt;0.15&lt;/deadZone&gt;&lt;calibratedZero&gt;0&lt;/calibratedZero&gt;&lt;calibratedMin&gt;-1&lt;/calibratedMin&gt;&lt;calibratedMax&gt;1&lt;/calibratedMax&gt;&lt;invert&gt;false&lt;/invert&gt;&lt;sensitivity&gt;1&lt;/sensitivity&gt;&lt;applyRangeCalibrat
using System;
using UnityEditor;
using UnityEngine;
[InitializeOnLoad]
public static class EditorApplicationCompilationUtil {
static EditorApplicationCompilationUtil() {
EditorApplication.update += EditorApplicationCompilationUtil.OnEditorUpdate;
}
#pragma warning disable 0649
using UnityEngine;
using System.Collections;
public class Script : MonoBehaviour
{
// magic coroutine maker
root@LEDE:~# cat /etc/config/firewall
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
config zone
option input 'ACCEPT'