3206 Commits

Author SHA1 Message Date
ShadowNinja
7c0685a6bd Handle 0 vectors in vector.normalize() 2013-07-07 02:29:09 -04:00
Vincent Heuken
38e88400fa include mathconstants.h in numerics.cpp 2013-07-07 01:52:43 -04:00
ShadowNinja
de5f1f9b42 Add vector helpers 2013-07-07 01:49:11 -04:00
kwolekr
b34aabe870 BiomeDefManager: Fully initialize default biome 2013-07-06 15:28:59 -04:00
kwolekr
29b415ac04 Mapgen V7: Fix out-of-bounds array access 2013-07-06 15:22:51 -04:00
kwolekr
fe13fd78c3 LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects 2013-07-06 15:12:40 -04:00
kwolekr
e4f236cb52 Decoration: Remove usage of multi-character constants 2013-07-06 15:03:54 -04:00
Sfan5
67b58fa494 Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor 2013-07-06 10:32:58 +02:00
kwolekr
4b906fa7ef Mapgen V7: Huge rewrite, also tweaks to cavegen et al. 2013-07-06 02:21:54 -04:00
Kahrl
2f4f4f71cf Fix possible NULL dereference in createExtrudedMesh 2013-07-06 06:16:51 +02:00
Kahrl
256eb4a122 Don't rebuild the dummy shader (less SourceShaderCache warning spam)
Also write something about rebuilding shaders to infostream in
Client::afterContentReceived()
2013-07-05 04:24:05 +02:00
proller
801c08472d Improve finite liquid distribution, fix small bug 2013-07-05 00:11:11 +04:00
Kahrl
55ff2f639f Throw exception instead of assert on nested reliable packets
Fixes a denial of service vulnerability, issue #784
2013-07-04 06:18:50 +02:00
RealBadAngel
e0d877e097 Add texture bumpmapping feature. 2013-07-04 02:36:32 +02:00
Kahrl
6510e0c49d Whoever called a function parameter m_device is fired without notice. 2013-07-03 20:33:54 +02:00
kwolekr
9b0a30f4ea Lua main menu: Fix crash on init lua error, mapgen dropdown index, and new worlds not saving index 2013-07-03 01:25:26 -04:00
kwolekr
559f7c5e69 Change debug optimization level back to -O1 2013-07-02 21:48:18 -04:00
BlockMen
fefe582a16 Update wiki url 2013-07-03 03:37:00 +02:00
Kahrl
d507e28438 Move generateTextureFromMesh to TextureSource to fix a texture leak
TextureSource has a list of textures to delete (m_texture_trash) so this
provides a proper, non-hacky way to delete RTT textures. Also, the prior,
hacky way of deleting them seems to be broken (see pull request #803).

To avoid header file clutter by repeating the same long list of
arguments over and over again, store the arguments of
generateTextureFromMesh in a struct called TextureFromMeshParams.

Also fix issue #782 (Only use bilinear (and others) on item textures
when settings allow it).
2013-07-03 03:24:28 +02:00
sapier
f4a9f1af58 Fix possible 0 pointer access 2013-07-02 20:01:48 -04:00
sapier
62794622d6 Replace C++ mainmenu by formspec powered one 2013-07-02 19:58:20 -04:00
kwolekr
e3ccf17a0d Cavegen: Prevent caves from occuring above ground level, and superfluous mixing of lava and water in caves 2013-07-01 21:20:03 -04:00
Kahrl
46340cbbe0 Remove texture atlas / AtlasPointer, rename getTextureRaw to getTexture 2013-07-02 03:03:10 +02:00
PilzAdam
327d6e8c4f Remove unnecessary debug output in node_dig() 2013-07-02 00:34:59 +00:00
Lord89James
3a1bbbb873 Infinite tools in creative mode 2013-07-02 00:33:31 +00:00
arsdragonfly
fbf7bffcf6 Fix i18n of some strings. 2013-07-02 00:13:50 +00:00
kwolekr
5fa252aa8b Decoration: Add schematic rotation support 2013-07-01 18:04:51 -04:00
proller
fd9ca36409 Disable collision fix, its broke unit tests 2013-07-01 00:26:54 +04:00
proller
ff93fdfdc3 Fix sand, gravel falling stuck 2013-06-30 22:48:51 +04:00
kwolekr
ee2d8bc482 LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light and liquid updates 2013-06-29 22:23:00 -04:00
proller
0c4c6b7e4d Optimize liquid queue on generate map for liquid_finite 2013-06-30 01:29:21 +04:00
kwolekr
dd78709092 Update documentation for get_mapgen_object 2013-06-29 16:24:32 -04:00
kwolekr
e72ffb15a2 Add Lua VoxelArea methods: contains, containsp, containsi 2013-06-28 22:52:13 -04:00
kwolekr
311ca5ad54 Make generated water a shade darker to match up with older versions 2013-06-28 22:22:44 -04:00
kwolekr
2b512c6182 Add voxelarea.lua helper to builtin 2013-06-28 11:07:45 -04:00
PilzAdam
08767822b7 Dont write player files all the time 2013-06-28 14:15:48 +00:00
kwolekr
5f60730da4 Apply various fixes to several things 2013-06-27 22:35:35 -04:00
kwolekr
0e1e60e195 LuaVoxelManip: Separate VoxelManip data get/set from emerging/blitting data back to map 2013-06-27 22:35:35 -04:00
kwolekr
5c8a16016c Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API 2013-06-27 22:35:35 -04:00
kwolekr
700c16fba1 Add Lua PerlinNoiseMap:get#dMap_flat API 2013-06-27 22:35:35 -04:00
kwolekr
f9c5ed3c7b Add minetest.get_mapgen_object to API 2013-06-27 22:35:35 -04:00
kwolekr
c2530fa4ed Fix issue of VManip occasionally not blitting back blocks, and pitch black lighting bug 2013-06-27 22:35:35 -04:00
kwolekr
669194d224 Add LuaVoxelManip 2013-06-27 22:35:35 -04:00
proller
9cf4e3961b Fix ipv6 on windows 2013-06-24 20:13:56 +04:00
kwolekr
74182cc85b Cavegen: fix division by 0 with abnormal max tunnel diameter sizes 2013-06-23 15:16:52 -04:00
proller
a0d79ac7a5 Math mapgen fix, ip show on connect, pathfinder segfault fix 2013-06-23 20:35:16 +04: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
kwolekr
9f0d413e30 Decoration: Add support for zero probability, fix breakage from last commit 2013-06-22 20:49:01 -04:00
PilzAdam
8908148163 Print playername when failing to read playerfile and ignore files starting with . 2013-06-22 21:39:47 +00:00