255 Commits

Author SHA1 Message Date
ShadowNinja
d39323353e Revert "Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings"
The commit didn't work because the blocks weren't loaded yet.

This reverts commit 22dbbf0a6fc9547f0dbdb7f6076337b8c6acd48b.

Conflicts:
	minetest.conf.example
2014-01-06 21:25:10 -05:00
Perttu Ahola
1a3990bc06 Actually pause singleplayer game in pause menu and use lower maximum FPS in it 2014-01-06 17:39:44 +02:00
sapier
0a46034825 Add setting to disable direction dependent fog and sky colors 2013-12-15 15:30:02 +01:00
BlockMen
ff4766950b Add alpha setting to font shadow 2013-12-14 21:11:38 +01:00
Kahrl
b34a01f4c8 Rewrite client media download and support hash-based remote download
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-13 18:05:20 +01:00
Kahrl
e9737be595 Implement httpfetch module and initialize it from main()
Add curl_parallel_limit setting that will replace media_fetch_threads in
a later commit.

Fix a typo in MutexedQueue::pop_back() that made it impossible to compile
code that used this function. (Noticed this while implementing httpfetch.)
2013-12-13 18:05:10 +01:00
Ilya Zhuravlev
27f9fd26a5 Add configurable font shadow. 2013-12-12 21:47:54 +04:00
sweetbomber
a85c68049a Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings 2013-12-05 16:09:02 -05:00
RealBadAngel
c18af13697 Shaders rework. 2013-12-03 18:55:25 +01:00
sapier
326a3e4f8f Split server/client port setting to avoid port number clashes in mainmenu 2013-11-28 21:43:06 +01:00
PilzAdam
03a64226c2 Increase liquid_loop_max to 10000 again 2013-11-17 21:05:14 +01:00
proller
3f4aa81eec Improved default settings for floatland perlin noise 1. Larger, more detailed floatlands. 2013-11-14 15:38:32 +04:00
ShadowNinja
746c404a72 Lower the default max_users from 100 to 15 2013-09-28 21:09:52 +02:00
proller
d01bb79c86 Add configurable PRAGMA synchronous = 2013-09-17 02:11:30 +04:00
Ilya Zhuravlev
d0e6a19622 Add fallback font support for some languages. 2013-09-08 15:16:19 +04:00
Ilya Zhuravlev
23f0a09180 Add a setting for HighPrecisionFPU (fixes #763). 2013-08-25 18:25:01 +04:00
PilzAdam
cb0a43d1db Add ability to activate mods with doubleclick (remove old_style_mod_selection) 2013-08-16 01:04:37 +02:00
Kahrl
ee90d438b8 Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu 2013-08-14 21:03:33 +02:00
Kahrl
a0b8a52048 Remove farmesh 2013-08-13 09:25:13 +02:00
PilzAdam
e0543b888b Fix path of mono font in defaultsettings.cpp 2013-08-07 13:41:00 +02:00
PilzAdam
4d57aed2af Make freetype usage configureable by a setting 2013-08-04 20:35:14 +02:00
Novatux
418d08bf6b Change large amount of objects to be configurable via a setting in minetest.conf (max_objects_per_block). 2013-08-04 15:28:01 +03:00
proller
cdb2b82262 Weather support 2013-07-27 23:21:48 +04:00
PilzAdam
e2c6199eba Fix modstore URLs 2013-07-22 22:26:48 +02:00
PilzAdam
b29d62b04f Disable gamemanager by default 2013-07-22 18:16:36 +02:00
sapier
d9f7cc1104 Fix bug in world creation
Add old style mod selection in worldconfig dialog
2013-07-22 18:10:00 +02:00
sapier
ecf20aa50e Enable mod and gamemanager by default 2013-07-22 18:10:00 +02:00
sapier
8adff8f5a3 Add configurable curl timeout 2013-07-22 18:09:59 +02:00
sapier
4f7abcbafa Fix many formspec menu bugs 2013-07-07 19:49:52 -04:00
kwolekr
4b906fa7ef Mapgen V7: Huge rewrite, also tweaks to cavegen et al. 2013-07-06 02:21:54 -04:00
RealBadAngel
e0d877e097 Add texture bumpmapping feature. 2013-07-04 02:36:32 +02:00
sapier
62794622d6 Replace C++ mainmenu by formspec powered one 2013-07-02 19:58:20 -04:00
Kahrl
46340cbbe0 Remove texture atlas / AtlasPointer, rename getTextureRaw to getTexture 2013-07-02 03:03:10 +02:00
proller
cc19db315c New math mapgen with fractal based worlds 2013-06-23 18:07:10 +04:00
proller
06ddcb4b1e Add support for IPv6
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)
2013-06-23 11:31:22 +04:00
PilzAdam
a3a6502658 Add a setting for max loop count per step in liquid update 2013-06-20 22:31:46 +00:00
kwolekr
1a8f453958 Add initial Decoration support, many misc. improvements & modifications 2013-06-17 03:21:36 -04:00
Kahrl
7d2f899d23 Add and implement setting max_clearobjects_extra_loaded_blocks.
Now Environment::clearAllObjects() unloads unused blocks in an interval
defined by max_clearobjects_extra_loaded_blocks (default 4096).
2013-06-03 20:09:32 +02:00
Esteban I. Ruiz Moreno
b08820ebed Add mouse_sensitivity option 2013-05-13 17:39:16 +02:00
Perttu Ahola
ccb39de028 Disable fall bobbing by default; enable using fall_bobbing_amount = 1.0 2013-04-23 23:19:36 +03:00
kwolekr
6d9ff57f15 Add Mapgen V7, reorganize biomes 2013-04-07 00:50:21 -04:00
proller
d55235fde9 Mapgen indev: float islands, larger far biomes 2013-03-24 03:40:15 +04:00
Perttu Ahola
da5aee9580 Support game-specific minetest.conf 2013-03-21 22:22:15 +02:00
proller
8fce2af76b initial mapgen indev version with farscale feature and huge caves 2013-03-16 21:48:32 -04:00
kwolekr
01c75af672 Re-add jungles, apple trees 2013-03-16 17:06:11 -04:00
proller
1f70fbcdb5 Liquid fine tuning 2013-03-14 17:06:25 -04:00
ShadowNinja
8b7f46369a Add cloud menu background by Krisi, configurable with the menu_clouds option.
Also add a menuheader, menusplash, menufooter_clouds, and allow HD menu footers.
And finally don't git-ignore textures/base/.
2013-03-13 21:18:40 -04:00
kwolekr
93488370fe Change default settings for log level, texture atlas, document new settings 2013-02-27 19:59:05 -05:00
kwolekr
c7f9903b98 Merge pull request #482 from proller/liquid
finite liquid
2013-02-25 20:52:24 -08:00
kwolekr
cb816057a7 Fix selection of # threads, set default to 1 thread 2013-02-25 23:11:00 -05:00