2455 Commits

Author SHA1 Message Date
kwolekr
9243c3a028 Merge pull request #447 from sapier/add_lua_log_parameter_check
BUGFIX: check parameters for minetest.log lua function
2013-01-26 10:58:53 -08:00
sapier
8a87294eab check parameters for minetest.log lua function 2013-01-26 10:32:08 +00:00
Weblate
bf3823fc67 Merge remote branch 'origin/master' 2013-01-24 15:56:49 +01:00
Pilz Adam
2763cea86d Translated using Weblate (German) 2013-01-24 18:55:12 +04:00
kwolekr
868752dba4 Slightly improved version of mystrtok_r 2013-01-23 17:37:53 -05:00
kwolekr
1e433928bd Fix compile under MingW 2013-01-23 16:28:15 -05:00
kwolekr
022d563f71 Make mapgen factory setup more elegant, add mapgen_v6.h 2013-01-23 16:16:49 -05:00
sfan5
bfa166236d 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
2013-01-23 20:42:46 +02:00
RealBadAngel
319d61f0fb Treegen update. Some new symbols. Speed up code a bit. 2013-01-23 20:40:09 +02:00
celeron55
fdd690a17c Merge pull request #436 from doserj/mod_selection
Fix some crashes and improved behaviour for mod selection gui
2013-01-23 10:10:25 -08:00
Perttu Ahola
c4e4670091 Update translation files 2013-01-23 18:27:17 +02:00
Jürgen Doser
7a3db12509 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.
2013-01-22 19:05:46 +01:00
Jürgen Doser
e735dcdd49 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.
2013-01-22 19:05:46 +01:00
Jürgen Doser
a87c86dced 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.
2013-01-22 19:05:28 +01:00
Jürgen Doser
edce432751 Fix crash when no world is selected and configure button is pressed.
by moving return statement out of if-then-else clause...
2013-01-22 17:47:12 +01:00
Ilya Zhuravlev
ceb33f5d58 Disable travis email notifications. 2013-01-22 01:43:56 +04:00
Ilya Zhuravlev
3b89e1a516 Add .travis.yml 2013-01-22 01:37:58 +04:00
Ilya Zhuravlev
b946e191b4 Fix msvc build 2013-01-22 01:16:29 +04:00
sapier
69876576cc add support for saving settings by lua command (server doesn't autosave on exit) 2013-01-21 22:44:41 +02:00
Perttu Ahola
9d43aac090 Add mapgen parameters to minetest.conf.example 2013-01-21 21:41:37 +02:00
kwolekr
a4e4846ffa Use a string identifier for a mapgen instead of version 2013-01-21 21:41:37 +02:00
kwolekr
28e627e64b Fix compile on certain Linux configurations, reduce spawn point height 2013-01-21 21:41:37 +02:00
kwolekr
dae40683b0 Removed Mapgen V7 for now 2013-01-21 21:41:37 +02:00
kwolekr
ae24c4941c Last set of minor cleanups 2013-01-21 21:41:37 +02:00
kwolekr
88d16fe3f9 Fix MapgenV6::getGroundLevelAtPoint() 2013-01-21 21:41:37 +02:00
kwolekr
3d9ebbcc63 Finish and clean up mapgen configuration 2013-01-21 21:41:37 +02:00
kwolekr
b4436cef78 Add Settings::getStruct and Settings::setStruct 2013-01-21 21:41:37 +02:00
kwolekr
01326e3823 Clean up EmergeManager, do initial work on Mapgen configuration 2013-01-21 21:41:37 +02:00
kwolekr
af04401ae2 Readded and optimized mapgen V6 2013-01-21 21:41:37 +02:00
kwolekr
a1bea91921 Cleaned & enhanced noise object management 2013-01-21 21:41:37 +02:00
kwolekr
b2ece95f10 Add initial Lua biomedef support, fixed biome selection 2013-01-21 21:41:37 +02:00
kwolekr
6df7f001e5 The new mapgen, noise functions, et al. 2013-01-21 21:41:33 +02:00
kwolekr
7010d5c6e1 Make WATER_LEVEL configurable, fix slight comparison bug in findSpawnPos() 2013-01-21 21:41:09 +02:00
kwolekr
59292ccb75 Only clear block modified flag if writing to db was successful 2013-01-21 21:41:09 +02:00
kwolekr
f871efe2b7 Make cloud height user-configurable 2013-01-21 21:41:09 +02:00
kwolekr
8799a9401e stop MSVC++ from generating dumb warnings 2013-01-21 21:41:09 +02:00
kwolekr
4053fac044 Proper RUN_IN_PLACE support for OSX and FreeBSD 2013-01-21 21:41:09 +02:00
Jürgen Doser
cb549603ac 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
2013-01-21 17:31:50 +02:00
Jeija
ce33a15551 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"
2013-01-21 16:42:56 +02:00
sapier
01bd5af898 add limit for steps to avoid runaway memory consumption by collision handling 2013-01-16 23:27:11 +00:00
PilzAdam
e831a19436 Bugfix: else repeat_rightclick_timer = 0; 2013-01-14 21:38:40 +01:00
Jeija
3bc285a3e0 Add particles 2013-01-14 15:27:00 +01:00
PilzAdam
d5e1a75d7d Fix spread of items in falling code 2013-01-12 20:55:45 +01:00
Jürgen Doser
989e82bf59 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.
2013-01-12 23:32:09 +04:00
Jürgen Doser
a95de9f568 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.
2013-01-11 18:59:27 +01:00
dannydark
a58104ece1 Fixed two typo's in commit 615fd498bc 2013-01-07 18:57:12 +01:00
PilzAdam
a491f22aec Disable all HP handling if enable_damage is false 2013-01-07 18:39:45 +01:00
PilzAdam
fd5ea41ddf Add a setting to enable always flying fast 2013-01-07 18:26:34 +01:00
sapier
59ab6e50b5 Fix buttons not working for Lua-triggered formspecs 2013-01-07 19:00:33 +02:00
RealBadAngel
dbcc91a798 L-Systems treegen update. 2013-01-07 18:13:14 +04:00