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
/* XDG/OSX Save and Config Folder Thing | |
* Written by Ethan "flibitijibibo" Lee | |
* http://www.flibitijibibo.com/ | |
* | |
* Released under public domain. | |
* No warranty implied; use at your own risk. | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
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
#!/bin/bash | |
# GameName Shell Script | |
# Written by Ethan "flibitijibibo" Lee | |
# Move to script's directory | |
cd "`dirname "$0"`" | |
# Get the kernel/architecture information | |
UNAME=`uname` | |
ARCH=`uname -m` |
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
# Makefile for "int main;" C Program | |
# Written by Ethan "flibitijibibo" Lee | |
ifeq ($(shell uname), Darwin) | |
ASMPARAM = -mllvm --x86-asm-syntax=intel | |
else | |
ASMPARAM = -masm=intel | |
endif | |
all: |
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 SomeThang | |
{ | |
int whoCares; | |
public SomeThang(int whatever) | |
{ | |
whoCares = whatever; | |
} | |
static public implicit operator bool(SomeThang someThang) | |
{ |
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
/* This is a snippet of code from the FNA version of Rogue Legacy. | |
* | |
* A recent FNA update fixed Storage accuracy, affecting save locations: | |
* https://plus.google.com/102593483001615978126/posts/7qE6nJGcdL2 | |
* As a result, games like Rogue Legacy now need a migration process. | |
* | |
* This is the first one I've written, and I'm posting it here for when | |
* I take care of the rest of my affected ports. | |
* | |
* -flibit |
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
/* SpriteBatch Stress Test | |
* Written by Ethan "flibitijibibo" Lee | |
* http://www.flibitijibibo.com/ | |
* | |
* Released under public domain. | |
* No warranty implied; use at your own risk. | |
*/ | |
using System; | |
using System.Diagnostics; |
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
/* SpriteFont Accuracy Test | |
* Written by Ethan "flibitijibibo" Lee | |
* http://www.flibitijibibo.com/ | |
* | |
* Released under public domain. | |
* No warranty implied; use at your own risk. | |
*/ | |
using Microsoft.Xna.Framework; | |
using Microsoft.Xna.Framework.Graphics; |
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
#region License | |
/* FNA GameWindow for System.Windows.Forms Example | |
* Written by Ethan "flibitijibibo" Lee | |
* http://www.flibitijibibo.com/ | |
* | |
* Released under public domain. | |
* No warranty implied; use at your own risk. | |
*/ | |
#endregion |
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
/* SDL_DeckLink - OpenGL DeckLink A/V Playback for GNU/Linux | |
* Written by Ethan "flibitijibibo" Lee | |
* http://www.flibitijibibo.com/ | |
* | |
* Build Instructions: | |
* g++ -O2 -o SDL_DeckLink SDL_DeckLink.cpp -lSDL2 -lGL -ldl -pthread | |
* | |
* Released under public domain. | |
* No warranty implied; use at your own risk. | |
* |
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
export SDL_GAMECONTROLLERCONFIG="0600000057696920552047616d655000,Wii U GamePad (libdrc),platform:Linux,x:b12,a:b14,b:b15,y:b13,back:b2,guide:b1,start:b3,dpleft:b11,dpdown:b8,dpright:b10,dpup:b9,leftshoulder:b5,lefttrigger:b7,rightshoulder:b4,righttrigger:b6,leftstick:b23,rightstick:b22,leftx:a0,lefty:a1,rightx:a2,righty:a3," |
OlderNewer