oweals/minetest.git
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

11 years agoFixes cmake-gui causing RUN_IN_PLACE to be always off
MetaDucky [Sun, 26 May 2013 07:49:02 +0000 (09:49 +0200)]
Fixes cmake-gui causing RUN_IN_PLACE to be always off

11 years agoReset dig_time when switching to a tool that cant dig the current node
PilzAdam [Thu, 13 Jun 2013 12:41:23 +0000 (12:41 +0000)]
Reset dig_time when switching to a tool that cant dig the current node

11 years agoEnable word wrapping in profiler IGUIStaticText (freetype needs this)
Kahrl [Thu, 13 Jun 2013 12:32:53 +0000 (14:32 +0200)]
Enable word wrapping in profiler IGUIStaticText (freetype needs this)

11 years agoPlay player_damage.ogg when recieving damage and additionally play player_falling_dam...
PilzAdam [Wed, 17 Apr 2013 18:13:47 +0000 (20:13 +0200)]
Play player_damage.ogg when recieving damage and additionally play player_falling_damage.ogg when recieving falling damage

11 years agoFix class/struct forward declaration inconsistencies (good on ya, MSVC) 0.4.7-MSVC
Kahrl [Thu, 6 Jun 2013 20:57:38 +0000 (22:57 +0200)]
Fix class/struct forward declaration inconsistencies (good on ya, MSVC)

11 years agoBump version to 0.4.7 0.4.7
PilzAdam [Thu, 6 Jun 2013 17:14:26 +0000 (17:14 +0000)]
Bump version to 0.4.7

11 years agoRevert "Fix multiple texture support for animated meshnodes." (broke existing models)
PilzAdam [Thu, 6 Jun 2013 17:13:41 +0000 (17:13 +0000)]
Revert "Fix multiple texture support for animated meshnodes." (broke existing models)

This reverts commit 649dca4d16786ed4e5b74878f56b86dea4f02542.

11 years agoClose console when it loses focus but it is still on screen
Esteban I. Ruiz Moreno [Wed, 5 Jun 2013 02:26:52 +0000 (23:26 -0300)]
Close console when it loses focus but it is still on screen

11 years agoOnly add ^[forcesingle to get raw texture if atlas is used
Kahrl [Tue, 4 Jun 2013 05:44:19 +0000 (07:44 +0200)]
Only add ^[forcesingle to get raw texture if atlas is used

11 years agoFix multiple texture support for animated meshnodes.
stujones11 [Wed, 22 May 2013 19:20:05 +0000 (20:20 +0100)]
Fix multiple texture support for animated meshnodes.

11 years agoCorrected segfault when registering new biomes.
sweetbomber [Mon, 3 Jun 2013 14:59:13 +0000 (15:59 +0100)]
Corrected segfault when registering new biomes.

11 years agoAdd and implement setting max_clearobjects_extra_loaded_blocks.
Kahrl [Sun, 2 Jun 2013 13:35:29 +0000 (15:35 +0200)]
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).

11 years agoDelay deleting replaced textures (m_texture_trash)
Kahrl [Sun, 2 Jun 2013 23:53:43 +0000 (01:53 +0200)]
Delay deleting replaced textures (m_texture_trash)

11 years agoCall m_menumgr->deletingMenu from quitMenu in addition to destructor
Kahrl [Sun, 2 Jun 2013 15:53:20 +0000 (17:53 +0200)]
Call m_menumgr->deletingMenu from quitMenu in addition to destructor

This fixes the bug where noMenuActive() keeps returning false after
closing a menu until the mouse is moved, rendering the keyboard
unusable (the_game calls input->clear() every frame when
noMenuActive() is false).