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
float2 XUnit; | |
float2 YUnit; | |
texture Resistance; | |
sampler textureSampler : register(s0); | |
sampler resistanceSampler = sampler_state | |
{ | |
Texture = <Resistance>; | |
}; |
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
function Inventory(id, cellWidth, cellHeight) { | |
this.id = id; | |
this.rootDiv = document.createElement("div"); | |
$(this.rootDiv).attr("id", "inventory-" + this.id); | |
$(this.rootDiv).draggable({ containment: "body" }); | |
// Create the background div. | |
this.backDiv = document.createElement("div"); | |
$(this.backDiv).css("position", "absolute"); | |
// Add the background to the root div. |
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
.hotbar { | |
width: 364px; | |
} | |
.hotbar-item { | |
width: 38px; | |
height: 40px; | |
float: left; | |
background-image: url(../../graphics/interface/interfaceatlas.png); | |
background-repeat: no-repeat; |
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
[05:41:11] [main/INFO]: Loading tweak class name com.mumfrey.liteloader.launch.LiteLoaderTweaker | |
[05:41:11] [main/INFO]: Using primary tweak class name com.mumfrey.liteloader.launch.LiteLoaderTweaker | |
[05:41:11] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker | |
[05:41:11] [main/INFO]: Calling tweak class com.mumfrey.liteloader.launch.LiteLoaderTweaker | |
[05:41:11] [main/INFO]: Bootstrapping LiteLoader 1.7.10 | |
[05:41:12] [main/INFO]: Registering API provider class com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient | |
[05:41:12] [main/INFO]: Spawning API provider class 'com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient' ... | |
[05:41:12] [main/INFO]: API provider class 'com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient' provides API 'liteloader' | |
[05:41:12] [main/INFO]: Initialising API 'liteloader' ... | |
[05:41:12] [main/INFO]: LiteLoader begin PREINIT... |
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
foreach (var wall in walls) | |
{ | |
/* | |
╔═T═╗ | |
L R | |
╚═B═╝ | |
*/ | |
var bounds = wall.Bounds; | |
var point = Vector2.Zero; |
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
[22:47:27] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR. | |
[22:47:28] [main/INFO] [FML/]: Forge Mod Loader version 7.10.85.1258 for Minecraft 1.7.10 loading | |
[22:47:28] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_20, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre1.8.0_20 | |
[22:47:28] [main/DEBUG] [FML/]: Java classpath at launch is forge-1.7.10-10.13.2.1258-universal.jar | |
[22:47:28] [main/DEBUG] [FML/]: Java library path at launch is C:\ProgramData\Oracle\Java\javapath;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1. |
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
using Microsoft.Xna.Framework; | |
using Microsoft.Xna.Framework.Graphics; | |
using Microsoft.Xna.Framework.Input; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace TinkerWorX.MechanizedMurderEpidemic | |
{ |
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
float4x4 MatrixTransform | |
: register(vs, c0) | |
: register(ps, c0); | |
texture2D Texture; | |
sampler TextureSampler | |
: register(s0) = sampler_state { Texture = (Texture); }; | |
const float invSqrtTwo = 0.70710678118654752440084436210485; | |
float2 XUnit; |
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 static class Memory | |
{ | |
public static T Read<T>(IntPtr address) where T : struct | |
{ | |
return (T)Marshal.PtrToStructure(address, typeof(T)); | |
} | |
public static T Read<T>(IntPtr address, Int32 offset) where T : struct | |
{ | |
return (T)Marshal.PtrToStructure(address + offset, typeof(T)); |
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
[Flags] | |
enum BINK_OPEN_FLAGS : uint | |
{ | |
BINKYAINVERT = 0x00000800L, // Reverse Y and A planes when blitting (for debugging) | |
BINKFRAMERATE = 0x00001000L, // Override fr (call BinkFrameRate first) | |
BINKPRELOADALL = 0x00002000L, // Preload the entire animation | |
BINKSNDTRACK = 0x00004000L, // Set the track number to play | |
BINKOLDFRAMEFORMAT = 0x00008000L, // using the old Bink frame format (internal use only) | |
BINKRBINVERT = 0x00010000L, // use reversed R and B planes (internal use only) | |
BINKGRAYSCALE = 0x00020000L, // Force Bink to use grayscale |
OlderNewer