aboutsummaryrefslogtreecommitdiff
path: root/src/minimap.cpp
AgeCommit message (Collapse)Author
2015-11-08Fix misc. MinGW and Valgrind warningskwolekr
2015-10-14Refactor loggingShadowNinja
- Add warning log level - Change debug_log_level setting to enumeration string - Map Irrlicht log events to MT log events - Encapsulate log_* functions and global variables into a class, Logger - Unify dstream with standard logging mechanism - Unify core.debug() with standard core.log() script API
2015-08-23Clean up threadingShadowNinja
* 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.
2015-08-10Fix intlGUIEditBox leak and uninitialized value in Mapper (reported by valgrind)Kahrl
2015-07-27Fixed minimap memory leakBřetislav Štec
2015-07-08Clean-up Minimap codekwolekr
- 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
2015-06-30Defer minimap update when shape changedest31
2015-06-29Add UpdateThread and use it for minimap and mesh threadsest31
2015-06-28Bugfix: minimap was updated only with loading new blocks, allow forced ↵RealBadAngel
updates with changing player pos
2015-06-28Minimap updateRealBadAngel
2015-06-27Remove busy polling inside minimap threadest31
2015-06-27Add minimap featureRealBadAngel