7483 Commits

Author SHA1 Message Date
lhofhansl
198ed60cab Shaders: Remove special handling for liquids. (#4670) 2016-10-26 16:24:45 +02:00
Foghrye4
6eb6e75fff Adding LuaError on attempt to assign vectors with values out of range 2016-10-25 21:10:51 +02:00
Gael-de-Sailly
3db2f08ff9 ParticleSpawner: fix offset being added twice 2016-10-25 20:39:39 +02:00
adrido
a1e1323d6e Windows: dont link to libraries that are already linked by cmake
This solves the problem whith building where build fails if the libaries have different names.
2016-10-25 13:54:24 +02:00
Lars Hofhansl
98176481c1 Shaders: Apply tone mapping before fog calculation. 2016-10-25 07:49:19 +02:00
Maksim Gamarnik
a2a0b0ae47 Update Android, remove content_cso 2016-10-24 18:26:32 +03:00
Lars Hofhansl
779d2c5f64 Shaders: Harmonize Irrlicht and shader fog calculations 2016-10-24 07:41:00 +01:00
paramat
74eb7f50c9 Lua_api.txt: Clarify 'override_meta' bool in 'set mapgen setting' 2016-10-21 05:49:06 +01:00
paramat
0c76303186 Damage flash: Reduce maximum alpha. Avoid fade overload
Flash alpha maximum is reduced from 180 to 127 to avoid player blindness
in combat. Flash alpha minimum is unchanged.
The 'damage_flash' value is now limited to max alpha, to avoid multiple
hits creating a huge value that causes flash to stay at maximum alpha
for a long period. Now alpha always starts to fade immediately after
taking damage.
Both problems can be seen in Minetest let's play videos.
Simplify and optimise some code.
2016-10-21 05:48:53 +01:00
ubulem
e48a6e0b7a Actualize java part 2016-10-20 15:56:05 +03:00
paramat
63a3bb229a Changes to static object storage limit and error message
Move static object storage force-delete message from errorstream to
warningstream.
Increase 'max objects per block' setting to 64.
Add missing spaces in warning code.
2016-10-20 03:40:47 +01:00
red-001
c7d569b863 Chat commands: Trim whitespaces from input of /privs command 2016-10-20 03:39:03 +01:00
Foghrye4
91250c1078 Fix crash on attaching player to entity
Rename "refresh" to "processInitData"
2016-10-19 08:40:43 +02:00
Maksim Gamarnik
b30cbda468 Fix mo create 2016-10-19 05:47:03 +03:00
Maksim Gamarnik
2fc7468f78 Run updatepo.sh (Part1) 2016-10-19 05:44:59 +03:00
Maksim Gamarnik
90f8832103 Disable Public server on Android, upd background 2016-10-19 04:02:50 +03:00
sfan5
5e24e2bd73 Fix APK build Part2 (#35)
* Fix asset collection

* Split assets into three seperate .zip files
2016-10-19 03:30:18 +03:00
sfan5
7cb75e7299 Ensure leveldb is always used as default backend (#36) 2016-10-19 03:20:03 +03:00
Maksim Gamarnik
4782ad207a Fix APK build Part1 2016-10-19 03:14:10 +03:00
sfan5
c9f51e805c Fix irrlicht patch (#34) 2016-10-19 02:40:50 +03:00
sfan5
949ac5a7ed Android intl (#31)
* Add libintl-lite to Android build

* Build and install .mo files on Android

* Compile with libintl on Android

* Make gettext actually function on Android

* Autodetect language on Android

* Fix small bug in asset collection
2016-10-19 02:18:23 +03:00
sfan5
3f7549abeb Only send middle click event on release when not double-tapping (Android) (#32)
This prevents accidentally punching entities or picking up items when moving.
2016-10-19 02:18:10 +03:00
Maksim Gamarnik
7d466a9e4b Android: Fix build. Change progress bar size, android tune 2016-10-18 01:15:14 +03:00
sfan5
7ced0e5b81 LevelDB as default & automatic migration (#30)
* Automatic migration to LevelDB backend (only on Android by default)

* Use LevelDB as default backend
2016-10-17 23:33:21 +03:00
sfan5
b33e6dbcad Allow picking up items with a single touch (#29)
* Allow handling middle click events

* Send middle click events when touch starts (Android)

* Punch objects when middle clicking (Touch only, combination with previous change)
2016-10-17 23:32:52 +03:00
rubenwardy
0d740c5d82 Builtin: Add vector.floor helper function 2016-10-17 22:03:49 +02:00
Lars Hofhansl
a291cd6132 Revert changes to toggleNoClip and toggleFreeMove 2016-10-17 20:26:48 +02:00
Lars Hofhansl
3253b6bd22 Don't use day light sky unless noclip and free_move are enabled 2016-10-17 20:26:48 +02:00
Maksim Gamarnik
5957cd3ca1 Merge pull request #28 from sfan5/pull1
Allow looking around while digging
2016-10-17 00:58:34 +03:00
sfan5
3670de4c0c Allow looking around while digging (Android with touchtarget=false)
Due to the check for m_move_sent_as_mouse_event, which is used
to distinguish between input for camera movement and input for
node selection, the shootline code was being executed despite
the result not being used with touchtarget=false.
2016-10-16 23:56:59 +02:00
Maksim Gamarnik
f6322dcc0b Back LevelDB 2016-10-17 00:42:56 +03:00
Maksim Gamarnik
4cec845b2c Update mini-gmp to 6.1.1 2016-10-16 22:27:21 +03:00
Maksim Gamarnik
de3ea028b3 ver. 1.1.6 2016-10-16 22:23:15 +03:00
ShadowNinja
2ff054d041 Enable mod security by default 2016-10-16 01:14:54 +01:00
red-001
c31e354342 Builtin/../chatcommands: Add /grantme command 2016-10-16 01:13:50 +01:00
Rogier
4b17105dc4 Emergeblocks: Fix occasional crash
Modification of the emergeblocks internal state was not protected
by a lock, causing a race condition.
This can be reproduced by repeatedly running emergeblocks for an
already-generated section of the map (with multiple emerge threads).
2016-10-16 01:13:16 +01:00
Tim
adad6e0a1c Travis: Only trigger a compile, when C/C++ related files were touched (#4284) 2016-10-15 17:59:23 +02:00
sfan5
9a3129da5e Make documentation about ItemStack:set_{name,count,wear} clearer
These methods do not actually fail but instead clear the item stack
	and return false if a value like e.g. "" is passed.
2016-10-15 12:42:59 +02:00
tenplus1
a468acce2c Builtin/../falling.lua: Code optimisation 2016-10-14 02:12:32 +01:00
Lars Hofhansl
0ad40fd484 Use range-based fog instead of z-plane based. 2016-10-13 23:30:15 +02:00
raymoo
c9e7a27eeb Attached particle spawners 2016-10-13 17:33:16 +02:00
sfan5
0b27a70b29 Don't use unordered maps for ProfilerGraph (fixes flickering) 2016-10-12 18:42:18 +02:00
red-001
4f684b589d Add a button for disabling all mods to world config. (#3900) 2016-10-12 03:11:38 +10:00
SmallJoker
b6569f1c69 Add missing languages to the settings 2016-10-11 07:32:47 +02:00
Rogier
a4a9ee94f3 Disable cmake message concerning WIN32 on non-windows systems 2016-10-11 07:29:04 +02:00
Loic Blot
1b450861f0 A little cleanup since previous commit 2016-10-09 16:31:43 +02:00
Loic Blot
70f104be07 Environment cleanup
* Move client list to ServerEnvironment and use RemotePlayer members instead of Player
* ClientEnvironment only use setLocalPlayer to specify the current player
* Remove ClientEnvironment dead code on player list (in fact other players are CAO not Player objects)
* Drop LocalPlayer::getPlayer(xxx) functions which aren't used.
* Improve a little bit performance by using const ref list for ClientEnvironment::getPlayerNames() & Client::getConnectedPlayerNames()
* Drop isLocal() function from (Local)Player which is not needed anymore because of previous changes

This change permits to cleanup shared client list which is very old code.
ClientEnvironment doesn't use player list anymore, it only contains the local player, as addPlayer is only called from Client constructor client side.
Clients are only CAO on client side, this cleanup permit to remove confusion about player list.
2016-10-09 15:17:10 +02:00
Rui
b3fc133442 Remove unused parameter of GUIVolumeChange 2016-10-09 10:35:51 +02:00
Loic Blot
569b89b36f Move RemotePlayer code to its own cpp/header 2016-10-08 22:27:44 +02:00
Loic Blot
7bbd716426 RemotePlayer/LocalPlayer Player base class proper separation (code cleanup) (patch 3 of X)
* remove IGameDef from Player class, only LocalPlayer has it now
* move many attributes/functions only used by LocalPlayer from Player to LocalPlayer
* move many attributes/functions only used by RemotePlayer from Player to RemotePlayer
* make some functions const
* hudGetHotbarSelectedImage now returns const ref
* RemotePlayer getHotbarSelectedImage now returns const ref
* various code style fixes
2016-10-08 22:27:44 +02:00