C++11: Smart Pointers
#include <iostream>
#include <memory>
using namespace std;
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
<Scene xmlns="http://schemas.datacontract.org/2004/07/Erebus" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | |
<ActiveCamera xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" z:Id="i1"> | |
<Components> | |
<Component i:type="TypeComponent"> | |
<Type>Camera</Type> | |
</Component> | |
<Component i:type="CameraComponent"> | |
<FarClip>1000</FarClip> | |
<FieldOfView>60</FieldOfView> | |
<NearClip>1</NearClip> |
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
<Scene xmlns="http://schemas.datacontract.org/2004/07/Erebus" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> | |
<ActiveCamera> | |
<Components> | |
<Component i:type="TypeComponent"> | |
<Type>Camera</Type> | |
</Component> | |
<Component i:type="CameraComponent"> | |
<FarClip>1000</FarClip> | |
<FieldOfView>60</FieldOfView> | |
<NearClip>1</NearClip> |
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 System; | |
using OpenTK; | |
using OpenTK.Graphics; | |
using System.Reflection; | |
using System.Collections.Generic; | |
namespace Erebos | |
{ | |
public static class Config | |
{ |
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
abandoned | |
able | |
absolute | |
adorable | |
adventurous | |
academic | |
acceptable | |
acclaimed | |
accomplished | |
accurate |
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
accept | |
add | |
admire | |
admit | |
advise | |
afford | |
agree | |
alert | |
allow | |
amuse |
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
#!/usr/bin/env ruby | |
# | |
# Assumes your Snapfile looks something like this: | |
# | |
# devices([ENV['SNAPSHOT_DEVICE']]) | |
# languages([ENV['SNAPSHOT_LANGUAGE']]) | |
# | |
require 'open4' |
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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
using System.Text.RegularExpressions; | |
using Microsoft.Xna.Framework; | |
namespace MapProcessor | |
{ |