Skip to content

Instantly share code, notes, and snippets.

View bobvodka's full-sized avatar

Rob Jones bobvodka

  • 00:32 (UTC +01:00)
View GitHub Profile
@bobvodka
bobvodka / Lifter Start.craft
Created December 3, 2018 18:18
KSP/US2 crafts for CLS debugging
ship = Lifter Start
version = 1.5.1
description =
type = VAB
size = 2.64320087,13.7558556,2.66423655
steamPublishedFileId = 0
persistentId = 1822719543
rot = 0,0,0,0
missionFlag = Squad/Flags/default
vesselType = Debris
@bobvodka
bobvodka / gist:d02691888ad8ebedb5f10062c5d46eac
Created November 7, 2016 19:57
Lua windowing bindings!
// Part of the Windowing lib
WINDOWING_API void Initialise(sol::state &lua)
{
msgRouter = std::make_unique<WindowMessageRouter>(WinMap);
// Register stuff with Lua or something... bleh
sol::table bonsai = lua["Bonsai"]; // get Bonsai table
auto windowing = bonsai.create_named("Windowing");