Commit Graph

474 Commits

Author SHA1 Message Date
Maksim Gamarnik 169db877b8 Update textures and rename License notice
Update gamecontrol textures
Compress more textures
Update doc
Update header and icon
2015-07-10 17:14:51 +03:00
Maksim Gamarnik c6610c4ac6 Update LGPL-3.0.md 2015-07-10 11:49:33 +03:00
Maksim Gamarnik dbf84b61a0 LGPL-3.0 2015-07-10 11:49:19 +03:00
TeTpaAka 31bed00b9b Add some missing getter functions to the lua API
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
2015-05-31 23:21:45 +10:00
est31 78c1bd6eff Fix documentation for texture override face selector behaviour 2015-05-31 23:21:21 +10:00
rubenwardy eb4e791ea9 Add texture overriding 2015-05-31 23:21:17 +10:00
kwolekr ed06741a5c SAPI/Noise: Add PerlinNoiseMap:getMapSlice() function
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.
2015-05-31 23:20:49 +10:00
kwolekr d4d8ef9618 Add optional buffer param for bulk data array writes in Lua 2015-05-31 23:20:45 +10:00
kwolekr 9fac373dee SAPI: Accept either ARGB8 table or ColorString to specify colors 2015-05-31 23:20:32 +10:00
ShadowNinja 9cca4e1198 Add core.get_dir_list
Conflicts:
	builtin/mainmenu/tab_texturepacks.lua
2015-05-31 23:20:28 +10:00
ShadowNinja 8a6bb4f9cd Add core.request_insecure_environment() 2015-05-31 23:17:52 +10:00
ShadowNinja f91bc08c11 Add core.mkdir 2015-05-31 23:17:48 +10:00
ShadowNinja 794d3635d4 Add mod security
Due to compatibility concerns, this is temporarily disabled.
2015-05-31 23:17:44 +10:00
TeTpaAka 4069c91935 Generalize core.get/set_nametag_color into core.get/set_nametag_attributes 2015-05-31 23:16:23 +10:00
Brandon 57ba33a389 Add minetest.register_on_punchplayer 2015-05-31 23:16:16 +10:00
TeTpaAka 0a6980819e Add get and set functions for the nametag color 2015-05-31 23:16:13 +10:00
Novatux 4135d7e9bd Add code to support raillike group names
Conflicts:
	builtin/game/misc.lua
2015-05-31 23:15:49 +10:00
est31 9e22a4a0d5 is_player() is no player-only function 2015-05-31 23:14:11 +10:00
Maksim Gamarnik d2a6429253 Mailmap update and remove old doc 2015-05-15 16:17:39 +03:00
kwolekr 1643bdd449 Schematics: Add per-node force placement option 2015-05-13 17:01:54 +10:00
kwolekr 739c856b94 Schematics: Add indent-with-space option for schematic Lua table serialization 2015-05-13 17:01:19 +10:00
kwolekr 4ffc59b9b1 NodeResolver: Remove NodeResolveMethod
This simplifies NodeResolver logic and makes some interfaces cleaner.
2015-05-13 17:01:16 +10:00
kwolekr 4c439aec8d Add core.find_nodes_with_meta() script API 2015-05-13 17:00:59 +10:00
Maksim Gamarnik 84cfc54b1e Change Licension and Doc
Change Minetest on MultiCraft complete
Hi, LGPLv3 :)
2015-05-05 23:22:26 +03:00
ShadowNinja 436cb468e9 Add minetest.global_exists() 2015-04-21 22:58:37 +02:00
kwolekr 46a2c1f167 Ore: Add biomes parameter 2015-04-20 20:25:33 -04:00
kwolekr 479f38973e Schematics: Refactor NodeResolver and add NodeResolveMethod
NodeResolver name lists now belong to the NodeResolver object instead of
the associated NodeDefManager.  In addition to minimizing unnecessary
abstraction and overhead, this move permits NodeResolvers to look up nodes
that they had previously set pending for resolution.  So far, this
functionality has been used in the case of schematics for
serialization/deserialization.
2015-04-16 16:27:05 -04:00
kwolekr b2a89c04b2 Schematics: Reorganize (de)serialization and add Lua serialization API 2015-04-13 03:10:52 -04:00
est31 0a413265cb Document for api functions that rely on current_modname, that it doesn't work when not loading mods 2015-04-08 23:05:26 +02:00
kwolekr 0df736173e Schematics: Prepend mod path to relative schematic filepaths 2015-04-08 00:28:56 -04:00
kwolekr 337e79c656 ObjDefManager, Mapgen SAPI: Huge refactoring
- General code cleanup
 - Unified object creation and loading
 - Specifying objects in APIs is now orthogonal (i.e. anything can take an ID,
   name string, or the raw table definition (and automatically registers if present
2015-03-31 23:27:58 -04:00
kwolekr ed10005d38 GenElementManager: Pass opaque handles to Lua and rename to ObjDefManager
Add core.clear_registered_schematics() and refactor schematics somewhat
2015-03-31 01:11:51 -04:00
ShadowNinja e680d49774 Document nil player as being allowed for can_dig 2015-03-27 15:11:28 -04:00
ShadowNinja 93fcab952b Clean up and tweak build system
* Combine client and server man pages.
  * Update unit test options and available databases in man page.
  * Add `--worldname` to man page.
  * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`.
  * Disable server build by default on all operating systems.
  * Make `ENABLE_FREETYPE` not fail if FreeType isn't found.
  * Enable LevelDB, Redis, and FreeType detection by default.
  * Remove the `VERSION_PATCH_ORIG` hack.
  * Add option to search for and use system JSONCPP.
  * Remove broken LuaJIT version detection.
  * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`.
  * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`.
  * Clean up style of CMake files.
2015-03-27 15:00:48 -04:00
paramat d1681872bf lua_api/l_mapgen: generate_ores/decorations: make p1, p2 optional 2015-03-24 18:07:29 +00:00
Loic Blot 008d7e0467 Revert "Add a Lua call to do damages / heals" ok @ShadowNinja
This reverts commit 467fc0ddc9.
2015-03-22 18:01:56 +01:00
kwolekr 3993093f51 Add support for the PCG32 PRNG algo (and associated script APIs) 2015-03-22 00:48:08 -04:00
Loic Blot 467fc0ddc9 Add a Lua call to do damages / heals 2015-03-18 14:52:35 +01:00
paramat b2b6bbf3e8 lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorations 2015-03-11 03:36:39 +00:00
paramat c7454d4732 Biome API: Enable decorations placed on water
Add schematic decoration force placement flag
2015-03-06 03:32:15 +00:00
BlockMen b65c7ab4a4 Improve group-based connection between raillike nodes 2015-03-05 23:24:32 +01:00
Craig Robbins fdb9140825 Change find_surface_nodes_in_area to find_nodes_in_area_under_air 2015-02-27 21:42:00 +10:00
Loic Blot 0f556d0c7f Add find_surface_nodes_in_area LUA call which permit to only get the nodes which touch air. This permit to massively improve performance for mods like plantlife 2015-02-27 21:34:33 +10:00
rubenwardy 2b189d4507 Wrap lines longer than 80 characters in lua_api.txt ...and minor formating changes 2015-02-27 13:41:17 +10:00
Kahrl 38cf080a9c Disallow object:remove() if the object is a player
Rebased by Zeno- (conflict in lua_api.txt)
2015-02-23 16:49:48 +10:00
Perttu Ahola e6ad2ace10 Bump version to 0.4.12 2015-02-18 23:50:01 +01:00
est31 5a0ed780f5 Server: announce MIN/MAX protocol version supported to serverlist. Client: check serverlist
Client now informs about incompatible servers from the list, this permits to prevent the protocol movements.
Server announces its supported protocol versions to master server
2015-02-18 16:09:59 +01:00
rubenwardy efa977518a Fix minetest.item_eat's replace_with_item, fixes #2292 2015-02-16 10:24:19 +01:00
TriBlade9 db481e7232 Added ratio argument to colorize, removed the weird alpha-based ratio. 2015-01-20 22:56:20 +10:00
Markus Koschany 60d745126f Fix hyphen used as minus sign 2015-01-20 22:47:45 +10:00