Skip to content

Instantly share code, notes, and snippets.

View apathyboy's full-sized avatar

Eric Barr apathyboy

View GitHub Profile
@apathyboy
apathyboy / gist:5479959
Last active December 16, 2015 18:48 — forked from rcythr/gist:5388708
== Awaiting Merge ==
F Consent
== Product Backlog ==
40 Advanced JTL functionality and POB ships
13 AI Subsystem
13 Basic JTL functionality ( Spawning, Flying, Hyperspace )
05 Bazaar
08 Bug Fixes
03 Bug Reporting
Feature: Can equip items to various slots exposed by objects
In order to equip items (or other objects) to expose emergent functionality
As a game object
I need to expose various equipable slots based on my type
Scenario Outline: Can equip items to objects that support their arrangement
Given that an object has exposed a slot labeled "inventory"
And that no item is filling the exposed slot
When an equip request for an item is received
And the item has an arrangement requiring an "inventory" slot
@apathyboy
apathyboy / gist:1013706
Created June 8, 2011 03:18 — forked from Kronos11/gist:1008402
LoginClientToken
template<typename T>
struct BaseSwgPacket {
void serialize(anh::ByteBuffer& buffer) const {
buffer.write(T::opcount);
buffer.write(T::opcode);
onSerialize(buffer);
}
void deserialize(anh::ByteBuffer buffer) {