Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Ore: Add ore sheet column height range selection | kwolekr | 2015-09-13 | 1 | -1/+12 | |
| | | | | | | | | Modders are now able to select the range of ore column height, and the midpoint at which they 'grow' starting from. This commit adds three new parameters for the 'sheet' ore type: column_height_min, column_height_max, and column_midpoint_factor. clust_size is now deprecated for this ore type. | |||||
* | Areastore: fix "attempt to index a number value" | est31 | 2015-09-03 | 1 | -0/+1 | |
| | | | | | | | Before, calling get_areas_in_area for an areastore with both include_borders and include_data would result in a lua error, if there was at least one area as result: attempt to index a number value in function 'get_areas_in_area' | |||||
* | l_mainmenu.h: remove unused l_get_dirlist function | est31 | 2015-08-30 | 1 | -2/+0 | |
| | | | | | | | | | | | The commit 8f9af57314f71aae1cc77e13f9996e13015d776d "Add core.get_dir_list" by @ShadowNinja has removed the implementation of the l_get_dirlist function and all its usages from the l_mainmenu.cpp file, but hasn't removed it from the header file. The reason why this hasn't been detected earlier is that C++ has this interesting feature to still make it possible to create instances of classes whose never used private methods are declared but not defined. | |||||
* | Push error handler afresh each time lua_pcall is used | Kahrl | 2015-08-27 | 16 | -92/+188 | |
| | | | | | Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace. | |||||
* | Use numeric indices and raw table access with LUA_REGISTRYINDEX | Kahrl | 2015-08-27 | 7 | -16/+36 | |
| | ||||||
* | Clean up threading | ShadowNinja | 2015-08-23 | 4 | -65/+42 | |
| | | | | | | | | | | | | | | | | | | | | * Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test. | |||||
* | SAPI: Disable unlockable time profiling | kwolekr | 2015-08-18 | 1 | -4/+8 | |
| | ||||||
* | SEnv: Remove static_exists from ActiveObjects in deleted blocks | kwolekr | 2015-08-16 | 1 | -2/+4 | |
| | ||||||
* | minimap: Add ability to disable from server | kwolekr | 2015-08-13 | 1 | -0/+3 | |
| | ||||||
* | SAPI: Track last executed mod and include in error messages | kwolekr | 2015-08-12 | 13 | -41/+167 | |
| | ||||||
* | Display Lua memory usage at the time of Out-of-Memory error | kwolekr | 2015-08-10 | 2 | -4/+10 | |
| | | | | Also misc. minor cleanups | |||||
* | Improve Script CPP API diagnostics | kwolekr | 2015-08-05 | 16 | -107/+129 | |
| | ||||||
* | Fix tiling issues for PLANTLIKE and FIRELIKE with FSAA | RealBadAngel | 2015-08-05 | 2 | -7/+11 | |
| | ||||||
* | Biome API: Make fallback biome stone and water, disable filler | paramat | 2015-08-03 | 1 | -2/+2 | |
| | ||||||
* | Add AreaStore data structure | est31 | 2015-07-27 | 5 | -0/+475 | |
| | ||||||
* | Fix MSVC number conversion warning | SmallJoker | 2015-07-25 | 1 | -1/+1 | |
| | ||||||
* | Fix minetest.get_(all)_craft_recipe(s) regression | est31 | 2015-07-25 | 1 | -3/+3 | |
| | | | | | Since 03e0dd33a847a83d975282c6caf6b926306e7b57 the calls didn't return an output count for the recipes. | |||||
* | Cleanup server addparticle(spawner) by merge two identical functions. | Loic Blot | 2015-07-25 | 1 | -40/+18 | |
| | ||||||
* | Optional reconnect functionality | est31 | 2015-07-23 | 5 | -19/+30 | |
| | | | | | | Enable the server to request the client to reconnect. This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting. | |||||
* | Added get_player_velocity() method. Fixes #1176 | Elia Argentieri | 2015-07-20 | 2 | -72/+91 | |
| | ||||||
* | Refactor particle code to remove the while loops | TeTpaAka | 2015-07-18 | 1 | -87/+78 | |
| | | | | Replaces while loops with proper getfield calls | |||||
* | Make acc and vel deprecated in add_particle and search for acceleration and ↵ | TeTpaAka | 2015-07-18 | 1 | -23/+34 | |
| | | | | | | velocity instead The doc and the actual behaviour differed. | |||||
* | Fix invisible player when the attached entity is removed | TeTpaAka | 2015-07-18 | 1 | -10/+52 | |
| | ||||||
* | Fix relief mapping issues | RealBadAngel | 2015-07-16 | 1 | -6/+10 | |
| | ||||||
* | Fix damage flash when damage disabled | kwolekr | 2015-07-10 | 1 | -7/+5 | |
| | ||||||
* | Use UTF-8 instead of narrow | est31 | 2015-07-08 | 2 | -2/+2 | |
| | | | | | Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places. Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit. | |||||
* | Fix code style from recent commits and add misc. optimizations | kwolekr | 2015-07-02 | 5 | -69/+54 | |
| | ||||||
* | Add Lua errors to error dialog | rubenwardy | 2015-06-29 | 2 | -13/+13 | |
| | ||||||
* | Fix bug when craft input isn't replaced | TeTpaAka | 2015-06-22 | 1 | -2/+7 | |
| | ||||||
* | Fix some issues with animations, and allow non-looped animations to be defined | MirceaKitsune | 2015-06-22 | 2 | -5/+10 | |
| | ||||||
* | Mapgen objects: Enable heatmap and humidmap for all biome api mapgens | paramat | 2015-06-20 | 1 | -8/+13 | |
| | ||||||
* | Use utf-8 in formspecs | Ilya Zhuravlev | 2015-06-13 | 1 | -1/+1 | |
| | ||||||
* | Add minetest.register_on_player_hpchange | TeTpaAka | 2015-06-13 | 2 | -0/+20 | |
| | ||||||
* | Add return list of individual counts to find_node_in_area | TeTpaAka | 2015-06-13 | 1 | -10/+19 | |
| | ||||||
* | dofile error reporting for syntax errors | est31 | 2015-06-12 | 1 | -1/+2 | |
| | | | | | According to doc, dofile() raises an error when parsing failed due to syntax errors. Fixes #2775 | |||||
* | Fix uninitialized variable error | est31 | 2015-06-02 | 1 | -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 get_biome_list() error message more helpful | kwolekr | 2015-05-28 | 1 | -3/+6 | |
| | ||||||
* | Add some missing getter functions to the lua API | TeTpaAka | 2015-05-28 | 8 | -2/+486 | |
| | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | Fix Windows build, clean up included headers | SmallJoker | 2015-05-22 | 1 | -1/+1 | |
| | | | | Also fix a startup error caused by s_security.cpp | |||||
* | Replace instances of std::map<std::string, std::string> with StringMap | kwolekr | 2015-05-19 | 7 | -35/+39 | |
| | | | | | | Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators | |||||
* | Fix null dereference when loading schematic from definition without a ↵ | kwolekr | 2015-05-17 | 1 | -1/+2 | |
| | | | | NodeDefManager | |||||
* | Record MapBlock modification reasons as flags instead of strings | kwolekr | 2015-05-17 | 1 | -2/+3 | |
| | | | | | 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() function | kwolekr | 2015-05-17 | 4 | -0/+159 | |
| | | | | | | 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. | |||||
* | Add optional buffer param for bulk data array writes in Lua | kwolekr | 2015-05-17 | 2 | -22/+38 | |
| | ||||||
* | Fix current mod name change missed during rebase | ShadowNinja | 2015-05-16 | 1 | -4/+4 | |
| | ||||||
* | SAPI: Accept either ARGB8 table or ColorString to specify colors | kwolekr | 2015-05-16 | 4 | -50/+63 | |
| | ||||||
* | Add core.get_dir_list | ShadowNinja | 2015-05-16 | 3 | -26/+28 | |
| | ||||||
* | Add core.request_insecure_environment() | ShadowNinja | 2015-05-16 | 2 | -1/+32 | |
| | ||||||
* | Add core.mkdir | ShadowNinja | 2015-05-16 | 2 | -1/+20 | |
| | ||||||
* | Add mod security | ShadowNinja | 2015-05-16 | 13 | -48/+744 | |
| | | | | Due to compatibility concerns, this is temporarily disabled. |