diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-19 01:00:14 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-19 01:00:14 +0100 |
commit | cdca5a3eac0a15a97d510ee5cb70e0ef0bf53971 (patch) | |
tree | 20ceec18155a50a385815878ed64b803255341b8 /CONTRIBUTING.md | |
parent | fixed bindings generation (diff) | |
parent | Update Contributing.md (diff) | |
download | cuberite-cdca5a3eac0a15a97d510ee5cb70e0ef0bf53971.tar cuberite-cdca5a3eac0a15a97d510ee5cb70e0ef0bf53971.tar.gz cuberite-cdca5a3eac0a15a97d510ee5cb70e0ef0bf53971.tar.bz2 cuberite-cdca5a3eac0a15a97d510ee5cb70e0ef0bf53971.tar.lz cuberite-cdca5a3eac0a15a97d510ee5cb70e0ef0bf53971.tar.xz cuberite-cdca5a3eac0a15a97d510ee5cb70e0ef0bf53971.tar.zst cuberite-cdca5a3eac0a15a97d510ee5cb70e0ef0bf53971.zip |
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9ce4c9ff3..5aba6ac9e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,10 @@ + Code Stuff ---------- + * Because some devs use MSVC2008, we use C++03 - no C++11 magic for now at least :( + * Use the provided wrappers for OS stuff: + - Threading is done by inheriting from cIsThread, thread synchronization through cCriticalSection, cSemaphore and cEvent, file access and filesystem operations through the cFile class, high-precision timers through cTimer, high-precision sleep through cSleep * No magic numbers, use named constants: - E_ITEM_XXX, E_BLOCK_XXX and E_META_XXX for items and blocks - E_ENTITY_TYPE_XXX for mob types |