oweals/minetest.git
10 years agoSearch for subgames using $MINETEST_SUBGAME_PATH.
David Thompson [Sat, 6 Sep 2014 17:21:46 +0000 (13:21 -0400)]
Search for subgames using $MINETEST_SUBGAME_PATH.

10 years agoRecalculate normals for cached meshes.
RealBadAngel [Tue, 21 Oct 2014 03:12:15 +0000 (05:12 +0200)]
Recalculate normals for cached meshes.

Check if mesh is here before adding to meshcollector.

Fix deleting the meshes.

10 years agoFix some indentation in nodedef.cpp
Kahrl [Mon, 20 Oct 2014 14:11:38 +0000 (16:11 +0200)]
Fix some indentation in nodedef.cpp

10 years agoFix memory leak caused by mesh nodes (and nodeboxes)
Kahrl [Mon, 20 Oct 2014 14:11:00 +0000 (16:11 +0200)]
Fix memory leak caused by mesh nodes (and nodeboxes)

10 years agoCustom collision boxes node property.
RealBadAngel [Sat, 18 Oct 2014 16:46:16 +0000 (18:46 +0200)]
Custom collision boxes node property.

10 years agoUpdate the cURL the buildbot uses to 7.38.0
sfan5 [Mon, 6 Oct 2014 11:39:03 +0000 (13:39 +0200)]
Update the cURL the buildbot uses to 7.38.0

10 years agoVarious uninitialised variable fixes
Craig Robbins [Tue, 7 Oct 2014 07:01:07 +0000 (17:01 +1000)]
Various uninitialised variable fixes

sky.cpp: m_bgcolor.getAlpha() was being used before initialised

mesh related: m_highlight_mesh_color was being used uninitialised

10 years agoMove buttons upwards to accommodate for new configure keys button in the
Craig Robbins [Thu, 16 Oct 2014 07:47:54 +0000 (17:47 +1000)]
Move buttons upwards to accommodate for new configure keys button in the
pause menu

10 years agoAdd meshnode drawtype.
RealBadAngel [Wed, 15 Oct 2014 02:13:53 +0000 (04:13 +0200)]
Add meshnode drawtype.

10 years agoMake sure PRECISION_SECONDS corresponds to the integer 0
Kahrl [Thu, 9 Oct 2014 09:40:33 +0000 (11:40 +0200)]
Make sure PRECISION_SECONDS corresponds to the integer 0

10 years agoFix unit reported by TimeTaker (was always ms)
Kahrl [Thu, 9 Oct 2014 09:15:03 +0000 (11:15 +0200)]
Fix unit reported by TimeTaker (was always ms)

10 years agoChange topleft text when switching subgames, fixes #1728
Kahrl [Thu, 9 Oct 2014 06:58:47 +0000 (08:58 +0200)]
Change topleft text when switching subgames, fixes #1728

10 years agoFix use of unitialized variables in mouse button handling
Craig Robbins [Wed, 8 Oct 2014 02:40:14 +0000 (12:40 +1000)]
Fix use of unitialized variables in mouse button handling

10 years agoAdd in-game key change menu
Mushiden [Sun, 21 Sep 2014 03:21:11 +0000 (00:21 -0300)]
Add in-game key change menu

10 years agoAdd a better error message when trying to teleport another player without bring privi...
LeMagnesium [Sun, 5 Oct 2014 15:35:10 +0000 (17:35 +0200)]
Add a better error message when trying to teleport another player without bring privileges

10 years agoFix object reference pushing functions when called from coroutines
ShadowNinja [Thu, 2 Oct 2014 19:58:13 +0000 (15:58 -0400)]
Fix object reference pushing functions when called from coroutines

10 years agoAdd [colorize modifier 1711/head
BlockMen [Fri, 3 Oct 2014 04:11:21 +0000 (06:11 +0200)]
Add [colorize modifier

10 years agoFix special tile backspace culling
kwolekr [Fri, 3 Oct 2014 15:20:29 +0000 (11:20 -0400)]
Fix special tile backspace culling

10 years agoBugfix: dont highlight (0,0,0) when theres no node pointed.
RealBadAngel [Fri, 3 Oct 2014 14:03:14 +0000 (16:03 +0200)]
Bugfix: dont highlight (0,0,0) when theres no node pointed.

10 years agoFix broken plantlike drawtype.
RealBadAngel [Fri, 3 Oct 2014 13:33:32 +0000 (15:33 +0200)]
Fix broken plantlike drawtype.

10 years agoFix misc. style issues
kwolekr [Fri, 3 Oct 2014 07:49:06 +0000 (03:49 -0400)]
Fix misc. style issues

10 years agoClean up nodedef.cpp
kwolekr [Fri, 3 Oct 2014 07:16:43 +0000 (03:16 -0400)]
Clean up nodedef.cpp

10 years agoAdd better documentation for alternate drop definition to lua_api.txt.
Diego Martínez [Thu, 2 Oct 2014 16:30:32 +0000 (13:30 -0300)]
Add better documentation for alternate drop definition to lua_api.txt.

10 years agoAdd optional framed glasslike drawtype 1694/head
BlockMen [Sat, 27 Sep 2014 16:16:26 +0000 (18:16 +0200)]
Add optional framed glasslike drawtype

10 years agoMake players check inventory modification properly 1535/head
ShadowNinja [Tue, 2 Sep 2014 16:53:20 +0000 (12:53 -0400)]
Make players check inventory modification properly

10 years agoOnly set player dirty flag if values change
ShadowNinja [Fri, 29 Aug 2014 00:22:19 +0000 (20:22 -0400)]
Only set player dirty flag if values change

10 years agoSimplify player modification checks
ShadowNinja [Sun, 3 Aug 2014 20:19:07 +0000 (16:19 -0400)]
Simplify player modification checks

10 years agoFix android build using hardcoded path for data instead of using the one fetched...
sapier [Wed, 1 Oct 2014 20:18:29 +0000 (22:18 +0200)]
Fix android build using hardcoded path for data instead of using the one fetched by android api on init.
Fix android missing version information

10 years agoupdatepo.sh: Find all files
Diego Martínez [Tue, 30 Sep 2014 13:57:28 +0000 (10:57 -0300)]
updatepo.sh: Find all files

10 years agoUse round if falling node is misplaced
SmallJoker [Thu, 24 Jul 2014 09:51:07 +0000 (11:51 +0200)]
Use round if falling node is misplaced

Fixes: http://i.imgur.com/arAWw1i.png (middle-right)

10 years agoStandardize tooltip row detection
BlockMen [Sun, 28 Sep 2014 08:10:43 +0000 (10:10 +0200)]
Standardize tooltip row detection

10 years agoFix multilined description in tooltips (fixes #1688)
BlockMen [Sun, 28 Sep 2014 06:44:05 +0000 (08:44 +0200)]
Fix multilined description in tooltips (fixes #1688)

10 years agoFix totally messed up 3d modes interlaced/topbottom/sidebyside
sapier [Thu, 25 Sep 2014 18:33:17 +0000 (20:33 +0200)]
Fix totally messed up 3d modes interlaced/topbottom/sidebyside

10 years agoFix chat lines not word wrapped correct
sapier [Thu, 25 Sep 2014 17:54:02 +0000 (19:54 +0200)]
Fix chat lines not word wrapped correct

10 years agoFix command line parsing
Kahrl [Mon, 22 Sep 2014 09:02:26 +0000 (11:02 +0200)]
Fix command line parsing

Broken by 6bc4cad0eddd7a7cf593ca1471599e2d75727379, e.g.
  minetest --worldname world
would be parsed as
  minetest --worldname --worldname

10 years agoFix build with redis
ShadowNinja [Mon, 22 Sep 2014 01:00:20 +0000 (21:00 -0400)]
Fix build with redis

Broken by 6bc4cad0eddd7a7cf593ca1471599e2d75727379 because database-redis.h
depended on settings.h to include filesys.h.

10 years agoAdd firelike drawtype
TriBlade9 [Fri, 19 Sep 2014 23:37:40 +0000 (07:37 +0800)]
Add firelike drawtype

10 years agoUpdate default of preload_item_visuals in minetest.conf.example
ShadowNinja [Sun, 21 Sep 2014 19:49:33 +0000 (15:49 -0400)]
Update default of preload_item_visuals in minetest.conf.example

10 years agoMake dump's output prettier 1503/head
ShadowNinja [Sun, 20 Jul 2014 03:39:23 +0000 (23:39 -0400)]
Make dump's output prettier

Changes:
  * Indentation with tabs by default.
  * Array keys dumped without "[i] = " prefix.
  * String keys that are valid identifiers aren't enclosed in '[""]'.
  * Basic support for multiple references (as specified in the comment).

10 years agoFix GCC reorder warning
ShadowNinja [Sun, 21 Sep 2014 19:18:43 +0000 (15:18 -0400)]
Fix GCC reorder warning

Caused by a020d1b653f94fbcaac06c15f9dbab4521fda355.

10 years agoAdd inventory right click drag and drop
sruz25 [Fri, 19 Sep 2014 13:27:48 +0000 (15:27 +0200)]
Add inventory right click drag and drop

10 years agoUpdate ja/minetest.po
Rui914 [Sun, 21 Sep 2014 04:56:18 +0000 (13:56 +0900)]
Update ja/minetest.po

10 years agoRevert the icon name in minetest.desktop
ShadowNinja [Sun, 21 Sep 2014 18:37:19 +0000 (14:37 -0400)]
Revert the icon name in minetest.desktop

This reverts commit 7993696fc4b59354974059e1f8d6b3063d316411, which broke the
icon on most distributions.

10 years agoFix locking bugs and make inventory deserialization errors more specific
ShadowNinja [Fri, 12 Sep 2014 00:12:52 +0000 (20:12 -0400)]
Fix locking bugs and make inventory deserialization errors more specific

10 years agoSplit settings into seperate source and header files
ShadowNinja [Thu, 11 Sep 2014 22:22:05 +0000 (18:22 -0400)]
Split settings into seperate source and header files

This also cleans up settings a bit

10 years agoFix Settings locking
ShadowNinja [Thu, 11 Sep 2014 18:23:04 +0000 (14:23 -0400)]
Fix Settings locking

10 years agoUse const references for Settings methods
ShadowNinja [Thu, 11 Sep 2014 17:42:21 +0000 (13:42 -0400)]
Use const references for Settings methods

Also check for (this == &other) before locking mutexes.

10 years agoMake getters of the Settings class const
Craig Robbins [Thu, 11 Sep 2014 12:49:25 +0000 (22:49 +1000)]
Make getters of the Settings class const

Also removed 2 unused functions.

10 years agoAllow taking screenshots of formspecs and move message to chat 1672/head
BlockMen [Sun, 21 Sep 2014 00:23:55 +0000 (02:23 +0200)]
Allow taking screenshots of formspecs and move message to chat

10 years agoUpdate .mailmap
sfan5 [Sun, 21 Sep 2014 17:01:43 +0000 (19:01 +0200)]
Update .mailmap

10 years agoFix wrong video_driver setting when changing in mainmenu
SmallJoker [Thu, 4 Sep 2014 18:34:36 +0000 (20:34 +0200)]
Fix wrong video_driver setting when changing in mainmenu

Fixes issue with direct3d(8|9)

10 years agoAdd compression API 1633/head
ShadowNinja [Sun, 14 Sep 2014 21:42:08 +0000 (17:42 -0400)]
Add compression API

10 years ago.travis.yml: fix possible issues
Mikaela Suomalainen [Fri, 19 Sep 2014 22:05:14 +0000 (01:05 +0300)]
.travis.yml: fix possible issues

* use `pool.sks-keyservers.net` as keyserver as it's often more reliable
than `keyserver.ubuntu.com` as you can see with Google.
* put script to multiple lines
    * build out-of-source
    * use two CPUs
        * make seems to fail if $(nproc) is used unlike WeeChat. ZNC has
          same issue.
* mark build as failed if one job fails immediately without waiting for
all builds to finish.
    * this doesn't stop jobs that didn't finish before build was marked
    failed.

10 years agoRevert "Small changes to French translation (Petites modifications mineures)"
Kahrl [Sat, 20 Sep 2014 12:02:00 +0000 (14:02 +0200)]
Revert "Small changes to French translation (Petites modifications mineures)"

This reverts commit 4432e982616cd871cf1ae5c5706da09e98077433.

Exception: "Nom / Mot de Passe" --> "Nom / Mot de passe"

10 years agoFixed french vocabulary/grammar errors
kilbith [Fri, 19 Sep 2014 11:45:47 +0000 (13:45 +0200)]
Fixed french vocabulary/grammar errors

Notes (in french) :

72 msgstr "Ok" : OK est un acronyme, pas un nom, donc majuscules.
193 msgstr "Feuilles transparentes" : quel type de feuilles ? Trop vague.
213 msgstr "Filtrage anisotropique" : oxymore.
229 msgstr "Précharger les visuels d'objets" : doit être écourté (dépasse trop la bordure grisée)

10 years agoSmall changes to French translation (Petites modifications mineures)
mimilus [Sat, 5 Apr 2014 23:29:45 +0000 (01:29 +0200)]
Small changes to French translation (Petites modifications mineures)

10 years agoAdd a .mailmap file
Stefan Beller [Wed, 17 Sep 2014 11:46:37 +0000 (13:46 +0200)]
Add a .mailmap file

So I was checking out minetest and wondered how many developers there are
and how they development community is setup and such, so I decided to have
a look at the git shortlog. There were lot of double entries for some
persons, so it was harder to estimate the number of people involved.

By adding a .mailmap file, the overview of the authors is much improved
For details on the .mailmap file, see
https://www.kernel.org/pub/software/scm/git/docs/git-shortlog.html

Signed-off-by: Stefan Beller <stefanbeller@gmail.com>
10 years agoMake config compatible with C++11
donat_b [Sat, 20 Sep 2014 09:06:09 +0000 (13:06 +0400)]
Make config compatible with C++11

10 years agoChange default halo.png for better visibility.
RealBadAngel [Fri, 19 Sep 2014 15:46:59 +0000 (17:46 +0200)]
Change default halo.png for better visibility.

10 years agoUse configured bind_address for HTTPFetch 1634/head
ShadowNinja [Mon, 15 Sep 2014 00:58:21 +0000 (20:58 -0400)]
Use configured bind_address for HTTPFetch

10 years agoReduce indentation of HTTPFetchOngoing
ShadowNinja [Mon, 15 Sep 2014 00:46:45 +0000 (20:46 -0400)]
Reduce indentation of HTTPFetchOngoing

Also clean up some related things.

10 years agoAdded configurable selectionbox width. Min width = 1, Max = 5
TriBlade9 [Wed, 17 Sep 2014 10:02:40 +0000 (18:02 +0800)]
Added configurable selectionbox width. Min width = 1, Max = 5

10 years agoBugfix: don't highlight air nodes.
RealBadAngel [Thu, 18 Sep 2014 07:56:27 +0000 (09:56 +0200)]
Bugfix: don't highlight air nodes.

10 years agoNode highlighting.
RealBadAngel [Tue, 16 Sep 2014 10:38:37 +0000 (12:38 +0200)]
Node highlighting.

10 years agoFix typo in comment in chat.cpp
Kahrl [Sun, 14 Sep 2014 13:37:27 +0000 (15:37 +0200)]
Fix typo in comment in chat.cpp

10 years agoSimplify and optimize schematic replacements
ShadowNinja [Fri, 12 Sep 2014 02:25:06 +0000 (22:25 -0400)]
Simplify and optimize schematic replacements

10 years agoFix another typo in example configuration
ShadowNinja [Fri, 12 Sep 2014 00:21:03 +0000 (20:21 -0400)]
Fix another typo in example configuration

10 years agoFix typo in default configuration file
William Teder [Thu, 11 Sep 2014 23:28:48 +0000 (18:28 -0500)]
Fix typo in default configuration file

10 years agoLog unhandled exceptions in connectionthreads to errorstream
sapier [Sat, 6 Sep 2014 16:22:27 +0000 (18:22 +0200)]
Log unhandled exceptions in connectionthreads to errorstream

10 years agoFix access to invalid data on reception of packet with size 0
sapier [Sat, 6 Sep 2014 15:41:40 +0000 (17:41 +0200)]
Fix access to invalid data on reception of packet with size 0

10 years agoChange screenshot colorformat properly
BlockMen [Wed, 3 Sep 2014 17:20:06 +0000 (19:20 +0200)]
Change screenshot colorformat properly

10 years agoDon't save alpha channel in screenshots (fixes #1451)
BlockMen [Wed, 3 Sep 2014 01:51:49 +0000 (03:51 +0200)]
Don't save alpha channel in screenshots (fixes #1451)

10 years agoAdd LuaVoxelManip methods: get_node_at() and set_node_at()
kwolekr [Mon, 1 Sep 2014 21:33:21 +0000 (17:33 -0400)]
Add LuaVoxelManip methods: get_node_at() and set_node_at()

10 years agoUpdate Mapgen VoxelManipulator on buffer invalidation
kwolekr [Mon, 1 Sep 2014 18:20:31 +0000 (14:20 -0400)]
Update Mapgen VoxelManipulator on buffer invalidation

10 years agoSave previously generated blocks on Mapgen blitback
kwolekr [Mon, 1 Sep 2014 18:58:05 +0000 (14:58 -0400)]
Save previously generated blocks on Mapgen blitback

10 years agoFix only one texture being updated on window resize breaking sidebyside and topbottom...
sapier [Thu, 28 Aug 2014 23:35:35 +0000 (01:35 +0200)]
Fix only one texture being updated on window resize breaking sidebyside and topbottom 3d modes

10 years agoFix interlaced 3d mode second image being flipped on compiling against irrlicht ...
sapier [Thu, 28 Aug 2014 22:54:46 +0000 (00:54 +0200)]
Fix interlaced 3d mode second image being flipped on compiling against irrlicht >= 1.8

10 years agoRemove invalid doc about minetest.get_time_us()
sapier [Mon, 25 Aug 2014 19:52:52 +0000 (21:52 +0200)]
Remove invalid doc about minetest.get_time_us()

10 years agoAdd missing doc for minetest.get_us_time()
sapier [Mon, 25 Aug 2014 19:16:32 +0000 (21:16 +0200)]
Add missing doc for minetest.get_us_time()

10 years agoAllow use all 6 faces for special tiles.
RealBadAngel [Fri, 25 Jul 2014 05:35:55 +0000 (07:35 +0200)]
Allow use all 6 faces for special tiles.
Protocol version bump.

10 years agoFix retval of entity.get_staticdata beeing lost while profiling is enabled
sapier [Sat, 23 Aug 2014 23:56:27 +0000 (01:56 +0200)]
Fix retval of entity.get_staticdata beeing lost while profiling is enabled

10 years agoAdd lua exception handling test code 1579/head
sapier [Sat, 23 Aug 2014 11:24:37 +0000 (13:24 +0200)]
Add lua exception handling test code
Catch some error situations when mod used without thinking about it

10 years agoFix LuaJIT exception wrapper
Kahrl [Sat, 23 Aug 2014 12:30:51 +0000 (14:30 +0200)]
Fix LuaJIT exception wrapper

10 years agoFix seg fault if popping from empty stack (L-system trees)
Craig Robbins [Thu, 7 Aug 2014 05:39:12 +0000 (15:39 +1000)]
Fix seg fault if popping from empty stack (L-system trees)

See: https://github.com/minetest/minetest/issues/1525

Background
Wuzzy2: If you attempt to spawn a L-system tree with minetest.spawn_tree, you can make Minetest crash if it is attempted to pop an empty stack.

ShadowNinja: This shouldn't cause a segmentation fault, but it should throw a Lua error

Commit Description
This commit throws a Lua error instead of causing a segmentation fault. The server will still "crash" but will include a Lua backtrace.

L-Systems fix randomness
Unless a random seed is provided (via Lua treedef) seed the PRNG with a different seed for each tree
Resolves: https://github.com/minetest/minetest/issues/1469

Fix l-system crash when treedef random_level not set by Lua

10 years agoAdd video driver selection to settings menu (based uppon idea from webdesigner97) 1495/head
sapier [Wed, 16 Jul 2014 12:04:50 +0000 (14:04 +0200)]
Add video driver selection to settings menu (based uppon idea from webdesigner97)

10 years agoMinimal game: add /dummyball <count> command
Kahrl [Fri, 22 Aug 2014 22:52:57 +0000 (00:52 +0200)]
Minimal game: add /dummyball <count> command

10 years agoFix chat messages capturing mouse interactions for menu/formspecs 1574/head
sapier [Fri, 22 Aug 2014 15:40:11 +0000 (17:40 +0200)]
Fix chat messages capturing mouse interactions for menu/formspecs

10 years agoUse pause_fps_max also on multiplayer
SmallJoker [Mon, 14 Jul 2014 16:48:36 +0000 (18:48 +0200)]
Use pause_fps_max also on multiplayer

10 years agoAdd ^[mask texture modifier
sfan5 [Fri, 25 Jul 2014 11:26:03 +0000 (13:26 +0200)]
Add ^[mask texture modifier

10 years agoReduce time of red screen when damaged
SmallJoker [Thu, 21 Aug 2014 18:01:03 +0000 (20:01 +0200)]
Reduce time of red screen when damaged

10 seconds in PvP is very long and annoying.

10 years agoban.cpp refactoring
Selat [Sat, 29 Mar 2014 07:40:33 +0000 (10:40 +0300)]
ban.cpp refactoring

10 years agoFix to to too two times
sapier [Fri, 22 Aug 2014 19:51:20 +0000 (21:51 +0200)]
Fix to to too two times

10 years agoAdd player name length checks 1572/head
sapier [Fri, 22 Aug 2014 12:03:04 +0000 (14:03 +0200)]
Add player name length checks

10 years agoFix "ghost" blocks if block update is "on wire" while player digs nodes 1475/head
sapier [Sat, 12 Jul 2014 18:20:11 +0000 (20:20 +0200)]
Fix "ghost" blocks if block update is "on wire" while player digs nodes

10 years agoImprove timeout calculation
sapier [Sat, 12 Jul 2014 13:58:08 +0000 (15:58 +0200)]
Improve timeout calculation

gf

10 years agoCorrect spelling mistakes in documentation
rubenwardy [Fri, 22 Aug 2014 17:34:16 +0000 (18:34 +0100)]
Correct spelling mistakes in documentation

10 years agoFix wrong Icon name in minetest.desktop
sapier [Fri, 22 Aug 2014 12:09:39 +0000 (14:09 +0200)]
Fix wrong Icon name in minetest.desktop

10 years agoRemove buildable_to nodes without dropping item when replaced by a falling node
Casimir [Sat, 17 Aug 2013 23:15:38 +0000 (01:15 +0200)]
Remove buildable_to nodes without dropping item when replaced by a falling node

10 years agoPass light sources in blue channel of vertex color instead of decoded light for all...
RealBadAngel [Thu, 21 Aug 2014 21:28:01 +0000 (23:28 +0200)]
Pass light sources in blue channel of vertex color instead of decoded light for all special drawtypes.
Plus some style fixes and optimizations.

10 years agoDon't call a player event without having player to do a event for
sapier [Thu, 21 Aug 2014 15:27:52 +0000 (17:27 +0200)]
Don't call a player event without having player to do a event for