Commit Graph

1515 Commits

Author SHA1 Message Date
Perttu Ahola 68625b047f Add range option to PseudoRandom:next() 2012-03-28 22:01:23 +03:00
Perttu Ahola 9a1df7bf38 Add blockseed to on_generated 2012-03-28 22:01:21 +03:00
Perttu Ahola 81b9cfdfa4 Default to having fancy trees and 3d clouds turned on 2012-03-28 14:10:54 +03:00
Perttu Ahola ae7aa65069 Add minetest.is_singleplayer() 2012-03-28 13:22:48 +03:00
Perttu Ahola 14a8fa4d68 Correctly lock mutexes when the server sends MapEditEvents (could cause memory corruption) 2012-03-28 12:51:47 +03:00
Perttu Ahola 07e5c9bd5f No occlusion culling when free_move is on and camera is inside ground 2012-03-28 12:19:25 +03:00
Perttu Ahola 49c2ca0216 Make mapgen use mapgen_* node aliases rather than the LEGN macro 2012-03-28 01:26:15 +03:00
Perttu Ahola 04172e3dd0 Add PseudoRandom in Lua API 2012-03-28 00:38:20 +03:00
Perttu Ahola 2c56a9f588 Tune skybox 2012-03-27 23:30:41 +03:00
Perttu Ahola 20e025b3d8 Try to make background/fog/sky color selection work better 2012-03-27 22:41:07 +03:00
Perttu Ahola 10591d2080 Set default minimum viewing range of 35 nodes 2012-03-27 19:57:24 +03:00
Perttu Ahola af29c0ade5 Unrelated, but anyway: tune light levels again 2012-03-27 19:25:25 +03:00
Perttu Ahola 4c876ac62e Tune caves 2012-03-27 19:09:08 +03:00
Perttu Ahola 66bf7b0b01 Fix deep ground cave generation a bit 2012-03-27 19:09:08 +03:00
Perttu Ahola 17d51a1609 Fix mapgen block_is_underground heuristic 2012-03-27 19:09:07 +03:00
Perttu Ahola 0a59605e05 Tune mapgen 2012-03-27 19:09:07 +03:00
Perttu Ahola 202658678d Set default maximum viewing range to a bit more than default server send range to make fog work well 2012-03-27 19:09:07 +03:00
Perttu Ahola 4f01db256f Re-implement and re-tune mapgen v2 2012-03-27 19:05:59 +03:00
Perttu Ahola c04f4a7d73 Tune generation responsiveness and cheat inhibition on server 2012-03-27 19:05:59 +03:00
Perttu Ahola f5e46ba7fc Increase maximum generate distance now that generation might actually keep up with it 2012-03-27 19:04:59 +03:00
Perttu Ahola 8609af54fc Remove usage of mapgen::add_random_objects(block) 2012-03-27 19:01:52 +03:00
Perttu Ahola 9a4ef87859 Remove no-op mapgen::add_random_objects 2012-03-27 19:01:52 +03:00
Perttu Ahola a57f4c23d8 Fix inexistent_top_provides_sunlight heuristic in make_block and remove clitch-causing optimization 2012-03-27 19:01:52 +03:00
Perttu Ahola d629f4d2fb Remove some debug output 2012-03-27 19:01:52 +03:00
Perttu Ahola 6f20a73782 Tune block fetching to clients on server 2012-03-27 19:01:52 +03:00
Perttu Ahola 8cb7badd63 Do post-mapgen lighting using the VoxelManipulator-based functions (causes glitches currently) 2012-03-27 19:01:51 +03:00
Perttu Ahola 0f3c2f6541 voxalgo::clearLightAndCollectSources 2012-03-27 19:01:51 +03:00
Perttu Ahola 56496ad5d8 Implement propagateSunlight for VoxelManipulator 2012-03-27 19:01:50 +03:00
Perttu Ahola e15dca2a9f Fix tree generation density for different mapgen chunk sizes 2012-03-27 18:52:36 +03:00
Perttu Ahola a32706bc26 Post-mapgen lighting optimization 2012-03-27 18:52:36 +03:00
Perttu Ahola bdcca4767c Make mapgen generate stuff in chunks of 3^3 mapblocks 2012-03-27 18:52:36 +03:00
Perttu Ahola 38f4dbfb51 Update minetest.conf.example and defaultsettings.cpp 2012-03-27 18:51:21 +03:00
Perttu Ahola a374b1a6a3 Increase vertical FOV on lower aspect ratios (<16:10) 2012-03-27 18:39:21 +03:00
Perttu Ahola cbe11fc7aa Do a dumb-ass static string copy for const-incorrect old versions of ov_fopen 2012-03-27 00:06:26 +03:00
Perttu Ahola bd9912213f Prefer _game postfix in game names (to be squashed to the previous commit) 2012-03-26 23:17:29 +03:00
Perttu Ahola 814ada538a Support _game postfix in game names, taking it out to make the gameid 2012-03-26 23:16:02 +03:00
Perttu Ahola 53f7eef052 Add game.conf check in subgame.cpp 2012-03-26 23:02:12 +03:00
Perttu Ahola 405347769a New world removal GUI code 2012-03-26 08:37:15 +03:00
Perttu Ahola 5b31d32da8 Better file/directory removal platform code and utilities 2012-03-26 08:36:59 +03:00
Perttu Ahola dcef5183f7 Small fix to fs::GetDirListing when trying to list an inexistent directory 2012-03-25 23:16:53 +03:00
Perttu Ahola 728d01ef4b MSVC build directory autodetection at startup 2012-03-25 23:10:09 +03:00
Perttu Ahola 0557df8d06 Add OPENAL_DLL LIBOGG_DLL LIBVORBIS_DLL and LIBVORBISFILE_DLL to be used optionally when installing 2012-03-25 22:50:09 +03:00
Perttu Ahola 3a9753b85f Add OGG_INCLUDE_DIR to SOUND_INCLUDE_DIRS 2012-03-25 22:07:34 +03:00
Perttu Ahola 188b303991 Don't try to use sound if building only server 2012-03-25 21:10:25 +03:00
Perttu Ahola 836595313c Raise PROTOCOL_VERSION to 9, as this is not compatible with earlier versions 2012-03-25 20:36:02 +03:00
Perttu Ahola 6779036d25 Make server world selection not brain dead and use gameid 'minetest' instead of 'mesetint' 2012-03-25 20:30:58 +03:00
Perttu Ahola 4fb6c07535 Change postfixes from N.ogg to .N.ogg in user/testsounds/ loader 2012-03-25 18:51:05 +03:00
Perttu Ahola f01c988094 Some serialization version stuff 2012-03-25 18:45:27 +03:00
Perttu Ahola 677456d319 Initialize utility.h return values to 0 to make lazily error-checked deserialization code work less chaotically 2012-03-25 17:09:24 +03:00
Perttu Ahola 98c40f5ee6 Switch sound randomizer postfixes from N.ogg to .N.ogg 2012-03-25 16:21:34 +03:00
Perttu Ahola db0928add3 Sound loading from memory (by using a quick hack) 2012-03-25 15:52:43 +03:00
Perttu Ahola 1cac1de3b2 Almost support loading sounds from server 2012-03-25 14:48:22 +03:00
Perttu Ahola 524c78a8d6 Add a variant of hex_encode 2012-03-25 14:48:19 +03:00
Perttu Ahola e71262463f Add removeStringEnd() 2012-03-25 14:48:14 +03:00
Perttu Ahola 26666bb36f Add more media directories; mod/{textures,sounds,media} 2012-03-25 12:10:58 +03:00
Perttu Ahola f801e16b78 Texture cache -> Media cache WIP 2012-03-25 11:51:33 +03:00
Jonathan Neuschäfer 4bf5065a9c Cache textures by checksum 2012-03-25 11:51:00 +03:00
Perttu Ahola 04085cad3c Make event_manager.h build on MSVC 2012-03-25 04:06:45 +03:00
Perttu Ahola c8997e48c0 Build configuration fixes/improvements on Windows 2012-03-25 04:03:51 +03:00
Perttu Ahola 77621568fd Fix build on MinGW (as compared to Linux) 2012-03-24 23:16:09 +02:00
Perttu Ahola 601d1936c9 Lua API for playing sounds 2012-03-24 19:01:26 +02:00
Perttu Ahola 06e93f8d95 Add sound.dig 2012-03-24 11:10:28 +02:00
Perttu Ahola 93219e3b9d Add sounds, tune things 2012-03-24 04:24:26 +02:00
Perttu Ahola 77120a021d Digging and placing sounds 2012-03-24 04:24:26 +02:00
Perttu Ahola 6c14025b2d Add event manager and use it to trigger sounds 2012-03-24 04:24:26 +02:00
Perttu Ahola e53794868e LocalPlayer::getStandingNodePos() 2012-03-24 04:24:26 +02:00
Perttu Ahola 8c2f3bb378 c55sound continued 2012-03-24 04:24:25 +02:00
Perttu Ahola 0ac2ce7dea Update/fix/improve config.h and cmake_config.h.in 2012-03-24 04:24:25 +02:00
Perttu Ahola c301e3c82a celeron55's sound system initial framework 2012-03-24 04:24:23 +02:00
Perttu Ahola 9dd78a8a45 Seriously WTF, LLVM/clang? 2012-03-23 00:45:18 +02:00
Perttu Ahola ede1674d6a Fix filesys.cpp debug output to go into debug.txt 2012-03-23 00:05:32 +02:00
Perttu Ahola c3f2b24a9a Remove useless clearing of the Z buffer 2012-03-22 22:15:38 +02:00
Perttu Ahola c13691a8e6 Add output levels --info and --trace (--verbose is now more verbose) 2012-03-22 14:10:37 +02:00
Perttu Ahola 2671b9af1b Move headers from socket.h to socket.cpp 2012-03-22 13:41:50 +02:00
Perttu Ahola 7d0ad0f521 Fix UDPSocket's debug output 2012-03-22 13:36:37 +02:00
Perttu Ahola 9bd75d5668 Log at info level when a banned client connects 2012-03-22 13:35:32 +02:00
Perttu Ahola ef0ec31554 Goddamn MSVC pow overload ambiguities 2012-03-21 22:11:15 +02:00
Perttu Ahola da4f51332f Add ScopeProfilerType SPT_GRAPH_ADD 2012-03-21 15:38:24 +02:00
Perttu Ahola 194258b479 Add different automatic profiler graph drawing style for relative-ish plots 2012-03-21 15:06:45 +02:00
Perttu Ahola fa416e7116 Add more graph colors, add mainloop_dtime graph, make statustext fade away faster 2012-03-21 15:06:44 +02:00
Perttu Ahola 71b2e0e002 Modify and clean main loop to allow measuring the proper times 2012-03-21 15:06:44 +02:00
Perttu Ahola 7d1ac4d1f6 Profiler graph 2012-03-21 15:06:41 +02:00
Perttu Ahola 2f2ef80ec2 Use atof() in mystof(), because istringstream>>float randomly causes a segfault on mingw 2012-03-21 02:16:22 +02:00
Perttu Ahola c0530921ff Attempt to fix some minor memory leaks 2012-03-20 17:55:34 +02:00
Perttu Ahola 50621ffe85 Fix mod paths 2012-03-20 01:07:02 +02:00
Perttu Ahola db4911f956 Fix for MSVC and move stuff around a bit in CMakeLists.txt and src/CMakeLists.txt 2012-03-20 01:06:58 +02:00
Perttu Ahola b9cc0a7976 Move icon files to misc/ 2012-03-20 00:32:43 +02:00
Perttu Ahola 97b693052c Flatten share/ and user/ in the source and for the RUN_IN_PLACE build 2012-03-20 00:08:00 +02:00
Perttu Ahola 19ed3bb193 Move share/builtin.lua to share/builtin/builtin.lua 2012-03-19 21:37:27 +02:00
Perttu Ahola 895b970a10 Move client textures to the correct place 2012-03-19 21:34:21 +02:00
Perttu Ahola 1f56d71f19 Rework directory structure 2012-03-19 20:44:07 +02:00
Perttu Ahola 1ff20da5b6 Add the mod search path user/mods/gameid 2012-03-19 08:34:38 +02:00
Perttu Ahola 5ef78cd815 Make Lua error output in log clearer 2012-03-19 08:23:48 +02:00
Perttu Ahola d24c56fd4b Unknown nodes can be dug 2012-03-19 08:16:17 +02:00
Perttu Ahola c54a40df06 Attempt to fix build for MSVC 2012-03-18 19:08:13 +02:00
Perttu Ahola 9c4f68e174 Fix getVisibleBrightness() to return sunlight visibility correctly even if not much of world has been loaded 2012-03-18 18:30:21 +02:00
Perttu Ahola 2e0c0e9d89 Fix old world search path for non-run-in-place build 2012-03-18 17:17:05 +02:00
Perttu Ahola 569fca5308 Disable word wrap in vertical texts in main menu 2012-03-18 16:32:59 +02:00
Perttu Ahola b409803527 Fix installation in cmake project files 2012-03-18 16:30:02 +02:00
Perttu Ahola 99d257ae8b "or" -> "||" in content_mapblock.cpp 2012-03-18 16:07:17 +02:00