7030 Commits

Author SHA1 Message Date
ashtrayoz
35f2bcf9d4 Add callback to preserve node metadata as item metadata 2019-03-06 14:26:17 +13:00
SmallJoker
2cf9d39184 core.spawn_falling_node: Keep metadata (#7476) 2019-03-06 14:24:05 +13:00
zaoqi
5bc6b0f331 Add minetest.spawn_falling_node(pos) (#5339)
* Add minetest.spawn_falling_node(pos)

* lua_api.txt: Add minetest.spawn_falling_node(pos)

* Update minetest.spawn_falling_node(pos)
2019-03-06 14:23:56 +13:00
Auke Kok
27b33013b0 Sounds: Add falling node sounds
Falling nodes should make a sound. This can only be done here,
so for simplicity we just call the sound_play() here with the node
place sound. We ignore any gain value in the sound spec since a
falling node should be loud, so the 1.0 default gain makes sense
here.
2019-03-06 14:22:12 +13:00
SmallJoker
65c3fc3c9b Builtin: Replace deprecated function calls (#7561) 2019-03-06 14:21:39 +13:00
Benjamin Lindley
e47243c002 Replace for loop with call to standard library function (#8194)
This loop makes multiple passes over m_stack (type std::list) in order to remove all elements with a specified value. Replacing the loop with a call to std::list::remove does the same job, but in only one pass.
2019-03-06 14:19:57 +13:00
rubenwardy
f53b9d7ee9 Hide uninstall package button on unmodifiable paths (#8255) 2019-03-06 14:19:37 +13:00
SmallJoker
1f2263062c Menu content tab: Fix clipped description and missing depends (#7703) 2019-03-06 14:19:25 +13:00
Paramat
8d722fed10 Content tab: Fix clipped text in texture pack button (#7667)
Wider buttons to not clip 'Disable Texture Pack' text when using a
small game window (1024x600, the default).
2019-03-06 14:19:10 +13:00
luk3yx
c983282c90 Fix version 2019-03-06 14:15:36 +13:00
luk3yx
21124eccc3 Bump version to 0.4.18.5 2019-03-06 14:15:13 +13:00
luk3yx
ae91f61a1c Release 0.4.18.4 2019-02-22 17:55:02 +13:00
SmallJoker
6340e66630 Formspecs: Unify textarea and field parsing functions, fix wrong fallback text
* textarea[], field[]: Unify function, fix wrong fallback text
* Remove apparently superflous mainmenumanager.h incldue
* intlGUIEditBox.cpp: make read-only boxes really read-only
* Use elseif (trivial)
2019-02-22 17:53:06 +13:00
luk3yx
0d4512603e Update README.md 2019-02-22 11:39:03 +13:00
luk3yx
8f2943204f Change the credits URL to https://edgy1.net/mt4 2019-02-22 11:32:33 +13:00
rubenwardy
0b6a7a14ea Content store: ignore _game in game names in ID generation
Fixes #8269
2019-02-22 11:12:19 +13:00
luk3yx
51b8ec1151 Use minetest_game stable-0.4 on Windows builds. 2019-02-21 15:28:54 +13:00
luk3yx
afeb6afaf0 Attempt to fix builds
• Ubuntu 18.04 builds
 • Use HTTPS in Windows build scripts
 • Use the correct repo for Windows build scripts
2019-02-21 14:56:48 +13:00
Paul Ouellette
18931c0df9 Update gamebar on tab enter (#8192) 2019-02-21 14:52:28 +13:00
rubenwardy
29a4b1f97a Fix games not updating on deletion
As reported by @random-geek
2019-02-19 08:14:33 +13:00
Paul Ouellette
e92a4b1b36 Fix content store crash (#8244) 2019-02-19 08:14:24 +13:00
nanoproject
26c7c10507 Player marker on both minimaps (#7350) 2019-02-18 09:05:57 +13:00
Loïc Blot
2dfe9bca06 Some performance optimizations (#5424)
* Some performance optimizations

This is globally removing some memory useless copy

* use a const ref return on std::string Settings::get to prevent data copy on getters which doesn't need to copy it
 * pass some stack created strings to static const as they are not modified anywhere
 * Camera: return nametags per const ref instead of a list pointer, we only need to read it
 * INodeDefManager: getAll should be a result ref writer instead of a return copy
 * INodeDefManager: getAlias should return a const std::string ref
 * Minimap: unroll a Scolor creation in blitMinimapPixersToImageRadar to prvent many variable construct/destruct which are unneeded (we rewrite the content in the loop)
 * CNodeDefManager::updateAliases: prevent a idef getall copy
 * Profiler: constness
 * rollback_interface: create real_name later, and use const ref
 * MapBlockMesh updateFastFaceRow: unroll TileSpec next_tile, which has a cost of 1.8% CPU due to variable allocation/destruction,
 * MapBlockMesh updateFastFaceRow: copy next_tile to tile only if it's a different tilespec
 * MapBlockMesh updateFastFaceRow: use memcpy to copy next_lights to lights to do it in a single cpu operation
2019-02-18 09:05:42 +13:00
luk3yx
426cf2300e Bump version to 0.4.18.4-dev 2019-02-18 08:54:16 +13:00
luk3yx
d548988ce0 Fix LICENSE.md
• Attribute menu_header.png and menu_overlay.md to Edgy1
2019-02-17 21:09:24 +13:00
luk3yx
59def45d81 Release 0.4.18.3 2019-02-17 20:38:14 +13:00
luk3yx
e48469f7d3 Add the main menu sound 2019-02-17 20:34:27 +13:00
luk3yx
31abddbe8e Bugfix 2019-02-17 20:19:19 +13:00
luk3yx
0e622511df Let make install copy /sounds as well 2019-02-17 20:18:26 +13:00
Loic Blot
27cd90a370 Fix warnings introduced by 9b8fa99fe30728c1fcfa73cdf74211841bdae9fb 2019-02-17 19:58:42 +13:00
luk3yx
7d92f57e49 Tweak background again 2019-02-17 19:56:03 +13:00
number Zero
7eaab18ab5 Minor changes for IrrLicht 1.9 support 2019-02-17 19:55:56 +13:00
luk3yx
0bf2403a3d Clean up menu_overlay.png 2019-02-17 19:29:17 +13:00
luk3yx
5e6112e6d2 Update logo and menu background (thanks Edgy1). 2019-02-17 17:05:45 +13:00
luk3yx
26ef53aa04 Fix menu images when RUN_IN_PLACE is false.
• This is a hacky workaround and should be replaced with a more permanent fix later.
2019-02-16 20:03:26 +13:00
luk3yx
8b64a82bc3 Another attempt to fix README.md in GitLab 2019-02-16 18:24:30 +13:00
luk3yx
5e4a80ab30 Fix README.md on GitLab 2019-02-16 18:21:16 +13:00
luk3yx
8eaaad4e1a Add logo to README.md 2019-02-16 18:19:32 +13:00
luk3yx
2f382ddee2 Bugfixes
• Fix more compilation errors.
 • Hacky workarounds to get content.minetest.net to send a 0.4-compatible mod list.
   · Send the maximum protocol version of 0 (instead of 33) to work around a bug(?) on content.minetest.net.
2019-02-16 17:34:26 +13:00
Paul Ouellette
f3dfce02e9 Fix pkgmgr game install with RUN_IN_PLACE=0 (#8113) 2019-02-16 16:23:49 +13:00
luk3yx
3743dac163 Fix another git cherry-pick conflict 2019-02-16 16:04:06 +13:00
rubenwardy
4a596638b7 Fix rename modpack dialog not appearing to take affect 2019-02-16 16:00:59 +13:00
rubenwardy
3e3ed681d5 pkgmgr: Fix games list not being updated after game install
Fixes #8074
2019-02-16 15:58:58 +13:00
Paul Ouellette
ff1b37fa5a Improve world configure menu (#7922)
Replace `Subgame mods` with <game name> mods.
Display game description on left instead of dependencies.
Fix double DIR_DELIM in some paths.
2019-02-16 15:57:39 +13:00
luk3yx
d2ab8c7d16 Grammar improvements
d6f2a1c4b8
2019-02-16 15:56:10 +13:00
you
3fc3dec353 Tidy up dlg_config_world.lua (#5351)
Move code to pkgmgr
2019-02-16 15:53:11 +13:00
SmallJoker
0d13f65ffd guiFormspecMenu: Allow fraction values for container[] (#7497)
Switch spacing and pos_offset to v2f32 for percision, add helper function
2019-02-16 15:27:16 +13:00
SmallJoker
1e688e3d59 Formspec: Fallback to 'label' in readonly textarea[]
Guarantees backwards compatibility for this formspec element change
2019-02-16 15:15:08 +13:00
adrido
697fe27668 Formspec: textarea with scrollbar improvements
Increase scrollrate depending on fontsize

Scroll on mousewheel

Allow scrolling and marking text on non writable textareas

Update lua api about readonly mode

Show scrollbar if text overflows
2019-02-16 15:14:58 +13:00
luk3yx
d7e17abfea Fix compilation errors 2019-02-16 15:00:00 +13:00