oweals/minetest.git
11 years agoImprove random map seed generation
kwolekr [Wed, 23 Jan 2013 15:13:04 +0000 (10:13 -0500)]
Improve random map seed generation

11 years agoAdd Japanese & Korean languages.
Ilya Zhuravlev [Tue, 5 Feb 2013 16:50:26 +0000 (20:50 +0400)]
Add Japanese & Korean languages.

11 years agoMerge remote branch 'origin/master'
Weblate [Sat, 2 Feb 2013 17:34:12 +0000 (21:34 +0400)]
Merge remote branch 'origin/master'

11 years agoTranslated using Weblate (Spanish)
Lord James [Fri, 1 Feb 2013 22:37:23 +0000 (23:37 +0100)]
Translated using Weblate (Spanish)

11 years agoTranslated using Weblate (Russian)
Pavel Elagin [Thu, 31 Jan 2013 06:32:13 +0000 (07:32 +0100)]
Translated using Weblate (Russian)

11 years agoTranslated using Weblate (Polish)
Maciej Kasatkin [Wed, 30 Jan 2013 00:32:03 +0000 (01:32 +0100)]
Translated using Weblate (Polish)

11 years agoTranslated using Weblate (Italian)
Robert Arkenin [Tue, 29 Jan 2013 21:20:25 +0000 (22:20 +0100)]
Translated using Weblate (Italian)

11 years agoTranslated using Weblate (German)
Pilz Adam [Thu, 31 Jan 2013 13:22:55 +0000 (14:22 +0100)]
Translated using Weblate (German)

11 years agoTranslated using Weblate (French)
sub reptice [Sat, 2 Feb 2013 00:51:38 +0000 (01:51 +0100)]
Translated using Weblate (French)

11 years agoAdd Chinese Simplified & Portuguese.
Ilya Zhuravlev [Sat, 2 Feb 2013 17:27:01 +0000 (21:27 +0400)]
Add Chinese Simplified & Portuguese.

11 years agoTranslated using Weblate (Spanish)
Marco gonzalez [Fri, 1 Feb 2013 12:05:22 +0000 (13:05 +0100)]
Translated using Weblate (Spanish)

11 years agoTranslated using Weblate (Spanish)
Diego Martínez [Thu, 31 Jan 2013 05:59:31 +0000 (06:59 +0100)]
Translated using Weblate (Spanish)

11 years agoTranslated using Weblate (Spanish)
Marco gonzalez [Tue, 29 Jan 2013 21:05:01 +0000 (22:05 +0100)]
Translated using Weblate (Spanish)

11 years agoTranslate key functions in key change menu 460/head
PilzAdam [Wed, 30 Jan 2013 19:27:26 +0000 (20:27 +0100)]
Translate key functions in key change menu

11 years agoTranslated using Weblate (Polish)
Maciej Kasatkin [Wed, 30 Jan 2013 00:12:14 +0000 (01:12 +0100)]
Translated using Weblate (Polish)

11 years agoTranslated using Weblate (Russian)
Robert Arkenin [Tue, 29 Jan 2013 21:25:57 +0000 (22:25 +0100)]
Translated using Weblate (Russian)

11 years agoTranslated using Weblate (Russian)
Pavel Elagin [Tue, 29 Jan 2013 20:41:03 +0000 (21:41 +0100)]
Translated using Weblate (Russian)

11 years agoMerge pull request #442 from kwolekr/mingw_compile_fix
kwolekr [Tue, 29 Jan 2013 21:07:47 +0000 (13:07 -0800)]
Merge pull request #442 from kwolekr/mingw_compile_fix

Fix compile under MingW

11 years agoMerge pull request #441 from kwolekr/mapgen_factories
kwolekr [Tue, 29 Jan 2013 21:05:56 +0000 (13:05 -0800)]
Merge pull request #441 from kwolekr/mapgen_factories

Make mapgen factory setup more elegant, add mapgen_v6.h

11 years agoTranslated using Weblate (Spanish)
Marco gonzalez [Tue, 29 Jan 2013 21:04:40 +0000 (22:04 +0100)]
Translated using Weblate (Spanish)

11 years agoTranslated using Weblate (Spanish)
Diego Martínez [Tue, 29 Jan 2013 20:42:32 +0000 (21:42 +0100)]
Translated using Weblate (Spanish)

11 years agoTranslated using Weblate (Russian)
Ilya Zhuravlev [Tue, 29 Jan 2013 20:26:24 +0000 (21:26 +0100)]
Translated using Weblate (Russian)

11 years agoTranslated using Weblate (Spanish)
Marco gonzalez [Tue, 29 Jan 2013 20:35:58 +0000 (21:35 +0100)]
Translated using Weblate (Spanish)

11 years agoTranslated using Weblate (Russian)
Pavel Elagin [Tue, 29 Jan 2013 20:10:00 +0000 (21:10 +0100)]
Translated using Weblate (Russian)

11 years agoAdd Spanish, Russian, Polish and Romanian languages.
Ilya Zhuravlev [Tue, 29 Jan 2013 17:21:00 +0000 (21:21 +0400)]
Add Spanish, Russian, Polish and Romanian languages.

11 years agoDont call on_rightclick() if sneak is pressed
PilzAdam [Sun, 27 Jan 2013 20:58:46 +0000 (21:58 +0100)]
Dont call on_rightclick() if sneak is pressed

11 years agoPlace block when holding sneak while right-clicking nodes with formspec
Jeija [Sat, 26 Jan 2013 22:15:23 +0000 (23:15 +0100)]
Place block when holding sneak while right-clicking nodes with formspec

11 years agoWorkaround failing Travis clang build.
Ilya Zhuravlev [Sun, 27 Jan 2013 20:37:20 +0000 (00:37 +0400)]
Workaround failing Travis clang build.

11 years agoMerge pull request #447 from sapier/add_lua_log_parameter_check
kwolekr [Sat, 26 Jan 2013 18:58:53 +0000 (10:58 -0800)]
Merge pull request #447 from sapier/add_lua_log_parameter_check

BUGFIX: check parameters for minetest.log lua function

11 years agocheck parameters for minetest.log lua function 447/head
sapier [Sat, 26 Jan 2013 10:32:08 +0000 (10:32 +0000)]
check parameters for minetest.log lua function

11 years agoMerge remote branch 'origin/master'
Weblate [Thu, 24 Jan 2013 14:56:49 +0000 (15:56 +0100)]
Merge remote branch 'origin/master'

11 years agoTranslated using Weblate (German)
Pilz Adam [Wed, 23 Jan 2013 18:40:42 +0000 (19:40 +0100)]
Translated using Weblate (German)

11 years agoSlightly improved version of mystrtok_r 442/head
kwolekr [Wed, 23 Jan 2013 22:37:53 +0000 (17:37 -0500)]
Slightly improved version of mystrtok_r

11 years agoFix compile under MingW
kwolekr [Wed, 23 Jan 2013 07:21:26 +0000 (02:21 -0500)]
Fix compile under MingW

11 years agoMake mapgen factory setup more elegant, add mapgen_v6.h 441/head
kwolekr [Wed, 23 Jan 2013 03:32:30 +0000 (22:32 -0500)]
Make mapgen factory setup more elegant, add mapgen_v6.h

11 years agoTweak buildbot
sfan5 [Mon, 21 Jan 2013 19:22:00 +0000 (20:22 +0100)]
Tweak buildbot

* CURL support
* only download packages if they don't exist
* fixed download links (libvorbis and libogg)
* manual downloading if automatic downloading fails (only minetest and minetest_game)
* mingwm10.dll and openal_stripped.zip are downloaded automatically

11 years agoTreegen update. Some new symbols. Speed up code a bit.
RealBadAngel [Wed, 23 Jan 2013 03:57:49 +0000 (04:57 +0100)]
Treegen update. Some new symbols. Speed up code a bit.

11 years agoMerge pull request #436 from doserj/mod_selection
celeron55 [Wed, 23 Jan 2013 18:10:25 +0000 (10:10 -0800)]
Merge pull request #436 from doserj/mod_selection

Fix some crashes and improved behaviour for mod selection gui

11 years agoUpdate translation files
Perttu Ahola [Wed, 23 Jan 2013 16:26:55 +0000 (18:26 +0200)]
Update translation files

11 years agoMake sure that settings are written to config file when settings are removed. 436/head
Jürgen Doser [Tue, 22 Jan 2013 18:00:48 +0000 (19:00 +0100)]
Make sure that settings are written to config file when settings are removed.

Previously, settings where only written when a value has changed, and
removal of a setting value didn't count as a change.

11 years agoFix crash when pressing delete button in server browser and no server is selected.
Jürgen Doser [Tue, 22 Jan 2013 15:55:50 +0000 (16:55 +0100)]
Fix crash when pressing delete button in server browser and no server is selected.

A check for that was there, but was comparing an unsigned variable to
-1, which doesn't work.

11 years agoImprove behaviour for empty modpacks and when no mods at all are installed:
Jürgen Doser [Tue, 22 Jan 2013 16:06:25 +0000 (17:06 +0100)]
Improve behaviour for empty modpacks and when no mods at all are installed:

Only show enable all / disable all buttons for all add-ons when at
least one add-on is installed. When no add-on ist installed, don't
show any buttons or checkboxes.

Added is_modpack flag to ModSpec to distinguish empty modpacks from
normal mods and check this flag in mod selection gui so that empty
modpacks are not treated like mods that can be enabled or disabled.

11 years agoFix crash when no world is selected and configure button is pressed.
Jürgen Doser [Tue, 22 Jan 2013 16:03:38 +0000 (17:03 +0100)]
Fix crash when no world is selected and configure button is pressed.

by moving return statement out of if-then-else clause...

11 years agoDisable travis email notifications.
Ilya Zhuravlev [Mon, 21 Jan 2013 21:43:56 +0000 (01:43 +0400)]
Disable travis email notifications.

11 years agoAdd .travis.yml
Ilya Zhuravlev [Mon, 21 Jan 2013 21:37:58 +0000 (01:37 +0400)]
Add .travis.yml

11 years agoFix msvc build
Ilya Zhuravlev [Mon, 21 Jan 2013 21:16:29 +0000 (01:16 +0400)]
Fix msvc build

11 years agoadd support for saving settings by lua command (server doesn't autosave on exit)
sapier [Wed, 16 Jan 2013 20:23:56 +0000 (20:23 +0000)]
add support for saving settings by lua command (server doesn't autosave on exit)

11 years agoAdd mapgen parameters to minetest.conf.example
Perttu Ahola [Mon, 21 Jan 2013 19:37:26 +0000 (21:37 +0200)]
Add mapgen parameters to minetest.conf.example

11 years agoUse a string identifier for a mapgen instead of version
kwolekr [Mon, 21 Jan 2013 18:40:05 +0000 (13:40 -0500)]
Use a string identifier for a mapgen instead of version

11 years agoFix compile on certain Linux configurations, reduce spawn point height
kwolekr [Fri, 18 Jan 2013 21:35:34 +0000 (16:35 -0500)]
Fix compile on certain Linux configurations, reduce spawn point height

11 years agoRemoved Mapgen V7 for now
kwolekr [Fri, 18 Jan 2013 20:07:39 +0000 (15:07 -0500)]
Removed Mapgen V7 for now

11 years agoLast set of minor cleanups
kwolekr [Fri, 18 Jan 2013 19:12:19 +0000 (14:12 -0500)]
Last set of minor cleanups

11 years agoFix MapgenV6::getGroundLevelAtPoint()
kwolekr [Mon, 7 Jan 2013 21:42:00 +0000 (16:42 -0500)]
Fix MapgenV6::getGroundLevelAtPoint()

11 years agoFinish and clean up mapgen configuration
kwolekr [Sun, 6 Jan 2013 19:40:24 +0000 (14:40 -0500)]
Finish and clean up mapgen configuration

11 years agoAdd Settings::getStruct and Settings::setStruct
kwolekr [Mon, 31 Dec 2012 07:01:16 +0000 (02:01 -0500)]
Add Settings::getStruct and Settings::setStruct

11 years agoClean up EmergeManager, do initial work on Mapgen configuration
kwolekr [Wed, 26 Dec 2012 08:15:16 +0000 (03:15 -0500)]
Clean up EmergeManager, do initial work on Mapgen configuration

11 years agoReadded and optimized mapgen V6
kwolekr [Sat, 22 Dec 2012 05:34:35 +0000 (00:34 -0500)]
Readded and optimized mapgen V6

11 years agoCleaned & enhanced noise object management
kwolekr [Tue, 18 Dec 2012 21:45:50 +0000 (16:45 -0500)]
Cleaned & enhanced noise object management

11 years agoAdd initial Lua biomedef support, fixed biome selection
kwolekr [Tue, 18 Dec 2012 18:23:16 +0000 (13:23 -0500)]
Add initial Lua biomedef support, fixed biome selection

11 years agoThe new mapgen, noise functions, et al.
kwolekr [Mon, 26 Nov 2012 02:16:48 +0000 (21:16 -0500)]
The new mapgen, noise functions, et al.

11 years agoMake WATER_LEVEL configurable, fix slight comparison bug in findSpawnPos()
kwolekr [Mon, 29 Oct 2012 03:41:48 +0000 (23:41 -0400)]
Make WATER_LEVEL configurable, fix slight comparison bug in findSpawnPos()

11 years agoOnly clear block modified flag if writing to db was successful
kwolekr [Mon, 29 Oct 2012 02:02:51 +0000 (22:02 -0400)]
Only clear block modified flag if writing to db was successful

11 years agoMake cloud height user-configurable
kwolekr [Mon, 29 Oct 2012 01:35:19 +0000 (21:35 -0400)]
Make cloud height user-configurable

11 years agostop MSVC++ from generating dumb warnings
kwolekr [Sun, 28 Oct 2012 21:31:14 +0000 (18:31 -0300)]
stop MSVC++ from generating dumb warnings

11 years agoProper RUN_IN_PLACE support for OSX and FreeBSD
kwolekr [Thu, 6 Dec 2012 02:41:05 +0000 (21:41 -0500)]
Proper RUN_IN_PLACE support for OSX and FreeBSD

11 years agoBasic support for configuring which mods to load for each world
Jürgen Doser [Sat, 8 Dec 2012 17:10:54 +0000 (18:10 +0100)]
Basic support for configuring which mods to load for each world

settings.h: added function to return all keys used in settings, and a
function to remove a setting

mods.{h,cpp}: added class ModConfiguration that represents a subset of the installed mods.

server.{h,cpp}: server does not load add-on mods that are disabled in
the world.mt file. mods are disabled by a setting of the form
"load_mod_<modname> = false". if no load_mod_<modname> = ... setting
is found, the mod is loaded anyways for backwards compatibilty. server
also complains to errorstream about mods with unstatisfied
dependencies and about mods that are not installed.

guiConfigureWorld.{h,cpp}: shows a treeview of installed add-on mods
and modpacks with little icons in front of their name indicating their
status: a checkmark for enabled mods, a cross for disabled mods, a
question mark for "new" mods

Mods can be enabled/disabled by a checkbox. Mods also show a list of
dependencies and reverse dependencies. double-click on a mod in
dependency or reverse dependency listbox selects the corresponding
mod. Enabling a mod also enables all its dependencies. Disabling a mod
also disables all its reverse dependencies.

For modpacks, show buttons to enable/disable all mods (recursively,
including their dependencies) in it.

Button "Save" saves the current settings to the world.mt file and
returns to the main menu. Button "Cancel" returns to main menu without
saving.

basic keyboard controls (if the proper widget has keyboard focus):

up/down: scroll through tree of mods
left/right: collaps/expand a modpack
space: enable/disable the selected mod

11 years agoAdd a list of servers to the "Multiplayer" tab
Jeija [Tue, 25 Dec 2012 11:20:51 +0000 (12:20 +0100)]
Add a list of servers to the "Multiplayer" tab

If USE_CURL is set, it also downloads a list from a remote server.
The url of this list is configurable in minetest.conf using the setting "serverlist_url"
The local list of favorite servers is saved in client/serverlist/filename
filename is also configureable using the setting "serverlist_file"

11 years agoBugfix: else repeat_rightclick_timer = 0;
PilzAdam [Mon, 14 Jan 2013 20:30:36 +0000 (21:30 +0100)]
Bugfix: else repeat_rightclick_timer = 0;

11 years agoAdd particles 427/head
Jeija [Mon, 31 Dec 2012 18:33:36 +0000 (19:33 +0100)]
Add particles

11 years agoFix spread of items in falling code
PilzAdam [Sat, 12 Jan 2013 19:49:55 +0000 (20:49 +0100)]
Fix spread of items in falling code

11 years agofix integer overflow (fixes #414)
Jürgen Doser [Sat, 12 Jan 2013 19:20:21 +0000 (20:20 +0100)]
fix integer overflow (fixes #414)

liquid_kind was declared as an u8, but used to hold a content_t value, which is delcared to be a u16.

changing this fixes (at least for me) the problem reported in bug #414.

11 years agofixes node timer bug (fixes #407). 417/head
Jürgen Doser [Fri, 11 Jan 2013 17:52:00 +0000 (18:52 +0100)]
fixes node timer bug (fixes #407).

Previously, when a block was activated, on_timer callbacks where
called with the relative position of the node inside the block,
instead of the absolute position of the node.

11 years agoFixed two typo's in commit 615fd498bc 411/head
dannydark [Fri, 4 Jan 2013 20:02:27 +0000 (20:02 +0000)]
Fixed two typo's in commit 615fd498bc

11 years agoDisable all HP handling if enable_damage is false
PilzAdam [Sun, 6 Jan 2013 14:32:23 +0000 (15:32 +0100)]
Disable all HP handling if enable_damage is false

11 years agoAdd a setting to enable always flying fast
PilzAdam [Mon, 7 Jan 2013 17:18:16 +0000 (18:18 +0100)]
Add a setting to enable always flying fast

11 years agoFix buttons not working for Lua-triggered formspecs
sapier [Thu, 3 Jan 2013 17:59:28 +0000 (17:59 +0000)]
Fix buttons not working for Lua-triggered formspecs

11 years agoL-Systems treegen update.
RealBadAngel [Mon, 7 Jan 2013 00:35:05 +0000 (01:35 +0100)]
L-Systems treegen update.

11 years ago"or" should be "||". Don't use "or", "and", etc.. It breaks build.
Ilya Zhuravlev [Fri, 4 Jan 2013 19:39:12 +0000 (23:39 +0400)]
"or" should be "||". Don't use "or", "and", etc.. It breaks build.

11 years agoImplement textarea in formspec, a multiline input field
Jeija [Fri, 28 Dec 2012 08:52:21 +0000 (09:52 +0100)]
Implement textarea in formspec, a multiline input field

11 years agoFix typo doubletab -> doubletap
PilzAdam [Fri, 4 Jan 2013 19:00:49 +0000 (20:00 +0100)]
Fix typo doubletab -> doubletap

11 years agoFixed content_abm aliases
dannydark [Thu, 3 Jan 2013 22:32:31 +0000 (22:32 +0000)]
Fixed content_abm aliases

Since commit 5a13c49492 when I'm in a new area of the world that hasn't
yet been generated the debug log gets flooded with the following error:

Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to
replace "default:dirt_with_grass" at (729,1,-219) (block (45,0,-14))

This commit fixes that.

11 years agoSwitch to fly mode if spacebar is doubleclicked
PilzAdam [Thu, 3 Jan 2013 18:51:52 +0000 (19:51 +0100)]
Switch to fly mode if spacebar is doubleclicked
Can be turned off in the key change GUI or in minetest.conf via doubletab_space

11 years agoRepeated right clicking when holding the right mouse button
Jeija [Fri, 4 Jan 2013 14:19:16 +0000 (15:19 +0100)]
Repeated right clicking when holding the right mouse button
Configure using repeat_rightclick_time in minetest.conf

11 years agoAdd on_rightclick(pos, node, clicker) callback for nodes 389/head
PilzAdam [Thu, 3 Jan 2013 23:05:56 +0000 (00:05 +0100)]
Add on_rightclick(pos, node, clicker) callback for nodes

11 years agoAdjust the maximum alpha of the red hurt screen
PilzAdam [Thu, 3 Jan 2013 15:15:46 +0000 (16:15 +0100)]
Adjust the maximum alpha of the red hurt screen

11 years agoTilt camera on player damage (tweaked by PilzAdam)
Jeija [Sat, 28 Apr 2012 00:06:25 +0000 (02:06 +0200)]
Tilt camera on player damage (tweaked by PilzAdam)

11 years agoChange the nodenames for dirt -> grass and sapling -> tree abms to match the mapgen...
PilzAdam [Wed, 2 Jan 2013 21:03:36 +0000 (22:03 +0100)]
Change the nodenames for dirt -> grass and sapling -> tree abms to match the mapgen aliases

11 years agoReplace constant red hurt screen with fade out red
PilzAdam [Wed, 2 Jan 2013 20:57:04 +0000 (21:57 +0100)]
Replace constant red hurt screen with fade out red

11 years agoAdd ServerEnvironment::setNode()/removeNode() to allow setting nodes from the C+...
Perttu Ahola [Wed, 2 Jan 2013 21:17:52 +0000 (23:17 +0200)]
Add ServerEnvironment::setNode()/removeNode() to allow setting nodes from the C++ side with proper script-defined initialization/destruction

11 years agoAdd InvRef:get_location()
Perttu Ahola [Wed, 2 Jan 2013 20:53:55 +0000 (22:53 +0200)]
Add InvRef:get_location()

11 years agoCall this 0.4.4-d1 because it has a protocol addition since 0.4.4
Perttu Ahola [Wed, 2 Jan 2013 19:02:29 +0000 (21:02 +0200)]
Call this 0.4.4-d1 because it has a protocol addition since 0.4.4

11 years agoAdd TOCLIENT_SHOW_FORMSPEC to display formspecs at client from lua
sapier [Wed, 2 Jan 2013 19:45:04 +0000 (19:45 +0000)]
Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from lua

11 years agoBugfixes to item_image formspec method
RealBadAngel [Tue, 1 Jan 2013 23:03:47 +0000 (00:03 +0100)]
Bugfixes to item_image formspec method

11 years agoFixed compile issues on windows 384/head
dannydark [Sun, 30 Dec 2012 12:22:13 +0000 (12:22 +0000)]
Fixed compile issues on windows

With latest upstream L-Systems treegen.

11 years agoL-System treegen
RealBadAngel [Sat, 29 Dec 2012 15:20:09 +0000 (16:20 +0100)]
L-System treegen

11 years agoUse aux1 to move fast when flying 369/head
PilzAdam [Thu, 27 Dec 2012 17:33:24 +0000 (18:33 +0100)]
Use aux1 to move fast when flying

11 years agoAdd selectionbox_color, crosshair_color, and crosshair_alpha options 367/head
Esteban I. Ruiz Moreno [Wed, 26 Dec 2012 21:35:48 +0000 (18:35 -0300)]
Add selectionbox_color, crosshair_color, and crosshair_alpha options

11 years agoFix 'longjmp causes uninitialized stack frame' in cURL
PilzAdam [Wed, 26 Dec 2012 20:41:00 +0000 (21:41 +0100)]
Fix 'longjmp causes uninitialized stack frame' in cURL

11 years agoInitialize all member variables of LuaEntitySAO
Perttu Ahola [Sun, 23 Dec 2012 15:16:46 +0000 (17:16 +0200)]
Initialize all member variables of LuaEntitySAO

11 years agoFixed two typos in wireshark lua file.
DannyDark [Sun, 9 Dec 2012 21:51:46 +0000 (21:51 +0000)]
Fixed two typos in wireshark lua file.