Skip to content
Whatever happens, happens.
C++ Shell Lua Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Update config.yml Dec 6, 2018
oxide @ 538bf37 Merge up before things get out of control (#42) Jul 21, 2018
premake_modules @ 851b6ce Merge up before things get out of control (#42) Jul 21, 2018
src Fix backtracking bug May 3, 2019
.clang-format Github wow Mar 12, 2018
.gitignore Merge up before things get out of control (#42) Jul 21, 2018
.gitmodules Merge up before things get out of control (#42) Jul 21, 2018
LICENSE Create LICENSE Dec 6, 2018
README.md Update README.md Dec 6, 2018
attach-basic-interactive.sh Crossplatform support for the whole of backtrack + some more goodies (#… Apr 3, 2018
attach-basic.sh Fix all issues related to running doghook on linux (#21) Mar 18, 2018
attach-interactive.sh Fix all issues related to running doghook on linux (#21) Mar 18, 2018
attach.sh Fix all issues related to running doghook on linux (#21) Mar 18, 2018
create_projects.bat Merge up before things get out of control (#42) Jul 21, 2018
create_projects.sh Merge up before things get out of control (#42) Jul 21, 2018
find_my_visual_studio.exe Use find_my_visual_studio to find msbuild (#43) Oct 7, 2018
make.bat Cleanup bad code by yours truly Oct 8, 2018
make.sh Update attach.sh, add linux equivilents of make and create_projects, … Mar 17, 2018
make_release.bat Cleanup bad code by yours truly Oct 8, 2018
make_release.sh Merge up before things get out of control (#42) Jul 21, 2018
premake5 Update Premake5 submodule and update config (#14) Mar 15, 2018
premake5.exe Github wow Mar 12, 2018
premake5.lua Merge up before things get out of control (#42) Jul 21, 2018

README.md

CircleCI VSTS
CircleCI branch Visual Studio Team services

Doghook

Making code changes

All code changes need to be made added to a new branch that follows the formula <username>/<subject> e.g. marc3842h/circleci-artifacts. Once you are done with your code changes make a pull request on github, add @josh33901 or @marc3842h as a reviewer. The pull request will make sure that it compiles on both platforms before it is allowed to be merged into the codebase.

Code should be clang-formatted before a pull request is made (otherwise it is a valid reason to decline a pull request).

C++ guidelines

  • Code should be formatted with the .clang-format in the root of the project (maybe make this a git hook??)

  • Use almost always auto:

    This means using auto where the type is already observable. Examples are:

    auto v = *reinterpret_cast<LongAndAnnoyingType **>(vraw);
    auto f(int a, int b) {
        return a + b;
    }

    For functions that have a seperate declaration and definition do not use auto.

  • Types are UpperCamelCase 🐫, whilst everything else is lower_snek_case 🐍. Do not use hungarian notation or m_ for members or any similar prefix suffix system (_t for types).

  • We are using C++ which means you dont need to do stupid C style struct typedef tricks. Remove these.

Copy-pasted code blocks should be updated to match these guidelines to preserve consistency across the codebase!

You can’t perform that action at this time.