Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up threading | ShadowNinja | 2015-08-23 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | * Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test. | ||||
* | Misc. minor fixes | kwolekr | 2015-07-10 | 1 | -5/+1 |
| | |||||
* | Clean-up Minimap code | kwolekr | 2015-07-08 | 1 | -79/+63 |
| | | | | | | | | | | | - Fixed race conditions - Fixed null dereference - Fixed out-of-bounds array access - MinimapMapblock is now allocated and added to update queue only when enabled - Removed dependency on LocalPlayer - Fixed code style - Simplified expressions and program logic - Cleaned minimap object interfaces | ||||
* | Make m_blocks_cache private | est31 | 2015-06-30 | 1 | -1/+1 |
| | | | | @RealBadAngel has removed all outside access of the cache. | ||||
* | Add UpdateThread and use it for minimap and mesh threads | est31 | 2015-06-29 | 1 | -6/+6 |
| | |||||
* | Bugfix: minimap was updated only with loading new blocks, allow forced ↵ | RealBadAngel | 2015-06-28 | 1 | -1/+1 |
| | | | | updates with changing player pos | ||||
* | Minimap update | RealBadAngel | 2015-06-28 | 1 | -0/+2 |
| | |||||
* | Remove busy polling inside minimap thread | est31 | 2015-06-27 | 1 | -3/+10 |
| | |||||
* | Add minimap feature | RealBadAngel | 2015-06-27 | 1 | -0/+168 |