aboutsummaryrefslogtreecommitdiff
path: root/src/client.cpp
AgeCommit message (Collapse)Author
2015-01-31Fix local map saving when joining a local server from the server tabCraig Robbins
Disables local map saving for all local server types See: https://github.com/minetest/minetest/issues/2024
2015-01-09Fix memory leaks due to messed up memory handling for particles as well as ↵sapier
their spawners
2015-01-04NodeResolver: Perform callback immediately if node registration phase finishedkwolekr
Also add NodeResolver callbacks on the client
2015-01-02More consistent progress bar from 0-100 on startupsapier
2014-12-12Fix missing call to std::ostringstream::strShadowNinja
2014-12-12Use std::string::empty() instead of size() where applicableAnton
2014-12-08Fix lighting artifacts (Issue #1887).RealBadAngel
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-12-01Fix node 0,0,0 being highlighted when enable_node_highlighting == falseCraig Robbins
Without this patch node 0,0,0 is highlighted when enable_node_highligting is false There is a minor lighting issue remaining, however it seems to be related to a different bug (https://github.com/minetest/minetest/issues/1887)
2014-11-30Implement proper font handlingsapier
2014-11-26Fix client "double saving" simple singleplayer local mapsCraig Robbins
2014-11-19Add (optional) client-side saving of server map to disksfan5
2014-11-08Speed up removing a node (less block mesh updates).RealBadAngel
2014-10-21Recalculate normals for cached meshes.RealBadAngel
Check if mesh is here before adding to meshcollector. Fix deleting the meshes.
2014-10-19Various uninitialised variable fixesCraig Robbins
sky.cpp: m_bgcolor.getAlpha() was being used before initialised mesh related: m_highlight_mesh_color was being used uninitialised
2014-10-18Add meshnode drawtype.RealBadAngel
2014-10-01Simplify player modification checksShadowNinja
2014-09-21Split settings into seperate source and header filesShadowNinja
This also cleans up settings a bit
2014-09-21Allow taking screenshots of formspecs and move message to chatBlockMen
2014-09-17Node highlighting.RealBadAngel
2014-08-10Move #includes from version.h to version.cppKahrl
2014-06-29Add support for Android 2.3+sapier
There have been plenty of ppl involved in creating this version. I don't wanna mention names as I'm sure I'd forget someone so I just tell where help has been done: - The partial android versions done by various ppl - Testing on different android devices - reviewing code (especially the in core changes) - testing controls - reviewing texts A big thank you to everyone helping this to be completed!
2014-06-15Unite nodes shaders.RealBadAngel
Pass drawtype and material type to shaders. Move shaders generation to startup only. Allow assign shaders per tile. Initial code to support water surface shader.
2014-05-18Add support for interlaced polarized 3d screenssapier
Add (experimental) support for topbottom as well as sidebyside 3d mode
2014-05-11Send max number of characters instead of asserting in case of too long chat ↵sapier
messages
2014-05-11Fix invalid cast fix resulting in chat messages beeing limited to 256 bytessapier
2014-05-07Fix heart + bubble bar size on different texture packssapier
Add DPI support for statbar Move heart+bubble bar to Lua HUD Add statbar size (based upon an idea by blue42u) Add support for customizing breath and statbar
2014-05-02Add hack to avoid 2s startup delay on local gamessapier
2014-04-29Add download rate to media progress bar (non http mode only!)sapier
Minor coding style fixes
2014-04-12Use integers instead of float valuesBlockMen
2014-04-12Add player:set_eye_offset() by @MirceaKitsune and clean upBlockMen
2014-04-12Add third person viewBlockMen
2014-04-09Add support for named threads (atm linux only)sapier
2014-04-08Cleanup client init states by bumping protocol versionsapier
Don't use TOSERVER_RECEIVED_MEDIA but TOSERVER_CLIENT_READY as indicatio for client ready Handle clients with protocol version < 23 (almost) same way as before Make client tell server about it's version Add client state to not send bogus player position updates prior init complete Add access to statistics information (peer connction time,rtt,version) Fix clients standing stalled in world while preloading item visuals (new clients only) Add get_player_information to read client specific information from lua
2014-03-12Pass arguments by referenceSelat
2014-03-04Fix rendering glitches when far from the center of the mapNovatux
2014-02-07Remove lots of dead codesapier
Add check for datatype overflows use native datatype indices instead of fixed 16bit/32bit ones
2014-02-01Add player:override_day_night_ratio() for arbitrarily controlling sunlight ↵Perttu Ahola
brightness
2014-02-01Add player:set_sky() with simple skybox supportPerttu Ahola
2014-01-31Add propper client initializationsapier
-add client states to avoid server sending data to uninitialized clients -don't show uninitialized clients to other players -propper client disconnect handling Minor comment fixes in server Minor bugfixes in connection -improved peer id calculation -honor NDEBUG flag -improved disconnect handling -increased initial send window Remove some dead code
2014-01-26New HUD element - waypoint.RealBadAngel
2014-01-13Allow vertical axis particle rotation constraintkhonkhortisan
Use tables for adding particles, deprecate former way. separate particles(pawner) definition, add default values, work with no arguments
2014-01-10Fixed minetest reliable udp implementation (compatible to old clients)sapier
2014-01-10Make MutexQueue use jsemaphore for signalingsapier
2014-01-06Create new instance of mesh every time it's required (Solves #703)Perttu Ahola
2013-12-15Remove an unused function and include from client.cppPilzAdam
2013-12-15Replace SimpleThread by JThread now implementing same featuressapier
2013-12-13Rewrite client media download and support hash-based remote downloadKahrl
Move most of the media-related code in client.cpp into a new class ClientMediaDownloader (clientmedia.cpp, clientmedia.h). Among other things, this class does the following things: - Download [remote_server][sha1] instead of [remote_server][name]. This is to support servers that provide the same file name with different contents. - Initially fetch [remote_server]index.mth. This file should follow the Minetest Hashset format (currently version 1) and contain a list of SHA1 hashes that exist on the server. - The list of needed SHA1s is uploaded (via HTTP POST) when index.mth is requested, so servers can optionally narrow down the list to the needs of the client. - If index.mth is missing (HTTP response code 404), we enter compat mode, fetching [remote_server][name] as before this commit. - remote_server can now contain multiple servers, separated by commas. The downloader code attempts to split requests between the different servers, as permitted by each server's index.mth. If one server claims to have a file but actually doesn't (or something fails), we ask a different server that also claims to have it. - As before, when none of the remote servers provide a particular file, we download it via the conventional method, i.e. using the minetest protocol: TOSERVER_REQUEST_MEDIA / TOCLIENT_MEDIA. - Bugfix: Every downloaded file's SHA1 is now verified against the SHA1 announced by the minetest server (before loading it and inserting it into the file cache). - Bugfix: Only send TOSERVER_RECEIVED_MEDIA when we actually have all media. This should fix #863.
2013-12-01Cleanup jthread and fix win32 buildsapier
2013-11-30Add minetest.swap_nodeNovatux