summaryrefslogtreecommitdiff
path: root/src/client.cpp
Commit message (Collapse)AuthorAge
* Remove an unused function and include from client.cppPilzAdam2013-12-15
|
* Replace SimpleThread by JThread now implementing same featuressapier2013-12-15
|
* Rewrite client media download and support hash-based remote downloadKahrl2013-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Cleanup jthread and fix win32 buildsapier2013-12-01
|
* Add minetest.swap_nodeNovatux2013-11-30
|
* Correct useragent in http queriesproller2013-11-06
| | | | Net struct init
* Always use builtin JThread librarykwolekr2013-09-15
|
* Use player:set_hotbar_image() instead of hardcoded hotbar.pngPilzAdam2013-09-05
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Weather backward compatibilityproller2013-08-02
|
* Add set_breath and get_breath to lua API.RealBadAngel2013-07-20
|
* Masterserver mods announse, ipv6, better curl errorsproller2013-07-13
|
* When server sends late media, log to errorstream instead of crashing.Kahrl2013-07-07
| | | | | | | | Do a check for valid num_files before doing assert(!m_mesh_update_thread.IsRunning()); In particular, don't execute the assertion if all media has already been received.
* Don't rebuild the dummy shader (less SourceShaderCache warning spam)Kahrl2013-07-05
| | | | | Also write something about rebuilding shaders to infostream in Client::afterContentReceived()
* Remove texture atlas / AtlasPointer, rename getTextureRaw to getTextureKahrl2013-07-02
|
* Add support for IPv6proller2013-06-23
| | | | | | | Two new configuration options are added: - "enable_ipv6" to enable/disable the overall use of IPv6 - "ipv6_server" to enable/disable the use of IPv6 sockets when running a server (when "enable_ipv6" is enabled)
* Add drowningPilzAdam2013-06-19
|
* Add ObjectRef.hud_set_hotbar_itemcount and add TOCLIENT_HUD_SET_PARAMKahrl2013-05-26
|
* Fix typo in particle spawningMetaDucky2013-05-20
|
* Fix memory leak in MeshUpdateThreadPilzAdam2013-05-18
|
* Add progress bar to item visuals preloadingZeg92013-05-13
|
* Fix memory leak: remove InventoryAction after sending and applyingPilzAdam2013-05-11
|
* Generalize hud_builtin_enable into hud_set_flagskwolekr2013-04-25
|
* Added support to disable built-in HUD elementsDiego Martínez2013-04-24
|
* Fixes possible crash when using hud_change with "align" or "offset"Diego Martínez2013-04-23
|
* Fix to: addUpdateMeshTaskWithEdgeRealBadAngel2013-04-23
| | | | Check in all 6 directions instead of just 3.
* Added offset support for HUD itemsDiego Martínez2013-04-23
|
* Added support for alignment in HUD itemsDiego Martínez2013-04-23
|
* Split HUD code off to hud.cpp, make into a class, extensive Lua HUD modificationkwolekr2013-04-18
|
* Lua HUDJonathon Anderson2013-04-18
|
* fix memory leak in loadMediasapier2013-04-07
|
* fix 3d model mesh leaksapier2013-04-07
|
* Fix nick completionPilzAdam2013-04-05
|
* Allow spawning particles from the server, from luaJeija2013-03-23
| | | | | | | | | Spawn single particles or make use of ParticleSpawner for many randomly spawned particles. Accessible in Lua using minetest.spawn_particle and minetest.add_particlespawner. Increase Protocol Version to 17. Conflicts: src/clientserver.h
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-11
|
* Update Copyright YearsSfan52013-02-24
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-24
|
* Improved Player PhysicsMirceaKitsune2013-02-14
|
* Fix buttons not working for Lua-triggered formspecssapier2013-01-07
|
* Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from luasapier2013-01-02
|
* Fix 'longjmp causes uninitialized stack frame' in cURLPilzAdam2012-12-26
|
* Make m_media_fetch_threads to contain MediaFetchThread* instead of ↵Ilya Zhuravlev2012-12-17
| | | | MediaFetchThread
* Added ability to fetch media from remote server (using cURL library)Ilya Zhuravlev2012-12-16
|
* Don't send player position from client to server if the player hasn't movedMirceaKitsune2012-12-02
|
* ShaderSource and silly example shadersKahrl2012-12-02
|
* Add setting preload_item_visualsPerttu Ahola2012-12-02
|
* On-demand item meshes and texturesPerttu Ahola2012-12-02
|
* Modify some client log message levelsPerttu Ahola2012-12-02
|
* Default server step to 0.1s and sync object/player update intervals to itPerttu Ahola2012-11-26
|
* Move util/serialize.h out from staticobject.h for smaller header dependenciesPerttu Ahola2012-11-26
|