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

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.

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

11 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

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

11 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

11 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

11 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).

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

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

11 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

11 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

11 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

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

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

11 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