Skip unknown cflag for Apple clang & remove cSemaphore
This commit is contained in:
@@ -23,7 +23,7 @@ Here are the conventions:
|
||||
- This helps prevent mistakes such as `if (a & 1 == 0)`
|
||||
*
|
||||
* 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`
|
||||
- Threading is done by inheriting from `cIsThread`, thread synchronization through `cCriticalSection` 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
|
||||
- `cEntity::etXXX` for entity types, `cMonster::mtXXX` for mob types
|
||||
|
||||
Reference in New Issue
Block a user