Skip to content

Instantly share code, notes, and snippets.

View tcsavage's full-sized avatar
🦡

Tom Savage tcsavage

🦡
View GitHub Profile
@tcsavage
tcsavage / Animation.cs
Created April 27, 2011 17:21
Keyframe animation helper class
using System.Collections.Generic;
using Microsoft.Xna.Framework;
namespace PuzzleGame
{
/// <summary>
/// Keyframe animation helper class.
/// </summary>
public class Animation
{
@tcsavage
tcsavage / CMakeLists.txt
Created January 31, 2010 18:25
This source code defines the following: - A generic data class for integer, floating point, string and collection types - A data collection class for generic data objects - Access operator for collections (period '.' separated paths) - Functions for split
project (dataAPI)
# Set Debug Mode
ADD_DEFINITIONS(-g)
find_package(Lua51 REQUIRED)
include_directories(${LUA_INCLUDE_DIR})
set(LIBS ${LIBS} ${LUA_LIBRARIES})
// My dream interaction with the Win32 API.
#include <iostream>
#include <windows.h>
#define WIN32_SIMPLE
int main (int argc, char* argv[])
{
SIMPLEWINDOW* wnd = CreateSimpleWindow(x, y, w, h, title, fullscreenFlag);