480 Commits

Author SHA1 Message Date
Aaron Suen
722797ac14 Clear custom player HUDs when emerging players. Fixes #711. 2013-05-10 19:25:50 -04:00
Kahrl
56ca8c3bdf Optional dependencies and properly handle mod name conflicts again 2013-05-03 23:58:22 +02:00
Kahrl
5ebb6c3a1c Server: force block send of pointed_pos_under after predicted node place 2013-05-03 17:03:25 +02:00
kwolekr
c3b246b585 Generalize hud_builtin_enable into hud_set_flags 2013-04-25 19:37:36 -04:00
Diego Martínez
b02e6b1403 Added support to disable built-in HUD elements 2013-04-24 17:28:00 +03:00
ShadowNinja
e88d39e0bb Add option to not prepend "Server -!- " to messages sent with minetest.chat_send_player() 2013-04-23 09:47:08 +03:00
Diego Martínez
f2e5d4ebe2 Added offset support for HUD items 2013-04-23 09:34:11 +03:00
Diego Martínez
cf39a2950a Added support for alignment in HUD items 2013-04-23 09:34:10 +03:00
kwolekr
baaea19d1b Fix findSpawnPos() 2013-04-21 15:39:34 -04:00
kwolekr
45409b509b Split HUD code off to hud.cpp, make into a class, extensive Lua HUD modification 2013-04-18 02:19:31 -04:00
Jonathon Anderson
2cb3f5eb6b Lua HUD 2013-04-18 02:14:33 -04:00
sapier
5a10a4657a fix various memory leaks 2013-04-09 02:23:07 -04:00
kwolekr
6d9ff57f15 Add Mapgen V7, reorganize biomes 2013-04-07 00:50:21 -04:00
proller
4d94e25e23 Masterserver: report gameid, uptime, cosmetic fixes on server web page 2013-03-30 02:03:24 +04:00
PilzAdam
dd744fc13f New damage system, add damageGroups to ToolCapabilities, bump protocol version 2013-03-29 20:14:09 +01:00
kwolekr
1cd1c8e3e6 Add Ore infrastructure and l_register_ore() 2013-03-24 13:23:33 -04:00
Jeija
a8562392b0 Allow spawning particles from the server, from lua
Spawn single particles or make use of ParticleSpawner for many randomly spawned particles.
Accessible in Lua using minetest.spawn_particle and minetest.add_particlespawner.
Increase Protocol Version to 17.

Conflicts:
	src/clientserver.h
2013-03-23 23:16:29 +01:00
Perttu Ahola
da5aee9580 Support game-specific minetest.conf 2013-03-21 22:22:15 +02:00
Perttu Ahola
2f4aa3d197 Common mods support
Implement "common mods", includeable from
  {$user,$share}/games/common/$modname
by using the game.conf setting
  common_mods = $modname,$modname2,...
2013-03-21 18:56:42 +02:00
Ilya Zhuravlev
a12df55f29 Migrate to STL containers/algorithms. 2013-03-11 19:08:39 -04:00
kwolekr
2de944c208 Fix most warnings, re-fix MSVC compile error 2013-02-26 01:57:59 -05:00
kwolekr
c7f9903b98 Merge pull request #482 from proller/liquid
finite liquid
2013-02-25 20:52:24 -08:00
kwolekr
775c1f4836 Add multi-Emerge thread support 2013-02-25 23:08:26 -05:00
kwolekr
e2466d6b69 Add emerge.cpp, initial EmergeThread changes
- Neatly placed all emerge related code into a new file, emerge.cpp
- Greatly cleaned up the code in EmergeThread::Thread()
- Reworked Emerge queue.  Now an actual std::queue of v3s16 block positions
- Removed the completely unnecessary map of peer ids requesting blocks
2013-02-25 22:56:18 -05:00
Sfan5
3fab3825aa Update Copyright Years 2013-02-24 20:15:24 +01:00
PilzAdam
269f01224b Change Minetest-c55 to Minetest 2013-02-24 18:49:03 +01:00
proller
22ec55cd9e new adjustable finite liquid 2013-02-24 18:39:07 +04:00
proller
a06297e4e7 new auto masterserver 2013-02-22 02:04:53 +04:00
Jürgen Doser
3c1df27a26 Print missing mod dependencies on server start
i.e., not only the mod with missing dependencies, but also the missing
dependencies itself. (This already used to be the case before the mod
selection gui was added)

Also, mods with unsatisfied dependencies are no longer reported as
mods that could not be found.
2013-02-20 20:06:39 +01:00
MirceaKitsune
f0f07b20f0 Improved Player Physics 2013-02-14 06:21:30 +10:00
kwolekr
022d563f71 Make mapgen factory setup more elegant, add mapgen_v6.h 2013-01-23 16:16:49 -05:00
kwolekr
28e627e64b Fix compile on certain Linux configurations, reduce spawn point height 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
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
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
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
PilzAdam
a491f22aec Disable all HP handling if enable_damage is false 2013-01-07 18:39:45 +01:00
sapier
59ab6e50b5 Fix buttons not working for Lua-triggered formspecs 2013-01-07 19:00:33 +02:00
sapier
2683dde4e8 Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from lua 2013-01-02 20:59:37 +02:00
Ilya Zhuravlev
ffbc317d0f Fix hypen used as minus sign (manpages), fix spelling error (server.cpp) 2012-12-17 19:46:54 +04:00
Ilya Zhuravlev
f189ab2ccd Added ability to fetch media from remote server (using cURL library) 2012-12-16 15:20:18 +04:00
Kahrl
c9e7e8ba3c ShaderSource and silly example shaders 2012-12-02 00:46:18 +02:00
Perttu Ahola
1a0fdc06d0 Run scriptapi_on_shutdown() thread-safely and remove some old crap 2012-11-30 19:41:13 +02:00
Matthew I
056d277f53 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.
2012-11-30 19:26:51 +02:00
Perttu Ahola
10014bbd62 Full protocol 13 compatibility on server side 2012-11-29 22:08:25 +02:00
Perttu Ahola
753ec084f3 Make strict and non-strict protocol version checking to work more like expected 2012-11-29 22:08:25 +02:00
Perttu Ahola
d0dff79761 Ranged support of protocol version on server side 2012-11-29 22:08:25 +02:00
Perttu Ahola
f098fda683 Support serialization of protocol 13 ContentFeatures 2012-11-29 22:08:25 +02:00