aboutsummaryrefslogtreecommitdiff
path: root/src/clientmap.cpp
AgeCommit message (Collapse)Author
2016-02-21Camera: remove auto tune FPS, single view range settingRealBadAngel
2016-02-19Clientmap: Define p_nodes_min/max as v3s32 instead of v3s16paramat
'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()
2016-02-11v2d & aabbox3d<f32> & sky cleanupsnerzhul
* Sky: rename Box => m_box and inline getBoundingBox * Uniformize aabbox3d<f32> to aabb3f
2016-02-09Remove ClientMap::m_camera_mutexKahrl
All places that lock this mutex are only called by the main thread: ClientMap::updateCamera(), ClientMap::updateDrawList(), ClientMap::renderMap(), ClientMap::renderPostFx().
2015-10-14Rename macros with two leading underscoresShadowNinja
These names are reserved for the compiler/library implementations.
2015-08-25Change i++ to ++iDavid Jones
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-06-14Improved parallax mapping. Generate heightmaps on the fly.RealBadAngel
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins
Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
2015-03-07For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins
NDEBUG is defined), replace those usages with persistent alternatives
2015-03-05Fix issue #2441: crash on respawn, since a conversion std::list to ↵Loic Blot
std::vector on Environment.cpp * Also change some std::list to std::vector for ClientMap::renderMap * Remove disabled code in ClientMap::renderMap, disabled since a long time
2015-03-02Fix occlusionMiguel Almeida
2015-02-17Replace std::list by std::vector into ClientMap::updateDrawList, ↵Loic Blot
Map::timerUpdate and ServerMap::save(). This will speedup the loop reading into those functions
2015-01-18Fix all warnings and remove -Wno-unused-but-set cflagkwolekr
2014-12-31Add display_gamma option for clientCraig Robbins
2014-12-07Performance of main client loop up to 2x faster In places, up to 3 times fasterCraig Robbins
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
2014-06-23Avoid doing a full material compare if not even first texture does matchsapier
2014-05-18Add support for interlaced polarized 3d screenssapier
Add (experimental) support for topbottom as well as sidebyside 3d mode
2014-04-12Add player:set_eye_offset() by @MirceaKitsune and clean upBlockMen
2014-04-12Add third person viewBlockMen
2014-03-04Fix rendering glitches when far from the center of the mapNovatux
2013-12-01Cleanup jthread and fix win32 buildsapier
2013-08-03Fix and improve view range tunerPerttu Ahola
2013-03-11Migrate to STL containers/algorithms.Ilya Zhuravlev
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2013-02-10Don't see through nodes without noclip privilegesShadowNinja
2012-12-06Fix automagic render distance tunerPerttu Ahola
2012-11-09Added video settings filter options via config file - second try :-)Vanessa Ezekowitz
Set one or more of these in the config to turn the related option on: mip_map = 1 anisotropic_filter = 1 bilinear_filter = 1 trilinear_filter = 1
2012-09-04Reorganize ClientMap rendering code for a bit more performancePerttu Ahola
- Don't select blocks for drawing in every frame - Sort meshbuffers by material before drawing
2012-07-21Define M_PI on MSVCPerttu Ahola
2012-06-17Properly and efficiently use split utility headersPerttu Ahola
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-03-28No occlusion culling when free_move is on and camera is inside groundPerttu Ahola
2012-03-27Try to make background/fog/sky color selection work betterPerttu Ahola
2012-03-18Fix getVisibleBrightness() to return sunlight visibility correctly even if ↵Perttu Ahola
not much of world has been loaded
2012-03-18Dynamic sky, fog and cloud colors; sun and moonPerttu Ahola
2012-03-16Move ClientMap to clientmap.{h,cpp}Perttu Ahola