oweals/minetest.git
12 years agoFix doc/lua_api.txt
Perttu Ahola [Sat, 31 Mar 2012 11:20:04 +0000 (14:20 +0300)]
Fix doc/lua_api.txt

12 years agoinitial_properties field in entity definition
Perttu Ahola [Sat, 31 Mar 2012 10:50:25 +0000 (13:50 +0300)]
initial_properties field in entity definition

12 years agoMore documentation in doc/lua_api.txt
Perttu Ahola [Sat, 31 Mar 2012 10:08:17 +0000 (13:08 +0300)]
More documentation in doc/lua_api.txt

12 years agoAllow group:groupname in ABM definition and implement minetest.hash_node_position()
Perttu Ahola [Sat, 31 Mar 2012 09:30:11 +0000 (12:30 +0300)]
Allow group:groupname in ABM definition and implement minetest.hash_node_position()

12 years agocmake: lua: use COMMON_CFLAGS
Jonathan Neuschäfer [Fri, 30 Mar 2012 21:51:59 +0000 (23:51 +0200)]
cmake: lua: use COMMON_CFLAGS

This fixes LUA_USE_DLOPEN having no effect.

12 years agoInstall minetest_game without .git and other unnecessary things
Perttu Ahola [Fri, 30 Mar 2012 21:05:01 +0000 (00:05 +0300)]
Install minetest_game without .git and other unnecessary things

12 years agoFix handling of missing auth.txt in the new handler
Perttu Ahola [Fri, 30 Mar 2012 20:12:01 +0000 (23:12 +0300)]
Fix handling of missing auth.txt in the new handler

12 years agoMake server ignore media files with unknown filename extensions
Perttu Ahola [Fri, 30 Mar 2012 19:49:44 +0000 (22:49 +0300)]
Make server ignore media files with unknown filename extensions

12 years agoFix admin password handling in minetest.builtin_auth_handler.get_auth
Perttu Ahola [Fri, 30 Mar 2012 18:25:54 +0000 (21:25 +0300)]
Fix admin password handling in minetest.builtin_auth_handler.get_auth

12 years agoImproved teleport command
Perttu Ahola [Fri, 30 Mar 2012 17:54:57 +0000 (20:54 +0300)]
Improved teleport command

12 years agoReimplement authentication handler in Lua; now we have 1) infinite privilege names...
Perttu Ahola [Fri, 30 Mar 2012 15:42:18 +0000 (18:42 +0300)]
Reimplement authentication handler in Lua; now we have 1) infinite privilege names, 2) minetest.register_authentication_handler()

12 years agoFix the position of LuaEntityCAOs not getting updated at all
Perttu Ahola [Fri, 30 Mar 2012 10:55:08 +0000 (13:55 +0300)]
Fix the position of LuaEntityCAOs not getting updated at all

12 years agoAdd minetest.get_connected_players()
Perttu Ahola [Fri, 30 Mar 2012 10:45:51 +0000 (13:45 +0300)]
Add minetest.get_connected_players()

12 years agoFix object visuals flashing brightly or disappearing when switching them at night
Perttu Ahola [Fri, 30 Mar 2012 10:44:48 +0000 (13:44 +0300)]
Fix object visuals flashing brightly or disappearing when switching them at night

12 years agoFix walking sound of other players (and other objects)
Perttu Ahola [Fri, 30 Mar 2012 10:33:59 +0000 (13:33 +0300)]
Fix walking sound of other players (and other objects)

12 years agoObjectRef:set_armor_groups() and ObjectRef:set_properties() - works on players too!
Perttu Ahola [Fri, 30 Mar 2012 10:26:40 +0000 (13:26 +0300)]
ObjectRef:set_armor_groups() and ObjectRef:set_properties() - works on players too!

12 years agoObjectProperties
Perttu Ahola [Fri, 30 Mar 2012 09:51:51 +0000 (12:51 +0300)]
ObjectProperties

12 years agominetest.register_chatcommand(cmd, def)
Perttu Ahola [Thu, 29 Mar 2012 22:45:23 +0000 (01:45 +0300)]
minetest.register_chatcommand(cmd, def)

12 years agoRaise the player fall damage threshold to a much more fun level
Perttu Ahola [Thu, 29 Mar 2012 20:32:56 +0000 (23:32 +0300)]
Raise the player fall damage threshold to a much more fun level

12 years agoImprove the look of fences
Perttu Ahola [Thu, 29 Mar 2012 19:59:43 +0000 (22:59 +0300)]
Improve the look of fences

12 years ago[transformN image modifier
Kahrl [Thu, 29 Mar 2012 19:58:01 +0000 (22:58 +0300)]
[transformN image modifier

12 years agoSimple fix for camera blinking black when jumping into ceiling with current smaller...
Perttu Ahola [Thu, 29 Mar 2012 18:21:34 +0000 (21:21 +0300)]
Simple fix for camera blinking black when jumping into ceiling with current smaller collision box

12 years agoUse GenericCAO in place of LuaEntityCAO and PlayerCAO
Perttu Ahola [Thu, 29 Mar 2012 14:46:21 +0000 (17:46 +0300)]
Use GenericCAO in place of LuaEntityCAO and PlayerCAO

12 years agoAdd GenericCAO and player armor groups, but don't use them yet
Perttu Ahola [Thu, 29 Mar 2012 13:10:11 +0000 (16:10 +0300)]
Add GenericCAO and player armor groups, but don't use them yet

12 years agoon_joinplayer + on_leaveplayer + scriptapi_run_callbacks + bugfix
Kahrl [Sat, 24 Mar 2012 17:52:50 +0000 (18:52 +0100)]
on_joinplayer + on_leaveplayer + scriptapi_run_callbacks + bugfix

Add minetest.register_on_joinplayer and minetest.register_on_leaveplayer,
make adding new callbacks to scriptapi.cpp easier by adding
scriptapi_run_callbacks, also fix a minor bug with PlayerSAO <->
singleplayer mode interaction

12 years agoadded PlayerSAO and RemotePlayer, removed ServerRemotePlayer
Kahrl [Mon, 19 Mar 2012 02:04:16 +0000 (03:04 +0100)]
added PlayerSAO and RemotePlayer, removed ServerRemotePlayer

12 years agoModify minimal/give_initial_stuff to always give stuff
Perttu Ahola [Thu, 29 Mar 2012 10:39:18 +0000 (13:39 +0300)]
Modify minimal/give_initial_stuff to always give stuff

12 years agoRework tool_capabilities a bit (maxwear->uses, scale dig time according to leveldiff)
Perttu Ahola [Thu, 29 Mar 2012 10:35:20 +0000 (13:35 +0300)]
Rework tool_capabilities a bit (maxwear->uses, scale dig time according to leveldiff)

12 years agoTry a default day+night length of 20 minutes instead of 15
Perttu Ahola [Thu, 29 Mar 2012 08:41:41 +0000 (11:41 +0300)]
Try a default day+night length of 20 minutes instead of 15

12 years agoGenerate beaches
Perttu Ahola [Thu, 29 Mar 2012 00:44:37 +0000 (03:44 +0300)]
Generate beaches

12 years agoGenerate blobs of dirt and gravel in stone
Perttu Ahola [Wed, 28 Mar 2012 23:23:59 +0000 (02:23 +0300)]
Generate blobs of dirt and gravel in stone

12 years agoRemove unnecessary debug output
Perttu Ahola [Wed, 28 Mar 2012 22:38:13 +0000 (01:38 +0300)]
Remove unnecessary debug output

12 years agoArea-based MapEditEvent ignore and that put to use for on_generate too
Perttu Ahola [Wed, 28 Mar 2012 22:22:08 +0000 (01:22 +0300)]
Area-based MapEditEvent ignore and that put to use for on_generate too

12 years agoReduce EnvRef:set_node() time tenfold by postponing the dayNightDiff update until...
Perttu Ahola [Wed, 28 Mar 2012 21:28:48 +0000 (00:28 +0300)]
Reduce EnvRef:set_node() time tenfold by postponing the dayNightDiff update until it is actually needed

12 years agoFix on_generate minp/maxp (was broken due to chunkymapgen)
Perttu Ahola [Wed, 28 Mar 2012 20:11:28 +0000 (23:11 +0300)]
Fix on_generate minp/maxp (was broken due to chunkymapgen)

12 years agoAdd EnvRef:set_node()
Perttu Ahola [Wed, 28 Mar 2012 19:50:08 +0000 (22:50 +0300)]
Add EnvRef:set_node()

12 years agoAdd range option to PseudoRandom:next()
Perttu Ahola [Wed, 28 Mar 2012 18:16:47 +0000 (21:16 +0300)]
Add range option to PseudoRandom:next()

12 years agoAdd blockseed to on_generated
Perttu Ahola [Wed, 28 Mar 2012 17:46:05 +0000 (20:46 +0300)]
Add blockseed to on_generated

12 years agoDefault to having fancy trees and 3d clouds turned on
Perttu Ahola [Wed, 28 Mar 2012 11:10:54 +0000 (14:10 +0300)]
Default to having fancy trees and 3d clouds turned on

12 years agoAdd minetest.is_singleplayer()
Perttu Ahola [Wed, 28 Mar 2012 10:22:48 +0000 (13:22 +0300)]
Add minetest.is_singleplayer()

12 years agodoc/lua_api.txt: minetest.get_worldpath(modname) -> minetest.get_worldpath()
Perttu Ahola [Wed, 28 Mar 2012 10:01:35 +0000 (13:01 +0300)]
doc/lua_api.txt: minetest.get_worldpath(modname) -> minetest.get_worldpath()

12 years agoCorrectly lock mutexes when the server sends MapEditEvents (could cause memory corrup...
Perttu Ahola [Wed, 28 Mar 2012 09:51:47 +0000 (12:51 +0300)]
Correctly lock mutexes when the server sends MapEditEvents (could cause memory corruption)

12 years agoNo occlusion culling when free_move is on and camera is inside ground
Perttu Ahola [Wed, 28 Mar 2012 09:19:25 +0000 (12:19 +0300)]
No occlusion culling when free_move is on and camera is inside ground

12 years agoMake mapgen use mapgen_* node aliases rather than the LEGN macro
Perttu Ahola [Tue, 27 Mar 2012 22:26:15 +0000 (01:26 +0300)]
Make mapgen use mapgen_* node aliases rather than the LEGN macro

12 years agoAdd PseudoRandom in Lua API
Perttu Ahola [Tue, 27 Mar 2012 21:38:20 +0000 (00:38 +0300)]
Add PseudoRandom in Lua API

12 years agoTune skybox
Perttu Ahola [Tue, 27 Mar 2012 20:30:41 +0000 (23:30 +0300)]
Tune skybox

12 years agoTry to make background/fog/sky color selection work better
Perttu Ahola [Tue, 27 Mar 2012 19:41:07 +0000 (22:41 +0300)]
Try to make background/fog/sky color selection work better

12 years agoSet default minimum viewing range of 35 nodes
Perttu Ahola [Tue, 27 Mar 2012 16:57:24 +0000 (19:57 +0300)]
Set default minimum viewing range of 35 nodes

12 years agoUnrelated, but anyway: tune light levels again
Perttu Ahola [Sun, 4 Mar 2012 18:48:32 +0000 (20:48 +0200)]
Unrelated, but anyway: tune light levels again

12 years agoTune caves
Perttu Ahola [Fri, 3 Feb 2012 17:08:42 +0000 (19:08 +0200)]
Tune caves

12 years agoFix deep ground cave generation a bit
Perttu Ahola [Fri, 3 Feb 2012 13:19:05 +0000 (15:19 +0200)]
Fix deep ground cave generation a bit

12 years agoFix mapgen block_is_underground heuristic
Perttu Ahola [Fri, 3 Feb 2012 13:14:07 +0000 (15:14 +0200)]
Fix mapgen block_is_underground heuristic

12 years agoTune mapgen
Perttu Ahola [Fri, 3 Feb 2012 12:59:40 +0000 (14:59 +0200)]
Tune mapgen

12 years agoSet default maximum viewing range to a bit more than default server send range to...
Perttu Ahola [Fri, 3 Feb 2012 00:24:36 +0000 (02:24 +0200)]
Set default maximum viewing range to a bit more than default server send range to make fog work well

12 years agoRe-implement and re-tune mapgen v2
Perttu Ahola [Fri, 3 Feb 2012 00:23:21 +0000 (02:23 +0200)]
Re-implement and re-tune mapgen v2

12 years agoTune generation responsiveness and cheat inhibition on server
Perttu Ahola [Fri, 3 Feb 2012 00:22:36 +0000 (02:22 +0200)]
Tune generation responsiveness and cheat inhibition on server

12 years agoIncrease maximum generate distance now that generation might actually keep up with it
Perttu Ahola [Tue, 31 Jan 2012 18:27:00 +0000 (20:27 +0200)]
Increase maximum generate distance now that generation might actually keep up with it

12 years agoRemove usage of mapgen::add_random_objects(block)
Perttu Ahola [Tue, 31 Jan 2012 18:26:08 +0000 (20:26 +0200)]
Remove usage of mapgen::add_random_objects(block)

12 years agoRemove no-op mapgen::add_random_objects
Perttu Ahola [Mon, 30 Jan 2012 17:22:05 +0000 (19:22 +0200)]
Remove no-op mapgen::add_random_objects

12 years agoFix inexistent_top_provides_sunlight heuristic in make_block and remove clitch-causin...
Perttu Ahola [Fri, 27 Jan 2012 12:54:42 +0000 (14:54 +0200)]
Fix inexistent_top_provides_sunlight heuristic in make_block and remove clitch-causing optimization

12 years agoRemove some debug output
Perttu Ahola [Fri, 27 Jan 2012 12:53:54 +0000 (14:53 +0200)]
Remove some debug output

12 years agoTune block fetching to clients on server
Perttu Ahola [Fri, 27 Jan 2012 12:12:12 +0000 (14:12 +0200)]
Tune block fetching to clients on server

12 years agoDo post-mapgen lighting using the VoxelManipulator-based functions (causes glitches...
Perttu Ahola [Fri, 27 Jan 2012 12:10:10 +0000 (14:10 +0200)]
Do post-mapgen lighting using the VoxelManipulator-based functions (causes glitches currently)

12 years agovoxalgo::clearLightAndCollectSources
Perttu Ahola [Fri, 27 Jan 2012 11:24:06 +0000 (13:24 +0200)]
voxalgo::clearLightAndCollectSources

12 years agoImplement propagateSunlight for VoxelManipulator
Perttu Ahola [Fri, 27 Jan 2012 10:58:52 +0000 (12:58 +0200)]
Implement propagateSunlight for VoxelManipulator

12 years agoFix tree generation density for different mapgen chunk sizes
Perttu Ahola [Fri, 27 Jan 2012 02:16:44 +0000 (04:16 +0200)]
Fix tree generation density for different mapgen chunk sizes

12 years agoPost-mapgen lighting optimization
Perttu Ahola [Fri, 27 Jan 2012 02:02:42 +0000 (04:02 +0200)]
Post-mapgen lighting optimization

12 years agoMake mapgen generate stuff in chunks of 3^3 mapblocks
Perttu Ahola [Thu, 26 Jan 2012 23:40:57 +0000 (01:40 +0200)]
Make mapgen generate stuff in chunks of 3^3 mapblocks

12 years agoUpdate minetest.conf.example and defaultsettings.cpp
Perttu Ahola [Tue, 27 Mar 2012 15:51:21 +0000 (18:51 +0300)]
Update minetest.conf.example and defaultsettings.cpp

12 years agoIncrease vertical FOV on lower aspect ratios (<16:10)
Perttu Ahola [Tue, 27 Mar 2012 15:39:21 +0000 (18:39 +0300)]
Increase vertical FOV on lower aspect ratios (<16:10)

12 years agoFix minetest_game installation and don't fail if it doesn't exist
Perttu Ahola [Tue, 27 Mar 2012 14:33:51 +0000 (17:33 +0300)]
Fix minetest_game installation and don't fail if it doesn't exist

12 years agoFix and extend minetest.after(time, func, param)
Perttu Ahola [Tue, 27 Mar 2012 05:17:42 +0000 (08:17 +0300)]
Fix and extend minetest.after(time, func, param)

12 years agoAdd minetest.after(time, func)
Perttu Ahola [Mon, 26 Mar 2012 21:37:31 +0000 (00:37 +0300)]
Add minetest.after(time, func)

12 years agoAdd default_grass_footstep.1.ogg as a test sound in minimal
Perttu Ahola [Mon, 26 Mar 2012 21:36:31 +0000 (00:36 +0300)]
Add default_grass_footstep.1.ogg as a test sound in minimal

12 years agoUpdate version number to 0.4.dev-20120326 because much has changed from the previous one 0.4.dev-20120326
Perttu Ahola [Mon, 26 Mar 2012 21:07:25 +0000 (00:07 +0300)]
Update version number to 0.4.dev-20120326 because much has changed from the previous one

12 years agoDo a dumb-ass static string copy for const-incorrect old versions of ov_fopen
Perttu Ahola [Mon, 26 Mar 2012 21:06:26 +0000 (00:06 +0300)]
Do a dumb-ass static string copy for const-incorrect old versions of ov_fopen

12 years agoAdd games/minimal/game.conf
Perttu Ahola [Mon, 26 Mar 2012 20:50:24 +0000 (23:50 +0300)]
Add games/minimal/game.conf

12 years agoMove games/minetest to games/minimal and update README.txt
Perttu Ahola [Mon, 26 Mar 2012 20:18:17 +0000 (23:18 +0300)]
Move games/minetest to games/minimal and update README.txt

12 years agoPrefer _game postfix in game names (to be squashed to the previous commit)
Perttu Ahola [Mon, 26 Mar 2012 20:17:29 +0000 (23:17 +0300)]
Prefer _game postfix in game names (to be squashed to the previous commit)

12 years agoSupport _game postfix in game names, taking it out to make the gameid
Perttu Ahola [Mon, 26 Mar 2012 20:16:02 +0000 (23:16 +0300)]
Support _game postfix in game names, taking it out to make the gameid

12 years agoAdd game.conf check in subgame.cpp
Perttu Ahola [Mon, 26 Mar 2012 20:02:12 +0000 (23:02 +0300)]
Add game.conf check in subgame.cpp

12 years agoNew world removal GUI code
Perttu Ahola [Sun, 25 Mar 2012 23:19:41 +0000 (02:19 +0300)]
New world removal GUI code

12 years agoBetter file/directory removal platform code and utilities
Perttu Ahola [Sun, 25 Mar 2012 21:21:38 +0000 (00:21 +0300)]
Better file/directory removal platform code and utilities

12 years agoSmall fix to fs::GetDirListing when trying to list an inexistent directory
Perttu Ahola [Sun, 25 Mar 2012 20:16:53 +0000 (23:16 +0300)]
Small fix to fs::GetDirListing when trying to list an inexistent directory

12 years agoMSVC build directory autodetection at startup
Perttu Ahola [Sun, 25 Mar 2012 20:10:09 +0000 (23:10 +0300)]
MSVC build directory autodetection at startup

12 years agoAdd OPENAL_DLL LIBOGG_DLL LIBVORBIS_DLL and LIBVORBISFILE_DLL to be used optionally...
Perttu Ahola [Sun, 25 Mar 2012 19:50:09 +0000 (22:50 +0300)]
Add OPENAL_DLL LIBOGG_DLL LIBVORBIS_DLL and LIBVORBISFILE_DLL to be used optionally when installing

12 years agoAdd OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS
Perttu Ahola [Sun, 25 Mar 2012 19:07:34 +0000 (22:07 +0300)]
Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS

12 years agoFix cmake install script (mesetint -> minetest)
Perttu Ahola [Sun, 25 Mar 2012 18:41:37 +0000 (21:41 +0300)]
Fix cmake install script (mesetint -> minetest)

12 years agoDon't try to use sound if building only server
Perttu Ahola [Sun, 25 Mar 2012 18:10:25 +0000 (21:10 +0300)]
Don't try to use sound if building only server

12 years agoRaise PROTOCOL_VERSION to 9, as this is not compatible with earlier versions
Perttu Ahola [Sun, 25 Mar 2012 17:36:02 +0000 (20:36 +0300)]
Raise PROTOCOL_VERSION to 9, as this is not compatible with earlier versions

12 years agoMake server world selection not brain dead and use gameid 'minetest' instead of ...
Perttu Ahola [Sun, 25 Mar 2012 17:29:56 +0000 (20:29 +0300)]
Make server world selection not brain dead and use gameid 'minetest' instead of 'mesetint'

12 years agoChange postfixes from N.ogg to .N.ogg in user/testsounds/ loader
Perttu Ahola [Sun, 25 Mar 2012 15:51:05 +0000 (18:51 +0300)]
Change postfixes from N.ogg to .N.ogg in user/testsounds/ loader

12 years agoSome serialization version stuff
Perttu Ahola [Sun, 25 Mar 2012 15:45:27 +0000 (18:45 +0300)]
Some serialization version stuff

12 years agoInitialize utility.h return values to 0 to make lazily error-checked deserialization...
Perttu Ahola [Sun, 25 Mar 2012 14:09:19 +0000 (17:09 +0300)]
Initialize utility.h return values to 0 to make lazily error-checked deserialization code work less chaotically

12 years agoUpdate doc/lua_api.txt
Perttu Ahola [Sun, 25 Mar 2012 13:22:02 +0000 (16:22 +0300)]
Update doc/lua_api.txt

12 years agoSwitch sound randomizer postfixes from N.ogg to .N.ogg
Perttu Ahola [Sun, 25 Mar 2012 13:21:34 +0000 (16:21 +0300)]
Switch sound randomizer postfixes from N.ogg to .N.ogg

12 years agoSound loading from memory (by using a quick hack)
Perttu Ahola [Sun, 25 Mar 2012 12:52:43 +0000 (15:52 +0300)]
Sound loading from memory (by using a quick hack)

12 years agoUpdate/fix .gitignore
Perttu Ahola [Sun, 25 Mar 2012 12:52:08 +0000 (15:52 +0300)]
Update/fix .gitignore

12 years agoAlmost support loading sounds from server
Perttu Ahola [Sun, 25 Mar 2012 11:47:51 +0000 (14:47 +0300)]
Almost support loading sounds from server

12 years agoAdd a variant of hex_encode
Perttu Ahola [Sun, 25 Mar 2012 11:03:22 +0000 (14:03 +0300)]
Add a variant of hex_encode