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

11 years agoFix keycodes (#325)
Ilya Zhuravlev [Sat, 22 Dec 2012 22:11:32 +0000 (02:11 +0400)]
Fix keycodes (#325)

11 years agoPrefer shared cURL library instead of the static one.
Ilya Zhuravlev [Fri, 21 Dec 2012 16:35:04 +0000 (20:35 +0400)]
Prefer shared cURL library instead of the static one.

11 years agoFixed u64 ambiguous symbol error
DannyDark [Mon, 10 Dec 2012 04:15:42 +0000 (04:15 +0000)]
Fixed u64 ambiguous symbol error

Fixed the compiler not being able to determine which symbol it should
use when compiling Minetest as 64bit with Irrlicht 1.8+

11 years agoTweak CMake files for cURL
sfan5 [Mon, 17 Dec 2012 19:57:30 +0000 (20:57 +0100)]
Tweak CMake files for cURL

11 years agoAdd ability to change the itemstack in placenode callbacks
PilzAdam [Mon, 17 Dec 2012 18:49:18 +0000 (19:49 +0100)]
Add ability to change the itemstack in placenode callbacks

11 years agoFix falling damage when not flying
PilzAdam [Mon, 17 Dec 2012 17:04:41 +0000 (18:04 +0100)]
Fix falling damage when not flying

11 years agoMake m_media_fetch_threads to contain MediaFetchThread* instead of MediaFetchThread
Ilya Zhuravlev [Mon, 17 Dec 2012 16:56:59 +0000 (20:56 +0400)]
Make m_media_fetch_threads to contain MediaFetchThread* instead of MediaFetchThread

11 years agoFix hypen used as minus sign (manpages), fix spelling error (server.cpp)
Ilya Zhuravlev [Mon, 17 Dec 2012 15:46:54 +0000 (19:46 +0400)]
Fix hypen used as minus sign (manpages), fix spelling error (server.cpp)

11 years agoAdded ability to fetch media from remote server (using cURL library)
Ilya Zhuravlev [Fri, 14 Dec 2012 11:30:17 +0000 (15:30 +0400)]
Added ability to fetch media from remote server (using cURL library)

11 years agoFix item entity's collision with nodeboxes 356/head
jordan4ibanez [Sat, 15 Dec 2012 20:32:17 +0000 (15:32 -0500)]
Fix item entity's collision with nodeboxes

11 years agoDont sneak while flying 350/head
PilzAdam [Sun, 2 Dec 2012 11:17:05 +0000 (12:17 +0100)]
Dont sneak while flying

11 years agoOnly fly through walls in noclip mode wich requires the noclip privilege
PilzAdam [Sun, 9 Dec 2012 12:34:16 +0000 (13:34 +0100)]
Only fly through walls in noclip mode wich requires the noclip privilege

11 years agoUpdate README
Ilya Zhuravlev [Thu, 6 Dec 2012 22:20:42 +0000 (02:20 +0400)]
Update README

11 years agoBump version to 0.4.4 0.4.4
Perttu Ahola [Thu, 6 Dec 2012 19:21:10 +0000 (21:21 +0200)]
Bump version to 0.4.4

11 years agoUpdate GUI texts
Perttu Ahola [Thu, 6 Dec 2012 19:01:45 +0000 (21:01 +0200)]
Update GUI texts

11 years agodraw gui later. this fixes the hotbar disappearing while rendering to texture.
Jürgen Doser [Thu, 6 Dec 2012 16:33:11 +0000 (17:33 +0100)]
draw gui later. this fixes the hotbar disappearing while rendering to texture.

11 years agofix screen flickering black when rendering to texture
Jürgen Doser [Thu, 6 Dec 2012 15:11:15 +0000 (16:11 +0100)]
fix screen flickering black when rendering to texture

11 years agoSet proper field background colors in Irrlicht 1.8
Perttu Ahola [Thu, 6 Dec 2012 17:35:40 +0000 (19:35 +0200)]
Set proper field background colors in Irrlicht 1.8

11 years agoRaise default maximum render distance to 240
Perttu Ahola [Thu, 6 Dec 2012 13:48:59 +0000 (15:48 +0200)]
Raise default maximum render distance to 240

11 years agoFix automagic render distance tuner
Perttu Ahola [Thu, 6 Dec 2012 13:48:19 +0000 (15:48 +0200)]
Fix automagic render distance tuner

11 years agoAdd #include guards to base64.h
Matthew I [Mon, 20 Aug 2012 02:30:59 +0000 (22:30 -0400)]
Add #include guards to base64.h

12 years agoTry to add a bit of topside brightness when not using shaders
Perttu Ahola [Sun, 2 Dec 2012 21:47:27 +0000 (23:47 +0200)]
Try to add a bit of topside brightness when not using shaders

12 years agoTweak shader randomly a bit
Perttu Ahola [Sun, 2 Dec 2012 21:08:46 +0000 (23:08 +0200)]
Tweak shader randomly a bit

12 years agoDefault to preload_item_visuals=true
Perttu Ahola [Sun, 2 Dec 2012 18:43:55 +0000 (20:43 +0200)]
Default to preload_item_visuals=true

12 years agoDon't send player position from client to server if the player hasn't moved
MirceaKitsune [Sun, 2 Dec 2012 12:59:08 +0000 (14:59 +0200)]
Don't send player position from client to server if the player hasn't moved

12 years agoFix minetest.get_node_drops(). It should always return list of item names, not ItemSt...
Ilya Zhuravlev [Sun, 2 Dec 2012 16:19:06 +0000 (20:19 +0400)]
Fix minetest.get_node_drops(). It should always return list of item names, not ItemStack(s).

12 years agoSmooth day-night transitions
Perttu Ahola [Sun, 2 Dec 2012 16:02:04 +0000 (18:02 +0200)]
Smooth day-night transitions

12 years agoConst-correct util/serialize.h
Perttu Ahola [Thu, 29 Nov 2012 16:31:17 +0000 (18:31 +0200)]
Const-correct util/serialize.h

12 years agoHandle day-night transition in shader and make light sources brighter when shaders...
Perttu Ahola [Sun, 2 Dec 2012 12:24:58 +0000 (14:24 +0200)]
Handle day-night transition in shader and make light sources brighter when shaders are used

12 years agoGet rid of jordan4ibanez's insane digging animation speed
Perttu Ahola [Sun, 2 Dec 2012 01:10:23 +0000 (03:10 +0200)]
Get rid of jordan4ibanez's insane digging animation speed

12 years agoFix tile MaterialType to make sense and make lava surface be shader'd lower like...
Perttu Ahola [Sun, 2 Dec 2012 00:57:14 +0000 (02:57 +0200)]
Fix tile MaterialType to make sense and make lava surface be shader'd lower like water

12 years agoInstall shaders properly
Perttu Ahola [Sat, 1 Dec 2012 23:45:31 +0000 (01:45 +0200)]
Install shaders properly

12 years agoRemove accidental vim swap file
Perttu Ahola [Sat, 1 Dec 2012 23:42:03 +0000 (01:42 +0200)]
Remove accidental vim swap file

12 years agoAdd enable_shaders to minetest.conf.example
Perttu Ahola [Sat, 1 Dec 2012 22:14:27 +0000 (00:14 +0200)]
Add enable_shaders to minetest.conf.example

12 years agoAdd checkboxes for shaders and on-demand item visual generation
obneq [Sat, 1 Dec 2012 22:08:35 +0000 (00:08 +0200)]
Add checkboxes for shaders and on-demand item visual generation

12 years agoImplement a global shader parameter passing system and useful shaders
Perttu Ahola [Sat, 1 Dec 2012 01:02:16 +0000 (03:02 +0200)]
Implement a global shader parameter passing system and useful shaders

12 years agoShaderSource and silly example shaders
Kahrl [Mon, 19 Mar 2012 01:59:12 +0000 (02:59 +0100)]
ShaderSource and silly example shaders

12 years agoAdd setting preload_item_visuals
Perttu Ahola [Sat, 1 Dec 2012 21:54:15 +0000 (23:54 +0200)]
Add setting preload_item_visuals

12 years agoOn-demand item meshes and textures
Perttu Ahola [Fri, 30 Nov 2012 16:12:32 +0000 (18:12 +0200)]
On-demand item meshes and textures

12 years agoModify some client log message levels
Perttu Ahola [Fri, 30 Nov 2012 14:19:19 +0000 (16:19 +0200)]
Modify some client log message levels

12 years agoNew elements in formspec, item_image and item_image_button.
RealBadAngel [Sat, 1 Dec 2012 17:36:42 +0000 (18:36 +0100)]
New elements in formspec, item_image and item_image_button.

Fixed also game bug drawing dragged item behind fields, buttons etc.

12 years agoOnly check attachment for nodes with group attached_node
PilzAdam [Sat, 1 Dec 2012 14:20:53 +0000 (15:20 +0100)]
Only check attachment for nodes with group attached_node

12 years agoAdd the group attached_node 318/head
PilzAdam [Sat, 1 Dec 2012 12:32:32 +0000 (13:32 +0100)]
Add the group attached_node
Nodes in this group will be dropped as items if the node under them or the node in the wallmounted direction is not walkable.

12 years agoMerge support for anaglyph stereo
PilzAdam [Sat, 1 Dec 2012 11:41:05 +0000 (12:41 +0100)]
Merge support for anaglyph stereo

12 years agoAdd the ability for client to check if image exists
Perttu Ahola [Fri, 30 Nov 2012 20:19:50 +0000 (22:19 +0200)]
Add the ability for client to check if image exists

12 years agoLog /grant and /revoke command usage
DannyDark [Thu, 29 Nov 2012 19:00:33 +0000 (19:00 +0000)]
Log /grant and /revoke command usage

12 years agoMake dragged itemstack following the mouse cursor much smoother
Jürgen Doser [Wed, 28 Nov 2012 17:39:58 +0000 (18:39 +0100)]
Make dragged itemstack following the mouse cursor much smoother

by using the cursor coordinates directly, instead of updating them only when a mouse event is seen.

12 years agoIgnore directories beginning with a "." when searching for mods
Matthew I [Sun, 7 Oct 2012 14:03:22 +0000 (10:03 -0400)]
Ignore directories beginning with a "." when searching for mods

This is not a problem on POSIX systems (these directories are
ignored by the POSIX implementation of fs::GetDirListing() in
filesys.cpp), but these directories still are reported on Windows
systems.  This becomes a problem when mod authors use version
control systems that create directories like ".git" or ".svn"
and collectMods() picks up on them.  It has also been suggested
that ignoring such directories would allow for the easily disabling
mods by inserting a "." in front of their name.

This quick fix simply makes collectMods() ignore directories
beginning with a ".".

12 years agoRun scriptapi_on_shutdown() thread-safely and remove some old crap
Perttu Ahola [Fri, 30 Nov 2012 17:41:13 +0000 (19:41 +0200)]
Run scriptapi_on_shutdown() thread-safely and remove some old crap

12 years agoAdd shutdown hook interface to Lua API
Matthew I [Sat, 8 Sep 2012 18:44:26 +0000 (14:44 -0400)]
Add shutdown hook interface to Lua API

Scripts can call minetest.register_on_shutdown() to register a
shutdown hook.

Document that minetest.register_on_shutdown() callbacks may not be run

If the server crashes, it is unlikely that callbacks registered using
minetest.register_on_shutdown() will be called.

12 years agoAdd congestion control settings to minetest.conf
Perttu Ahola [Tue, 27 Nov 2012 07:38:21 +0000 (09:38 +0200)]
Add congestion control settings to minetest.conf

12 years agoFull protocol 13 compatibility on server side
Perttu Ahola [Mon, 26 Nov 2012 22:47:03 +0000 (00:47 +0200)]
Full protocol 13 compatibility on server side

12 years agoMake strict and non-strict protocol version checking to work more like expected
Perttu Ahola [Mon, 26 Nov 2012 22:26:19 +0000 (00:26 +0200)]
Make strict and non-strict protocol version checking to work more like expected

12 years agoAllow server to accept protocol 13 clients altough they don't work too well
Perttu Ahola [Mon, 26 Nov 2012 22:15:17 +0000 (00:15 +0200)]
Allow server to accept protocol 13 clients altough they don't work too well

12 years agoRanged support of protocol version on server side
Perttu Ahola [Mon, 26 Nov 2012 21:58:27 +0000 (23:58 +0200)]
Ranged support of protocol version on server side

12 years agoSupport serialization of protocol 13 ContentFeatures
Perttu Ahola [Mon, 26 Nov 2012 21:59:03 +0000 (23:59 +0200)]
Support serialization of protocol 13 ContentFeatures

12 years agounit test: TestNodedefSerialization
Perttu Ahola [Mon, 26 Nov 2012 19:40:39 +0000 (21:40 +0200)]
unit test: TestNodedefSerialization

12 years agoModify new ObjectProperties format to such that 0.4.3 will eat it
Perttu Ahola [Thu, 29 Nov 2012 17:44:58 +0000 (19:44 +0200)]
Modify new ObjectProperties format to such that 0.4.3 will eat it

12 years agoFix Taoki's messed up generic object command ids
Perttu Ahola [Thu, 29 Nov 2012 17:22:07 +0000 (19:22 +0200)]
Fix Taoki's messed up generic object command ids

12 years agoChange version to 0.4.4-dev because... ehm... why it wasn't that already?
Perttu Ahola [Thu, 29 Nov 2012 17:49:44 +0000 (19:49 +0200)]
Change version to 0.4.4-dev because... ehm... why it wasn't that already?