Skip to content

Instantly share code, notes, and snippets.

@Rcomian
Rcomian / EnumBase.cpp
Last active July 25, 2019 18:12
C++ decentralised enum types
ENUM_CLASS::ENUM_CLASS() : id(nextid++) {}
int ENUM_CLASS::nextid = 0;
bool ENUM_CLASS::operator==(const ENUM_CLASS& other) const {
return id == other.id;
}
@Rcomian
Rcomian / README.md
Last active May 31, 2022 11:51
CC2 Dedicated Server ==================== This script will help with running CC2 as a dedicated server on linux using the installed steam proton runtime. **Dependencies** * XMLStarlet: [http://xmlstar.sourceforge.net/docs.php]() * `optional` for auto editing the xml files **Usage** `./run-server.sh proton` Lists the available proton versions, al…