aboutsummaryrefslogtreecommitdiff
path: root/src/clientmap.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Camera: remove auto tune FPS, single view range settingRealBadAngel2016-02-211-4/+1
|
* Clientmap: Define p_nodes_min/max as v3s32 instead of v3s16paramat2016-02-191-0/+2
| | | | | | | | | 'cam_pos_nodes -/+ box_nodes_d' can exceed the range of v3s16 when a player is near the world edge using a large view range This previously caused world to disappear Create new function getBlocksInViewRange() called from updateDrawList() and renderMap() Correct code style throughout updateDrawList() and renderMap()
* v2d & aabbox3d<f32> & sky cleanupsnerzhul2016-02-111-2/+2
| | | | | * Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f
* Remove ClientMap::m_camera_mutexKahrl2016-02-091-2/+0
| | | | | All places that lock this mutex are only called by the main thread: ClientMap::updateCamera(), ClientMap::updateDrawList(), ClientMap::renderMap(), ClientMap::renderPostFx().
* Clean up threadingShadowNinja2015-08-231-2/+2
| | | | | | | | | | | | | | | | | | | | * 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.
* Performance of main client loop up to 2x faster In places, up to 3 times fasterCraig Robbins2014-12-071-0/+4
| | | | | NOTE 1: This does not mean a 2x increase in framerate. Increase in fps may be up to 1-2fps NOTE 2: This local 'caching' of settings is not optimal and an alternative solution will be worked on after 0.4.11 is released
* Add support for interlaced polarized 3d screenssapier2014-05-181-1/+2
| | | | Add (experimental) support for topbottom as well as sidebyside 3d mode
* Fix rendering glitches when far from the center of the mapNovatux2014-03-041-1/+3
|
* Fix and improve view range tunerPerttu Ahola2013-08-031-1/+4
|
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-111-3/+5
|
* Update Copyright YearsSfan52013-02-241-1/+1
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-241-1/+1
|
* Reorganize ClientMap rendering code for a bit more performancePerttu Ahola2012-09-041-1/+4
| | | | | - Don't select blocks for drawing in every frame - Sort meshbuffers by material before drawing
* Optimize headersPerttu Ahola2012-06-171-1/+1
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-051-4/+4
| | | | GPLv2/later, by agreement of major contributors
* Dynamic sky, fog and cloud colors; sun and moonPerttu Ahola2012-03-181-0/+3
|
* Move ClientMap to clientmap.{h,cpp}Perttu Ahola2012-03-161-0/+146