aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Mgv6: Don't create air gap in tundra at y = 48 in custom high terrainparamat2015-06-181-1/+1
|
* Don't print an error for valid listring[] formspecest312015-06-181-0/+1
|
* Make wrap_rows not wrap inside utf-8 multibyte sequencesest312015-06-172-2/+19
| | | | | | Also count multibyte sequences as "one" character. Adds unittest for the bug reporter's case. Fixes #2796.
* Fail iconv call gracefullyest312015-06-171-5/+24
| | | | No freezing when inbuf_size doesn't decrease over time.
* GUIFormSpecMenu::OnEvent code style update and small refactorest312015-06-161-86/+79
| | | | | | | | * Make method (more) consistent with current code stlye * Move index into loop constructor after @rubenwardy's suggestion * Cache inv_s->getList(s.listname), which removes a possibly bad scenario of inv_s being null. * Properly check for validity
* Add list-ringsest312015-06-163-10/+131
| | | | | | | Adds list-rings, a method to implement item sending between inventories via shift-click. Nice insider feature: a ring consisting of a single inventory list serves as nice clean-up method. Also adds them to minimal game, and the standard inventory. Craft output slots are not supported.
* Remove unneccessary space for tab completionNathaniel Olsen2015-06-161-2/+2
|
* Biome API: Enable biome generation to lower world limitparamat2015-06-155-20/+6
| | | | Decorations: Remove lower limit of water level for placement
* Ignore punches with no damage in the actionstreamSmallJoker2015-06-151-23/+18
|
* Automated whitespace error fix for last commitest312015-06-142-4/+4
|
* Improved parallax mapping. Generate heightmaps on the fly.RealBadAngel2015-06-146-134/+138
|
* Add UTF and other utility unit testsest312015-06-141-0/+25
|
* Android: bypass broken wide_to_utf8 with wide_to_narrowest312015-06-141-1/+8
| | | | | While utf8_to_wide works well, wide_to_utf8 is quite broken on android, for some reason.
* Use utf-8 in formspecsIlya Zhuravlev2015-06-134-85/+101
|
* Add utf-8 conversion utilities and re-add intlGUIEditBoxest312015-06-135-1/+1791
|
* Add minetest.register_on_player_hpchangeTeTpaAka2015-06-133-0/+26
|
* Add return list of individual counts to find_node_in_areaTeTpaAka2015-06-131-10/+19
|
* dofile error reporting for syntax errorsest312015-06-121-1/+2
| | | | | According to doc, dofile() raises an error when parsing failed due to syntax errors. Fixes #2775
* Minimal: Add snow biome and jungleleaves nodes. Add mapgen aliasesparamat2015-06-121-9/+2
| | | | Treegen: Remove alias checks from jungletree generation for speed
* Mgv5/mgv7: Trigger biome recalculation at underwater surfacesparamat2015-06-032-24/+38
|
* Fix uninitialized variable errorest312015-06-021-0/+5
| | | | | If you run minetest with valgrind, you'll quickly notice uninitialized jump depend error messages that point to s_base.cpp:131. This commit fixes those.
* Make split method staticest312015-06-011-11/+10
|
* Mapblock: nodecount refactorest312015-05-312-15/+10
| | | | | | | Spare direct multoplication, use constant MapBlock::nodecount instead of local nodecount variables. Also use strides at one place instead of multiplications.
* Only retrieve always_fly_fast setting onceSmallJoker2015-05-301-10/+8
|
* (Android) Only simulate holding down fast key if fast_move is toggled to trueCraig Robbins2015-05-291-5/+30
|
* Make get_biome_list() error message more helpfulkwolekr2015-05-281-3/+6
|
* Fix typo in variable nameKahrl2015-05-281-1/+1
|
* Add some missing getter functions to the lua APITeTpaAka2015-05-2816-6/+649
| | | | | | | | | | | | | | | | | | | | | | | ObjectRef: get_properties get_armor_groups get_animation get_attach get_bone_position Players: get_physics_override hud_get_hotbar_itemcount hud_get_hotbar_image hud_get_hotbar_selected_image get_sky get_day_night_ratio get_local_animation get_eye_offset Global: minetest.get_gen_notify minetest.get_noiseparams
* Consistent const string paramsest312015-05-271-2/+2
| | | | | Parent commit broke behaviour. Thanks @TeTpaAka for testing the fix.
* Spare some string copiesest312015-05-272-8/+8
|
* Mgv6: Enable snowbiomes by default. Double biome noise spread. 3 octaves, ↵paramat2015-05-263-4/+4
| | | | 0.5 persistence for humidity
* Small clientiface ASCII art improvementsest312015-05-241-6/+6
| | | | | | Use v arrows except where there is only one line between two boxes, and other improvements (Yea could use ↓ but its an ASCII art not an Unicode art).
* Biome API, mgv7: Increase heat/humidity spreads. Improve mgv7 noise parametersparamat2015-05-242-13/+13
|
* Mgv5/v7: Fix generateBiomes biome recalculation logic Biomegen down to y = ↵paramat2015-05-234-103/+118
| | | | -192 for mgv5 deep oceans. Improve code
* Fix Windows build, clean up included headersSmallJoker2015-05-223-7/+2
| | | | Also fix a startup error caused by s_security.cpp
* Deny empty username early in the protocolest312015-05-221-3/+5
| | | | Thanks to @UltimateNate for pointing this out :)
* Don't ignore nametag attribute change message for newer versionsest312015-05-211-11/+9
| | | | | This allows newer versions to add additional information that isn't read by us, but still in a backwards compatible manner.
* Replace instances of std::map<std::string, std::string> with StringMapkwolekr2015-05-1925-193/+180
| | | | | | Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
* Add texture overridingrubenwardy2015-05-194-5/+76
|
* Fix build with libstdc++kwolekr2015-05-191-0/+2
| | | | libstdc++ doesn't include <cstring> inside of <string>, unlike libc++.
* Split ObjDef/ObjDefManager out to objdef.cppkwolekr2015-05-1810-247/+297
|
* Lower log level for unexpected behaviourest312015-05-192-8/+8
| | | | | Its a possible mistake to log in to a server with twice the same name. Before, it triggered a server wide error message, now it logs to actionstream.
* Enforce hiding nametagest312015-05-181-0/+5
| | | | | Work around irrlicht bug and hide nametag if its alpha is set to 0. Thanks @TeTpaAka for pointing out workaround.
* Make nametags white againest312015-05-181-4/+6
| | | | | | | | Commit 11a96e4901ce54c4646e47866f7a66cd9034c16b commented out version parsing, resulting in the version byte being parsed as part of the color, making nametags dark grey. Re-introduces version parsing and ignores the packet if the version is more recent than ours, fixing the unused variable warning (should have been done anyway).
* Fix null dereference when loading schematic from definition without a ↵kwolekr2015-05-171-1/+2
| | | | NodeDefManager
* Record MapBlock modification reasons as flags instead of stringskwolekr2015-05-176-233/+286
| | | | | This improves performance of MapBlock::raiseModified by a factor of 6. Also, clean up mapblock.h a bit and inline small functions.
* SAPI/Noise: Add PerlinNoiseMap:getMapSlice() functionkwolekr2015-05-175-0/+160
| | | | | | This adds the ability to grab 'slices' of noise calculated by PerlinNoiseMap. Retrieving smaller slices of noise from the computation result as needed optimizes memory usage while maintaining a reasonable amount of CPU overhead.
* Mapgen v5/v7: Detect sandstone, enable sandstone brick dungeonsparamat2015-05-175-34/+69
|
* Add optional buffer param for bulk data array writes in Luakwolekr2015-05-172-22/+38
|
* Noise: Fix interpolation at negative coordinateskwolekr2015-05-171-2/+4
|