This file contains hidden or 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
Color refColor = Color.FromArgb( 255, 200, 200, 200 ); | |
Bitmap bmp = new Bitmap( 4,4, PixelFormat.Format16bppRgb555 ); | |
bmp.SetPixel( 2,2, refColor ); | |
Color retCol = bmp.GetPixel( 2, 2 ); |
This file contains hidden or 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 System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.IO; | |
using Measter; | |
namespace ConsoleTestApp | |
{ | |
internal class EU4RevFlagRenderer |
This file contains hidden or 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 System; | |
using System.Collections.Generic; | |
using System.IO; | |
namespace ConsoleTestApp | |
{ | |
class Program | |
{ | |
private static Dictionary<int, Decimal> m_count = new Dictionary<int, Decimal>(); |
This file contains hidden or 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 System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Linq; | |
using System.Net.Mime; | |
namespace ConsoleTestApp | |
{ | |
public class PrimeVisualiser | |
{ |
This file contains hidden or 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
*----------------------------------------------------------- | |
* Title : Less-Extra-Crappy Birds | |
* Description: A port of the JS version found at | |
* https://www.ktbyte.com/java-tutorial/game-walkthroughs | |
* | |
* Revisions : 1.0 Release | |
* : 1.1 Pretty Pipes | |
* Evened out wall distances. | |
* Pretty Bird. | |
* Better "Colours". |
This file contains hidden or 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
*----------------------------------------------------------- | |
* Title : Unsigned Longword Multiplication. | |
* Written by : Stuart Haidon | |
* Date : 2014-06-22 | |
*----------------------------------------------------------- | |
* Longword Unsigned Multiplication. | |
* Pre: | |
* +4 : Multiplicand. | |
* +0 : Multiplier. |
This file contains hidden or 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 System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.Linq; | |
namespace ConsoleTestApp | |
{ | |
public class Pyramid | |
{ |
This file contains hidden or 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 System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
namespace ConsoleTestApp | |
{ | |
class Program | |
{ | |
private static readonly Font TxtFont = new Font( FontFamily.GenericMonospace, 10 ); |
This file contains hidden or 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
; ----------------------- | |
; Title: Core RL | |
; Author: Measter | |
; Date: 2013/10/25 | |
; | |
; Based on Core: A Minimal Roguelike. | |
; http://http://roguelikeeducation.org/1.html | |
; ----------------------- | |
; Revisions |
This file contains hidden or 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 System; | |
namespace PointerTest | |
{ | |
public struct Pointer | |
{ | |
public static byte[] Memory = new byte[UInt16.MaxValue]; | |
private readonly UInt16 m_address; |