minetest/src
Paramat 7e21cec55b
Damage flash/hurt tilt: Make shorter to reduce player blindness (#7399)
Damage flash is shortened from 0.98-1.27s to 0.25s-0.33s to reduce
player in-game blindness, especially useful for combat situations.
It is also visually more comfortable.
Camera hurt tilt is made slightly shorter to match in duration.

Both flash and camera tilt are now of similar length to a typical
damage sound, such as the one used by Minetest Game which is 0.27s.
The 3 effects become more synchronised and unified.
2018-08-29 22:00:49 +01:00
..
client Some minor Fastface optimizations. (#7628) 2018-08-08 15:53:06 +02:00
content Add protocol_version and supported package types to ContentDB urls 2018-07-29 00:26:03 +01:00
database Replace auth.txt with SQLite auth database (#7279) 2018-08-05 13:13:38 +02:00
gui Formspecs: Fix invalid background warning 2018-08-20 13:56:16 +01:00
irrlicht_changes Fix debug and info text being the wrong color 2018-08-05 23:16:05 +01:00
mapgen Change mapgen order to ores > dungeons > decorations (#7656) 2018-08-20 18:24:53 +01:00
network Add protocol_version and supported package types to ContentDB urls 2018-07-29 00:26:03 +01:00
script Raycast: export exact pointing location (#6304) 2018-08-16 20:10:08 +02:00
server Revert 6587 - Optimize entity-entity collision (#7539) 2018-07-08 21:30:55 +01:00
threading Fix 5 issues reported by PVS studio 2018-04-04 08:40:31 +02:00
unittest Replace auth.txt with SQLite auth database (#7279) 2018-08-05 13:13:38 +02:00
util Raycast: export exact pointing location (#6304) 2018-08-16 20:10:08 +02:00
CMakeLists.txt Set OpenGL preference to GLVND 2018-08-18 14:23:41 -04:00
activeobject.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
ban.cpp Add unittests on ActiveObject and BanManager class (#6866) 2018-01-01 18:48:52 +01:00
ban.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
camera.cpp FOV: Raise lower limit to avoid zoom-loading of distant world (#7234) 2018-04-15 21:56:05 +01:00
camera.h Zoom: Set zoom FOV per-player using a player object property 2017-12-04 02:25:10 +00:00
chat.cpp Fix last performance-type-promotion-in-math-fn problems 2018-04-04 07:42:40 +02:00
chat.h Fix last performance-type-promotion-in-math-fn problems 2018-04-04 07:42:40 +02:00
chat_interface.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
chatmessage.h Travis: Update clang from 4.0 to 5.0 (#6467) 2017-10-09 11:32:06 +02:00
client.cpp Fix small memory leaks in client. (#7492) 2018-06-27 17:06:37 +02:00
client.h Rename CSM flavours to restrictions 2018-06-26 15:38:42 +02:00
clientenvironment.cpp Make player liquid speed independent of FPS (#7543) 2018-07-14 18:41:26 +01:00
clientenvironment.h Drop ClientEvent CEE_PLAYER_BREATH: triggering function is not called. 2018-07-01 13:47:57 +02:00
clientiface.cpp Reduce block load glitches 2018-07-12 00:54:00 -07:00
clientiface.h Check node updates whether the blocks are known (#7568) 2018-08-16 20:10:34 +02:00
clientmap.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
clientmap.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
clientmedia.cpp clientmap, clientmedia: code modernization 2017-08-17 08:26:52 +02:00
clientmedia.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
clientobject.cpp clientobject, clouds, collision, clientsimpleobject: code modernization (#6260) 2017-08-17 20:23:54 +02:00
clientobject.h Prevent objects from colliding with own child attachments (#7610) 2018-08-05 21:28:41 +01:00
clientsimpleobject.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
cloudparams.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
clouds.cpp Modernize code: very last fixes (#6290) 2017-08-20 19:37:29 +02:00
clouds.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
cmake_config.h.in C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
cmake_config_githash.h.in C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
collision.cpp Prevent objects from colliding with own child attachments (#7610) 2018-08-05 21:28:41 +01:00
collision.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
config.h Update version correctly again (#6462) 2017-09-26 20:30:42 +02:00
constants.h Customizeable max breath for players (#6411) 2017-09-15 12:18:47 +02:00
content_cao.cpp Smoothed yaw rotation for objects (#6825) 2018-08-02 23:25:37 +01:00
content_cao.h Prevent objects from colliding with own child attachments (#7610) 2018-08-05 21:28:41 +01:00
content_cso.cpp Modernize src/c* src/d* and src/e* files (#6263) 2017-08-17 23:02:50 +02:00
content_cso.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
content_mapblock.cpp Update mesh collector and move it to a separate file (#6904) 2018-03-22 20:59:49 +01:00
content_mapblock.h Fix node-nodebox lighting difference in direct sunlight (#7061) 2018-03-17 10:10:16 +01:00
content_mapnode.cpp Modernize src/c* src/d* and src/e* files (#6263) 2017-08-17 23:02:50 +02:00
content_mapnode.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
content_nodemeta.cpp C++11 patchset 9: move hardcoded init parameters to class definitions (part 1) (#5984) 2017-06-16 11:25:52 +02:00
content_nodemeta.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
content_sao.cpp Prevent objects from colliding with own child attachments (#7610) 2018-08-05 21:28:41 +01:00
content_sao.h Prevent objects from colliding with own child attachments (#7610) 2018-08-05 21:28:41 +01:00
convert_json.cpp Add online content repository 2018-04-19 20:14:53 +01:00
convert_json.h Update JsonCPP to 1.8.3 (#6466) 2017-09-26 20:30:14 +02:00
craftdef.cpp Don't try to craft a non-existent item 2017-10-16 10:13:45 +02:00
craftdef.h Modernize src/c* src/d* and src/e* files (#6263) 2017-08-17 23:02:50 +02:00
daynightratio.h Modernize src/c* src/d* and src/e* files (#6263) 2017-08-17 23:02:50 +02:00
debug.cpp Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
debug.h Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
defaultsettings.cpp Update Android defaults for modern H/W. (#7572) 2018-07-22 11:16:32 +02:00
defaultsettings.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
emerge.cpp Fix crash caused by Lua error during startup (#7473) 2018-06-22 21:04:41 +02:00
emerge.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
environment.cpp Raycast: export exact pointing location (#6304) 2018-08-16 20:10:08 +02:00
environment.h Revert "Add an active object step time budget #6721" 2018-01-12 23:47:39 -08:00
event.h event.h: Fix import GCC warning caused by ce87310 2018-03-31 14:33:54 +02:00
exceptions.h Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
face_position_cache.cpp Modernize various files 2017-08-18 07:44:52 +02:00
face_position_cache.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
filecache.cpp Modernize various files 2017-08-18 07:44:52 +02:00
filecache.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
filesys.cpp Really delete things in fs::RecursiveDelete (#7433) 2018-08-18 11:00:06 +02:00
filesys.h Load files from subfolders in texturepacks 2017-11-17 19:23:08 +00:00
fontengine.cpp Fix last performance-type-promotion-in-math-fn problems 2018-04-04 07:42:40 +02:00
fontengine.h Modernize various files 2017-08-18 07:44:52 +02:00
game.cpp Damage flash/hurt tilt: Make shorter to reduce player blindness (#7399) 2018-08-29 22:00:49 +01:00
game.h GameUI refactor (part 3/X): Move Game::guitext2, Game::guitext_info, Game::infotext to GameUI class 2018-01-05 20:59:30 +01:00
gamedef.h Client eventmanager refactor (#7179) 2018-03-30 18:32:52 +02:00
gameparams.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
genericobject.cpp Fix animation frame_speed and blend loosing precision due to incorrec… (#6357) 2017-09-01 11:15:12 +02:00
genericobject.h Fix animation frame_speed and blend loosing precision due to incorrec… (#6357) 2017-09-01 11:15:12 +02:00
gettext.cpp Modernize various files 2017-08-18 07:44:52 +02:00
gettext.h Fix segfault caused by wrong wgettext() 2018-04-09 16:25:57 +02:00
gettime.h Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
guiscalingfilter.cpp Add a MSVC / Windows compatible snprintf function (#7353) 2018-07-22 21:56:06 +02:00
guiscalingfilter.h Modernize various files (part 2) 2017-08-18 08:07:59 +02:00
httpfetch.cpp Add online content repository 2018-04-19 20:14:53 +01:00
httpfetch.h Travis: Update clang from 4.0 to 5.0 (#6467) 2017-10-09 11:32:06 +02:00
hud.cpp Fix last clang-tidy reported problems for performance-type-promotion-in-math-fn 2018-04-03 23:05:22 +02:00
hud.h [CSM] Add basic HUD manipulation. (#6067) 2018-01-20 14:09:58 +01:00
imagefilters.cpp Modernize various files (part 2) 2017-08-18 08:07:59 +02:00
imagefilters.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
inventory.cpp Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
inventory.h Allow overriding tool capabilities through itemstack metadata 2017-10-29 11:57:38 +00:00
inventorymanager.cpp 'fix' LINT, use InventoryLocation== 2018-04-02 17:18:48 +02:00
inventorymanager.h Run callback in IDropAction, refactor function arguments 2018-04-02 17:18:48 +02:00
irr_aabb3d.h Revert 6587 - Optimize entity-entity collision (#7539) 2018-07-08 21:30:55 +01:00
irr_v2d.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irr_v3d.h Revert 6587 - Optimize entity-entity collision (#7539) 2018-07-08 21:30:55 +01:00
irrlichttypes.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irrlichttypes_bloated.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irrlichttypes_extrabloated.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
itemdef.cpp Bump minimal protocol version to 36 (#6319) 2017-08-29 19:26:55 +02:00
itemdef.h Overlays for wield and inventory images (#6107) 2017-08-25 13:20:53 +02:00
itemgroup.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
itemstackmetadata.cpp Add player:get_meta(), deprecate player attributes (#7202) 2018-04-06 10:52:29 +02:00
itemstackmetadata.h Add player:get_meta(), deprecate player attributes (#7202) 2018-04-06 10:52:29 +02:00
keycode.cpp Rename some keys for clarity (#7384) 2018-05-29 18:39:37 +02:00
keycode.h Modernize various files (src/k*, src/l*) 2017-08-18 08:21:01 +02:00
light.cpp Update light decoding table size (#6696) 2017-12-12 19:29:55 +01:00
light.h Cleanup in flat lighting (#7051) 2018-03-03 10:58:45 +01:00
localplayer.cpp PlayerSettings struct for player movement code (#7243) 2018-04-18 20:56:01 +02:00
localplayer.h Slippery: Simplify, make more efficient (#7086) 2018-03-03 10:59:14 +01:00
log.cpp Fix missing warningstream (or similar problem) (#7034) 2018-03-04 17:34:36 +01:00
log.h Fix missing warningstream (or similar problem) (#7034) 2018-03-04 17:34:36 +01:00
main.cpp Save debug.txt to build dir for RUN_IN_PLACE build (#7615) 2018-08-15 11:36:40 +02:00
map.cpp Allow an optional readonly base database (#7544) 2018-07-25 17:54:23 +02:00
map.h Check node updates whether the blocks are known (#7568) 2018-08-16 20:10:34 +02:00
map_settings_manager.cpp Move files to subdirectories (#6599) 2017-11-08 23:56:20 +01:00
map_settings_manager.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
mapblock.cpp Add a MSVC / Windows compatible snprintf function (#7353) 2018-07-22 21:56:06 +02:00
mapblock.h Optimize ABM checks. 2018-07-21 03:09:39 -07:00
mapblock_mesh.cpp Some minor Fastface optimizations. (#7628) 2018-08-08 15:53:06 +02:00
mapblock_mesh.h Some minor Fastface optimizations. (#7628) 2018-08-08 15:53:06 +02:00
mapnode.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
mapnode.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
mapsector.cpp ServerMap saving: cleanups (#6274) 2017-08-19 11:29:46 +02:00
mapsector.h ServerMap saving: cleanups (#6274) 2017-08-19 11:29:46 +02:00
mesh.cpp Use Irrlicht's mesh cache for animated meshes. 2017-12-04 22:29:11 -08:00
mesh.h Use Irrlicht's mesh cache for animated meshes. 2017-12-04 22:29:11 -08:00
mesh_generator_thread.cpp Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
mesh_generator_thread.h Code modernization: src/m* (part 3) 2017-08-19 09:29:55 +02:00
metadata.cpp Add player:get_meta(), deprecate player attributes (#7202) 2018-04-06 10:52:29 +02:00
metadata.h Add player:get_meta(), deprecate player attributes (#7202) 2018-04-06 10:52:29 +02:00
minimap.cpp Player marker on both minimaps (#7350) 2018-05-18 22:45:14 +02:00
minimap.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
modchannels.cpp Add session_t typedef + remove unused functions (#6470) 2017-09-27 19:47:36 +02:00
modchannels.h Add session_t typedef + remove unused functions (#6470) 2017-09-27 19:47:36 +02:00
modifiedstate.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
nameidmapping.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
nameidmapping.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
nodedef.cpp Fix missing ignore textures (#7326) 2018-05-20 14:51:50 +02:00
nodedef.h nodedef: Delete two unused method definitions (#7288) 2018-04-30 19:15:11 +02:00
nodemetadata.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
nodemetadata.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
nodetimer.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
nodetimer.h Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
noise.cpp Fix more clang-tidy reported problems for performance-type-promotion-in-math-fn 2018-04-03 21:58:29 +02:00
noise.h Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
objdef.cpp Fix Windows build, clean up included headers 2015-05-22 20:37:59 +02:00
objdef.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
object_properties.cpp Optional alpha channel support for entities 2018-03-29 14:53:12 +01:00
object_properties.h Optional alpha channel support for entities 2018-03-29 14:53:12 +01:00
particles.cpp Fix last performance-type-promotion-in-math-fn problems 2018-04-04 07:42:40 +02:00
particles.h [CSM] Add functions to create particles and particlespawners. (#6072) 2018-01-20 23:31:53 +01:00
pathfinder.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
pathfinder.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
player.cpp Fix rtt >= 0.0f assertion and free_move crash 2018-06-24 14:48:19 +02:00
player.h Fix rtt >= 0.0f assertion and free_move crash 2018-06-24 14:48:19 +02:00
porting.cpp Add a MSVC / Windows compatible snprintf function (#7353) 2018-07-22 21:56:06 +02:00
porting.h Add a MSVC / Windows compatible snprintf function (#7353) 2018-07-22 21:56:06 +02:00
porting_android.cpp Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
porting_android.h Android build fixes for c++11 2018-03-11 16:56:27 +01:00
profiler.cpp Travis: Update clang from 4.0 to 5.0 (#6467) 2017-10-09 11:32:06 +02:00
profiler.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
quicktune.cpp Use C++11 mutexes only (remove compat code) (#5922) 2017-06-06 16:29:28 +02:00
quicktune.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
quicktune_shortcutter.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
raycast.cpp Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
raycast.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
reflowscan.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
reflowscan.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
remoteplayer.cpp Fix builtin inventory list crash when size = 0 (#7297) 2018-05-05 22:37:07 +02:00
remoteplayer.h Cleanup: drop Server::hudGetHotbarImage() 2018-03-08 23:00:17 +01:00
rollback.cpp Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
rollback.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
rollback_interface.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
rollback_interface.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
serialization.cpp compressZlib: don't use a SharedBuffer but a raw u8 * pointer 2017-07-27 07:56:48 +02:00
serialization.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
server.cpp Check node updates whether the blocks are known (#7568) 2018-08-16 20:10:34 +02:00
server.h Check node updates whether the blocks are known (#7568) 2018-08-16 20:10:34 +02:00
serverenvironment.cpp Replace auth.txt with SQLite auth database (#7279) 2018-08-05 13:13:38 +02:00
serverenvironment.h Replace auth.txt with SQLite auth database (#7279) 2018-08-05 13:13:38 +02:00
serverlist.cpp Update JsonCPP to 1.8.3 (#6466) 2017-09-26 20:30:14 +02:00
serverlist.h Add online content repository 2018-04-19 20:14:53 +01:00
serverobject.cpp Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
serverobject.h Prevent objects from colliding with own child attachments (#7610) 2018-08-05 21:28:41 +01:00
settings.cpp Fix issue Minetest crash when custom font path is not exist 2017-11-08 16:14:00 +01:00
settings.h Fix issue Minetest crash when custom font path is not exist 2017-11-08 16:14:00 +01:00
settings_translation_file.cpp Settings: Fix indents, chat_message_*. Update translations (#7580) 2018-07-25 17:07:11 +01:00
shader.cpp Modernize code: very last fixes (#6290) 2017-08-20 19:37:29 +02:00
shader.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
sky.cpp Fix sky objects not rendering with ogles (#7598) 2018-08-04 18:46:39 +01:00
sky.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
sound.h Cleanup sound manager class (#7158) 2018-03-24 15:45:25 +01:00
staticobject.cpp ServerEnvironment & StaticObject cleanups 2018-03-09 23:27:26 +01:00
staticobject.h ServerEnvironment & StaticObject cleanups 2018-03-09 23:27:26 +01:00
terminal_chat_console.cpp Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
terminal_chat_console.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
tileanimation.cpp Bump minimal protocol version to 36 (#6319) 2017-08-29 19:26:55 +02:00
tileanimation.h Bump minimal protocol version to 36 (#6319) 2017-08-29 19:26:55 +02:00
tool.cpp Tool.cpp/.h, lua_api/l_util.cpp: Tidy up code and remove dead code 2018-01-03 04:01:15 +00:00
tool.h Tool.cpp/.h, lua_api/l_util.cpp: Tidy up code and remove dead code 2018-01-03 04:01:15 +00:00
translation.cpp Fix a -Wcatch-value warning reported by GCC 8.1 2018-05-28 14:17:19 +02:00
translation.h Add clientside translations. 2017-08-24 17:54:10 +02:00
version.cpp Update version correctly again (#6462) 2017-09-26 20:30:42 +02:00
version.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
voxel.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
voxel.h VoxelArea: add_{x,y,z,p} must be static 2018-03-09 23:27:26 +01:00
voxelalgorithms.cpp Fix typo in lighting code since bcdb3d5 2018-03-10 09:37:43 +01:00
voxelalgorithms.h Remove unused light updating code 2018-02-04 03:16:45 +00:00
wieldmesh.cpp Global new() or grab() to be managed in constuctor only (#7235 partial) (#7236) 2018-04-30 19:14:28 +02:00
wieldmesh.h Real global textures (#6105) 2017-10-15 09:34:14 +02:00