oweals/minetest.git
10 years agoRe-add missing shaders setting. (Generate normalmaps)
RealBadAngel [Wed, 4 Jun 2014 14:39:15 +0000 (16:39 +0200)]
Re-add missing shaders setting. (Generate normalmaps)

10 years agoCodestyle cleanup (main.cpp) 1349/head
BlockMen [Sat, 31 May 2014 22:55:23 +0000 (00:55 +0200)]
Codestyle cleanup (main.cpp)

10 years agoRevert "Add daemon support for linux like operating systems"
sapier [Sun, 1 Jun 2014 12:54:21 +0000 (14:54 +0200)]
Revert "Add daemon support for linux like operating systems"
Remove daemon support due to delayed popular vote (part 2)

10 years agoRevert "Redirect stdin/stderr/stdout to /dev/null in daemon mode"
sapier [Sun, 1 Jun 2014 12:51:46 +0000 (14:51 +0200)]
Revert "Redirect stdin/stderr/stdout to /dev/null in daemon mode"
Remove daemon support due to delayed popular vote (part 1)

10 years agoRedirect stdin/stderr/stdout to /dev/null in daemon mode
sapier [Sat, 31 May 2014 22:41:48 +0000 (00:41 +0200)]
Redirect stdin/stderr/stdout to /dev/null in daemon mode

10 years agoAdd daemon support for linux like operating systems 1302/head
sapier [Wed, 14 May 2014 19:51:27 +0000 (21:51 +0200)]
Add daemon support for linux like operating systems

10 years agoSmall cleanup of hud add/remove code 1332/head
sapier [Sun, 25 May 2014 12:34:32 +0000 (14:34 +0200)]
Small cleanup of hud add/remove code

10 years agoFix over-poping and only push the core once
ShadowNinja [Fri, 30 May 2014 23:38:11 +0000 (19:38 -0400)]
Fix over-poping and only push the core once

10 years agoAdd success and output return values to chat commands 1129/head
ShadowNinja [Wed, 29 Jan 2014 23:27:05 +0000 (18:27 -0500)]
Add success and output return values to chat commands

10 years agoAdd item eat callback
rubenwardy [Tue, 20 May 2014 14:21:09 +0000 (15:21 +0100)]
Add item eat callback

10 years agoFix misplaced selection box in some situations 1336/head
sapier [Mon, 26 May 2014 20:11:42 +0000 (22:11 +0200)]
Fix misplaced selection box in some situations

10 years agoFix setThreadName support for BSD
ShadowNinja [Mon, 26 May 2014 19:17:59 +0000 (15:17 -0400)]
Fix setThreadName support for BSD

10 years agoWorks for debian and a few other distributions but fails for even more so back to...
sapier [Sat, 24 May 2014 23:14:47 +0000 (01:14 +0200)]
Works for debian and a few other distributions but fails for even more so back to old order
Revert "Fix library link order"
This reverts commit b743dcb942eb1a88bce2968c08b114058738758b.

10 years agoSort commands and privs alphabetically in '/help'.
Diego Martinez [Thu, 22 May 2014 16:08:25 +0000 (13:08 -0300)]
Sort commands and privs alphabetically in '/help'.

Also make a stray variable local.

10 years agoRework dumping functions
ShadowNinja [Fri, 9 May 2014 03:56:36 +0000 (23:56 -0400)]
Rework dumping functions

Changes:
  * Add comments to explain the dumping code
  * Add support for dumping values of any type (as '<' <type> '>')
  * Add support for tables as keys in dump2()
  * Make dump2() return it's result (like dump()) rather than printing it
  * Simplify and optimize function serialization via serialize()

10 years agoHide pause menu prior drawing "shutting down..." message
sapier [Sat, 24 May 2014 11:05:10 +0000 (13:05 +0200)]
Hide pause menu prior drawing "shutting down..." message

10 years agoReduce log level for non npot2 texture warning message
sapier [Sat, 24 May 2014 11:42:52 +0000 (13:42 +0200)]
Reduce log level for non npot2 texture warning message

10 years agoFix library link order
sapier [Sat, 24 May 2014 11:39:27 +0000 (13:39 +0200)]
Fix library link order

10 years agoRemove settings not used any longer
sapier [Sun, 18 May 2014 14:48:17 +0000 (16:48 +0200)]
Remove settings not used any longer

10 years agoFix disable hud disabling drawing of full gui
sapier [Sat, 24 May 2014 10:15:11 +0000 (12:15 +0200)]
Fix disable hud disabling drawing of full gui

10 years agofixed typo std::encl in src/gettext.cpp
Jakub Vaněk [Fri, 23 May 2014 13:54:58 +0000 (15:54 +0200)]
fixed typo std::encl in src/gettext.cpp

10 years agoFix a bunch of small bugs due to mainmenu cleanup
sapier [Sun, 18 May 2014 17:40:02 +0000 (19:40 +0200)]
Fix a bunch of small bugs due to mainmenu cleanup
Fix doubleclick not working in singleplayer
Fix of by one issue on accessing raw list
Fix this->self
Fix copy&paste error for scroll button

10 years agoItem entity stacks merge on the ground.
RealBadAngel [Sat, 17 May 2014 09:25:25 +0000 (11:25 +0200)]
Item entity stacks merge on the ground.

Add TTL to item entities.

10 years agoFix memory leak in redis backend, fixes #1325
sfan5 [Fri, 23 May 2014 11:30:58 +0000 (13:30 +0200)]
Fix memory leak in redis backend, fixes #1325

10 years agoAdd joining player to printed player list
sapier [Tue, 20 May 2014 16:09:32 +0000 (18:09 +0200)]
Add joining player to printed player list

10 years agoAdd support for interlaced polarized 3d screens 1269/head
sapier [Sun, 27 Apr 2014 14:09:21 +0000 (16:09 +0200)]
Add support for interlaced polarized 3d screens
Add (experimental) support for topbottom as well as sidebyside 3d mode

10 years agoSplit declaration of GenericCAO from implementation
sapier [Sat, 3 May 2014 09:14:22 +0000 (11:14 +0200)]
Split declaration of GenericCAO from implementation

10 years agoFix singleplayer dialogs missing game customization 1310/head
sapier [Sat, 17 May 2014 13:30:26 +0000 (15:30 +0200)]
Fix singleplayer dialogs missing game customization

10 years agoAdd formspec toolkit and refactor mainmenu to use it 1241/head
sapier [Fri, 18 Apr 2014 13:39:15 +0000 (15:39 +0200)]
Add formspec toolkit and refactor mainmenu to use it
Fix crash on using cursor keys in client menu without selected server
Add support for non fixed size tabviews

10 years agoMake print() NUL-safe
ShadowNinja [Thu, 15 May 2014 23:09:47 +0000 (19:09 -0400)]
Make print() NUL-safe

10 years agoMap irrlicht log level to minetest. Allow write them to debug file.
RealBadAngel [Wed, 7 May 2014 22:58:00 +0000 (00:58 +0200)]
Map irrlicht log level to minetest. Allow write them to debug file.

10 years agoFix old client showing duplicated health bar on new server 1290/head
sapier [Sat, 10 May 2014 22:35:31 +0000 (00:35 +0200)]
Fix old client showing duplicated health bar on new server
Fix client not showing hearts and bubbles on connecting to old server
Fix server not remembering hud flags correctly

10 years agoSend max number of characters instead of asserting in case of too long chat messages
sapier [Sun, 11 May 2014 13:39:38 +0000 (15:39 +0200)]
Send max number of characters instead of asserting in case of too long chat messages

10 years agoFix invalid cast fix resulting in chat messages beeing limited to 256 bytes
sapier [Sun, 11 May 2014 13:32:15 +0000 (15:32 +0200)]
Fix invalid cast fix resulting in chat messages beeing limited to 256 bytes

10 years agoFix incorrect scaling of customized hud item selection marker
sapier [Sun, 11 May 2014 11:26:23 +0000 (13:26 +0200)]
Fix incorrect scaling of customized hud item selection marker

10 years agoFix error messages beeing shown on pressing cursor keys in various menus
sapier [Sun, 11 May 2014 00:57:47 +0000 (02:57 +0200)]
Fix error messages beeing shown on pressing cursor keys in various menus

10 years agoFix possible deadlock in error conditions
sapier [Sat, 10 May 2014 22:14:57 +0000 (00:14 +0200)]
Fix possible deadlock in error conditions

10 years agoFix healthbar not beeing hidden on disabled damage
sapier [Sat, 10 May 2014 21:32:25 +0000 (23:32 +0200)]
Fix healthbar not beeing hidden on disabled damage

10 years agoUse "core" namespace internally 1258/head
ShadowNinja [Mon, 28 Apr 2014 01:02:48 +0000 (21:02 -0400)]
Use "core" namespace internally

10 years agoOrganize builtin into subdirectories
ShadowNinja [Sun, 27 Apr 2014 21:55:49 +0000 (17:55 -0400)]
Organize builtin into subdirectories

10 years agoAdd write_json() to the async API
ShadowNinja [Wed, 7 May 2014 04:01:24 +0000 (00:01 -0400)]
Add write_json() to the async API

10 years agoAdd a limit to node meta data resolving recursion
ShadowNinja [Mon, 28 Apr 2014 01:31:46 +0000 (21:31 -0400)]
Add a limit to node meta data resolving recursion

10 years agoFix heart + bubble bar size on different texture packs 1265/head
sapier [Mon, 28 Apr 2014 21:41:27 +0000 (23:41 +0200)]
Fix heart + bubble bar size on different texture packs
Add DPI support for statbar
Move heart+bubble bar to Lua HUD
Add statbar size (based upon an idea by blue42u)
Add support for customizing breath and statbar

10 years agoMove message about missing normal maps to infostream instead of errorstream.
RealBadAngel [Mon, 5 May 2014 10:37:12 +0000 (12:37 +0200)]
Move message about missing normal maps to infostream instead of errorstream.

10 years agoBugfix: make waypoints respect camera offset
RealBadAngel [Mon, 5 May 2014 05:45:20 +0000 (07:45 +0200)]
Bugfix: make waypoints respect camera offset

10 years agoFix numeric underflow on calculating window size adjustment
sapier [Sun, 4 May 2014 00:43:01 +0000 (02:43 +0200)]
Fix numeric underflow on calculating window size adjustment

10 years agoFix player:set_animation() in third person view
BlockMen [Sat, 3 May 2014 08:50:49 +0000 (10:50 +0200)]
Fix player:set_animation() in third person view

10 years agoAdd hack to avoid 2s startup delay on local games 1267/head
sapier [Thu, 1 May 2014 22:18:25 +0000 (00:18 +0200)]
Add hack to avoid 2s startup delay on local games

10 years agoFix usage of deprecated functions in builtin 1264/head
sapier [Tue, 29 Apr 2014 21:57:07 +0000 (23:57 +0200)]
Fix usage of deprecated functions in builtin

10 years agoAdd proper lua api deprecated handling 1261/head
sapier [Tue, 29 Apr 2014 15:47:34 +0000 (17:47 +0200)]
Add proper lua api deprecated handling

10 years agoAdd download rate to media progress bar (non http mode only!) 1254/head
sapier [Fri, 25 Apr 2014 23:15:46 +0000 (01:15 +0200)]
Add download rate to media progress bar (non http mode only!)
Minor coding style fixes

10 years agoMake debug text adjust it's border to the screensize and fix a border update bug
ShadowNinja [Sun, 27 Apr 2014 22:43:16 +0000 (18:43 -0400)]
Make debug text adjust it's border to the screensize and fix a border update bug

10 years agoFix rounding issue of hud dpi on some machines
sapier [Sun, 27 Apr 2014 20:44:37 +0000 (22:44 +0200)]
Fix rounding issue of hud dpi on some machines

10 years agoAdd support for function serialization to minetest.serialize
ShadowNinja [Wed, 23 Apr 2014 21:21:17 +0000 (17:21 -0400)]
Add support for function serialization to minetest.serialize

10 years agoFix code style of async API
ShadowNinja [Tue, 15 Apr 2014 19:10:30 +0000 (15:10 -0400)]
Fix code style of async API

10 years agoRemove dependency on marshal and many other async changes
ShadowNinja [Tue, 15 Apr 2014 17:41:07 +0000 (13:41 -0400)]
Remove dependency on marshal and many other async changes

This makes a number of changes:
  * Remove the dependency on marshal by using string.dump and loadstring.
  * Use lua_tolstring rather than having Lua functions pass string lengths to C++.
  * Move lua_api/l_async_events.* to cpp_api/s_async.*, where it belongs.
  * Make AsyncWorkerThread a child of ScriptApiBase, this removes some duplicate functionality.
  * Don't wait for async threads to shut down.  (Is this safe?  Might result in corruption if the thread is writing to a file.)
  * Pop more unused items from the stack
  * Code style fixes
  * Other misc changes

10 years agoOnly push the Lua error handler once
ShadowNinja [Tue, 15 Apr 2014 17:30:46 +0000 (13:30 -0400)]
Only push the Lua error handler once

10 years agoAdd support for dpi based HUD scaling 1198/head
sapier [Sat, 5 Apr 2014 12:12:36 +0000 (14:12 +0200)]
Add support for dpi based HUD scaling
Add support for (configurable) multiline hotbar
Improved screensize handling
Add userdefined gui scale by BlockMen

10 years agoClient: Don't crash if trying to draw too many items from inventory in HUD
Perttu Ahola [Sun, 27 Apr 2014 06:49:00 +0000 (09:49 +0300)]
Client: Don't crash if trying to draw too many items from inventory in HUD

10 years agoMove the old stuff to doc
BlockMen [Fri, 25 Apr 2014 17:33:31 +0000 (19:33 +0200)]
Move the old stuff to doc

10 years agoRemove useless MSVC project files
BlockMen [Fri, 25 Apr 2014 17:20:58 +0000 (19:20 +0200)]
Remove useless MSVC project files

10 years agoFix directional fog color in front view
BlockMen [Fri, 25 Apr 2014 08:24:15 +0000 (10:24 +0200)]
Fix directional fog color in front view

10 years agoUpdate documentation on is_ground_content
ShadowNinja [Thu, 24 Apr 2014 02:42:49 +0000 (22:42 -0400)]
Update documentation on is_ground_content

10 years agoRevert "Add backtrace to error function"
ShadowNinja [Thu, 24 Apr 2014 02:37:27 +0000 (22:37 -0400)]
Revert "Add backtrace to error function"

This reverts commit 5b518ed2feff28c9bf21ad940c1b211b72d71bd1.

This caused duplicate tracebacks and tracebacks when unwanted.
It also ignored the level argument to error() and didn't pass the message (or level) to debug.traceback().
Use xpcall() or lua_pcall()'s errorhandler argument instead.

10 years agoFix lost pause support in singleplayer
sapier [Thu, 24 Apr 2014 17:47:17 +0000 (19:47 +0200)]
Fix lost pause support in singleplayer

10 years agoFix argument type of the RaiseException() function
FessWolf [Tue, 22 Apr 2014 19:19:49 +0000 (22:19 +0300)]
Fix argument type of the RaiseException() function

10 years agoRevert binary database block position encoding
ShadowNinja [Tue, 22 Apr 2014 16:52:48 +0000 (12:52 -0400)]
Revert binary database block position encoding

This reverts commits a2003b0d553c7223a61c75e5dad79ea68e058ba2 and 54ffe2e5de9ce44129f84f4748743f893b75fda7.

These weren't correct.  Add a black magic warning instead.

10 years agoFixed wrong node texture rotation for facedirs 5 and 7
MetaDucky [Fri, 18 Apr 2014 15:29:28 +0000 (17:29 +0200)]
Fixed wrong node texture rotation for facedirs 5 and 7

10 years agoFix formspec replacement handling for in game formspecs 1240/head
sapier [Sun, 20 Apr 2014 00:40:25 +0000 (02:40 +0200)]
Fix formspec replacement handling for in game formspecs

10 years agomake formspec textarea wordwrap
RealBadAngel [Tue, 22 Apr 2014 11:25:02 +0000 (13:25 +0200)]
make formspec textarea wordwrap

Thats updated #795

10 years agoAdd missing ip address to player join log entry
sapier [Mon, 21 Apr 2014 20:28:52 +0000 (22:28 +0200)]
Add missing ip address to player join log entry

10 years agoTextureable sun and moon.
RealBadAngel [Fri, 18 Apr 2014 10:47:25 +0000 (12:47 +0200)]
Textureable sun and moon.

10 years agoFix red background missing in deathscreen
sapier [Mon, 21 Apr 2014 18:10:23 +0000 (20:10 +0200)]
Fix red background missing in deathscreen

10 years agoFix chat console not working anymore
sapier [Sun, 20 Apr 2014 08:55:08 +0000 (10:55 +0200)]
Fix chat console not working anymore

10 years agoFix macro ARRAYSIZE name collision on windows
sapier [Sun, 20 Apr 2014 00:47:02 +0000 (02:47 +0200)]
Fix macro ARRAYSIZE name collision on windows

10 years agoReduce log level for incoming crap packets
sapier [Sat, 19 Apr 2014 20:12:01 +0000 (22:12 +0200)]
Reduce log level for incoming crap packets
Add log entry for peer timeout

10 years agoFix win32 build (typo in jthread lock cleanup)
sapier [Sat, 19 Apr 2014 12:09:01 +0000 (14:09 +0200)]
Fix win32 build (typo in jthread lock cleanup)

10 years agoReplace deathscreen by formspec variant 1178/head
sapier [Wed, 19 Mar 2014 18:13:12 +0000 (19:13 +0100)]
Replace deathscreen by formspec variant

10 years agoBunch of small fixes (coding style, very unlikely errors, warning messages) 1201/head
sapier [Sun, 6 Apr 2014 13:12:04 +0000 (15:12 +0200)]
Bunch of small fixes (coding style, very unlikely errors, warning messages)

10 years agoUse narrow_to_wide in gettext instead of os dependent conversion fct 1204/head
sapier [Sun, 6 Apr 2014 08:39:32 +0000 (10:39 +0200)]
Use narrow_to_wide in gettext instead of os dependent conversion fct

10 years agojthread remove locks that aren't absolutely required 1130/head
sapier [Fri, 31 Jan 2014 21:16:47 +0000 (22:16 +0100)]
jthread remove locks that aren't absolutely required
add c++11 atomic support (optional)

10 years agoAdd support for threadnames on BSD, Windows (MSVC-only), and OSX 1222/head
ShadowNinja [Sun, 13 Apr 2014 20:47:24 +0000 (16:47 -0400)]
Add support for threadnames on BSD, Windows (MSVC-only), and OSX

10 years agoFix warnings
proller [Fri, 18 Apr 2014 22:24:45 +0000 (02:24 +0400)]
Fix warnings

10 years agoRemove liquid_finite and weather 1235/head
proller [Fri, 18 Apr 2014 17:08:03 +0000 (21:08 +0400)]
Remove liquid_finite and weather

10 years agoAdd redis database backend
Sfan5 [Tue, 8 Apr 2014 19:39:21 +0000 (21:39 +0200)]
Add redis database backend

10 years agoFix invalid liquid lighting.
RealBadAngel [Wed, 16 Apr 2014 14:56:54 +0000 (16:56 +0200)]
Fix invalid liquid lighting.

10 years agoUse bit shifts rather than multiplication in block position encoding
ShadowNinja [Tue, 15 Apr 2014 20:25:04 +0000 (16:25 -0400)]
Use bit shifts rather than multiplication in block position encoding

10 years agoUse binary operators rather than "Python modulo" in decoding block positions
ShadowNinja [Tue, 15 Apr 2014 20:07:53 +0000 (16:07 -0400)]
Use binary operators rather than "Python modulo" in decoding block positions

10 years agoFix all warnings reported by clang
Sfan5 [Tue, 15 Apr 2014 17:49:32 +0000 (19:49 +0200)]
Fix all warnings reported by clang

10 years agoFix problem with newer MinGW runtimes
Sfan5 [Mon, 14 Apr 2014 16:03:28 +0000 (18:03 +0200)]
Fix problem with newer MinGW runtimes

10 years agoAdd checks for nil in minetest.after
ShadowNinja [Sun, 13 Apr 2014 21:50:46 +0000 (17:50 -0400)]
Add checks for nil in minetest.after

10 years agoReorder initialization of member variables to make GCC happy
ShadowNinja [Sun, 13 Apr 2014 21:47:58 +0000 (17:47 -0400)]
Reorder initialization of member variables to make GCC happy

10 years agoUse integers instead of float values 1114/head
BlockMen [Sat, 12 Apr 2014 11:50:22 +0000 (13:50 +0200)]
Use integers instead of float values

10 years agoAdd player:set_eye_offset() by @MirceaKitsune and clean up
BlockMen [Fri, 11 Apr 2014 13:32:46 +0000 (15:32 +0200)]
Add player:set_eye_offset() by @MirceaKitsune and clean up

10 years agoAdd third person view
BlockMen [Wed, 8 Jan 2014 12:47:53 +0000 (13:47 +0100)]
Add third person view

10 years agoFix write and read S32 vectors
BlockMen [Sat, 12 Apr 2014 15:39:51 +0000 (17:39 +0200)]
Fix write and read S32 vectors

10 years agoFix MSVC build
BlockMen [Sat, 12 Apr 2014 15:36:40 +0000 (17:36 +0200)]
Fix MSVC build

10 years agoFix broken Ipv4 serialization on win32
sapier [Fri, 11 Apr 2014 20:51:10 +0000 (22:51 +0200)]
Fix broken Ipv4 serialization on win32

10 years agoFix broken win32+bsd build
sapier [Fri, 11 Apr 2014 19:45:30 +0000 (21:45 +0200)]
Fix broken win32+bsd build

10 years agoFix crash when teleporting near unknown node
BlockMen [Fri, 11 Apr 2014 19:38:16 +0000 (21:38 +0200)]
Fix crash when teleporting near unknown node