oweals/minetest.git
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

12 years agoAdd removeStringEnd()
Perttu Ahola [Sun, 25 Mar 2012 09:48:14 +0000 (12:48 +0300)]
Add removeStringEnd()

12 years agoAdd more media directories; mod/{textures,sounds,media}
Perttu Ahola [Sun, 25 Mar 2012 09:10:58 +0000 (12:10 +0300)]
Add more media directories; mod/{textures,sounds,media}

12 years agoTexture cache -> Media cache WIP
Perttu Ahola [Sun, 25 Mar 2012 08:50:29 +0000 (11:50 +0300)]
Texture cache -> Media cache WIP

12 years agoCache textures by checksum
Jonathan Neuschäfer [Wed, 8 Feb 2012 10:49:24 +0000 (11:49 +0100)]
Cache textures by checksum

12 years agoMake event_manager.h build on MSVC
Perttu Ahola [Sun, 25 Mar 2012 01:06:43 +0000 (04:06 +0300)]
Make event_manager.h build on MSVC

12 years agoBuild configuration fixes/improvements on Windows
Perttu Ahola [Sun, 25 Mar 2012 01:03:51 +0000 (04:03 +0300)]
Build configuration fixes/improvements on Windows

12 years agoFix build on MinGW (as compared to Linux)
Perttu Ahola [Sat, 24 Mar 2012 21:16:09 +0000 (23:16 +0200)]
Fix build on MinGW (as compared to Linux)

12 years agoLua API for playing sounds
Perttu Ahola [Sat, 24 Mar 2012 17:01:26 +0000 (19:01 +0200)]
Lua API for playing sounds

12 years agoAdd sound.dig
Perttu Ahola [Sat, 24 Mar 2012 09:10:28 +0000 (11:10 +0200)]
Add sound.dig

12 years agoUpdate doc/lua_api.txt
Perttu Ahola [Sat, 24 Mar 2012 02:31:38 +0000 (04:31 +0200)]
Update doc/lua_api.txt

12 years agoAdd sounds, tune things
Perttu Ahola [Sat, 24 Mar 2012 01:28:08 +0000 (03:28 +0200)]
Add sounds, tune things

12 years agoDigging and placing sounds
Perttu Ahola [Fri, 23 Mar 2012 22:33:58 +0000 (00:33 +0200)]
Digging and placing sounds

12 years agoAdd event manager and use it to trigger sounds
Perttu Ahola [Fri, 23 Mar 2012 18:23:03 +0000 (20:23 +0200)]
Add event manager and use it to trigger sounds

12 years agoLocalPlayer::getStandingNodePos()
Perttu Ahola [Fri, 23 Mar 2012 15:33:22 +0000 (17:33 +0200)]
LocalPlayer::getStandingNodePos()

12 years agoc55sound continued
Perttu Ahola [Fri, 23 Mar 2012 13:29:30 +0000 (15:29 +0200)]
c55sound continued

12 years agoUpdate/fix/improve config.h and cmake_config.h.in
Perttu Ahola [Fri, 23 Mar 2012 12:01:14 +0000 (14:01 +0200)]
Update/fix/improve config.h and cmake_config.h.in

12 years agoceleron55's sound system initial framework
Perttu Ahola [Fri, 23 Mar 2012 10:05:17 +0000 (12:05 +0200)]
celeron55's sound system initial framework

12 years agoSeriously WTF, LLVM/clang?
Perttu Ahola [Thu, 22 Mar 2012 22:44:43 +0000 (00:44 +0200)]
Seriously WTF, LLVM/clang?

12 years agoFix filesys.cpp debug output to go into debug.txt
Perttu Ahola [Thu, 22 Mar 2012 22:05:32 +0000 (00:05 +0200)]
Fix filesys.cpp debug output to go into debug.txt

12 years agoRemove useless clearing of the Z buffer
Perttu Ahola [Thu, 22 Mar 2012 20:15:38 +0000 (22:15 +0200)]
Remove useless clearing of the Z buffer

12 years agoInstall lua_api.txt and mapformat.txt in because awesome.
Perttu Ahola [Thu, 22 Mar 2012 15:08:32 +0000 (17:08 +0200)]
Install lua_api.txt and mapformat.txt in  because awesome.

12 years agoUpdate doc/lua_api.txt and doc/mapformat.txt even more
Perttu Ahola [Thu, 22 Mar 2012 15:02:40 +0000 (17:02 +0200)]
Update doc/lua_api.txt and doc/mapformat.txt even more

12 years agoDescribe format of nodes in doc/mapformat.txt
Perttu Ahola [Thu, 22 Mar 2012 14:12:33 +0000 (16:12 +0200)]
Describe format of nodes in doc/mapformat.txt

12 years agoUpdate doc/mapformat.txt
Perttu Ahola [Thu, 22 Mar 2012 13:54:12 +0000 (15:54 +0200)]
Update doc/mapformat.txt

12 years agomapformat WIP
Perttu Ahola [Thu, 22 Mar 2012 11:36:56 +0000 (13:36 +0200)]
mapformat WIP

12 years agoAdd output levels --info and --trace (--verbose is now more verbose)
Perttu Ahola [Thu, 22 Mar 2012 12:10:24 +0000 (14:10 +0200)]
Add output levels --info and --trace (--verbose is now more verbose)

12 years agoMove headers from socket.h to socket.cpp
Perttu Ahola [Thu, 22 Mar 2012 11:41:50 +0000 (13:41 +0200)]
Move headers from socket.h to socket.cpp

12 years agoFix UDPSocket's debug output
Perttu Ahola [Thu, 22 Mar 2012 11:36:37 +0000 (13:36 +0200)]
Fix UDPSocket's debug output

12 years agoLog at info level when a banned client connects
Perttu Ahola [Thu, 22 Mar 2012 11:35:32 +0000 (13:35 +0200)]
Log at info level when a banned client connects

12 years agoAdd more information to lua_api.txt
Perttu Ahola [Thu, 22 Mar 2012 10:14:04 +0000 (12:14 +0200)]
Add more information to lua_api.txt

12 years agoUpdate Lua API documentation and move it into doc/lua_api.txt
Perttu Ahola [Thu, 22 Mar 2012 09:41:40 +0000 (11:41 +0200)]
Update Lua API documentation and move it into doc/lua_api.txt

12 years agoGoddamn MSVC pow overload ambiguities
Perttu Ahola [Wed, 21 Mar 2012 20:11:15 +0000 (22:11 +0200)]
Goddamn MSVC pow overload ambiguities

12 years agoAdd ScopeProfilerType SPT_GRAPH_ADD
Perttu Ahola [Wed, 21 Mar 2012 13:38:24 +0000 (15:38 +0200)]
Add ScopeProfilerType SPT_GRAPH_ADD

12 years agoAdd different automatic profiler graph drawing style for relative-ish plots
Perttu Ahola [Wed, 21 Mar 2012 13:05:51 +0000 (15:05 +0200)]
Add different automatic profiler graph drawing style for relative-ish plots

12 years agoAdd more graph colors, add mainloop_dtime graph, make statustext fade away faster
Perttu Ahola [Wed, 21 Mar 2012 12:09:32 +0000 (14:09 +0200)]
Add more graph colors, add mainloop_dtime graph, make statustext fade away faster

12 years agoModify and clean main loop to allow measuring the proper times
Perttu Ahola [Wed, 21 Mar 2012 11:31:47 +0000 (13:31 +0200)]
Modify and clean main loop to allow measuring the proper times

12 years agoProfiler graph
Perttu Ahola [Wed, 21 Mar 2012 01:33:02 +0000 (03:33 +0200)]
Profiler graph

12 years agoUse atof() in mystof(), because istringstream>>float randomly causes a segfault on...
Perttu Ahola [Wed, 21 Mar 2012 00:16:22 +0000 (02:16 +0200)]
Use atof() in mystof(), because istringstream>>float randomly causes a segfault on mingw

12 years agoAttempt to fix some minor memory leaks
Perttu Ahola [Tue, 20 Mar 2012 15:55:34 +0000 (17:55 +0200)]
Attempt to fix some minor memory leaks