diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-12-19 12:30:24 +0100 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-12-19 12:30:24 +0100 |
commit | 56076c3baae5d07ab2d88efe3d508fb52a1d0db6 (patch) | |
tree | 6d354c7aac65b216bcfe95d933de3af25d063b13 /CONTRIBUTING.md | |
parent | Merge pull request #443 from mc-server/messages (diff) | |
download | cuberite-56076c3baae5d07ab2d88efe3d508fb52a1d0db6.tar cuberite-56076c3baae5d07ab2d88efe3d508fb52a1d0db6.tar.gz cuberite-56076c3baae5d07ab2d88efe3d508fb52a1d0db6.tar.bz2 cuberite-56076c3baae5d07ab2d88efe3d508fb52a1d0db6.tar.lz cuberite-56076c3baae5d07ab2d88efe3d508fb52a1d0db6.tar.xz cuberite-56076c3baae5d07ab2d88efe3d508fb52a1d0db6.tar.zst cuberite-56076c3baae5d07ab2d88efe3d508fb52a1d0db6.zip |
Diffstat (limited to '')
-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 |