Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexander "Ananace" Olofsson ananace

View GitHub Profile
@ananace
ananace / PackingExample.cpp
Last active May 6, 2018
Message packing example for libyojimbo, with built-in compression.
View PackingExample.cpp
#include <yojimbo.h>
#include <miniz.h>
class PackedMessage : public yojimbo::BlockMessage
{
public:
enum { MsgType = 0x00 };
template <typename Stream>
bool Serialize(Stream& stream)
@ananace
ananace / gist:de7f30454e99b3952405
Last active Jun 8, 2018
OpenMW Windows Development Environment Setup - Appveyor scripts
View gist:de7f30454e99b3952405

NB; (An updated version of this guide can be found on the wiki)

OpenMW Windows Dev-Env

What you need?

  • Visual Studio 2013 or 2015 (Community edition is enough)
  • MSYSGit or Git for Windows as it's also called (cinst git.install if you have Chocolatey)
@ananace
ananace / user_settings.py
Created Aug 22, 2018
Example configuration for Steam Proton user settings
View user_settings.py
#!/usr/bin/env python3
import os
user_settings = {
#logs are saved to $HOME/steam-$STEAM_APP_ID.log, overwriting any previous log with that name
# "WINEDEBUG": "+timestamp,+pid,+tid,+seh,+debugstr,+module",
# "DXVK_LOG_LEVEL": "info",