oweals/minetest.git
11 years agoClean up bumpmap code a bit
kwolekr [Fri, 12 Jul 2013 04:03:41 +0000 (00:03 -0400)]
Clean up bumpmap code a bit

11 years agoDisallow the name 'singleplayer' in a multiplayer server
PilzAdam [Thu, 11 Jul 2013 22:53:30 +0000 (00:53 +0200)]
Disallow the name 'singleplayer' in a multiplayer server

11 years agoAdd VoxelArea:position, VoxelArea:iter and VoxelArea:iterp
Kahrl [Tue, 9 Jul 2013 14:26:52 +0000 (16:26 +0200)]
Add VoxelArea:position, VoxelArea:iter and VoxelArea:iterp

11 years agoWorldlist fixes
sapier [Tue, 9 Jul 2013 21:17:38 +0000 (23:17 +0200)]
Worldlist fixes
Add alphabeticaly sorted worldlists
Select world after creation
Move worldlist handling to separate file
Merge world selection of singleplayer/server tab
Remove some useless code

11 years agoFix multiple texture support for animated meshnodes
stujones11 [Tue, 11 Jun 2013 20:40:59 +0000 (21:40 +0100)]
Fix multiple texture support for animated meshnodes

11 years agoFix serverlist
sapier [Tue, 9 Jul 2013 19:54:30 +0000 (21:54 +0200)]
Fix serverlist

11 years agoPublic server checkbox
proller [Tue, 9 Jul 2013 20:09:17 +0000 (00:09 +0400)]
Public server checkbox

11 years agoDont play digging sound if not digging
PilzAdam [Tue, 9 Jul 2013 00:38:53 +0000 (02:38 +0200)]
Dont play digging sound if not digging

11 years agoRevert "Fix serverlist not beeing escaped correctly"
kwolekr [Tue, 9 Jul 2013 00:21:09 +0000 (20:21 -0400)]
Revert "Fix serverlist not beeing escaped correctly"

This reverts commit 39d03148e5d98ef5f9a31b131a79ff2bbd71a877.

11 years agoFix header not beeing shown except on singleplayer tab
sapier [Mon, 8 Jul 2013 21:48:29 +0000 (23:48 +0200)]
Fix header not beeing shown except on singleplayer tab

11 years agoFix serverlist not beeing escaped correctly
sapier [Mon, 8 Jul 2013 21:45:14 +0000 (23:45 +0200)]
Fix serverlist not beeing escaped correctly
Always use address for server
Fix first (empty) element beeing selected after deleting last world

11 years agofix crash on play/start with empty world list
sapier [Mon, 8 Jul 2013 19:02:42 +0000 (21:02 +0200)]
fix crash on play/start with empty world list
make enter button work in create world dialog

11 years agoFix wallmounted rotations along Y axis for 90 and 270 degree cases
kwolekr [Mon, 8 Jul 2013 22:50:29 +0000 (18:50 -0400)]
Fix wallmounted rotations along Y axis for 90 and 270 degree cases

11 years agoDecoration: Handle facedir and wallmounted param2types with schematic rotation
kwolekr [Mon, 8 Jul 2013 19:19:22 +0000 (15:19 -0400)]
Decoration: Handle facedir and wallmounted param2types with schematic rotation

11 years agoRemove note in lua-api.txt that there are no vector helper functions
PilzAdam [Mon, 8 Jul 2013 11:41:46 +0000 (13:41 +0200)]
Remove note in lua-api.txt that there are no vector helper functions

11 years agoMake sure that coordinates passed to /teleport are actual numbers
PilzAdam [Mon, 8 Jul 2013 11:30:55 +0000 (13:30 +0200)]
Make sure that coordinates passed to /teleport are actual numbers

11 years agoMove math.hypot() to misc_helpers.lua and fix zero-division error
ShadowNinja [Sun, 7 Jul 2013 16:02:11 +0000 (12:02 -0400)]
Move math.hypot() to misc_helpers.lua and fix zero-division error

11 years agoLua main menu: Fix world creation dialog
kwolekr [Mon, 8 Jul 2013 00:36:41 +0000 (20:36 -0400)]
Lua main menu: Fix world creation dialog

11 years agoSet numeric locale in Lua in main menu
PilzAdam [Mon, 8 Jul 2013 00:28:36 +0000 (02:28 +0200)]
Set numeric locale in Lua in main menu

11 years agoSettings: everything != 0 equals true; remove .asm shaders
PilzAdam [Sun, 7 Jul 2013 23:58:22 +0000 (01:58 +0200)]
Settings: everything != 0 equals true; remove .asm shaders

11 years agoFix many formspec menu bugs
sapier [Sun, 7 Jul 2013 19:53:40 +0000 (15:53 -0400)]
Fix many formspec menu bugs

11 years agoFix parseColor, change remaining colorkeys to new format, fix Contributor list
Sfan5 [Sun, 7 Jul 2013 17:54:38 +0000 (19:54 +0200)]
Fix parseColor, change remaining colorkeys to new format, fix Contributor list

11 years agoWhen server sends late media, log to errorstream instead of crashing.
Kahrl [Thu, 13 Jun 2013 01:05:47 +0000 (03:05 +0200)]
When server sends late media, log to errorstream instead of crashing.

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.

11 years agoHandle 0 vectors in vector.normalize()
ShadowNinja [Sun, 7 Jul 2013 06:02:45 +0000 (02:02 -0400)]
Handle 0 vectors in vector.normalize()

11 years agoinclude mathconstants.h in numerics.cpp
Vincent Heuken [Wed, 26 Jun 2013 00:44:17 +0000 (17:44 -0700)]
include mathconstants.h in numerics.cpp

11 years agoAdd vector helpers
ShadowNinja [Sun, 7 Jul 2013 05:44:33 +0000 (01:44 -0400)]
Add vector helpers

11 years agoBiomeDefManager: Fully initialize default biome
kwolekr [Sat, 6 Jul 2013 19:28:59 +0000 (15:28 -0400)]
BiomeDefManager: Fully initialize default biome

11 years agoMapgen V7: Fix out-of-bounds array access
kwolekr [Sat, 6 Jul 2013 19:22:51 +0000 (15:22 -0400)]
Mapgen V7: Fix out-of-bounds array access

11 years agoLuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects
kwolekr [Sat, 6 Jul 2013 19:12:40 +0000 (15:12 -0400)]
LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects

11 years agoDecoration: Remove usage of multi-character constants
kwolekr [Sat, 6 Jul 2013 19:03:34 +0000 (15:03 -0400)]
Decoration: Remove usage of multi-character constants

11 years agoUse hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor
Sfan5 [Sat, 6 Jul 2013 08:32:58 +0000 (10:32 +0200)]
Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor

11 years agoMapgen V7: Huge rewrite, also tweaks to cavegen et al.
kwolekr [Sat, 6 Jul 2013 06:21:35 +0000 (02:21 -0400)]
Mapgen V7: Huge rewrite, also tweaks to cavegen et al.

11 years agoFix possible NULL dereference in createExtrudedMesh
Kahrl [Sat, 6 Jul 2013 04:16:51 +0000 (06:16 +0200)]
Fix possible NULL dereference in createExtrudedMesh

11 years agoDon't rebuild the dummy shader (less SourceShaderCache warning spam)
Kahrl [Fri, 5 Jul 2013 02:24:05 +0000 (04:24 +0200)]
Don't rebuild the dummy shader (less SourceShaderCache warning spam)

Also write something about rebuilding shaders to infostream in
Client::afterContentReceived()

11 years agoImprove finite liquid distribution, fix small bug
proller [Thu, 4 Jul 2013 18:30:25 +0000 (22:30 +0400)]
Improve finite liquid distribution, fix small bug

11 years agoThrow exception instead of assert on nested reliable packets
Kahrl [Thu, 4 Jul 2013 04:18:50 +0000 (06:18 +0200)]
Throw exception instead of assert on nested reliable packets

Fixes a denial of service vulnerability, issue #784

11 years agoAdd texture bumpmapping feature.
RealBadAngel [Thu, 4 Jul 2013 00:36:32 +0000 (02:36 +0200)]
Add texture bumpmapping feature.

11 years agoWhoever called a function parameter m_device is fired without notice.
Kahrl [Wed, 3 Jul 2013 18:33:54 +0000 (20:33 +0200)]
Whoever called a function parameter m_device is fired without notice.

11 years agoLua main menu: Fix crash on init lua error, mapgen dropdown index, and new worlds...
kwolekr [Wed, 3 Jul 2013 05:25:26 +0000 (01:25 -0400)]
Lua main menu: Fix crash on init lua error, mapgen dropdown index, and new worlds not saving index

11 years agoChange debug optimization level back to -O1
kwolekr [Wed, 3 Jul 2013 01:48:13 +0000 (21:48 -0400)]
Change debug optimization level back to -O1

11 years agoUpdate wiki url
BlockMen [Sun, 30 Jun 2013 20:17:26 +0000 (22:17 +0200)]
Update wiki url

11 years agoMove generateTextureFromMesh to TextureSource to fix a texture leak
Kahrl [Wed, 3 Jul 2013 00:22:39 +0000 (02:22 +0200)]
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).

11 years agoFix possible 0 pointer access
sapier [Sun, 23 Jun 2013 14:09:02 +0000 (16:09 +0200)]
Fix possible 0 pointer access

11 years agoReplace C++ mainmenu by formspec powered one
sapier [Sun, 23 Jun 2013 16:30:21 +0000 (18:30 +0200)]
Replace C++ mainmenu by formspec powered one

11 years agoCavegen: Prevent caves from occuring above ground level, and superfluous mixing of...
kwolekr [Tue, 2 Jul 2013 01:10:59 +0000 (21:10 -0400)]
Cavegen: Prevent caves from occuring above ground level, and superfluous mixing of lava and water in caves

11 years agoRemove texture atlas / AtlasPointer, rename getTextureRaw to getTexture
Kahrl [Mon, 24 Jun 2013 02:17:50 +0000 (04:17 +0200)]
Remove texture atlas / AtlasPointer, rename getTextureRaw to getTexture

11 years agoRemove unnecessary debug output in node_dig()
PilzAdam [Tue, 2 Jul 2013 00:34:51 +0000 (00:34 +0000)]
Remove unnecessary debug output in node_dig()

11 years agoInfinite tools in creative mode
Lord89James [Mon, 11 Mar 2013 12:36:04 +0000 (13:36 +0100)]
Infinite tools in creative mode

11 years agoFix i18n of some strings.
arsdragonfly [Mon, 24 Jun 2013 00:07:45 +0000 (00:07 +0000)]
Fix i18n of some strings.

11 years agoDecoration: Add schematic rotation support
kwolekr [Mon, 1 Jul 2013 22:04:17 +0000 (18:04 -0400)]
Decoration: Add schematic rotation support

11 years agoDisable collision fix, its broke unit tests
proller [Sun, 30 Jun 2013 20:26:54 +0000 (00:26 +0400)]
Disable collision fix, its broke unit tests

11 years agoFix sand, gravel falling stuck
proller [Sun, 30 Jun 2013 18:26:01 +0000 (22:26 +0400)]
Fix sand, gravel falling stuck

11 years agoLuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light...
kwolekr [Sun, 30 Jun 2013 02:22:25 +0000 (22:22 -0400)]
LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light and liquid updates

11 years agoOptimize liquid queue on generate map for liquid_finite
proller [Sat, 29 Jun 2013 21:29:21 +0000 (01:29 +0400)]
Optimize liquid queue on generate map for liquid_finite

11 years agoUpdate documentation for get_mapgen_object
kwolekr [Sat, 29 Jun 2013 20:24:32 +0000 (16:24 -0400)]
Update documentation for get_mapgen_object

11 years agoAdd Lua VoxelArea methods: contains, containsp, containsi
kwolekr [Sat, 29 Jun 2013 02:52:13 +0000 (22:52 -0400)]
Add Lua VoxelArea methods: contains, containsp, containsi

11 years agoMake generated water a shade darker to match up with older versions
kwolekr [Sat, 29 Jun 2013 02:22:44 +0000 (22:22 -0400)]
Make generated water a shade darker to match up with older versions

11 years agoAdd voxelarea.lua helper to builtin
kwolekr [Fri, 28 Jun 2013 14:28:15 +0000 (10:28 -0400)]
Add voxelarea.lua helper to builtin

11 years agoDont write player files all the time
PilzAdam [Fri, 28 Jun 2013 14:06:34 +0000 (14:06 +0000)]
Dont write player files all the time

11 years agoApply various fixes to several things
kwolekr [Fri, 28 Jun 2013 02:33:31 +0000 (22:33 -0400)]
Apply various fixes to several things

11 years agoLuaVoxelManip: Separate VoxelManip data get/set from emerging/blitting data back...
kwolekr [Fri, 28 Jun 2013 01:12:44 +0000 (21:12 -0400)]
LuaVoxelManip: Separate VoxelManip data get/set from emerging/blitting data back to map

11 years agoAdd Lua on_mapgen_init callback, and minetest.set_mapgen_params API
kwolekr [Thu, 27 Jun 2013 21:06:52 +0000 (17:06 -0400)]
Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API

11 years agoAdd Lua PerlinNoiseMap:get#dMap_flat API
kwolekr [Thu, 27 Jun 2013 01:04:06 +0000 (21:04 -0400)]
Add Lua PerlinNoiseMap:get#dMap_flat API

11 years agoAdd minetest.get_mapgen_object to API
kwolekr [Wed, 26 Jun 2013 21:19:39 +0000 (17:19 -0400)]
Add minetest.get_mapgen_object to API

11 years agoFix issue of VManip occasionally not blitting back blocks, and pitch black lighting bug
kwolekr [Tue, 25 Jun 2013 15:49:08 +0000 (11:49 -0400)]
Fix issue of VManip occasionally not blitting back blocks, and pitch black lighting bug

11 years agoAdd LuaVoxelManip
kwolekr [Tue, 25 Jun 2013 15:02:02 +0000 (11:02 -0400)]
Add LuaVoxelManip

11 years agoFix ipv6 on windows
proller [Mon, 24 Jun 2013 16:12:54 +0000 (20:12 +0400)]
Fix ipv6 on windows

11 years agoCavegen: fix division by 0 with abnormal max tunnel diameter sizes
kwolekr [Sun, 23 Jun 2013 19:16:52 +0000 (15:16 -0400)]
Cavegen: fix division by 0 with abnormal max tunnel diameter sizes

11 years agoMath mapgen fix, ip show on connect, pathfinder segfault fix
proller [Sun, 23 Jun 2013 16:23:59 +0000 (20:23 +0400)]
Math mapgen fix, ip show on connect, pathfinder segfault fix

11 years agoNew math mapgen with fractal based worlds
proller [Sun, 23 Jun 2013 14:07:10 +0000 (18:07 +0400)]
New math mapgen with fractal based worlds

11 years agoAdd support for IPv6
proller [Sun, 23 Jun 2013 07:31:22 +0000 (11:31 +0400)]
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)

11 years agoDecoration: Add support for zero probability, fix breakage from last commit
kwolekr [Sun, 23 Jun 2013 00:48:19 +0000 (20:48 -0400)]
Decoration: Add support for zero probability, fix breakage from last commit

11 years agoPrint playername when failing to read playerfile and ignore files starting with .
PilzAdam [Fri, 21 Jun 2013 18:32:28 +0000 (18:32 +0000)]
Print playername when failing to read playerfile and ignore files starting with .

11 years agoA handful of minor fixes to various things
kwolekr [Sat, 22 Jun 2013 21:27:48 +0000 (17:27 -0400)]
A handful of minor fixes to various things

11 years agoDecoration: Add Schematic decoration type
kwolekr [Sat, 22 Jun 2013 04:29:44 +0000 (00:29 -0400)]
Decoration: Add Schematic decoration type

11 years agoAdd Hungarian language.
Ilya Zhuravlev [Fri, 21 Jun 2013 08:26:07 +0000 (12:26 +0400)]
Add Hungarian language.

11 years agoMerge remote-tracking branch 'origin/master'
Weblate [Fri, 21 Jun 2013 08:24:16 +0000 (10:24 +0200)]
Merge remote-tracking branch 'origin/master'

11 years agoTranslated using Weblate (Kirghiz)
Chyngyz Dzhumaliev [Sat, 1 Jun 2013 16:09:05 +0000 (18:09 +0200)]
Translated using Weblate (Kirghiz)

11 years agoAdd a setting for max loop count per step in liquid update
PilzAdam [Sat, 8 Jun 2013 23:42:46 +0000 (23:42 +0000)]
Add a setting for max loop count per step in liquid update

11 years agoMake minetest.debug accept multiple parameters; convert them to string
Kahrl [Thu, 20 Jun 2013 22:04:18 +0000 (00:04 +0200)]
Make minetest.debug accept multiple parameters; convert them to string

11 years agoRemove deprecated functions that don't work anymore from lua_api.txt
Kahrl [Thu, 20 Jun 2013 05:52:04 +0000 (07:52 +0200)]
Remove deprecated functions that don't work anymore from lua_api.txt

11 years agoPlay placing sound only if place prediction was successful
PilzAdam [Wed, 19 Jun 2013 21:09:18 +0000 (21:09 +0000)]
Play placing sound only if place prediction was successful

11 years agoDont dig or place nodes if interact priv is missing (clientside)
PilzAdam [Wed, 19 Jun 2013 21:00:14 +0000 (21:00 +0000)]
Dont dig or place nodes if interact priv is missing (clientside)

11 years agoAdd drowning 780/head
PilzAdam [Wed, 19 Jun 2013 14:30:22 +0000 (14:30 +0000)]
Add drowning

11 years agoRestore old output format of dump()
Diego Martínez [Sun, 16 Jun 2013 06:06:41 +0000 (03:06 -0300)]
Restore old output format of dump()

11 years agoCompress textures
David Gumberg [Tue, 28 May 2013 03:55:01 +0000 (20:55 -0700)]
Compress textures

11 years agoDecoration: Place decorations in mgv6, check if air or cignore before placement
kwolekr [Tue, 18 Jun 2013 01:59:42 +0000 (21:59 -0400)]
Decoration: Place decorations in mgv6, check if air or cignore before placement

11 years agoShow number of objects in client environment in profiler (F6)
Kahrl [Mon, 17 Jun 2013 23:49:06 +0000 (01:49 +0200)]
Show number of objects in client environment in profiler (F6)

11 years agoFormspec: Don't perform black magic if selected item fits the guess
Kahrl [Mon, 17 Jun 2013 23:32:11 +0000 (01:32 +0200)]
Formspec: Don't perform black magic if selected item fits the guess

11 years agoFix calculation of selected item (for not drawing it) in formspec
Kahrl [Mon, 17 Jun 2013 23:18:54 +0000 (01:18 +0200)]
Fix calculation of selected item (for not drawing it) in formspec

The previous code did not work when the list did not start at index 0
of the inventory list (issue #779).

11 years agoRemove useless recalculation of bounding box (mapblock_mesh)
Esteban I. Ruiz Moreno [Sat, 15 Jun 2013 18:30:48 +0000 (15:30 -0300)]
Remove useless recalculation of bounding box (mapblock_mesh)

11 years agoDecoration, Ore: Resolve node names on Mapgen init
kwolekr [Mon, 17 Jun 2013 22:51:29 +0000 (18:51 -0400)]
Decoration, Ore: Resolve node names on Mapgen init

11 years agoDecoration: Change divlen to sidelen
kwolekr [Mon, 17 Jun 2013 22:23:31 +0000 (18:23 -0400)]
Decoration: Change divlen to sidelen

11 years agoAdd initial Decoration support, many misc. improvements & modifications
kwolekr [Sun, 16 Jun 2013 02:23:06 +0000 (22:23 -0400)]
Add initial Decoration support, many misc. improvements & modifications

11 years agoExtend a delay in TestConnection from 50 to 100 milliseconds.
Kahrl [Mon, 17 Jun 2013 00:09:50 +0000 (02:09 +0200)]
Extend a delay in TestConnection from 50 to 100 milliseconds.

The 50 ms delay causes frequent test failures on certain systems with
slow network stacks, these failures go away with the 100 ms variant.

11 years agoTweak IDropAction restriction handling in server.cpp
Kahrl [Sun, 16 Jun 2013 15:01:21 +0000 (17:01 +0200)]
Tweak IDropAction restriction handling in server.cpp

11 years agoLazy sunday typo fixing. s/unban_player_of_ip/unban_player_or_ip/g
Kahrl [Sun, 16 Jun 2013 12:07:12 +0000 (14:07 +0200)]
Lazy sunday typo fixing. s/unban_player_of_ip/unban_player_or_ip/g

11 years agoRemoved a redundant step which degraded performance
sweetbomber [Sat, 15 Jun 2013 16:44:59 +0000 (17:44 +0100)]
Removed a redundant step which degraded performance

11 years agoAdd basic unicode support to the console (linux workaround)
Esteban I. Ruiz Moreno [Wed, 5 Jun 2013 01:14:31 +0000 (22:14 -0300)]
Add basic unicode support to the console (linux workaround)

11 years agoFix crash in dump() when index is a table
khonkhortisan [Sun, 9 Jun 2013 01:15:26 +0000 (19:15 -0600)]
Fix crash in dump() when index is a table