rubenwardy
0bcc2f33eb
Add check to pause game on lost window focus
2017-12-26 21:53:45 +00:00
Dániel Juhász
2153965cf9
Line_of_sight: Improve using VoxelLineIterator
...
This commit rewrites line_of_sight with VoxelLineIterator.
Stepsize is no longer needed, the results will be always accurate.
2017-12-26 21:51:32 +00:00
sofar
ca64f564cd
Wireshark plugin: Complete all commands. ( #6841 )
...
This still leaves plenty of data undecoded, but just having the packet
types all covered 100% for 0.4.16 will make looking at traces a lot
simpler than seeing half the packets show up as unknown.
2017-12-26 14:06:31 +01:00
number Zero
189daf87a0
Fix dancing text
2017-12-25 15:00:50 +01:00
Rob Blanckaert
787cd15c14
- Clear colors when reading property info.
...
- Set vertex colors on upright_sprites.
2017-12-25 15:00:25 +01:00
nOOb3167
8037eda42c
Fix error if setting menu_last_game is not a valid game
2017-12-22 10:39:51 +00:00
nOOb3167
7354d0f3d8
Fix undefined behaviour on getting pointer to data in empty vector
...
`&vector[0]` is undefined if vector.empty(), causing build failure on MSVC
2017-12-22 10:39:25 +00:00
Vitaliy
257626ceed
Fix wrong scrolling ( #6809 )
2017-12-21 20:58:06 +01:00
Paramat
d04c41ad80
Vector functions: Fix vector.direction() function, improve documentation ( #6801 )
...
vector.direction() now returns a normalised vector with direction p1 to p2.
2017-12-21 20:57:42 +01:00
Jordan Irwin
18b921015a
Allow 'default' parameter in 'settings:get_bool' function
...
Default value is used when the setting key is not found in the config
file. If default value is not set, 'nil' is returned.
#6188
2017-12-17 15:27:37 +00:00
Ezhh
26c7e98e3d
Adjust default console height
...
#6797
2017-12-17 04:38:54 +00:00
Ezhh
649eef9e4f
Give subgames the ability to disallow specific mapgens ( #6792 )
2017-12-16 17:02:08 +01:00
Vitaliy
770eb09adc
Fix items turning black ( #6780 )
2017-12-16 17:01:37 +01:00
Tre
fd71a7c163
Change Normal Map setting to be less ambigous
2017-12-16 04:05:36 +00:00
paramat
f1d2bc0965
Zoom: Add 'disabled by game or mod' message
2017-12-14 20:59:54 +00:00
paramat
8a99c8c94a
Minimap messages: Improve 'disabled by server' message
2017-12-14 20:59:54 +00:00
ashtrayoz
abd8a30c05
Add callback to preserve node metadata as item metadata
2017-12-14 20:54:04 +00:00
SmallJoker
6e5109fd46
Chat: Remove prompt history duplicates ( #6762 )
2017-12-14 19:47:29 +01:00
adrido
551c12391a
directiontables: Fix MSVC compiler error ( #6785 )
2017-12-14 19:46:42 +01:00
Vitaliy
2d9f0d344e
Update light decoding table size ( #6696 )
...
Fix old undiminish_light bug
2017-12-12 19:29:55 +01:00
SmallJoker
b19241b9bc
Builtin: Fix handle_node_drops crash with nil digger
2017-12-12 19:19:04 +01:00
Loïc Blot
308bb69eef
CSM fixes: load mods after flavours & add flavour to block mod loading ( #6738 )
...
* CSM fixes: load mods after flavours & add flavour to block mod loading
* Don't permit to load mods twice
* Prepare builtin integrity global algorithm
* Add missing doc & use a nicer byteflag for LOAD_CLIENT_MODS flavour
* flag typo fix
* Invert CSM_FL_LOOKUP_NODES & CSM_FL_LOAD_CLIENT_MODS ids
2017-12-11 17:33:44 +01:00
ashtrayoz
02cc257fe0
Lua_api.txt: Fix a spelling error
2017-12-10 14:30:37 +00:00
ThomasMonroe314
419799b831
F5 debug info: Add colons, use lowercase except for FPS and RTT
2017-12-10 14:24:28 +00:00
SmallJoker
03caa1e319
Damage: Remove damage ignore timer
2017-12-10 14:23:45 +00:00
adrido
d677f292cc
Use std::vector instead of dynamic C-Array ( #6744 )
2017-12-10 09:07:24 +01:00
Paramat
da298a26ff
Pointed thing to face pos: Use 'eye height' object property ( #6754 )
2017-12-09 14:30:26 +01:00
Lars Hofhansl
9c669016d1
Add an active object step time budget #6721
...
This can be set via the active_object_interval option.
2017-12-06 12:21:54 -08:00
you
e049405fdc
Add coloured logs ( #4549 )
...
The setting log_colour can be used to en-/disable or autodetect it.
2017-12-06 18:50:39 +01:00
sfan5
4edf087090
Auth handler: Player deletion & Iterator ( #6741 )
...
* Add player deletion method to auth handler (fixes #6653 )
* Support iterating over the auth database
There was no way to do this previously and a recent commit
broke doing this the "hacky" way by accessing `core.auth_table`.
2017-12-06 17:32:49 +01:00
Luis Cáceres
2b5341c518
Ensure no item stack is being held before crafting ( #4779 )
2017-12-06 17:32:05 +01:00
Lars Hofhansl
fd9f195fcc
Use Irrlicht's mesh cache for animated meshes.
...
Fixes #6676 .
Allow animated meshes to be cached in Irrlicht's builtin mesh cache.
Use Material.EmmissiveColor instead of manipulating the mesh' vertex colors.
2017-12-04 22:29:11 -08:00
paramat
f470cb7270
Zoom: Set zoom FOV per-player using a player object property
...
Remove player object property 'can zoom'.
Add player object property 'zoom fov'.
Remove clientside setting for 'zoom fov'.
Object property default is 15 degrees in creative mode, zoom disabled
in survival mode.
Needed due to zoom now loading and/or generating distant world
according to zoom FOV.
Update object properties serialisation version to 3.
2017-12-04 02:25:10 +00:00
stujones11
2507d32afe
Android: Update build system for ndk-r15x
...
Add workarounds for ndk-r16.
2017-12-04 02:20:32 +00:00
Lars Hofhansl
2174298ffa
Document extended meaning of active_object_send_range_blocks setting.
2017-12-03 17:56:39 -08:00
Lars Hofhansl
5a03b1f5f9
Optionally extend the active object in a players camera direction.
...
See #6667
By setting active_object_send_range_blocks > active_block_range a server admin
can allow clients to retrieve active objects futher out from the player at
relatively low cost to the server
(only objects in the players' view cone are considered).
2017-12-03 17:52:05 -08:00
raymoo
83b12ed481
Shut down mapgen threads before other shutdown tasks ( #6689 )
...
Solves some issues with ModStorage functionality in mapgen threads
that occurred when mapgen threads continued to run after the main
server thread had stopped. Also shuts down mapgen threads before
shutdown callbacks are called.
2017-12-03 10:28:35 +01:00
sfan5
ab947bd582
Update documentation regarding authentication handler and related functions
...
Properly document it instead of referencing the builtin handler as
authoritative "example" code.
Also adds definition of get_auth_handler() which was missing previously.
2017-12-01 09:30:03 +01:00
sfan5
36838ea22f
Make core.auth_table private and structure builtin/auth.lua
...
If you give modders the ability to do something, they will...
2017-12-01 09:30:03 +01:00
ezhh
6efb453cdb
Lua_api.txt: Remove MT version, fix spelling and clean up
...
Removes references to MT version in intro section.
Update bump_version.sh to no longer manage version information.
2017-12-01 05:43:30 +00:00
SmallJoker
089f594582
CAO/SAO: Nicer velocity-controlled, interpolated rotation property:
...
'automatic_face_movement_max_rotation_per_sec'.
Rotate towards the smaller angle.
2017-12-01 05:36:49 +00:00
Lars Hofhansl
f4fedfed07
Turn off verbose info message introduced accidentally with ae9b1aa
2017-11-29 22:55:37 -08:00
Bluebird
8b1a844e69
Fix spelling mistakes in client_lua_api.txt
2017-11-29 02:24:40 +00:00
paramat
18b914ac74
Client lua api documentation: .md -> .txt
...
For consistency, and for much improved access on Github.
On Github:
.md disables being able to link to a line, needed daily when
quickly referring people to particular lines.
Search returns results in .md files, but you cannot then click
the line number to go to that line in the document, making searching
difficult.
Line numbers are not displayed for .md documents.
2017-11-28 23:45:57 +00:00
ezhh
b312ab4455
Fix lua_api.txt indentation issues
2017-11-28 23:45:51 +00:00
Ezhh
c0dd4ea46a
Fix documentation formatting for on_death callback
2017-11-28 00:38:35 +00:00
paramat
ea1ae07beb
F5 Debug info: More compact, return to 2 lines
...
All data fits on width 960, most useful data still visible on width 800.
2017-11-27 01:28:47 +00:00
sfan5
813d819d15
Hint at problematic code when logging deprecated calls
2017-11-27 01:28:39 +00:00
paramat
03c11a73d8
Light curve: Add and tune mid boost gaussian
...
Create a closer match to the light curve of 0.4.16 stable.
Results in darker shadows while maintaining the 'brightness' and light
spread.
2017-11-27 01:28:29 +00:00
Ezhh
76eb3f2b7a
Improve documentation for player:set_attribute()
2017-11-25 23:18:50 +00:00