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

11 years agoAdd Code::Blocks project and build files to .gitignore
bcnjr5 [Thu, 25 Apr 2013 13:56:40 +0000 (09:56 -0400)]
Add Code::Blocks project and build files to .gitignore

11 years agoReplace c55.me links
Kahrl [Sun, 2 Jun 2013 15:38:53 +0000 (17:38 +0200)]
Replace c55.me links

11 years agoTranslated using Weblate (French)
Dany Cuartiella [Sat, 1 Jun 2013 23:56:06 +0000 (01:56 +0200)]
Translated using Weblate (French)

11 years agoFix missing find_path and line_of_sight
sapier [Sun, 26 May 2013 16:23:22 +0000 (18:23 +0200)]
Fix missing find_path and line_of_sight

11 years agoFix some nullptr exceptions when handling invalid node inventories
MetaDucky [Sun, 26 May 2013 10:06:35 +0000 (12:06 +0200)]
Fix some nullptr exceptions when handling invalid node inventories

11 years agoTranslated using Weblate (French)
Ilya Zhuravlev [Sat, 1 Jun 2013 11:22:26 +0000 (13:22 +0200)]
Translated using Weblate (French)

11 years agoMerge remote-tracking branch 'origin/master'
Weblate [Sat, 1 Jun 2013 11:18:52 +0000 (13:18 +0200)]
Merge remote-tracking branch 'origin/master'

11 years agoTranslated using Weblate (Portuguese (Brazil))
Frederico Guimarães [Wed, 15 May 2013 16:58:47 +0000 (18:58 +0200)]
Translated using Weblate (Portuguese (Brazil))

11 years agoTranslated using Weblate (Portuguese)
v c [Wed, 29 May 2013 22:13:04 +0000 (00:13 +0200)]
Translated using Weblate (Portuguese)

11 years agoTranslated using Weblate (Kirghiz)
Chynggyz Jumaliev [Sat, 18 May 2013 12:59:11 +0000 (14:59 +0200)]
Translated using Weblate (Kirghiz)

11 years agoTranslated using Weblate (German)
Pilz Adam [Tue, 14 May 2013 10:51:05 +0000 (12:51 +0200)]
Translated using Weblate (German)

11 years agoTranslated using Weblate (Chinese (China))
Shen Zheyu [Sat, 18 May 2013 14:23:09 +0000 (16:23 +0200)]
Translated using Weblate (Chinese (China))

11 years agoFix minetest.get_inventory(loc) always returning nil for "node" type loc
MetaDucky [Sun, 26 May 2013 09:27:06 +0000 (11:27 +0200)]
Fix minetest.get_inventory(loc) always returning nil for "node" type loc

11 years agoFix editbox default text being pre-selected in some cases
MetaDucky [Mon, 27 May 2013 17:33:33 +0000 (19:33 +0200)]
Fix editbox default text being pre-selected in some cases

11 years agoGenerate debug HUD text with ostringstream instead of snprintf.
Kahrl [Fri, 31 May 2013 23:49:59 +0000 (01:49 +0200)]
Generate debug HUD text with ostringstream instead of snprintf.

This should fix #730.

11 years agoLiquid adjusting: continue to drop
proller [Fri, 31 May 2013 18:57:59 +0000 (22:57 +0400)]
Liquid adjusting: continue to drop