Craig Robbins
5698e2baf8
Fix Android text bug (no text displaying)
2015-03-07 20:51:07 +10:00
paramat
ffdf8dedb7
Dungeongen: Optionally set ignore to be untouchable to disable floating dungeons
2015-03-07 01:41:53 +00:00
ShadowNinja
e9eda2b0d0
Don't start a server for map migration
2015-03-06 00:20:45 -05:00
ShadowNinja
708337dfc2
Clean up database API and save the local map on an interval
2015-03-06 00:20:45 -05: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
Loic Blot
40c2c18a3f
l_get_modnames: Compare using std::sort instead of a custom function which does same work
2015-03-05 20:12:54 +01:00
Loic Blot
c00eed90d3
collisionMoveSimple: use std::vector instead of std::list, this improve the performances
2015-03-05 18:08:19 +01:00
Loic Blot
6c09b34edc
ProfilerGraph: Use std::list instead of std::vector
2015-03-05 17:57:47 +01:00
Craig Robbins
daa1c30b35
Fix mapgen using unitialised height map values
2015-03-06 01:42:55 +10:00
Loic Blot
3d505b2b5f
Use std::queue for HTTPFetchRequest and std::vector for log_output instead of std::list
2015-03-05 16:21:10 +01:00
Loic Blot
9749d9fee6
Fix issue #2441 : crash on respawn, since a conversion std::list to std::vector on Environment.cpp
...
* Also change some std::list to std::vector for ClientMap::renderMap
* Remove disabled code in ClientMap::renderMap, disabled since a long time
2015-03-05 15:36:20 +01:00
Loic Blot
0d1eedcccc
Replace std::list to std::vector into tile.cpp (m_texture_trash) and move tile.hpp to src/client/
2015-03-05 11:59:40 +01:00
Loic Blot
aa474e4501
Server.cpp Use std::list instead of std::vector for playSound, fillMediaCache, sendRequestedMedia, sendMediaAnnouncement and related functions
2015-03-05 11:40:04 +01:00
Loic Blot
82482ecd9d
Server::AsyncRunStep: buffered_messages now uses std::vector instead of std::list. * sendRemoveNode and sendAddNodes are also converted as a side effect
2015-03-05 11:23:54 +01:00
BlockMen
36e8ba9ce2
Fix some rendering glitches
...
- Fixes particle draworder
- Fixes nodehighlighting
2015-03-05 10:51:18 +01:00
Loic Blot
365e4ae0fa
Performance improvement: Use std::list instead of std::vector for request_media, Server::getModNames, Environment::m_simple_objects.
...
* Also remove unused Server::m_modspaths
2015-03-05 10:44:48 +01:00
Loic Blot
b214cde5b4
Remove Queue class which uses std::list and use native std::queue
2015-03-05 16:49:51 +10:00
Craig Robbins
9e67579315
Fix memory leak in MapgenV6
2015-03-05 15:17:37 +10:00
paramat
eb7482fd73
Cavegen, mgv5: Cleanup code
...
Conf.example: Update mgv5 mapgen params
Mgv7: Lava caves only below -256
2015-03-04 23:53:58 +00:00
Loic Blot
cd684497c2
Use std::vector instead of std::list in StaticObjectList and MutexedMap::getValues()
2015-03-04 17:22:37 +01:00
Loic Blot
06f328207f
ABMHandler and player_collisions use sequential read/write. Switch from std::list to std::vector
...
* Also remove dead code Map::unloadUnusedData which is dead since a long time
2015-03-04 17:02:36 +01:00
Loic Blot
2066655aae
ClientInterface::getClientIDs doesn't need a std::list. Use a std::vector for better perfs
2015-03-04 16:30:24 +01:00
Loic Blot
7e088fdfe3
We always know playerSAO when calling SendInventory. Using it instead of searching it via peer_id
2015-03-04 15:28:33 +01:00
Loic Blot
40bf1d7b5f
Send Position packet on event, don't check it at each AsyncRunStep.
...
* This permit to cleanup the player checking loop
2015-03-04 12:19:26 +01:00
Loic Blot
7f8f9785d7
ASyncRunStep doesn't need to lock when do setTimeOfDaySpeed.
...
* setTimeOfDaySpeed already lock a mutex when modify the value, we don't need to lock all environment.
* add a fine grain lock for getTimeOfDay and setTimeOfDay to solve environment multithread modifications on this value
2015-03-04 11:46:31 +01:00
Loic Blot
1b2f64473e
Send Inventory packet on event, don't check it at each AsyncRunStep.
...
* Call UpdateCrafting into SendInventory because this functions is only called before SendInventory
* Use Player* instead of peer_id for UpdateCrafting because SendInventory already has the Player* pointer, then don't loop for searching Player* per peer_id
* m_env_mutex don't need to be used with this modification because it's already locked before the calls
2015-03-04 11:29:39 +01:00
Loic Blot
038d3a31df
Remove unused m_wielded_item_not_sent
2015-03-03 17:36:54 +01:00
Loic Blot
7e56637ed0
Send Breath packet on event, don't check it at each AsyncRunStep
2015-03-03 16:33:20 +01:00
Loic Blot
64ff966bae
Send Player HP when setHP (or a setHP caller) is called instead of looping and testing the state change.
2015-03-03 16:06:04 +01:00
Miguel Almeida
056e8f7839
Fix occlusion
2015-03-02 12:09:02 +01:00
Craig Robbins
aefe80769b
Fix narrow_to_wide_c (ANDROID)
...
* Ensure converted string is NUL terminated
* Restore logic to that used prior to 9e2a9b5
2015-03-02 13:16:01 +10:00
paramat
773aa8c57b
Mgv6: Add heightmap. Do not make large caves that are entirely above ground
2015-03-02 02:13:43 +00:00
Loic Blot
3b1ac5b889
Revert "Fix particles draworder" (issue #2388 )
...
This reverts commit c09d026f0561ee3c6db821a7e193716f724a0e4a.
2015-02-27 14:15:24 +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
Craig Robbins
338e66af5f
Fix minor memory leak (Android)
2015-02-27 13:40:27 +10:00
paramat
14f7df980b
Biome API: Re-calculate biome at every surface in a mapchunk column
2015-02-26 03:35:25 +00:00
rubenwardy
d65a90a86b
Add camera smoothing and cinematic mode (F8)
2015-02-25 15:34:33 +01:00
Loic Blot
b4acac706d
Rename --do-unittests to --run-unittests as @Zeno- and @sfan5 requested
2015-02-24 08:56:52 +01:00
gregorycu
577701cabd
Optimise MapBlockMesh related functions
...
Directely or indirectly optimises the following functions:
* MapBlockMesh::MapBlockMesh
* MapBlockMesh::getTileInfo
* MapBlockMesh::makeFastFace
* MapBlockMesh::getSmoothLightCombined
2015-02-23 23:20:31 +10:00
Craig Robbins
3b6480c5b0
Fix wrapDegrees family of functions
...
wrapDegrees() (renamed to modulo360f)
wrapDegrees_0_360
wrapDegrees_180
Minor errors were present in previous versions; see issue #2328
2015-02-23 22:50:32 +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
kaeza
c5defe7a11
Add mod.conf file support This new file only permits to specify a mod name for now
2015-02-21 18:18:06 +01:00
Loic Blot
009149a073
Fix some memory leaks on packet sending.
2015-02-21 17:27:31 +01:00
Loic Blot
5a5854ea9d
Move hex.h to util/
2015-02-21 14:32:35 +01:00
BlockMen
c09d026f05
Fix particles draworder
2015-02-21 14:11:00 +01:00
Loic Blot
3998a1f8f9
Move sha1.hpp and base64.hpp to util/
2015-02-21 14:03:27 +01:00
BlockMen
aa31e3c7f3
Use skin font for usernames ( fixes #2363 )
2015-02-21 13:31:42 +01:00
Loic Blot
cf4045ff0f
Use proper CMakeLists.txt for network and client directories
2015-02-21 11:51:12 +01:00
Loic Blot
b3aeba684b
Unit tests must be done at integration process.
...
* Remove --enable-unittests and --disable-unittests and add --do-unittests function
* --do-unittests function will exit 0 on success.
* minetest and minetestserver binaries are launched with --do-unittests in travis build.
2015-02-21 11:04:19 +01:00
paramat
38e6280552
Mgv5: Remove blobgen. Remove crumble and wetness noises
...
Add large pseudorandom caves below -256
De-link terrain level from water_level
Cavegen: Mgv5 large cave code
2015-02-21 01:43:25 +00:00
Ner'zhul
e357577cb2
Typo fix in networkprotocol.h
...
InventoryAction is in inventorymanager.h
2015-02-19 20:03:22 +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
BlockMen
8941ea0cc9
Increase default font_size
2015-02-18 12:51:17 +01:00
BlockMen
9a9fcfc9a3
Fix font_size under windows
2015-02-18 12:39:23 +01:00
Perttu Ahola
4d744cf87a
Use fixed size for builtin menus on non-android platforms
2015-02-18 12:33:40 +02:00
Loic Blot
27d4e89d32
Fix unused (and so, broken) enable_rollback_recording. This option must be reloaded at server loop but loaded when server starts, for data consistency (not a hot load variable)
...
ok @ShadowNinja
2015-02-18 09:28:39 +01:00
fz72
0a299fd4e5
Fix map_seed not changed when creating a new world after login to another
2015-02-18 08:57:14 +01:00
Loic Blot
2079462e62
Change many useless std::list into Environment class (m_players), ABMHandler and ActiveBlockList::update
...
This improve looping performances.
2015-02-17 16:50:03 +01:00
Kahrl
81b9c023c4
Grab GUIChatConsole::m_font, fixes segfault when changing font_size
2015-02-18 00:38:57 +10:00
Loic Blot
fd70f4f2f0
Replace std::list by std::vector into ClientMap::updateDrawList, Map::timerUpdate and ServerMap::save().
...
This will speedup the loop reading into those functions
2015-02-17 15:28:49 +01:00
Loic Blot
3c91ad8fc2
Replace std::list by std::vector into timerUpdate calls
2015-02-17 15:08:37 +01:00
Novatux
24315db6ef
Ignore old entities from 0.3.
2015-02-17 15:07:05 +01:00
Loic Blot
54487b3e70
Remove old comment from Network Rework Patch 2/4
2015-02-17 14:49:21 +01:00
Loic Blot
718bcafd51
Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ServerMap::listAllLoadedBlocks and their database backends.
...
This adds a speedup on database migration and /clearobjects command
2015-02-17 14:35:44 +01:00
Loic Blot
c58d49977d
SAO: re-add old ActiveObjectTypes for a future migration layer
2015-02-17 11:37:55 +01:00
Loic Blot
f8d5af7536
SAO work: ActiveObject types & SAO cleanup * Replace u8 types with ActiveObjectType. * Merge content_object.h into activeobject.h * Remove DummyLoadSAO, it's now unused. * Remove ItemSAO, it's also unused
2015-02-17 09:09:50 +01:00
Yaman
98d80e2012
Add player direction to on-screen debug text
...
(PR Modified slightly)
2015-02-17 01:56:21 +10:00
Loic Blot
7c8793cbea
Performance Improvement: Use a cache which caches result for getFacePositions.
...
This greatly reduce the number of std::list generated by caching the result, which is always constant for each radius selected.
In the callgrind map, you will see original:
* 3.3M calls to std::list for 9700 calls to getFacePositions
In the modified version, you will see:
* 3.3K calls to std::list for 6900 call to getFacePositions
Callgrind map is here: #2321
it's a huge performance improvement to l_find_node_near
2015-02-16 11:27:44 +01:00
Loic Blot
ed04e8e9e4
[Patch 2/4] Network rework: packet writing, sending and cleanups
...
NetworkPacket.cpp:
* Remove some deprecated functions, we must use streaming interface
* m_data converted from u8* to std::vector<u8>
* Add an exporter to forge packet to Connection object
* implement operator << std::wstring. n
* implement operator << std::string
* dynamic resize when write packet content.
* fix string writing and performances.
* create ServerCommandFactory, used by client to get useful informations about packet processing (sending).
* Reliability
* Transmit channel
* Implement putRawString for some ugly char (_INIT packet), and use it.
* Many packet read and write migrated
* Implement oldForgePacket to interface writing with current connection
* fix U8/char/bool writing
* fix string writing and performances.
* add some missing functions
* Use v3s16 read instead of reading x,y,z separately
* Add irr::video::SColor support into packets
* Add some missing handlers
* Add a template function to increase offset
* Throw a serialization error on packet reading (must be improved)
PacketFactories:
* Create ServerCommandFactory, used by client to get useful informations about packet processing (sending).
* Create ClientCommandFactory, used by server to get useful informations about packet processing (sending).
Client.cpp:
* implement NetworkPacket ::Send interface.
* Move packet handlers to a dedicated file
* Remove Client::Send(SharedBuffer)
Server.cpp:
* implement NetworkPacket ::Send interface.
* Rewrite all packets using NetworkPacket
* Move packet handlers to a dedicated file
* Remove Server::Send(SharedBuffer)
ClientIface.cpp:
* Remove sendToAll(SharedBuffer<u8>)
Connection.hpp rework:
* Remove duplicate include
* Remove duplicate negation
* Remove a useless variable
* Improve code performance by using a m_peers_list instead of scanning m_peers map
* Remove Connection::Send(SharedBuffer)
* Fix useafterfree into NetworkPacket Sending
* Remove unused Connection::sendToAll
Test.cpp:
* Remove dead code
* Update tests to use NetworkPackets
Misc:
* add new wrappers to Send packets in client, using NetworkPacket
* Add NetworkPacket methods for Connection
* coding style fix
* dead code since changes cleanup
* Use v3s16 read instead of reading x,y,z separately in some packets
* Use different files to handle packets received by client and server
* Cleanup: Remove useless includes
ok @Zeno-
Tested by @Zeno- @VanessaE and @nerzhul on running servers
2015-02-16 11:00:55 +01:00
Loic Blot
8aebc31a17
Fix unit test if there isn't a localhost address (for example FreeBSD jails), second part
2015-02-15 14:30:34 +00:00
Loic Blot
a3e2b3e404
Fix unit test if there isn't a localhost address (for example FreeBSD jails)
2015-02-15 13:11:03 +01:00
Loic Blot
3b6b9435c5
Only do the IPv6 unit test if IPv6 is enabled
2015-02-15 12:20:37 +01:00
Loic Blot
7880ff74b6
Re-apply 4a6582c13c36cab457b78f32338c6bb4ab9ea58b broken since 146f77fdb750833c649de7159a0833c398e14a4d
2015-02-14 09:21:04 +01:00
Craig Robbins
d44cb547f2
Suppress CGUITTFONT build warnings
2015-02-13 23:54:05 +10:00
ngosang
c7a7803780
Minor fixes in translations
2015-02-12 16:41:40 +01:00
BlockMen
d302629392
Fix gettext on MSVC
2015-02-12 16:03:55 +01:00
ngosang
e102cbd840
Fix .zip extraction (mod store)
2015-02-12 15:27:20 +01:00
Loic Blot
146f77fdb7
main.cpp rework * Move ClientLauncher class to a dedicated file * ClientLauncher now owns print_video_modes and speed_tests functions (they are only called by him) * Move GameParams to shared/gameparams.h because it's shared between server and client and launcher need to know it * Move InputHandlers class to client/inputhandler.h * Cleanup includes
2015-02-12 15:00:03 +01:00
Loic Blot
a19ec3328c
Remove unused variables to make clang happy
2015-02-12 11:13:27 +01:00
ngosang
4a6582c13c
Small changes in the style of controls
2015-02-12 09:54:48 +01:00
Loic Blot
c3a23ebc28
Make Clang happy with lua lauxlib.c.
...
No functionnal change
2015-02-12 08:00:22 +01:00
est31
b2f3ffe308
Enable LUA_USE_POSIX if possible in bundled Lua
...
Fixes warning:
src/lua/src/loslib.c:60: Warning: the use of `tmpnam' is dangerous, better use `mkstemp'
2015-02-12 16:14:12 +10:00
Craig Robbins
66efaaa983
Fix Android compile warning
2015-02-12 13:16:38 +10:00
Loic Blot
a9355284b5
Don't permit to open inventory is playerCAO isn't present. This prevent to open an empty inventory at player load. ok @zeno-
2015-02-11 12:23:14 +01:00
Loic Blot
8252e1ecd0
Fix issue #2279 . ok @zeno-
2015-02-11 10:03:29 +01:00
Craig Robbins
c8f60bd224
Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" setting
...
* Increase performance (client)
* Avoid changing a global value to solve a local problem
2015-02-11 17:45:49 +10:00
ShadowNinja
98b37e3e0d
Fix Android build of narrow_to_wide
2015-02-11 02:28:22 -05:00
Craig Robbins
f824866686
Revert "Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" setting"
...
This reverts commit d25ff8fd2592f457b91e8a61240694af3902d23f.
2015-02-11 17:01:19 +10:00
Craig Robbins
d25ff8fd25
Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" setting
...
* Increase performance (client)
* Avoid changing a global value to solve a local problem
2015-02-11 16:02:16 +10:00
Markus Koschany
cfca5f99e6
Fix FTBFS on GNU/Hurd platform
...
Minetest fails to build on GNU/Hurd due to a name clash with OSX/Apple,
both are defining the __MACH__ keyword. This commit fixes the issue.
2015-02-11 15:59:58 +10:00
Craig Robbins
caf8d2a9d1
Increase MapBlock::actuallyUpdateDayNightDiff() performance by 2-8x. ok @celeron55
...
Before patch, function consumes up to ~8% of the main server loop. After, ~0% (below level of 2 places of significance)
2015-02-10 16:23:37 +01:00
Loic Blot
bb59a8543d
Replace getPlayer(playername) by getPlayer(peer_id) in some possible cases. ok @Zeno-
2015-02-10 16:03:16 +01:00
Loic Blot
368496b612
Craftdef.cpp: Improve loop and mathematics for CraftDefinitionShaped::check
2015-02-10 14:16:28 +01:00
ngosang
dd2bb950be
Fix Exit to OS button focus in Pause Menu
2015-02-10 21:23:16 +10:00
Loic Blot
a704c04f00
Network Layer 7 rework (Packet handling)
...
* Move networkcode to a dedicated directory
* Rename clientserver.h to network/networkprotocol.h (Better name) and sanitize some includes
* Create object NetworkPacket
* It stores command (opcode) and data separated
* It also stores peer_id
* Data reading can be done by using a streaming interface
* Change packet routing analysis
* Remove old conditional analysis
* Now uses function pointed analysis and add connection state ({Client,Server}::handlers)
* Connection state permit to categorize condition to handle before analyze packets
* Create a handler for depreciated messages, instead of duplicating code
2015-02-10 20:04:08 +10:00
kwolekr
15c037614f
Hud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar
2015-02-08 12:47:45 -05:00
gregorycu
a0535d286b
Fix rebase bug, make render loop use cache setting
2015-02-07 22:23:36 +10:00
Craig Robbins
0904884ad4
Fix warnings in CGUITTFont.cpp
2015-02-06 23:02:15 +10:00
ShadowNinja
1367e8ffff
Fix gettext
2015-02-05 11:49:14 -05:00
ShadowNinja
9e2a9b55e1
Reduce gettext wide/narrow and string/char* conversions
2015-02-05 03:24:22 -05:00
ShadowNinja
84c367bb46
Fix translation memory leak
2015-02-05 03:24:13 -05:00
ShadowNinja
8bbf106379
Fix translation finding of overlay messages
2015-02-05 03:24:00 -05:00
paramat
bec5d3ab22
Mgv7 mountains: Remove divide by zero code that creates vast walls
...
Conf.example: Add mgv7 cave1, cave2 noiseparams
Mgv7: Make skipping of mountain code relative to y=0 not water level
Mountain noise offset now -0.6 to compensate
Tune chance of large caves
2015-02-05 03:21:04 -05:00
Craig Robbins
9a0dd47057
Fix performance regression
2015-02-05 17:34:10 +10:00
SmallJoker
929e0b0ad8
Give full breath after death
2015-02-05 17:33:08 +10:00
gregorycu
5e075c3344
Fix dying of lava causes repeated death This is a bugfix for issue #81
2015-02-05 17:32:35 +10:00
ngosang
1b4aaa5f50
Suppress 4 gcc 4.9.2 warnings in CGUITTFont.cpp
2015-02-05 02:41:55 +10:00
sapier
d902bd31c4
Fix getCraftRecipe returing wrong reciep due to way to unspecific output matching
2015-02-02 21:32:23 +01:00
kwolekr
0118c111e8
Fix some MSVC-specific warnings and add debug path as an MSVC directory
2015-02-02 02:01:13 -05:00
kwolekr
43f102271d
Create minidump on fatal Win32 exceptions
...
Remove software exception translator function, simplifying exception handler
macros. FatalSystemExceptions are left unhandled.
2015-02-02 01:39:17 -05:00
kwolekr
48fa893abd
Randomly generate seed if field blank for any Settings instance
2015-02-01 02:05:39 -05:00
Kahrl
285655a878
Fix NDT_GLASSLIKE normals
...
Remove inventorycube() workaround for default:glass in minimal game
2015-01-31 03:06:34 +10:00
Craig Robbins
38561023b4
Fix local map saving when joining a local server from the server tab
...
Disables local map saving for all local server types
See: https://github.com/minetest/minetest/issues/2024
2015-01-31 00:42:08 +10:00
Kahrl
4d15d63134
Fix uninitialized variable m_database_delete in Database_SQLite3
...
This fixes issue #2219
2015-01-28 05:01:07 +01:00
kwolekr
ad690c46b1
Write common mapgen params to map_meta.txt on world initialization
2015-01-27 22:29:28 -05:00
Loic Blot
80a7408e4d
Fix a crash (assert) when client set serial version < 24 in INIT
...
When SER_FMT_VER_LOWEST is set to zero, then the test is stupid in INIT because all client works. In mapblock we check if client's serialization version is < 24, but if client sent serialization version < 24 (15 for example) the server set it and tried to send nodes, then BOOM
To resolve the problem:
* Create a different CLIENT_MIN_VERSION to handle this problem
* Remove the exception
* Use an assert in case of bad developer code
2015-01-27 16:55:25 +01:00
kwolekr
eeea454bff
Fix missing map_meta.txt error when creating new worlds
...
A missing map_meta.txt should be treated simply as if there were a blank file.
2015-01-27 02:10:04 -05:00
Craig Robbins
ca217d0416
Revert "Fix a crash (assert) when client set serial version < 24 in INIT command SER_FMT_VER_LOWEST is set to zero, then the test is stupid in INIT because all client works. In mapblock we check if client's serialization version is < 24, but if client sent serialization version < 24 (15 for example) the server set it and tried to send nodes, then BOOM"
...
nerzhul is (may?) be working on a new solution. For the moment this is reverted because old worlds cannot be loaded (see discussion on github for the commit).
This reverts commit 800d19270250bb13cc6b2d330199815bf8e96446.
2015-01-27 00:39:33 +10:00
gregorycu
5b55deb1eb
Suppress MSVC warning in chat.cpp
2015-01-25 16:09:23 +10:00
gregorycu
ed7c9c4cb8
Settings fixes Make the GameGlobalShaderConstantSetter use the settings callback (8% perf improvement in game loop) Ensure variable is set Ensure settings callback is threadsafe
2015-01-25 15:23:37 +10:00
Craig Robbins
2c4a5e1861
Revert "Make the GameGlobalShaderConstantSetter use the settings callback (8% perf improvement in game loop)"
...
This reverts commit a555e2d9b0ccee452996381a44677b8bec210036.
2015-01-25 01:19:40 +10:00
(@U-Exp)
800d192702
Fix a crash (assert) when client set serial version < 24 in INIT command SER_FMT_VER_LOWEST is set to zero, then the test is stupid in INIT because all client works. In mapblock we check if client's serialization version is < 24, but if client sent serialization version < 24 (15 for example) the server set it and tried to send nodes, then BOOM
2015-01-24 22:41:02 +10:00
Kahrl
f8bd1f3563
Fix uninitialized variable Server::m_next_sound_id
2015-01-24 06:44:41 +01:00
Craig Robbins
0ea843bbdb
Fix unitialised variable occassionally being used
2015-01-24 14:54:42 +10:00
gregorycu
a555e2d9b0
Make the GameGlobalShaderConstantSetter use the settings callback (8% perf improvement in game loop)
...
Amend the settings callback to support userdata
2015-01-23 21:27:51 -05:00
paramat
aafbbcd537
Mgv5: Skip calculation of filler, heat and humidity perlinmaps in underground mapchunks
2015-01-23 21:24:47 -05:00
ShadowNinja
a9f81b729b
Send real port to server list
2015-01-23 21:38:34 +10:00
paramat
1702c34b64
Mgv7 generateRidgeTerrain: Make river generation relative to water level
...
Remove widthn and make nridge zero underwater
2015-01-22 02:21:11 -05:00
paramat
70354ac20b
Mgv7: Speed optimise calculateNoise and generateRidgeTerrain
...
Remove unnecessary range limiting of persistmap
Skip calculation of filler, mountain, ridge, heat and humidity perlinmaps in underground mapchunks
Skip generateRidgeTerrain in underground mapchunks
2015-01-22 02:10:07 -05:00
paramat
408d9b72f0
Mgv7 generateRidgeTerrain: Enable rangelim of widthn to remove abysses, calculate widthn later in function
...
Reduce width to 0.2
Carve river channels in deeper waters
2015-01-22 02:06:33 -05:00
TriBlade9
db481e7232
Added ratio argument to colorize, removed the weird alpha-based ratio.
2015-01-20 22:56:20 +10:00
paramat
9b89f7aad7
Mapgen V5: Various improvements
...
Caves check for biome nodes, only excavate stone under water level
Unease caves noises, use MT0.3 parameters
Blobgen after cavegen
Biomegen: remove 'is replaceable content' bool
2015-01-18 23:38:15 -05:00
kwolekr
38bd9e93a2
Fix all warnings and remove -Wno-unused-but-set cflag
2015-01-18 23:29:19 -05:00
kwolekr
e36681101e
Add SemiDebug (-O1 with debug symbols) build mode and do not optimize Debug at all
...
Add -Wall to Debug modes for all compilers and -Wabi for non-MSVC
Use /Ox for MSVC Release mode (potentially higher optimization than /O2)
2015-01-18 22:30:11 -05:00
kwolekr
976d0b2caa
Reorganize supported video driver query mechanisms
2015-01-18 13:24:25 -05:00
kwolekr
6e9f287844
Revert "Fix bug in debug build"
...
This reverts commit 839c4a99cddcacdc19dee42286b7029c4c1e7800.
2015-01-18 13:19:28 -05:00
Craig Robbins
839c4a99cd
Fix bug in debug build
...
-O1 results in executables that are completely useless for actuall debugging
2015-01-19 00:26:59 +10:00
Kahrl
e80a044818
Fix use of uninit data in Sky and (potentially) GUIChatConsole constructors
...
Clean up nearby code a bit
As a small side effect, it is now possible to add a background texture
to the chat console by simply providing background_chat.jpg, it is no
longer necessary to also add "console_color =" to minetest.conf.
2015-01-18 13:16:01 +01:00
Craig Robbins
29514918f8
Fix particles causing unitialised data being used due to use of incorrect union member
2015-01-18 20:30:57 +10:00
gregorycu
db3466dbe8
Water fixes
...
Change must_reflow to a deque
Add overload for MapBlock::raiseModified that takes a const char*. This is a speed improvement.
Comment out unused variable
Optimisations to block offset calculations
2015-01-18 20:30:33 +10:00
Craig Robbins
805c8e51e5
Create empty default constructor for MapNode
2015-01-18 13:39:50 +10:00
paramat
2f0a8f1c3e
Mgv7: Replace small pseudorandom caves with 3D noise tunnels. Fewer large caves
2015-01-17 21:57:48 -05:00
sapier
a39c136e69
Fix NodeMetadataList loosing memory on deserialize due to invalid clear map call instead of clear
2015-01-17 19:14:36 +01:00
gregorycu
2959d6b3da
Fix entitiy WieldMeshSceneNode not freed due to additional grab
2015-01-17 19:13:08 +01:00
Craig Robbins
5481e38d0b
Make minor style change(unescape_string())
2015-01-16 21:05:44 +10:00
Loic Blot
e5b636712c
Fix missing return in Database_Dummy::deleteBlock
2015-01-16 21:00:11 +10:00
Craig Robbins
5e58a95491
Fix potential out-of-bounds array index
2015-01-16 14:35:57 +10:00
kwolekr
9736548720
Add ability to delete MapBlocks from map
...
Also add a Lua API and chatcommand for this
2015-01-15 16:48:56 -05:00
kwolekr
0330cec7ec
Initialize noise ptr on creation (fixes crash if OreVein deleted before use)
2015-01-15 16:23:04 -05:00
ShadowNinja
77e20a0c21
Fix unescape_string removing all backslashes
2015-01-15 16:16:41 -05:00
unknown
bd0d786590
Change UniqueQueue to use a queue and a set.
2015-01-15 21:08:35 +10:00
TriBlade9
e19dab2622
Added configurable ambient_occlusion_gamma. Default is 2.2 (same as previous hardcoded values).
2015-01-14 23:35:50 +10:00
Craig Robbins
57f2fa57cd
Fix use of uninitialized data
2015-01-14 15:43:33 +10:00
onkrot
0fd1ee0380
Performance fixes.
2015-01-13 23:48:56 +10:00
unknown
5d08ada224
Add VoxelArea::hasEmptyExtent
2015-01-13 23:24:32 +10:00
kwolekr
714a4f8507
Attempt to fix occasional issue of uninitialized MapBlock data
2015-01-12 22:31:08 -05:00
kwolekr
b0efb8f3b2
Prevent transform of noise3d result in getBlockSeed2
2015-01-12 15:46:04 -05:00
paramat
c367f7301a
Mapgen V5: Move cave generation from base terrain loop to optional function
...
This fixes biome surface in tunnels
2015-01-11 22:35:36 -05:00
sapier
aed70cb0b6
Disable sound and key binding settings in "pause" menu on android
2015-01-11 13:58:49 +01:00
sapier
2d9b311e7b
Fix invalid stepheight increase calculation on android
2015-01-11 13:57:26 +01:00
sapier
25235a4324
Increase stepheight on android by 0.5 to smoothen movement
2015-01-11 04:33:42 +01:00
Kahrl
b7c0e4b333
Fix clipping rectangle of GUITable row highlight
2015-01-10 19:56:14 +01:00
sfan5
3b16103ca6
Change default font sizes to 14(freetype) and 10(non-freetype)
2015-01-10 18:59:43 +01:00
sfan5
8089d89a51
Set default value for ENABLE_REDIS to 0
2015-01-10 15:28:25 +01:00
sapier
30334b6b22
Revert "Switch default scaling factor to 0.75 as most ppl seem to have 96dpi screens instead of previous assumed 72"
...
which ain't required any longer as fonts are no longer autoadjusted
This reverts commit 7ad17a25f4dfc81427df54d5c855b40b4472d517.
2015-01-09 19:07:55 +01:00
sapier
de3888ca09
Remove automatic consistent formspec size <-> font size (now has to be done manually)
...
Set builtin formspecs to autoscale in order to get consistent formspec look and feel
Uncouple label positioning from font size (May break some formspecs but is required to allow manual font adjustment)
2015-01-09 18:46:24 +01:00
Craig Robbins
3c8e372119
Removed superfluous facedir check in mapblock_mesh.cpp
2015-01-10 02:06:33 +10:00
Kahrl
2ab97a7821
Fix logic of checkbox formspec element validity checking
2015-01-09 16:57:54 +01:00
sapier
63867b1a37
Fix memory leaks due to messed up memory handling for particles as well as their spawners
2015-01-09 15:23:49 +01:00
sapier
e201620ee1
Split gui_scaling to gui_scaling + hud_scaling as those elements need different handling on some devices
2015-01-09 14:31:33 +01:00
Craig Robbins
d576235409
Fix facedir > 23 causes segfault in client
...
See issue #2017
Applied kahrl's gist
2015-01-09 15:42:03 +10:00
sapier
7ad17a25f4
Switch default scaling factor to 0.75 as most ppl seem to have 96dpi screens instead of previous assumed 72
2015-01-09 00:37:02 +01:00
ShadowNinja
a3db918f78
Remove included SQLite3
2015-01-08 16:34:42 -05:00
sfan5
d8cf64a202
Add SQLite3 libraries to buildbot
2015-01-08 16:34:42 -05:00
paramat
56a89fd265
Return step smoothing value to 23
2015-01-08 15:06:28 +10:00
kwolekr
4a57ef12a1
Mapgen V6: Re-enable liquid flowing
2015-01-07 19:27:09 -05:00
rubenwardy
2504da28af
Fix direction property of HUD
2015-01-07 20:51:47 +01:00
sapier
ef140eb7b0
Fix emerge thread not cleaning up emerge queue on shutdown
2015-01-07 12:19:48 +01:00
sapier
42f3515c0e
Fix andorid build error
2015-01-07 00:10:21 +01:00
sapier
0f1d33933d
Implement X11 dpi autodetection
2015-01-06 22:41:07 +01:00
sapier
083d19b3fc
Fixes for android
...
Copy only minetest_game to apk by default
Don't copy .git and .svn folders to apk
Fix bouncing asset copy scrollbar due to long filepaths
Reenable font scaling to fix broken menu on high dpi screens
Implement minetest loglevel to android loglevel mapping
Disable touch digging while moving around
2015-01-06 16:13:39 +01:00
Craig Robbins
beb6b3e593
Prevent client crashing if an NDT_AIRLIKE node is dropped
...
The player dropping the node can either be themselves or another player (i.e. without this fix you can crash other people's clients)
Thanks CWz for reporting the issue
2015-01-05 22:55:02 +10:00
kwolekr
2d849b0a19
Shorten ManualMapVoxelManipulator to MMVManip
2015-01-05 02:42:27 -05:00
kwolekr
7289d61e99
Optionally specify propagateSunlight area in calcLighting
...
This fixes the Mapgen V5 calcLighting segfault
2015-01-05 01:20:36 -05:00
kwolekr
3bdf3df223
Exclude vertical mapblock borders when setting light
2015-01-04 23:14:16 -05:00
kwolekr
091594e26e
NodeDef: Clear NodeResolver related entries too in clear()
2015-01-04 22:39:57 -05:00
kwolekr
bdcf03ae36
Add minetest.generate_ores() and minetest.generate_decorations()
2015-01-04 22:38:48 -05:00
kwolekr
cd4d213ae0
NodeResolver: Perform callback immediately if node registration phase finished
...
Also add NodeResolver callbacks on the client
2015-01-04 16:32:31 -05:00
kwolekr
6fdb32361a
Remove freezemelt (the remainder of proller nonsense)
2015-01-04 03:30:10 -05:00
kwolekr
8eb9cebdd0
Add warning about using deprecated fields in Mapgen API and update docs
2015-01-04 03:24:40 -05:00
kwolekr
ef8ed5d127
LuaVoxelManip: Error when given out-of-bounds area
2015-01-04 03:07:28 -05:00
kwolekr
7233a1228e
Lighting: Fix nearly all issues
...
The cause of a single light source seemingly being lit without spread
was due to its creation in the +Y mapblock boundary layer during map
generation, which was ignored as the overtop. This overtop explicitly
needs to be omitted during sunlight propagation, however. To accomplish
this, Mapgen::calcLighting() was split into separate functions taking
separate parameters.
Additionally, do not diminish light too early during spread. This fixes the
output inconsistency between Map::updateLighting and Mapgen::calcLighting.
2015-01-04 02:42:31 -05:00
Kahrl
060ae29eaf
Update bundled SQLite to 3.8.7.4
2015-01-04 05:21:59 +01:00
ShadowNinja
3c3887bb19
Deduplicate code and use stdlib in string functions
2015-01-03 14:50:16 -05:00
kwolekr
d91559b8f0
Fix crash if NodeResolver destroyed before pending any node resolutions
2015-01-03 11:05:31 -05:00
sapier
0db73bd83e
More consistent progress bar from 0-100 on startup
2015-01-02 17:53:42 +01:00
sapier
aaec558f85
Fix rounding error in font size making main menu and in game font sizes inconsistent
2015-01-02 16:52:02 +01:00
paramat
7452d5399b
MgV5/6/7: Generate dungeons above water level
...
Use/add stone_surface_max_y to speed-optimise/guide dungeon generation
MgV7: Don't let mountain terrain chop dungeons at mapchunk borders
Make mountain terrain update stone_surface_max_y for caves in mountains
2015-01-01 15:44:26 -05:00
paramat
938a3f2976
Mgv7: Remove range limits on mountain height to enable modification through .conf
2015-01-01 12:51:49 -05:00
kwolekr
a3d7203be5
Fix map parameter load order
2014-12-30 12:30:42 -05:00
Craig Robbins
3d29be24e0
Add display_gamma option for client
2014-12-31 02:44:31 +10:00
Dmitry Marakasov
2414580754
Fix endian.h include for FreeBSD
2014-12-30 23:00:01 +10:00
Craig Robbins
53bc56dc3c
Cleanup updateCameraDirection and fix random input not working
2014-12-30 22:59:55 +10:00
kwolekr
9b0d77a549
Replace instances of height_min/height_max with y_min/y_max to remove ambiguity
2014-12-30 01:48:20 -05:00
kwolekr
b589353d89
Decoration: Fix default parameter values
2014-12-30 00:52:40 -05:00
kwolekr
c6df2bc42c
Add support back for resolving group names in NodeResolver
2014-12-29 23:15:53 -05:00
kwolekr
f12118c38b
Fix some lingering code style issues
2014-12-29 22:04:47 -05:00
kwolekr
0974337804
Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity)
2014-12-29 21:44:52 -05:00
kwolekr
ca89e63b27
Add core.get_mapgen_names() to Main Menu API (and use it)
...
Also rewrite mapgen registration for static initialization
2014-12-29 21:23:51 -05:00
kwolekr
5e2753c712
Expose mapgen parameters on scripting init
...
Add minetest.get_mapgen_params()
Deprecate minetest.register_on_mapgen_init()
2014-12-29 12:59:59 -05:00
Kodexky
a79a116ac8
Center status text for better visibility.
2014-12-30 00:30:28 +10:00
Kodexky
62feade05d
Add extra buttons to Android GUI. All icons are licensed by freepik.com under CC BY 3.0
2014-12-30 00:30:28 +10:00
Craig Robbins
3993102e88
Fix -Wtype-limits warnings and remove disabling of -Wtype-limits
2014-12-29 23:56:40 +10:00
kwolekr
5038b9aaec
Print unit test failures to dstream
2014-12-29 02:30:03 -05:00
kwolekr
9eb492229b
FontEngine: Don't use file extension to check font file compatibility
2014-12-29 01:46:13 -05:00
kwolekr
cc3ab5efa5
LuaVoxelManip: Remove blank allocator
2014-12-29 01:31:37 -05:00
kwolekr
3c637b4baf
LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, set_metadata
2014-12-28 23:59:24 -05:00
sapier
acb3519502
Fix MSVC compiler warning about passing this pointer in initializer list
2014-12-28 23:40:44 -05:00
Christophe Piveteau
91c00d29a5
Skip further loading of client if there was an exit signal
2014-12-28 22:46:53 -05:00
kwolekr
863379a4c6
Decoration: Add height_min and height_max parameters
...
Also set default height_min/height_max to -31000 and 31000,
respectively, for ore and biomes
2014-12-28 22:37:27 -05:00
kwolekr
c5faa64405
Cavegen: Fix copy & paste error (solves #2020 )
2014-12-28 22:35:14 -05:00
paramat
570c2042b1
Biome API: Add shore top and shore filler nodes, underwater node, water top node. Add water top depth and shore height parameters. Remove water dust node
2014-12-28 21:37:43 -05:00
kwolekr
61dfa912f5
Ore: Add Vein ore type
2014-12-28 21:17:12 -05:00
kwolekr
900fa26965
Ore: Add Blob ore type
2014-12-28 03:11:00 -05:00
kwolekr
8c98f497d9
PseudoRandom: Expose constant PSEUDORANDOM_MAX
2014-12-28 03:09:32 -05:00
kwolekr
8334100fe1
LuaVoxelManip: Add option to allocate blank data
2014-12-27 23:09:36 -05:00
kwolekr
ae2721f2c8
VoxelManipulator: Remove unnecessary deallocation steps
2014-12-27 22:35:05 -05:00
kwolekr
08d259cf41
Set fallback content if resolving content vector requires everything
2014-12-27 22:20:04 -05:00
kwolekr
b67f37f27e
Redefine NodeResolver interface and replace with callback mechanism
2014-12-27 02:12:21 -05:00
ShadowNinja
33eed6eb84
Fix fs::GetRecursiveSubPaths trying to get directory lists for files
2014-12-24 17:23:07 -05:00
Craig Robbins
8621e6de5d
Large increase in performance
2014-12-24 23:13:24 +10:00
kwolekr
565959db86
Silence misc. warnings
2014-12-23 01:09:50 -05:00
Craig Robbins
7b93408884
Make limiting of the reflow liquids queue size optional
...
If liquid_queue_purge_time == 0 then disable the queue size limiting and make this the default setting
Additionally, liquid_loop_max now defaults to 100000
2014-12-23 15:47:06 +10:00
kwolekr
249749dd8c
Temporarily fix always bright wieldhand with shaders enabled
2014-12-22 22:37:11 -05:00
Kahrl
7109e8f9fd
Fix weird (and wrong) comment in test.cpp
2014-12-21 13:20:42 +01:00
paramat
173e1f6014
Re-add hacky fix for underwater grass, to fix mgv7 user's biomes
2014-12-20 14:50:13 -05:00
unknown
1e8e700ee6
Change TileSpec::frames to be std::vector not std::map
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-21 02:41:17 +10:00
Vanessa Ezekowitz
0d55f43977
Fix visual_scale for plantlike nodes (again)
...
fixes #1989
move the plant to the bottom of its node properly, without affecting its scale. See isue #1989
2014-12-19 12:25:32 +10:00
Craig Robbins
815876e709
Fix visual_scale for NDT_PLANTLIKE being set too small
2014-12-18 20:28:14 +10:00
Craig Robbins
f5211bbd59
Suppress compiler warning
2014-12-18 19:29:04 +10:00
kwolekr
67063ed59f
Remove manual biome noise translation
2014-12-17 16:28:28 -05:00
Craig Robbins
082256a9f8
Do not allow the m_transforming_liquid queue to increase until all RAM is consumed
2014-12-18 03:32:19 +10:00
Pavel Puchkin
3b902fd574
Fix OSX packaging finally
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-16 20:33:54 +10:00
kwolekr
8661b3587b
Set WM_CLASS window hint for Xorg
2014-12-15 13:52:10 -05:00
kwolekr
8fe1d3fc2e
Expose mapgen chunksize in on_mapgen_init callbacks
2014-12-14 18:46:46 -05:00
Pavel Puchkin
a0ac471c1a
Fixes #1687 by extra semaphore retval handle code for OSX
...
See https://github.com/minetest/minetest/issues/1687#issuecomment-56830173
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-15 02:12:39 +10:00
kwolekr
dcbf1b3ce5
Noise: Don't assume Noise is used for 2D unless gradientMap2D is actually called
2014-12-14 00:18:31 -05:00
Craig Robbins
b5e11e0e9a
Fix misleading error when exiting the client from the main menu
2014-12-14 00:07:44 +10:00
Craig Robbins
784a452ed5
Provide more info if a subgame is not valid/found
2014-12-13 23:01:16 +10:00
kwolekr
035e6bfc18
LuaPerlinNoiseMap: Fix 3d noise safety check
2014-12-12 22:58:44 -05:00
Kahrl
c4624639e6
Fix segfault when dragging mouse out of mainmenu window ( #1910 )
2014-12-13 00:39:07 +01:00
ShadowNinja
8af9d8b6ac
Fix missing call to std::ostringstream::str
2014-12-12 16:32:11 -05:00
SmallJoker
19ccc27d37
Fix MSVC compiling warnings and remove an unused texture
2014-12-12 16:09:34 -05:00
kwolekr
093b1b47d9
Log: Silence errorstream during unittests
2014-12-12 15:51:55 -05:00
Anton
10e0cf8b2c
Use std::string::empty() instead of size() where applicable
2014-12-12 15:16:24 -05:00
kwolekr
8066743a83
Settings: Fix invalid memory access when setting not found in working mem
2014-12-12 14:39:36 -05:00
kwolekr
2c9bbe2736
NodeResolver: Fix some comments and use const references for params
2014-12-12 14:21:41 -05:00
kwolekr
cf8213ea82
Add minetest.clear_registered_decorations() and clear_registered_ores()
2014-12-12 14:08:04 -05:00
MirceaKitsune
cec141adc1
Allow footstep sounds to play for liquid and ladder nodes, making swimming and climbing sounds possible
2014-12-12 16:47:47 +01:00
Kodexky
6ba50aa8f9
Responsive tooltip offset for Android.
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-13 00:43:37 +10:00
Craig Robbins
9f65fd6819
Fix typo in mapblock.h
2014-12-12 20:46:37 +10:00
kwolekr
4e5d17f666
LuaPerlinNoiseMap: Prevent invalid memory access when attempting to generate 3d noise with a buffer created for 2d
2014-12-12 02:46:52 -05:00
kwolekr
00fc0babe0
Mapgens: Rename m_emerge to prevent name collisions
2014-12-12 02:38:39 -05:00
kwolekr
2b8180a417
Add support for NoiseParams in minetest.get_perlin() and add docs on NoiseParams to lua_api.txt
2014-12-12 02:02:44 -05:00
kwolekr
d3dc88fe6b
Settings: Fail on invalid sequence and throw exception for LuaSettings
2014-12-12 00:44:17 -05:00
kwolekr
b0c4fd6d3f
Settings: Sanitize value for multiline terminator tokens
2014-12-11 23:26:13 -05:00
kwolekr
fb80a7c111
Clean up Noise macros
2014-12-11 02:53:10 -05:00
kwolekr
c07f15e910
NodeResolver: Fix cancelNode and cancelNodeList
2014-12-11 00:41:54 -05:00
kwolekr
16baed0467
Noise: Automatically transform noise maps if needed
2014-12-10 23:35:37 -05:00
kwolekr
dcc48976ce
Move get_schematic and read_schematic to l_mapgen.cpp
2014-12-10 01:49:57 -05:00
paramat
4cf8042b7c
Biome API: Reduce heat and humidity persistences to 0.5
2014-12-10 01:39:08 -05:00
kwolekr
a89f37bb65
Add support for lacunarity in legacy NoiseParams string format
2014-12-10 01:31:43 -05:00
Kahrl
daefd0ab36
Add paste command (Ctrl-V) in GUIChatConsole
2014-12-10 07:12:08 +01:00
kwolekr
cfba55ba0a
Remove get_noiseparams function. read_noiseparams should be used from now on
2014-12-10 00:56:44 -05:00
kwolekr
fb2bc956b1
Noise: Create a deep copy of NoiseParams
2014-12-10 00:37:09 -05:00
kwolekr
88c28414f4
Settings: Sanitize setting name everywhere, not just LuaSettings
2014-12-09 23:52:13 -05:00
kwolekr
d50878d608
Rename and repurpose minetest.set_noiseparam_defaults to set_noiseparams
2014-12-09 23:44:04 -05:00
kwolekr
f2c18511a4
Settings: Make setting entry group and values mutually exclusive
...
This greatly reduces the complexity of Settings code.
Additionally, several memory leaks were fixed.
2014-12-09 23:29:34 -05:00
SmallJoker
2f8fbdb9f5
Rewrite fs:GetDirListing(file) by kahrl
2014-12-10 02:59:10 +10:00
SmallJoker
5229a229a6
Ignore .name directories and files
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-10 02:49:02 +10:00
Craig Robbins
c5f6f9f77a
Increase performance of getLight() by at least 2x
...
Leads to the following increases:
getSmoothLight() approx. 40% increase
getTileInfo() approx. 25% increase
MapBlockMesh::MapBlockMesh() 25-30%
2014-12-10 00:52:02 +10:00
Pavel Puchkin
a1ea017b51
Fix builds failing on BSD-like (such as OSX) due to an irrlicht bug (temporary fix)
...
Details:
- https://sourceforge.net/p/irrlicht/bugs/433/
- https://github.com/minetest/minetest/issues/1687#issuecomment-61368769
- https://forum.minetest.net/viewtopic.php?f=42&t=9190&start=125#p159364
In case when "settings.h" is included from "emerge.cpp" or
"environment.cpp", u64 type has "unsigned long" length because
previously <stdint> was included. When "settings.h" is included from
"settings.cpp", u64 has "unsigned long long" length because no <stdint>
was included previously. This leads to different signatures of "setU64" method
and linker cannot find appropriate symbol.
The best fix of this bug should be done in the Irrlicht, but as hotfix I
think this is OK and better than types changing.
Previously this bug didn't appear because there was no "settings.cpp" file and
implementation of all methods was done in the header file.
2014-12-09 20:40:52 +10:00
kwolekr
941d000fc6
Noise: Update Noise::resizeNoiseBuf to account for lacunarity not equal to 2
2014-12-09 00:50:58 -05:00
kwolekr
29b413b376
Biomes: Make biome heat and humidity noise parameters user-configurable
2014-12-09 00:38:04 -05:00
Craig Robbins
7490368984
Fix compiler warning (signed vs. unsigned)
2014-12-08 23:00:49 +10:00
kwolekr
2a7c6d27b3
Optimize noise implementations
2014-12-08 03:26:29 -05:00
Kahrl
0183c05ee0
Fix struct vs. class in forward declarations
2014-12-08 09:06:31 +01:00
RealBadAngel
4f23778e53
Fix lighting artifacts (Issue #1887 ).
2014-12-08 08:53:31 +01:00
kwolekr
2fd3d52020
Add flags and lacunarity as new noise parameters
...
Add 'absolute value' option to noise map functions
Extend persistence modulation to 3D noise
Extend 'eased' option to noise2d_perlin* functions
Some noise.cpp formatting fixups
2014-12-07 21:59:32 -05:00
RealBadAngel
638f3a8454
Disable loading .mtl files. Theyre not used anyway.
2014-12-08 02:24:46 +01:00
MirceaKitsune
c5f6656f99
Make directional fog colors respect tonemap
2014-12-08 01:44:28 +01:00
Craig Robbins
5c55738276
Fix f6 debug/profiler display
...
After fonts were re-engineered the height of the f6 debug/profiler display would only display about 2-3 lines of text.
2014-12-08 00:01:22 +10:00
Calinou
bc2b8e9eef
Increase third person view distance
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-12-07 21:54:44 +10:00
Muhammad Rifqi Priyo Susanto
5ffddc94c0
Add space between client names in status text (client)
...
Before:
Server: version=0.4.10, uptime=190.5, max_lag=0.001, clients={user1,user2,user3,user4,user5,foobar,userplayedminetestthismorning}
After:
Server: version=0.4.10, uptime=190.5, max_lag=0.001, clients={user1, user2, user3, user4, user5, foobar, userplayedminetestthismorning}
2014-12-07 21:32:08 +10:00
RealBadAngel
535c473103
Restore finalColorBlend implementation in shaders.
2014-12-07 11:05:00 +01:00
Craig Robbins
500f691426
Fix regression (increase/decrease viewing range with +/- keys)
2014-12-07 18:32:30 +10:00
kwolekr
2f134ce24f
Mapgen V5: Fix use of uninitialized value in ctor
2014-12-07 01:19:42 -05:00
kwolekr
390c0cd691
Schematics: Fix minetest.place_schematic() when defined by a Lua table
2014-12-06 18:39:05 -05:00
kwolekr
60feb4ad25
Add minetest.clear_registered_biomes() api
2014-12-06 18:08:23 -05:00
Kahrl
f3abaec83b
Ignore some mouse events sent from scrollbar to GUITable
...
Fixes #1567 , #1806 .
2014-12-06 22:45:23 +01:00
SmallJoker
d75f0b0360
Close settings files and save them correctly
2014-12-06 14:08:01 -05:00
sfan5
4fcf9fb66a
Add workaround for failing clang build
2014-12-06 19:56:31 +01:00
kwolekr
5062b99cb0
Rewrite generate notification mechanism
...
Add support for notify-on-decoration
Clean up mapgen constructors
Clean up mapgen.cpp code style somewhat
Remove trailing whitespace from some files
2014-12-06 13:53:35 -05:00
Craig Robbins
2b119e1e19
Performance of main client loop up to 2x faster In places, up to 3 times faster
...
NOTE 1: This does not mean a 2x increase in framerate. Increase in fps may be up to 1-2fps
NOTE 2: This local 'caching' of settings is not optimal and an alternative solution will be worked on after 0.4.11 is released
2014-12-07 00:51:01 +10:00
Craig Robbins
0e78aa296e
Add name of node 'pointed at' to debug
...
This is "Add name of node pointed at to debug #1677 " by @rubenwardy updated to work with game.cpp after it was refactored.
2014-12-05 16:14:50 +10:00
SmallJoker
5da6896d51
Fix MSVC build
...
Note: The unit test was technically incorrect for all platforms but passes due to implicit casting
2014-12-05 16:09:53 +10:00
RealBadAngel
a648120d54
Recalculate normals for mesh #0 . Fix for issue #1902 .
2014-12-05 01:05:18 +01:00
Craig Robbins
f7f7fec497
(INTERIM) Make sizes of the font in formspecs consistent and not so large
...
Until a permanent fix can be developed
2014-12-05 02:35:21 +10:00
Craig Robbins
c16b1e2639
Optimise VoxelManipulator::copyFrom
...
~3-4x faster
This indirectly optimises MapBlock:copyTo() which in turn improves performance of MeshMakeData::fill()
2014-12-04 23:37:04 +10:00
Craig Robbins
f6912f4241
Right mouse button behaviour for craft/inventory If right mousebutton clicked once then don't drop single items into slots. If right mouse button has been clicked and held a second time, drop items as the mouse is moved. In the second case (automatically drop/place items as mouse is moved) only auto-drop into blank slots, or slots that contain the same item.
2014-12-04 23:30:53 +10:00
kwolekr
f0cd59034c
Settings: Various setting group fixes and enhancements
...
- Remove blank setting values when setting has a group
- Pair setting values with groups in file when possible
- Preserve user-set whitespace in setting objects
- Delete setting value when setting NoiseParams group
- Delete overwritten groups outside of lock
2014-12-04 03:20:07 -05:00
paramat
0a5373d400
Add definable node_stone to biome API, mgv5, mgv7. Reduce and correct depth of mgv7 biomes. l_mapgen.cpp: add '#include mapgen_v5.h' because '#include mapgen_v7' is there. Improve underwater grass hack
2014-12-03 19:45:29 -05:00
kwolekr
fcb1ea903f
Settings: Fix getNoiseParamsFromValue()
2014-12-02 21:09:16 -05:00
kwolekr
68c799bf99
Use setting groups for NoiseParams
...
Add format example to minetest.conf.example
Add Settings::setU16()
Throw exception on attempted access of NULL settings groups
2014-12-02 04:03:37 -05:00
sapier
93aab0362c
Fix settings callback "call" lost on rebase
2014-12-01 19:47:57 +01:00
Craig Robbins
691b18c41b
Fix node 0,0,0 being highlighted when enable_node_highlighting == false
...
Without this patch node 0,0,0 is highlighted when enable_node_highligting is false
There is a minor lighting issue remaining, however it seems to be related to a different bug (https://github.com/minetest/minetest/issues/1887 )
2014-12-01 22:13:21 +10:00
Craig Robbins
d4f42938a5
Fix build
...
Note: this does not fix the warnings generated by clang
2014-12-01 15:17:47 +10:00
kwolekr
360660947b
LuaSettings: Sanitize setting name strings
2014-11-30 19:01:54 -05:00
Kahrl
16781da4f9
Fix segfault at exit caused by non grabbed font
2014-11-30 23:21:14 +01:00
kwolekr
175b7a28e5
settings: Add setting groups and multiline entries
2014-11-30 16:11:21 -05:00
sapier
39162de15a
Make hud use fontengine too
...
Fix non coding style conforming glb_fontengine to g_fontengine
Fix fonts never been deleted due to grabbed to often
2014-11-30 18:06:54 +01:00
Zefram
d1d6a97b1c
Scale form elements consistently
...
The ratios between the sizes of form elements, including text, is now
fixed, aside from variations caused by rounding. This makes form layout
almost fully predictable, and particularly independent of player's
screen size. The proportions of non-text elements are the traditional
proportions.
For compatibility, the way in which element positions and sizes are
specified remains unchanged, in all its baroqueness, with one exception.
The exception is that the position of a label[] element is now defined
in terms of the vertically center of the first line of the label,
rather than the bottom of the first line of the label. This change
allows a label to be precisely aligned with button text or an edit box,
which are positioned in a centering manner. Label positioning remains
consistent with the previous system, just more precisely defined.
Make multi-line label[] elements work properly. Previously the code set
a bounding rectangle assuming that there would be only a single line,
and as a result a multi-line label would be cut somewhere in the middle
of the second line. Now multi-line labels not only work, but have
guaranteed line spacing relative to inventory slots, to aid alignment.
Incidentally fix tabheader[] elements which were being constrained to
the wrong width.
Given an unusually large form, in variable-size mode, the form rendering
system now chooses a scale that will fit the entire form on the screen,
if that doesn't make elements too small. Fixed-size forms, including the
main menu, are have their sizes fixed in inch terms. The fixed size for
fixed-size forms and the preferred and minimum sizes for variable-size
forms all scale according to the gui_scaling parameter.
2014-11-30 17:50:09 +01:00
sapier
dceb9f7d60
Implement proper font handling
2014-11-30 17:50:09 +01:00
kwolekr
25945dc539
noise: Throw exception on noise allocation failure
2014-11-29 16:52:45 -05:00
SmallJoker
a3e019c4f6
Fix MSVC compiling error (argc/argv not available to pass to init_gettext)
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-29 22:31:40 +10:00
Craig Robbins
edb125837c
Fix regression with command line --go option
2014-11-28 22:48:46 +10:00
Ciaran Gultnieks
77137a92cf
Don't corrupt stepheight when setting other properties
2014-11-26 20:02:48 +01:00
Kahrl
264d740c9d
Wield: always obey anisotropic_filter setting, not just for hi res textures
2014-11-26 19:54:04 +01:00
Kahrl
571ba5d9c5
EMF_USE_MIP_MAPS was introduced in Irrlicht 1.8, don't use in 1.7.3 or below
...
This is not optimal as it will cause minor graphical glitches for
Irrlicht 1.7 users, but at least it fixes the build.
2014-11-26 19:17:50 +01:00
Sokomine
9f9279008c
added enable_build_where_you_stand option
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-27 01:07:11 +10:00
Kahrl
ec5188a49a
Wieldmesh: don't force anisotropic filtering on, instead disable mipmaps
...
This should fix #1844 . Thanks to oleastre for making the first version
of this commit (#1848 ).
2014-11-26 15:17:17 +01:00
rubenwardy
8df8554fce
Only set the camera update keymap when using a debug build
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26 21:53:01 +10:00
Kodexky
9aaf67ebe0
Fix Android main menu crash, and user data directory check.
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26 18:11:08 +10:00
Calinou
1c9f05d792
Increase step smoothing to fit 1:1 stairs (works well on slabs too)
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-26 17:28:02 +10:00
Craig Robbins
26cf98ccfc
Fix client "double saving" simple singleplayer local maps
2014-11-26 00:49:54 +10:00
KodexKy
5413ed1195
Fixes for Android build errors. Enable sensor landscape rotation.
...
Fix typo in Android Makefile ndk path.
Fix touchscreen parts of game.cpp to work after Zeno's refactor.
Fix isdigit and isspace overload conflict with Android Irrlicht in string.h
Enable sensor landscape rotation in Android Manifiest.
Add mapgen v5 to Android build.
Fix Makefile not checking leveldb.
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-25 13:28:51 +10:00
RealBadAngel
0164483310
Port createForsythOptimizedMesh from Irrlicht 1.8
...
Mesh rotation helpers.
2014-11-23 00:51:08 +01:00
Craig Robbins
21464639b3
Fix regression with USE_REDIS (refactor_main)
2014-11-23 01:12:25 +10:00
Craig Robbins
d6cc0d8223
refactor main.cpp
2014-11-23 00:27:02 +10:00
Craig Robbins
cb2d467665
Fix smooth lighting (ambient occlusion)
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-22 21:58:00 +10:00
Pavel Puchkin
f7f24d1470
Fix compiling if no endian.h found
...
f7d6509 introduces error when no endian.h found in the system.
Since "CHECK_INCLUDE_FILE" returns empty string instead of "0", when
"cmake_config.h" is generated it has "#define CMAKE_HAVE_ENDIAN_H " line.
Later we have "#define HAVE_ENDIAN_H CMAKE_HAVE_ENDIAN_H" in the
"config.h", an thus "HAVE_ENDIAN_H" is also empty sting. Because of
this, "#if HAVE_ENDIAN_H" is incorrect preprocessor directive.
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-22 21:56:38 +10:00
Rafael Reilova
f7d65091f8
serialize.h: use machine native byte swapping if available, fall-back to previous generic method if not (supported for GCC using endian.h, detection done in cmake) write/readARGB8() - just write 32-bit color in one op, instead of 4 1-byte ops cleanup: removed unneeded buffer init for some serialize-out functions use a #define for the fixed point factor in read/writeF1000()
...
nodemetadata.cpp, nodetimer.cpp
optimzation: simpler deserialize node position method
staticobject.cpp:
cleanup: use util/serialize.h inlines instead of its own de/serialization
serialize.cpp:
minor optimization/cleanup: avoid generation of unneeded string temporary
CMakeLists.txt, cmake_config.h.in: detection of endian.h
config.h: added HAVE_ENDIAN_H
Commits due to feedback squashed
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-21 22:33:48 +10:00
Craig Robbins
d406ac994b
Optimise functions from CNodeDefManager and VoxelManipulator
...
CNodeDefManager::get()
VoxelManipulator::addArea()
2014-11-21 14:56:45 +10:00
Craig Robbins
ea404979e1
Optimise getTileInfo()
...
getTileInfo() ~1.5x faster
getSmoothLight ~2.0x faster
2014-11-21 14:56:45 +10:00
paramat
fcdb1a8fc2
Mgv5 1 up 1 down overgeneration for biome surface continuity
2014-11-20 23:13:09 -05:00
paramat
d39887dadd
Mgv5 get ground level at point function. Fast spawn player version
2014-11-20 21:07:20 -05:00
ShadowNinja
c4e393deea
Simplify loading of Android version of menu
2014-11-20 15:37:20 -05:00
Kodexky
b9bc8dadb2
Fix raillike bug (currently manifests itself on Android), and minor improvement to readability.
...
NB: Minor edits to patch made by Zeno- (int to short and minor formatting)
2014-11-20 15:41:59 +10:00
ShadowNinja
b1965ac209
Clean up rollback
2014-11-19 16:21:59 -05:00
ShadowNinja
da0f1e5497
Fix wallmounted mesh rotations
2014-11-19 16:17:54 -05:00
sfan5
9d69436052
Add (optional) client-side saving of server map to disk
2014-11-19 15:11:23 +01:00
Kahrl
55e4c35eaf
Remove unused rangelim function (the macro still exists)
2014-11-19 10:19:52 +01:00
Craig Robbins
f0a8f655c0
Fix double free bug when server is shut down
...
Thanks @oleastre
2014-11-15 22:33:52 +10:00
kwolekr
8831703428
Fix NoisePerlin3DEased return value
2014-11-14 21:19:46 -05:00
kwolekr
8d3a68f343
Fix warnings and other misc. minor changes
2014-11-14 03:07:12 -05:00
Craig Robbins
5b8855e83c
Remove most exceptions from getNode() (and variants)
2014-11-14 18:05:34 +10:00
SmallJoker
874109c520
Add option 'eased' to NoiseParams
...
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-11-13 23:06:38 +10:00
kwolekr
b57478b93b
Fix compilation under some Linux distributions
2014-11-13 00:16:37 -05:00
kwolekr
c3ad08708f
Mapgen v7: Fix uninitialized spflags
...
Mapgen v5: Fix minor style issue
2014-11-12 23:58:50 -05:00
kwolekr
fc9521874c
Add eased 3d point-value noise functions
2014-11-12 23:49:45 -05:00
kwolekr
7616537bc0
Add Generator Element Management framework
...
Add BiomeManager, OreManager, DecorationManager, and SchematicManager
2014-11-12 23:02:41 -05:00
RealBadAngel
f25cc0dbae
Wielded fixes. Add shaders support.
2014-11-13 03:51:04 +01:00
Craig Robbins
45ebaa3524
Fix profiler values not being updated (F6) and not being logged
2014-11-11 20:58:57 +10:00
Kahrl
0adadba218
Serverlist: announce mg_name from map_meta.txt instead of minetest.conf
2014-11-10 22:27:10 +01:00
Zeno-
a1e9732407
Merge pull request #1825 from Zeno-/control_key_cache
...
Create faster key cache for main game loop (client)
2014-11-10 19:12:25 +10:00
Craig Robbins
987e565eeb
Create faster key cache for main game loop (client)
2014-11-10 12:26:19 +10:00
paramat
10a47b7fee
Tune cave noise scales to 6. Fix blobs spflag, now enabled. Update conf.example
2014-11-09 20:21:39 -05:00
Kahrl
9b551d5cbc
Implement WieldMeshSceneNode which improves wield mesh rendering
...
- Don't create and cache an extruded mesh for every (non-node) item.
Instead use a single one per image resolution.
- For cubic nodes reuse a single wield mesh too
- Improve lighting of the wielded item
- Increase far value of wield mesh scene camera, fixes #1770
- Also includes some minor refactorings of Camera and GenericCAO.
2014-11-08 23:11:57 +01:00
Craig Robbins
cc8d7b8640
Stop inserting empty lines at end of minetest.conf file each time it is rewritten
...
See: https://github.com/minetest/minetest/issues/1790
2014-11-08 21:57:52 +01:00
Craig Robbins
1c21e391ed
Fix regressions and minor improvements in refactor_the_game
...
a) Fix double tap for jump and show_debug
b) Revert changes to limitFps()... there is no verification that the new method was an issue, but going back to old method just in case
b.2) limitFps() no longer calls device->run() and also no longer has to be called immediately after a call to device->run()
2014-11-08 21:40:11 +01:00
paramat
92981b2fee
Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, blobs
2014-11-08 21:37:26 +01:00
RealBadAngel
d0be27415e
Speed up removing a node (less block mesh updates).
2014-11-08 21:04:30 +01:00
SmallJoker
c40e993ce4
Replace setting unlimited_player_transfer_distance with player_transfer_distance
2014-11-08 14:56:09 +01:00
Craig Robbins
96fcca4ea0
Address issues related to refactoring the_game
...
Fix time of day persistence
Fix wield item being updated every frame causing small performance hit
Rename some classes and variables
2014-11-03 13:57:56 +01:00
Kahrl
817e3a6c64
Fix regression: mouse wheel couldn't scroll from last hotbar item to first
2014-11-02 21:59:56 +01:00
Craig Robbins
43bf4324d5
Cleanup and (mostly) document util/string.h and (very) minor refactoring
...
Updated: Incorporated feedback from 'kahrl'
Updated: Moved MinetestApp::boolToCStr() from game.cpp into string.h renaming it bool_to_cstr()
2014-11-02 18:07:20 +01:00
Kahrl
8040806f22
Include mg_decoration.h, mg_ore.h from emerge.cpp to fix warnings
2014-11-02 17:52:30 +01:00
Craig Robbins
209c0dd1af
Fix unit tests failing if IPv6 not available
...
See:
https://github.com/minetest/minetest/issues/1526
https://github.com/minetest/minetest/issues/793
2014-11-02 02:27:26 -05:00
Craig Robbins
dfd15fd1d9
Modified dtime calculation method in limitFps()
2014-11-02 02:20:06 +01:00
Craig Robbins
429ecb2b94
Refactor the_game() to make it more understandable and maintainable.
...
The following is a record of 31 commits before squashing:
Revert "Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism"
This reverts commit b49e5cfc7013cef7e9af79d17e04f7e7e4c377d4.
Basic reformatting with astyle
-- additional formatting will be modified, manually, as the need for it is encountered
Start "outlining" what a MinetestApp class might look like
Add MinetestApp::shutdown()
Converted class member functions to camelCase and created protos for new functions
First stage of connect to server done
Add get itemdefs/nodedefs/media code
Init clouds, camera, sky, init GUI, HUD
Input handling
Client events, camera, sound, draw
Fix wield hand getting stuck digging and add debug text back
Fix FPS
Added profiler graph back
Fix FPS issue
Need to work out what went wrong and clean up the copy/paste stuff
Annotate
Various:
Rewrote limitFps()
Limited scope of some variables
Jitter calcs
Reduce scope of objects
Move some stuff out of ::run and minor formatting cleanup
Scope reduction
Function splits
Removed old (broken) limitFps()
Added exception handling back
Fixed some formatting
Reverted commented out unit tests (uncommented them)
Slow clouds down on loading and media screens so the behaviour is like the original the_game()
Formatting/style (no functional changes)
Manually reapply upstream b49e5cf: Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism
Fixed silly errors on my part
Minor formatting cleanups
Removed strange differentiation in FPS limiting when loading
FPS limiting was done differently if cloud_menu_background was true, which does not make sense
Cleaning up
Add some comments
2014-11-02 02:18:25 +01:00
kwolekr
9e811a92e7
Split up mapgen.cpp
2014-11-01 13:16:23 -04:00
kwolekr
db25f75337
Fix erroneous lua_pop parameter
2014-10-30 16:23:48 -04:00
kwolekr
f0ae2da89e
Fix uninitialized variable warning
2014-10-30 02:53:20 -04:00
kwolekr
6b4307791a
mapgen: Resolve nodes in ctor rather than makeChunk
2014-10-30 02:29:37 -04:00
kwolekr
03f3f958ed
Check minetest.hud_change() parameters on conversion ( Fix #1714 )
2014-10-30 00:12:12 -04:00
Craig Robbins
6c9bbb0360
Fix bug introduced by me (Zeno)
2014-10-29 08:54:16 +01:00
RealBadAngel
dd4c21c180
Add option to enable mesh caching, add wallmounted for meshes.
2014-10-29 08:37:33 +01:00
Craig Robbins
813c088c1c
Added names colours and refactored parseColorString()
2014-10-29 03:10:59 -04:00
kwolekr
1cb6ea6346
Refactor decoration-related code
...
Split up ModApiMapgen::l_register_decoration()
Define and make use of CONTAINS() and ARRLEN() macros
2014-10-29 01:56:37 -04:00
PenguinDad
7c6da2f384
Fix various indentation issues
2014-10-28 15:37:58 -04:00
Craig Robbins
6396712ec4
Fix #1733 : An unhandled exception occurred: GetPeer: Peer not found (possible timeout)
2014-10-28 13:39:23 -04:00
kwolekr
4a3592ff9a
Add NodeResolver documentation
...
Set content to fallback on AddNode failure
Consider node list requests with no results as failed
2014-10-28 02:23:45 -04:00
kwolekr
bc28ca0636
Prevent invalid memory access under failure conditions
2014-10-28 00:18:53 -04:00
kwolekr
6ddf458504
Change license of noise implementation to Simplified BSD
2014-10-27 21:17:07 -04:00
kwolekr
b994a7af13
Add support for eased 3d noise
2014-10-27 02:02:38 -04:00
kwolekr
d274cbfce6
Add NodeResolver and clean up node name -> content ID resolution system
2014-10-26 23:55:45 -04:00
Kahrl
b49e5cfc70
Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism
2014-10-24 21:14:48 +02:00
Pavel Puchkin
73bf791fe1
Remove remenants of mob code
...
Since minetest has no mobs within the core anymore, I suppose these
settings and code should go. Any mod that uses `minetest.setting_getbool`
will work with no problem since the default return value is `false`.
2014-10-23 20:54:33 -04:00
RealBadAngel
7e34621b1d
Fix broken plantlike drawtype.
2014-10-22 21:15:31 +02:00
David Thompson
fd5eaae2ba
Search for subgames using $MINETEST_SUBGAME_PATH.
2014-10-22 21:05:14 +02:00
RealBadAngel
d221917170
Recalculate normals for cached meshes.
...
Check if mesh is here before adding to meshcollector.
Fix deleting the meshes.
2014-10-21 18:43:29 +02:00
Kahrl
9029a34cc6
Fix some indentation in nodedef.cpp
2014-10-20 16:11:38 +02:00
Kahrl
ae375cc322
Fix memory leak caused by mesh nodes (and nodeboxes)
2014-10-20 16:11:00 +02:00
RealBadAngel
e5652cb75c
Custom collision boxes node property.
2014-10-19 20:48:21 +02:00
Craig Robbins
076c5ee223
Various uninitialised variable fixes
...
sky.cpp: m_bgcolor.getAlpha() was being used before initialised
mesh related: m_highlight_mesh_color was being used uninitialised
2014-10-19 15:33:08 +02:00
Craig Robbins
fe8ef1be59
Move buttons upwards to accommodate for new configure keys button in the
...
pause menu
2014-10-18 17:30:17 +02:00
RealBadAngel
0066bd77d2
Add meshnode drawtype.
2014-10-18 16:42:23 +02:00
Kahrl
d1ccc64e1e
Make sure PRECISION_SECONDS corresponds to the integer 0
2014-10-09 11:40:33 +02:00
Kahrl
26495da94a
Fix unit reported by TimeTaker (was always ms)
2014-10-09 11:15:03 +02:00
Craig Robbins
914f850d31
Fix use of unitialized variables in mouse button handling
2014-10-08 14:56:29 -04:00
Mushiden
7b548cd2b5
Add in-game key change menu
2014-10-07 17:24:09 -04:00
ShadowNinja
741df993ff
Fix object reference pushing functions when called from coroutines
2014-10-07 16:37:45 -04:00
BlockMen
28438bba27
Add [colorize modifier
2014-10-05 16:49:52 +02:00
kwolekr
173beeee65
Fix special tile backspace culling
2014-10-03 11:20:29 -04:00
RealBadAngel
b9cb196d49
Bugfix: dont highlight (0,0,0) when theres no node pointed.
2014-10-03 16:03:14 +02:00
RealBadAngel
0920f55eb4
Fix broken plantlike drawtype.
2014-10-03 15:33:32 +02:00
kwolekr
37d3c3d328
Fix misc. style issues
2014-10-03 03:49:06 -04:00
kwolekr
01ce57ade5
Clean up nodedef.cpp
2014-10-03 03:21:08 -04:00
BlockMen
f48f686930
Add optional framed glasslike drawtype
2014-10-02 11:35:15 +02:00
ShadowNinja
e9c9b66ae9
Make players check inventory modification properly
2014-10-01 18:44:36 -04:00
ShadowNinja
8b3135a643
Only set player dirty flag if values change
2014-10-01 18:44:36 -04:00
ShadowNinja
cd0df0d5e7
Simplify player modification checks
2014-10-01 18:44:36 -04:00
sapier
b37bff72f1
Fix android build using hardcoded path for data instead of using the one fetched by android api on init.
...
Fix android missing version information
2014-10-01 22:18:29 +02:00
BlockMen
61ed56f916
Standardize tooltip row detection
2014-09-28 10:10:43 +02:00
BlockMen
b75e7148c2
Fix multilined description in tooltips ( fixes #1688 )
2014-09-28 08:44:05 +02:00
sapier
121e8cc2a1
Fix totally messed up 3d modes interlaced/topbottom/sidebyside
2014-09-25 20:37:06 +02:00
sapier
15c7460eda
Fix chat lines not word wrapped correct
2014-09-25 19:54:02 +02:00
Kahrl
5ca5630a11
Fix command line parsing
...
Broken by 6bc4cad0eddd7a7cf593ca1471599e2d75727379, e.g.
minetest --worldname world
would be parsed as
minetest --worldname --worldname
2014-09-22 11:02:26 +02:00
ShadowNinja
56195dc2e4
Fix build with redis
...
Broken by 6bc4cad0eddd7a7cf593ca1471599e2d75727379 because database-redis.h
depended on settings.h to include filesys.h.
2014-09-21 21:02:49 -04:00
TriBlade9
9a685a4f2e
Add firelike drawtype
2014-09-21 15:50:27 -04:00
ShadowNinja
fb35cfb2dc
Fix GCC reorder warning
...
Caused by a020d1b653f94fbcaac06c15f9dbab4521fda355.
2014-09-21 15:23:36 -04:00
sruz25
f6321e277b
Add inventory right click drag and drop
2014-09-21 15:23:27 -04:00
ShadowNinja
c061bdd37f
Fix locking bugs and make inventory deserialization errors more specific
2014-09-21 14:39:36 -04:00
ShadowNinja
6bc4cad0ed
Split settings into seperate source and header files
...
This also cleans up settings a bit
2014-09-21 14:39:35 -04:00
ShadowNinja
2ae5d3f3ab
Fix Settings locking
2014-09-21 14:39:35 -04:00
ShadowNinja
cd64a92a8c
Use const references for Settings methods
...
Also check for (this == &other) before locking mutexes.
2014-09-21 14:39:35 -04:00
Craig Robbins
b97c9c6577
Make getters of the Settings class const
...
Also removed 2 unused functions.
2014-09-21 14:39:35 -04:00
BlockMen
a020d1b653
Allow taking screenshots of formspecs and move message to chat
2014-09-21 19:15:48 +02:00
ShadowNinja
406ed5efac
Add compression API
2014-09-20 14:02:54 -04:00
donat_b
c9cab6bcab
Make config compatible with C++11
2014-09-20 11:20:13 +02:00
ShadowNinja
8852333eb3
Use configured bind_address for HTTPFetch
2014-09-18 21:54:23 -04:00
ShadowNinja
86a3c8ce56
Reduce indentation of HTTPFetchOngoing
...
Also clean up some related things.
2014-09-18 21:54:22 -04:00
TriBlade9
18bfa1c785
Added configurable selectionbox width. Min width = 1, Max = 5
2014-09-19 03:28:46 +02:00
RealBadAngel
86a0f5603b
Bugfix: don't highlight air nodes.
2014-09-18 09:56:27 +02:00
RealBadAngel
58e6d25e03
Node highlighting.
2014-09-17 22:06:13 +02:00
Kahrl
206f076422
Fix typo in comment in chat.cpp
2014-09-14 15:37:27 +02:00
ShadowNinja
2f170a63c6
Simplify and optimize schematic replacements
2014-09-11 22:25:06 -04:00
sapier
62ea342ad1
Log unhandled exceptions in connectionthreads to errorstream
2014-09-06 18:22:27 +02:00
sapier
944e79d7a6
Fix access to invalid data on reception of packet with size 0
2014-09-06 17:42:34 +02:00
BlockMen
8948907431
Change screenshot colorformat properly
2014-09-03 19:41:29 +02:00
BlockMen
b2102bfe49
Don't save alpha channel in screenshots ( fixes #1451 )
2014-09-03 11:39:29 +02:00
kwolekr
f3eefeb794
Add LuaVoxelManip methods: get_node_at() and set_node_at()
2014-09-01 17:33:21 -04:00
kwolekr
9e4e7072da
Update Mapgen VoxelManipulator on buffer invalidation
2014-09-01 15:12:22 -04:00
kwolekr
3fa4f782d9
Save previously generated blocks on Mapgen blitback
2014-09-01 14:58:05 -04:00
sapier
e5b4748bb4
Fix only one texture being updated on window resize breaking sidebyside and topbottom 3d modes
2014-08-29 01:35:35 +02:00
sapier
fb2183b61d
Fix interlaced 3d mode second image being flipped on compiling against irrlicht >= 1.8
2014-08-29 00:54:46 +02:00
RealBadAngel
e66bb9b864
Allow use all 6 faces for special tiles.
...
Protocol version bump.
2014-08-25 12:47:06 +02:00
sapier
e09293b483
Add lua exception handling test code
...
Catch some error situations when mod used without thinking about it
2014-08-23 20:53:34 +02:00
Kahrl
3e267a6ece
Fix LuaJIT exception wrapper
2014-08-23 20:41:03 +02:00
Craig Robbins
f33d31693e
Fix seg fault if popping from empty stack (L-system trees)
...
See: https://github.com/minetest/minetest/issues/1525
Background
Wuzzy2: If you attempt to spawn a L-system tree with minetest.spawn_tree, you can make Minetest crash if it is attempted to pop an empty stack.
ShadowNinja: This shouldn't cause a segmentation fault, but it should throw a Lua error
Commit Description
This commit throws a Lua error instead of causing a segmentation fault. The server will still "crash" but will include a Lua backtrace.
L-Systems fix randomness
Unless a random seed is provided (via Lua treedef) seed the PRNG with a different seed for each tree
Resolves: https://github.com/minetest/minetest/issues/1469
Fix l-system crash when treedef random_level not set by Lua
2014-08-23 06:40:27 +02:00
sapier
996ea60642
Add video driver selection to settings menu (based uppon idea from webdesigner97)
2014-08-23 01:55:54 +02:00
sapier
7940a4264a
Fix chat messages capturing mouse interactions for menu/formspecs
2014-08-23 00:23:14 +02:00
SmallJoker
55c646c5c2
Use pause_fps_max also on multiplayer
2014-08-22 22:52:20 +02:00
sfan5
b19dd922ec
Add ^[mask texture modifier
2014-08-22 22:42:04 +02:00
SmallJoker
e4d570eafc
Reduce time of red screen when damaged
...
10 seconds in PvP is very long and annoying.
2014-08-22 22:19:07 +02:00
Selat
c58b9d8da3
ban.cpp refactoring
2014-08-22 22:03:08 +02:00
sapier
dec8c43de3
Fix to to too two times
2014-08-22 21:51:20 +02:00
sapier
d7d8aa1039
Add player name length checks
2014-08-22 21:18:43 +02:00
sapier
8e9d896f2d
Fix "ghost" blocks if block update is "on wire" while player digs nodes
2014-08-22 20:56:16 +02:00
sapier
247a1ebf23
Improve timeout calculation
...
gf
2014-08-22 20:56:16 +02:00
RealBadAngel
d9df592da8
Pass light sources in blue channel of vertex color instead of decoded light for all special drawtypes.
...
Plus some style fixes and optimizations.
2014-08-21 23:28:01 +02:00
sapier
2a5c88bde1
Don't call a player event without having player to do a event for
2014-08-21 17:29:26 +02:00
sapier
c24e0753fc
Mod profiling support
...
Config settings:
profiling = true/false (gather statistics)
detailed_profiling = true/false (break mod times to callbacks)
Chat commands:
save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
2014-08-19 22:22:57 +02:00
sapier
4caa00cc99
Make scrollbar scale according to DPI and scaling factor
2014-08-16 15:30:56 +02:00
RealBadAngel
bf91d623c8
Let lighting be done only CPU side. Remove finalColorBlend implementation from shaders.
2014-08-16 14:48:52 +02:00
sapier
0a57b5b553
Revert "Fix inventory items blinking on item preloading"
...
The fix didn't work on some systems sadly this wasn't detected prior merge,
as preload is disabled by default now there's not gonna be a fix for it.
2014-08-16 14:18:33 +02:00
sapier
ccf3985b7a
Fix inventory items blinking on item preloading
2014-08-16 13:00:37 +02:00
selat
5f1f1151d3
Remove temporary file at safeWriteToFile()
2014-08-16 12:46:48 +02:00
sapier
fa427d641b
Add sqlite3 backend hack for android
2014-08-16 12:28:07 +02:00
SmallJoker
6c5f79fee9
Fix the *CDP display
2014-08-15 21:46:04 +02:00
RealBadAngel
5e54bf1472
Make faces shading correct for all possible modes.
...
Skip shading for lightsources and top of the nodes.
Fixes liquid sources and flowing surfaces having different brightness.
2014-08-14 06:43:47 +02:00
Kahrl
587167e940
Move #includes from version.h to version.cpp
2014-08-10 01:03:52 +02:00
ShadowNinja
d7bcde6db4
Disable preload_item_visuals by default
...
This can delay connections by several minutes.
2014-08-05 14:54:33 -04:00
Craig Robbins
6929206bc2
Fix issue 1527
...
https://github.com/minetest/minetest/issues/1527
2014-07-29 22:39:39 -04:00
sfan5
17345404ba
Add ZLIBWAPI_DLL and LEVELDB_DLL CMake options Remove legacy MINGWM10_DLL CMake option Update 32-bit buildbot (OpenAL updated, zlib updated) Change build directory for buildbots to '_build' to prevent removal of Android build files Use -win64 suffix for 64-bit Windows builds Fixes #1476
2014-07-29 20:03:18 +02:00
sfan5
5884236046
Rework texture generating code, add texture grouping via ( ... )
2014-07-29 20:02:56 +02:00
sfan5
5357a17bac
Don't include cmake_config_githash.h into files that don't need it
2014-07-25 10:48:03 +02:00
RealBadAngel
8979a3dd99
Dont display interior of glasslike_framed node when its not defined.
...
Fixes https://github.com/minetest/minetest/issues/1514
2014-07-24 20:58:08 +02:00
RealBadAngel
3bf05f020c
Allow full circle rotation with 2degs step for plantlike drawtype.
2014-07-24 20:02:20 +02:00
RealBadAngel
9dc8901e32
Add rotation for plantlike drawtype.
2014-07-22 00:32:03 +02:00
RealBadAngel
70074800a2
Bugfix in makeCuboid - apply rotations to all faces when 1 tile is given.
2014-07-20 16:22:48 +02:00
RealBadAngel
f0db6c4423
Speedup mapblock_mesh
2014-07-17 22:28:14 +02:00
RealBadAngel
625489dff4
Fix texture glitches for plants with visual scale > 1.0 (jungle grass).
2014-07-17 14:10:23 +02:00
RealBadAngel
61088b16c9
Fix texture hack in fences.
2014-07-17 13:37:18 +02:00
sapier
d38f6ebb9b
Fix error handling on inconsistent client ready message
...
Fix android makefile to provide a correct dummy githash if detection fails
2014-07-16 20:01:00 +02:00
Zefram
7d72ac6a69
Make tooltip_show_delay=0 work
2014-07-16 18:06:31 +02:00
Zefram
07f444ed85
Permit non-integer sizes for item_image[]
2014-07-16 17:37:12 +02:00
sapier
9a016a6294
Fix flipped textures for drawtype "glasslike"
2014-07-16 16:37:41 +02:00
sapier
65b8b524c0
Add srollbar formspec element
2014-07-16 15:02:56 +02:00
sfan5
eec456be63
Move MapBlock (de)serializing code out of Database class
2014-07-12 17:38:17 +02:00
proller
2d90aca4ab
Remove indev mapgen
2014-07-12 18:21:54 +04:00
proller
7df83c2c67
Remove math mapgen
2014-07-12 18:15:55 +04:00
RealBadAngel
c9ba92c4ad
Faces shading fixes
2014-07-07 18:06:20 +02:00
kwolekr
a2e1b0fc7f
Don't copy back already generated blocks on map generation
2014-07-07 01:51:04 -04:00
kwolekr
8b3ed78e53
Don't unload blocks if save failed
...
Improve error handling in saveBlock()
2014-07-07 01:20:25 -04:00
sapier
e14c4cdd4c
Fix regression in leveldb backend
2014-07-07 00:06:06 +02:00
sapier
2e19af9919
Fix client crash on deletion of an object the clients localplayer is attached to
2014-07-06 22:11:21 +02:00
sapier
b459f53ac3
Switch android to leveldb as sqlite3 is broken and fails to save any mapblock there
2014-07-06 21:27:54 +02:00
sfan5
d020e0771d
Improve error reporting in leveldb backend
2014-07-06 21:20:40 +02:00
Perttu Ahola
9b44bbd0a6
Fix non-smooth non-shader node shading ( Fixes #1436 , regression by commit a0f78659f31abd)
2014-07-06 22:01:03 +03:00
sfan5
eadde1e741
Fix errors/warnings reported by valgrind
2014-07-06 16:33:02 +02:00
PilzAdam
6bd15247f9
Fix memory leak in EmergeManager
2014-07-06 15:41:59 +02:00
sfan5
37b7f094e3
Fix warnings reported by clang
2014-07-06 13:19:21 +02:00
Perttu Ahola
2fee2baf98
Remove FPS from being next to the version string
2014-07-05 11:55:13 +03:00
sapier
b8343cd11c
Fix memory leaks in GenericCAO, ShaderSource and Player classes
2014-07-02 23:33:18 +02:00
Novatux
3d6d66b181
Fix inversion of full_punch_interval
2014-07-02 16:48:11 +02:00
sapier
bfaba2c12a
Fix regression in light calculation
2014-06-30 22:56:08 +02:00
ShadowNinja
9afeb97fc6
Fix serverlist code style, const-correctness, and types
2014-06-30 13:26:02 -04:00
ShadowNinja
b4c2e79ea4
Fix server list boolean typing and alignment
2014-06-30 13:25:09 -04:00
ShadowNinja
b2dfde8c8c
Add support for multipart/form-data to HTTPFetch for server announcing
2014-06-30 13:23:09 -04:00
sapier
c39992e429
Copy zlib and freetype dll to windows package too
2014-06-29 19:36:51 +02:00
sapier
1cc40c0a7c
Add support for Android 2.3+
...
There have been plenty of ppl involved in creating this version.
I don't wanna mention names as I'm sure I'd forget someone so I
just tell where help has been done:
- The partial android versions done by various ppl
- Testing on different android devices
- reviewing code (especially the in core changes)
- testing controls
- reviewing texts
A big thank you to everyone helping this to be completed!
2014-06-29 18:17:56 +02:00
sapier
ff36071d93
Don't spam server console on player/playersao error but just drop the affected client
2014-06-29 17:55:21 +02:00
RealBadAngel
ea6c3835de
Glasslike_framed drawtype rework.
2014-06-29 17:50:37 +02:00
Martin Doege
c410e9182d
OS X compatibility fixes
2014-06-29 17:27:33 +02:00
sapier
ee7af21e41
Fix msvc2012 build
2014-06-29 16:57:50 +02:00
sapier
ebf7ea5019
Add formspec api versioning
2014-06-29 12:13:55 +02:00
sapier
1367895ae2
Make sure none of the irrlicht member objects of GenericCAO are deleted prior deletion of GenericCAO
2014-06-29 11:57:01 +02:00
SmallJoker
3c5df42a17
Make player files saving again
2014-06-29 00:45:04 +02:00
kwolekr
c91f8b1d25
Add prefixes to enum values and fix style issues
2014-06-28 02:02:38 -04:00
Kahrl
6ee0db6fec
Make GUITable mouse wheel scrolling faster
2014-06-27 23:55:01 +02:00
sapier
f383766dbf
Fix GenericCAO fails to grabing member animated mesh node to prevent it do be deleted to early
2014-06-27 20:42:20 +02:00
RealBadAngel
ed2c8ba9c5
Fix wrong status text rectangle. Fix for #1412
2014-06-27 20:16:37 +02:00
sapier
13517fb726
Add separate download timeout to allow download of bigger files or on low bandwidth lines
2014-06-26 20:57:17 +02:00
sapier
24face5249
Fix statement not set NULL on deletion
...
Make local only variables static
2014-06-25 20:01:29 +02:00
RealBadAngel
09ba047c01
Add setting for tooltips show delay.
2014-06-25 16:23:05 +02:00
RealBadAngel
27538ecef5
Tooltips rework.
...
Separate element for tooltips. Delayed showing,
use global color or given ones.
2014-06-24 22:11:47 +02:00
Kahrl
d1ee708db2
Handle missing tablecolumns[], fixes bug #1187
2014-06-24 02:00:29 +02:00
Kahrl
a578f34db5
GUITable typo fixes in comments
2014-06-24 01:06:24 +02:00
ShadowNinja
089fc010ab
Store the maximum player file tries in a constant
2014-06-23 15:55:47 -04:00
ShadowNinja
e491f8cd48
Only try to load from possible player files
2014-06-23 15:45:59 -04:00
ShadowNinja
7e6db1b803
Only keep players loaded while they're connected
2014-06-23 15:45:59 -04:00
ShadowNinja
50127510e7
Remove confusing code block from SQLite3 database
2014-06-23 15:36:45 -04:00
ShadowNinja
d9de29fa50
Clear inventory before setting lists
2014-06-23 15:28:48 -04:00
sfan5
5fb8778e28
Fix Windows build
2014-06-23 14:50:00 +02:00
sapier
f6fc39e69a
Fix race condition on accessing m_time_of_day_speed causing day night race on some architectures
2014-06-23 00:26:57 +02:00
sapier
b3a2ef1a91
Remove MapVoxelManipulator not really used by anyone
2014-06-23 00:13:41 +02:00
sapier
8ad83767cf
Remove emerge and speedup addArea by using memcopy instead of one by one assignment
2014-06-23 00:13:41 +02:00
sapier
d5de0cbf71
Minor fix in check order
2014-06-23 00:13:41 +02:00
sapier
fcfd53aed1
Don't keep temporary images in RAM
2014-06-23 00:13:41 +02:00
sapier
334ec4bb1b
Avoid doing a full material compare if not even first texture does match
2014-06-23 00:13:41 +02:00
sapier
35ec3855f6
Speedup attachement handling by replacing vector search by direct array access and secondary child lookup vector
2014-06-23 00:13:41 +02:00
sapier
56bf867874
Use memset for flag initialization (compiler optimization is way better)
...
use temp variables instead of recalculating array index
2014-06-23 00:13:41 +02:00
sapier
496cb115b1
Speedup getTileInfo by up to 30%
2014-06-23 00:13:41 +02:00
sapier
5d06bdf8ac
Speedup getBlockNodeIdMapping by up to factor 4 by using a fixed size mapping array
2014-06-23 00:13:41 +02:00
sapier
9056c163a7
Fix sqlite3 map shutdown fails due to missing to finalize list statement
...
Add error output on fail to shutdown sqlite3 map db
Implement shutdown of sqlite3 rollback db
2014-06-22 13:38:51 +02:00
sapier
d4245e6cac
Support for scalable font and gui elements
...
Fix positioning of tabheader in order to be usable for scaling GUIs
WARNING: this changes position of current tabheaders, mods have to adjust!
2014-06-22 00:08:55 +02:00
sapier
a0097c6bfa
Fix uncought deserialization error on receiving data
2014-06-22 00:05:41 +02:00
sapier
f8522d50e7
Fix server assert in case of invalid message from client, just kick that client.
2014-06-21 23:56:46 +02:00
sapier
2b9beead38
Don't handle lack of IPv6 as fatal in unit tests
2014-06-20 22:35:50 +02:00
RealBadAngel
c86b78c9b7
Fix labels and vertlabels on some systems.
2014-06-20 21:30:48 +02:00
sapier
e81454fb38
Fix small memory leaks on shutdown
2014-06-20 19:50:47 +02:00
Matthew Bekkema
ef8cdd890c
Fix build on big endian architectures.
2014-06-20 18:40:06 +02:00
sapier
2dd69a85e7
Fix chat overlaying full screen, now it's gonna overlay only up to length of longest line
2014-06-20 15:18:45 +02:00
sapier
3a9cf21664
Fix newline not handled to to interpreting it as invisible char
2014-06-19 23:02:09 +02:00
sapier
8af44f8163
Remove ugly curl struct pointer from jsonFetchValue signature
2014-06-19 21:24:53 +02:00
sapier
9a39848ba9
Remove a lot of superfluous ifndef USE_CURL checks
2014-06-19 19:05:37 +02:00
sapier
99f565e8f2
Add support for directly starting a world by name from command line
2014-06-19 14:34:43 +02:00
RealBadAngel
04fbf47744
Add tooltips for button, imagebutton and checkbox.
2014-06-19 00:22:03 +02:00
sapier
65a4630f31
Fix bounding rect for formspec elements label vertlabel and checkboxes
2014-06-18 22:38:29 +02:00
sapier
2a09b7e84f
Make dropdown formspec elements send their value same style as buttons on change
2014-06-18 18:47:41 +02:00
RealBadAngel
c380563a12
Fix issue #1275 - one more missing check.
2014-06-18 14:53:43 +02:00
sapier
c0e4551249
Remove not really used guiTextInputMenu
2014-06-17 21:27:40 +02:00
RealBadAngel
cb3b42efe4
Fix issue #1275 - wielded index greater than inv size.
2014-06-17 14:17:53 +02:00
RealBadAngel
a0f78659f3
Improved faces shading with and without shaders.
2014-06-17 00:56:17 +02:00
RealBadAngel
9f46cb6745
L-systems treegen code tweaks.
2014-06-17 00:55:04 +02:00
sapier
9d57413af0
Minor stability improvements in block emerge handling
2014-06-15 18:18:57 +02:00
RealBadAngel
6c98fd6658
Unite nodes shaders.
...
Pass drawtype and material type to shaders.
Move shaders generation to startup only.
Allow assign shaders per tile.
Initial code to support water surface shader.
2014-06-15 05:40:33 +02:00
sapier
7b3602bab3
Fix regression dirt texture not beeing default in non cloud menu
2014-06-14 20:51:57 +02:00
sapier
c78aa7cf24
Fix HUD not visible if below ground blacked out
2014-06-12 23:38:34 +02:00
Megaf
d7986da58c
Changed Time Out message from ERROR to INFO.
...
Changed Time Out message from ERROR to INFO.
2014-06-12 23:18:26 +02:00
sapier
003634e049
Add support for exiting formspecs by doubleclicking outside
2014-06-12 23:15:05 +02:00
sapier
763a511ca5
Improve performance by removing some temporary objects
...
Fix some coding style issues
2014-06-12 20:10:29 +02:00
Novatux
e17d29ccd6
Fix #1358 (disappearing clouds)
2014-06-09 08:18:33 +02:00
Perttu Ahola
1cea2f1b49
Fix switch from "skybox" to other sky types as triggered by player:set_sky()
2014-06-08 12:33:16 +03:00
BlockMen
a7d49da217
Codestyle cleanup (main.cpp)
2014-06-01 15:49:34 +02:00
sapier
32ab6c2a32
Revert "Add daemon support for linux like operating systems"
...
Remove daemon support due to delayed popular vote (part 2)
2014-06-01 14:54:21 +02:00
sapier
75ddf4d221
Revert "Redirect stdin/stderr/stdout to /dev/null in daemon mode"
...
Remove daemon support due to delayed popular vote (part 1)
2014-06-01 14:51:46 +02:00
sapier
c5f00c38da
Redirect stdin/stderr/stdout to /dev/null in daemon mode
2014-06-01 00:41:48 +02:00
sapier
34904a0744
Add daemon support for linux like operating systems
2014-05-31 23:48:06 +02:00
sapier
d76b8c6e7c
Small cleanup of hud add/remove code
2014-05-31 22:32:44 +02:00
ShadowNinja
5bd2aea663
Fix over-poping and only push the core once
2014-05-30 19:38:11 -04:00
sapier
ab75b1b923
Fix misplaced selection box in some situations
2014-05-26 22:47:40 +02:00
ShadowNinja
31f9912e9e
Fix setThreadName support for BSD
2014-05-26 15:20:06 -04:00
sapier
7fba341dbb
Works for debian and a few other distributions but fails for even more so back to old order
...
Revert "Fix library link order"
This reverts commit b743dcb942eb1a88bce2968c08b114058738758b.
2014-05-25 01:14:47 +02:00
sapier
660e636887
Hide pause menu prior drawing "shutting down..." message
2014-05-24 13:45:05 +02:00
sapier
c1e297a90a
Reduce log level for non npot2 texture warning message
2014-05-24 13:42:52 +02:00
sapier
b743dcb942
Fix library link order
2014-05-24 13:39:27 +02:00
sapier
3939ab6c9d
Remove settings not used any longer
2014-05-24 12:17:15 +02:00
sapier
6b37529bd6
Fix disable hud disabling drawing of full gui
2014-05-24 12:15:11 +02:00
Jakub Vaněk
6922807fd5
fixed typo std::encl in src/gettext.cpp
2014-05-24 11:20:21 +02:00
sfan5
94dba66c16
Fix memory leak in redis backend, fixes #1325
2014-05-23 13:30:58 +02:00
sapier
73e5bc9c01
Add joining player to printed player list
2014-05-20 18:09:32 +02:00
sapier
09970b7b6d
Add support for interlaced polarized 3d screens
...
Add (experimental) support for topbottom as well as sidebyside 3d mode
2014-05-18 01:08:13 +02:00
sapier
d9f6f9e7a8
Split declaration of GenericCAO from implementation
2014-05-17 23:19:31 +02:00
ShadowNinja
34d872628d
Make print() NUL-safe
2014-05-15 19:09:47 -04:00
RealBadAngel
c8a99404e8
Map irrlicht log level to minetest. Allow write them to debug file.
2014-05-14 19:30:39 +02:00
sapier
6c37e89f08
Fix old client showing duplicated health bar on new server
...
Fix client not showing hearts and bubbles on connecting to old server
Fix server not remembering hud flags correctly
2014-05-11 22:34:44 +02:00
sapier
167df02e3d
Send max number of characters instead of asserting in case of too long chat messages
2014-05-11 15:39:38 +02:00
sapier
5c6cf630de
Fix invalid cast fix resulting in chat messages beeing limited to 256 bytes
2014-05-11 15:32:15 +02:00
sapier
b16cbba21a
Fix incorrect scaling of customized hud item selection marker
2014-05-11 13:26:23 +02:00
sapier
90f0859128
Fix error messages beeing shown on pressing cursor keys in various menus
2014-05-11 02:57:47 +02:00
sapier
f76b9d724b
Fix possible deadlock in error conditions
2014-05-11 00:14:57 +02:00
ShadowNinja
c4359ff65c
Use "core" namespace internally
2014-05-08 13:02:04 -04:00
ShadowNinja
1cd512913e
Organize builtin into subdirectories
2014-05-07 17:14:23 -04:00
ShadowNinja
fef2729fd0
Add write_json() to the async API
2014-05-07 17:05:44 -04:00
ShadowNinja
e17f140be0
Add a limit to node meta data resolving recursion
2014-05-07 17:05:44 -04:00
sapier
d3ee617f37
Fix heart + bubble bar size on different texture packs
...
Add DPI support for statbar
Move heart+bubble bar to Lua HUD
Add statbar size (based upon an idea by blue42u)
Add support for customizing breath and statbar
2014-05-07 21:46:27 +02:00
RealBadAngel
c80d67f48e
Move message about missing normal maps to infostream instead of errorstream.
2014-05-05 19:25:18 +02:00
RealBadAngel
6f511b1d05
Bugfix: make waypoints respect camera offset
2014-05-05 09:03:37 +02:00
sapier
09e8bbea03
Fix numeric underflow on calculating window size adjustment
2014-05-04 02:43:01 +02:00
BlockMen
cfb26629bf
Fix player:set_animation() in third person view
2014-05-03 10:50:49 +02:00
sapier
9370f5657a
Add hack to avoid 2s startup delay on local games
2014-05-02 00:18:25 +02:00
sapier
b5acec0a3c
Add proper lua api deprecated handling
2014-04-29 22:49:04 +02:00
sapier
c03d7dc8a7
Add download rate to media progress bar (non http mode only!)
...
Minor coding style fixes
2014-04-29 20:45:16 +02:00
ShadowNinja
088b18da3d
Make debug text adjust it's border to the screensize and fix a border update bug
2014-04-27 18:45:04 -04:00
sapier
65016c880c
Fix rounding issue of hud dpi on some machines
2014-04-27 22:44:37 +02:00
ShadowNinja
f2b93b7bae
Fix code style of async API
2014-04-27 16:15:53 -04:00
ShadowNinja
6ab3b4c838
Remove dependency on marshal and many other async changes
...
This makes a number of changes:
* Remove the dependency on marshal by using string.dump and loadstring.
* Use lua_tolstring rather than having Lua functions pass string lengths to C++.
* Move lua_api/l_async_events.* to cpp_api/s_async.*, where it belongs.
* Make AsyncWorkerThread a child of ScriptApiBase, this removes some duplicate functionality.
* Don't wait for async threads to shut down. (Is this safe? Might result in corruption if the thread is writing to a file.)
* Pop more unused items from the stack
* Code style fixes
* Other misc changes
2014-04-27 16:15:53 -04:00
ShadowNinja
db4ea4658c
Only push the Lua error handler once
2014-04-27 16:15:53 -04:00
sapier
1838a3fd69
Add support for dpi based HUD scaling
...
Add support for (configurable) multiline hotbar
Improved screensize handling
Add userdefined gui scale by BlockMen
2014-04-27 21:53:13 +02:00
Perttu Ahola
8d31534710
Client: Don't crash if trying to draw too many items from inventory in HUD
2014-04-27 09:49:19 +03:00
BlockMen
c5324015bc
Fix directional fog color in front view
2014-04-25 10:35:45 +02:00
sapier
885e93df44
Fix lost pause support in singleplayer
2014-04-24 19:47:17 +02:00
FessWolf
9b142157b0
Fix argument type of the RaiseException() function
2014-04-23 15:39:33 -04:00
ShadowNinja
41bc24477b
Revert binary database block position encoding
...
This reverts commits a2003b0d553c7223a61c75e5dad79ea68e058ba2 and 54ffe2e5de9ce44129f84f4748743f893b75fda7.
These weren't correct. Add a black magic warning instead.
2014-04-23 15:39:33 -04:00
MetaDucky
9ec281c712
Fixed wrong node texture rotation for facedirs 5 and 7
2014-04-23 12:11:56 +02:00
sapier
127f354e7a
Fix formspec replacement handling for in game formspecs
2014-04-22 20:59:01 +02:00
RealBadAngel
e7ef4f07cb
make formspec textarea wordwrap
...
Thats updated #795
2014-04-22 19:57:32 +02:00
sapier
555dc86343
Add missing ip address to player join log entry
2014-04-21 22:28:52 +02:00
RealBadAngel
f20267862f
Textureable sun and moon.
2014-04-21 22:00:16 +02:00
sapier
da3c5c743f
Fix red background missing in deathscreen
2014-04-21 20:10:23 +02:00
sapier
5b1bd2fb47
Fix chat console not working anymore
2014-04-20 10:55:08 +02:00
sapier
fec1fa51e0
Fix macro ARRAYSIZE name collision on windows
2014-04-20 02:47:02 +02:00
sapier
a0dd2d89f3
Reduce log level for incoming crap packets
...
Add log entry for peer timeout
2014-04-19 22:12:01 +02:00
sapier
8745935a06
Fix win32 build (typo in jthread lock cleanup)
2014-04-19 14:09:01 +02:00
sapier
0d93119040
Replace deathscreen by formspec variant
2014-04-19 12:21:27 +02:00
sapier
eda9214f81
Bunch of small fixes (coding style, very unlikely errors, warning messages)
2014-04-19 11:56:19 +02:00
sapier
a230e1e736
Use narrow_to_wide in gettext instead of os dependent conversion fct
2014-04-19 11:33:57 +02:00
sapier
ea0df3e4cb
jthread remove locks that aren't absolutely required
...
add c++11 atomic support (optional)
2014-04-19 10:05:23 +02:00
ShadowNinja
c00ed9dac3
Add support for threadnames on BSD, Windows (MSVC-only), and OSX
2014-04-19 02:02:11 -04:00
proller
4977b736e3
Fix warnings
2014-04-19 02:24:45 +04:00
proller
0279f32db7
Remove liquid_finite and weather
2014-04-18 21:56:48 +04:00
Sfan5
674be38fc2
Add redis database backend
2014-04-16 22:05:06 +02:00
ShadowNinja
a2003b0d55
Use bit shifts rather than multiplication in block position encoding
2014-04-15 16:25:46 -04:00
ShadowNinja
54ffe2e5de
Use binary operators rather than "Python modulo" in decoding block positions
2014-04-15 16:09:15 -04:00
Sfan5
118e2ae865
Fix all warnings reported by clang
2014-04-15 21:34:53 +02:00
Sfan5
d436502fa4
Fix problem with newer MinGW runtimes
2014-04-14 20:09:42 +02:00
ShadowNinja
b04872d96b
Reorder initialization of member variables to make GCC happy
2014-04-13 17:47:58 -04:00
BlockMen
8b02a015eb
Use integers instead of float values
2014-04-12 20:04:12 +02:00
BlockMen
c0ab09af74
Add player:set_eye_offset() by @MirceaKitsune and clean up
2014-04-12 17:44:20 +02:00
BlockMen
a1db9242ec
Add third person view
2014-04-12 17:44:15 +02:00
BlockMen
e149d1ad9a
Fix write and read S32 vectors
2014-04-12 17:39:51 +02:00
BlockMen
7cdbb805d9
Fix MSVC build
2014-04-12 17:36:40 +02:00
sapier
960d731587
Fix broken Ipv4 serialization on win32
2014-04-11 22:51:10 +02:00
sapier
8bb8602c25
Fix broken win32+bsd build
2014-04-11 21:45:30 +02:00
Kahrl
6090e95cdc
Infer ipv6_server from bind_address; fix client connect to IN(6)ADDR_ANY
2014-04-10 22:03:42 +02:00
sapier
edcad09dee
Add support for named threads (atm linux only)
2014-04-09 21:32:21 +02:00
sapier
d22621efc1
Make config honor build system specified config defines
2014-04-09 20:47:21 +02:00
sapier
a88c685f02
Minor fixes for file/modlist download in mainmenu
2014-04-09 20:22:21 +02:00
sapier
142e2d3b74
Cleanup client init states by bumping protocol version
...
Don't use TOSERVER_RECEIVED_MEDIA but TOSERVER_CLIENT_READY as indicatio for client ready
Handle clients with protocol version < 23 (almost) same way as before
Make client tell server about it's version
Add client state to not send bogus player position updates prior init complete
Add access to statistics information (peer connction time,rtt,version)
Fix clients standing stalled in world while preloading item visuals (new clients only)
Add get_player_information to read client specific information from lua
2014-04-08 21:12:20 +02:00
sapier
556bdc260a
Pass pointer to nodedef directly to avoid recalculation in quite often called function
2014-04-06 10:32:57 +02:00
sapier
28854495b1
Performance optimized button to button mask evaluation
2014-04-03 20:26:26 +02:00
sapier
af01a9577e
Fix lost change password button
2014-04-01 22:38:34 +02:00
Perttu Ahola
65d1cb8321
Fix bug in RemoteClient::GetNextBlocks
2014-03-26 18:58:39 +02:00
Ciaran Gultnieks
564e11fc2f
Fix merge mistake when rebasing for PR #1169
2014-03-24 19:56:36 +01:00
sapier
5bd9c236d5
Fix double sending of chat messages
2014-03-23 19:15:38 +01:00
ShadowNinja
5fefc4bbf6
Fix serializing of signed numbers in serializeStructToString
2014-03-21 05:22:21 -04:00
RealBadAngel
0dc1aec509
Normal maps generation on the fly.
...
Parallax mapping with slope information.
Overriding normal maps.
2014-03-21 01:32:00 +01:00
ShadowNinja
f3d83a4516
Add more informative error messages for inventory and item method errors
2014-03-15 17:20:52 -04:00
ShadowNinja
31fe72dbac
Remove lua_State parameter from LuaError::LuaError
2014-03-15 16:28:59 -04:00
ShadowNinja
f8b7555558
Revert "Make sure we get a stacktrace for as many lua errors as possible"
...
This reverts commit 362ef5f6ced862daa4733034810d0b07e2ad5d89.
Stack tracebacks couldn't be generated in LuaError::LuaError anyway and this
caused a second, empty traceback in most cases. In cases where there wasn't
annother traceback the stack had already unwound and the traceback was empty.
2014-03-15 16:01:06 -04:00
ShadowNinja
23be6450a1
Make serializeStructToString use an ostringstream
2014-03-15 15:13:02 -04:00
Novatux
93729b09d5
Fix sound not being played at the correct place.
2014-03-15 16:25:34 +01:00
Sfan5
362ef5f6ce
Make sure we get a stacktrace for as many lua errors as possible
2014-03-15 14:51:00 +01:00
ShadowNinja
d753d352f1
Revert "Use fixed-width format specifiers in serializeStructToString"
...
This reverts commit 875f1327a47f78d783c3abc7f7acc3977dc286ec.
Fixed width format specifiers are only officially availale in C99 and C++11.
2014-03-14 12:13:30 -04:00
ShadowNinja
875f1327a4
Use fixed-width format specifiers in serializeStructToString
2014-03-13 17:30:15 -04:00
BlockMen
e4d1970abf
Fix game pause in singleplayer
2014-03-13 14:06:18 +01:00
BlockMen
03297acbf4
Fix special characters in pause and message menu
2014-03-13 14:00:10 +01:00
ShadowNinja
18577f2527
Replace usage of long long with u64/s64
2014-03-12 19:37:19 -04:00
Selat
7cac34c807
Pass arguments by reference
2014-03-12 17:34:48 -04:00
Selat
2bc2ce3bd1
Remove goto from Environment::removePlayer
2014-03-12 17:02:52 -04:00
Sfan5
859287b027
Fix generating winresource.o with build dir != source dir
2014-03-11 17:48:34 +01:00
Ciaran Gultnieks
5ce3f8f7b7
Correct misleading detached inventory error message
...
Looks like a bit of hasty copying and pasting from s_item.cpp.
2014-03-09 11:16:09 +01:00
Ciaran Gultnieks
0643cef09a
Update ABM object counts when triggers add objects
...
Also fixes long-standing accuracy issue due to unknown wider
object count not being incremented.
2014-03-09 11:13:44 +01:00
sapier
16a028dd6b
Fix race condition on exit to menu
2014-03-09 11:01:13 +01:00
kwolekr
28d6326bd4
Update set_mapgen_params and set_gen_notify Lua API to use new flag format
2014-03-08 11:35:04 -05:00
Ciaran Gultnieks
db98ef6b45
Stop wasting time in abm - performance improvement
...
Unless I'm mistaken, the chunk of code I'm moving there is potentially
executed hundreds of times inside the loop to get the exact same result
every time
2014-03-06 19:18:36 +01:00
sapier
a4e2198e41
Replace pause and message menu by formspec ones
2014-03-05 18:44:14 +01:00
Novatux
062de11b4c
Fix rendering glitches when far from the center of the map
2014-03-04 20:12:10 +01:00
sapier
3e52dd5c68
Improved win32 file version information
2014-03-02 23:49:19 +01:00
Ciaran Gultnieks
baee91bf78
Fix for unloaded but active block problem
2014-03-02 20:39:28 +01:00
ShadowNinja
9a3b7715e2
Remove "Server -!- " prefix from player messages
2014-02-27 00:00:22 -05:00
BlockMen
18fd913e69
Fix MSVC build
2014-02-26 14:21:38 +01:00
Sfan5
f6232d71b6
Fix test for broken LuaJIT versions, solves #1152
2014-02-23 18:30:45 +01:00
Sfan5
d9d06ad920
Fix g_settings not being included
2014-02-16 08:25:53 +01:00
Sfan5
4585fba98b
Fix broken cross-compiling
2014-02-16 08:07:57 +01:00
kwolekr
c163859057
Schematic: Add force_placement parameter to minetest.place_structure API
2014-02-15 19:46:57 -05:00
kwolekr
3570f3e396
Add minetest.set_noiseparam_defaults() Lua API
2014-02-15 19:13:14 -05:00
Kahrl
c873164878
Accept any error response code for missing index.mth
2014-02-15 02:19:49 +01:00
sapier
31ec14afe2
Add check to avoid usage of broken LuaJIT < 2.0.0beta8
2014-02-13 23:28:01 +01:00
sapier
ded5f8b1a6
Fix possible missing unlock of env_lock
2014-02-12 19:47:27 +01:00
kwolekr
89f7dc1efd
ServerEnvironment: Remove direct dependency on EmergeManager
2014-02-09 16:36:30 -05:00
kwolekr
a0683b811c
Define strlcpy on platforms that do not have it
2014-02-09 13:57:29 -05:00
kwolekr
2a01050a0c
Add capability to read table flag fields from Lua API
2014-02-09 12:44:31 -05:00
kwolekr
57710520dc
Tune block emerge and sending parameters to more aggressive values
2014-02-08 18:32:12 -05:00
kwolekr
83bafbe08b
Make flag strings clear specified flag with 'no' prefix
...
Remove flagmask field from set_mapgen_params table
Add small bits of needed documentation
2014-02-08 17:50:59 -05:00
sapier
f4f98c9550
Remove lots of dead code
...
Add check for datatype overflows
use native datatype indices instead of fixed 16bit/32bit ones
2014-02-07 21:39:45 +01:00
sapier
3670f5a37b
Fix invalid check for fread error on extracting zip
2014-02-07 21:29:31 +01:00
Selat
6715c422ae
Fix memory leak in database migration
2014-02-07 20:43:12 +01:00
BlockMen
bc0bbffa14
Add missing header
2014-02-06 21:55:12 +01:00
ShadowNinja
85fe75d1cb
Add the option to bind to a specific address
2014-02-05 21:24:46 +01:00
kwolekr
7f743178db
Remove blank default values for emergequeue_limit_* settings
...
Add checks for invalid user input for important settings
Rename Settings::tryGet* to Settings::get*NoEx for consistency
2014-02-05 00:17:53 -05:00
kwolekr
c6c5edd73a
Revert "Fix settings to honor numeric conversion errors"
...
This reverts commit 3f376a092e1c16429fb52f24736e9da98aff4cd5.
2014-02-05 00:05:58 -05:00
Ilya Zhuravlev
7859e57f6c
Fix another heap-use-after-free in pause menu.
2014-02-04 22:17:02 -05:00
Ilya Zhuravlev
2d16ebf57c
Fix unexpected preprocessor directive in gettext.cpp
2014-02-04 22:16:51 -05:00
sapier
3f376a092e
Fix settings to honor numeric conversion errors
...
Rename try* non exceptioning functions to *NoEx
2014-02-04 22:14:13 -05:00
kwolekr
5a34f40d80
Huge overhaul of the entire MapgenParams system
...
MapgenParams is no longer a polymorphic class, eliminating the need for messy and bug-prone reallocations.
Separation between the common and mapgen-specific parameters is now strongly defined.
Mapgen parameters objects are now properly encapsulated within the proper subsystems.
2014-02-03 22:50:14 -05:00
kwolekr
a439343844
Settings: Add no-exception variants of each get method
2014-02-03 22:47:40 -05:00
ShadowNinja
458045d49f
Fix crash when a error occurs in a globalstep callback
2014-02-03 18:15:03 -05:00
sapier
857a49e081
Add minetest.kick_player(name, reason)
2014-02-03 17:33:59 -05:00
sapier
ea0def381d
Remove noisy error messages, prepend "pathfinder: " to pathfinder messages
2014-02-03 20:13:31 +01:00
sapier
284fc0b885
Add missing "-" to list of allowed chars in media filenames
2014-02-02 15:34:33 +01:00
sapier
e7c2e61b19
Add additional check to avoid broadcasting private messages in error conditions
2014-02-02 01:55:24 +01:00
Perttu Ahola
6a3fa9df12
Add player:override_day_night_ratio() for arbitrarily controlling sunlight brightness
2014-02-01 18:38:21 +01:00
Perttu Ahola
86a6cca3cf
Add player:set_sky() with simple skybox support
2014-02-01 18:34:26 +01:00
sapier
e258675eab
Add propper client initialization
...
-add client states to avoid server sending data to uninitialized clients
-don't show uninitialized clients to other players
-propper client disconnect handling
Minor comment fixes in server
Minor bugfixes in connection
-improved peer id calculation
-honor NDEBUG flag
-improved disconnect handling
-increased initial send window
Remove some dead code
2014-01-31 18:44:43 +01:00
RealBadAngel
21f1bec724
New HUD element - waypoint.
2014-01-26 21:31:59 +01:00
sapier
3f0ee5d680
Fix bug only half of unreliable queue handled per step in worst case
2014-01-26 17:40:59 +01:00
kwolekr
9b978db0c2
Fix use of previously deallocated EmergeManager
2014-01-26 01:12:18 -05:00
ShadowNinja
76d4396fa1
Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacks
2014-01-23 19:21:56 -05:00
Sfan5
cd7e8372f3
Include system info in the HTTP user agent on Windows
2014-01-23 22:27:13 +01:00
kwolekr
057858ddda
Connection: Stop processing malformed packet when encountered
2014-01-21 09:33:54 -05:00
Sfan5
3875a77bf8
Fix curl dll not getting installed when sound is disabled
2014-01-21 13:35:26 +01:00
kwolekr
bafc4ac6a1
LuaVoxelManip: Add get_param2_data and set_param2_data
2014-01-19 02:55:59 -05:00
kwolekr
21c96249fa
Schematic: Read slice probability table from schematic descriptors
2014-01-19 02:44:45 -05:00
ShadowNinja
b11b48ec07
Deindent HTTPFetchRequest::HTTPFetchRequest()
2014-01-16 20:14:55 -05:00
BlockMen
64c0e40605
Prevent player jumping into nodes from below
...
Fixes camera glitch and cheating at drowning
2014-01-16 15:46:55 +01:00
BlockMen
1b4908bf56
Prevent placing node when player would be inside new node
2014-01-15 21:26:54 +01:00
sapier
4896d4b829
Fix win32 reading semaphore count not working (broke all queues)
2014-01-15 20:03:11 +01:00
ShadowNinja
f42f01758c
Make default User-agent follow RFC 2616
2014-01-15 12:10:53 -05:00
Sfan5
a5287b6777
Fix building with MinGW
2014-01-15 17:35:00 +01:00
BlockMen
84bbe1ec6e
Fix building under MSVC
2014-01-14 16:14:56 +01:00
Kahrl
8966c16ad2
Add formspec table
2014-01-13 18:11:08 -05:00
khonkhortisan
2b1eff7725
Allow vertical axis particle rotation constraint
...
Use tables for adding particles, deprecate former way.
separate particles(pawner) definition, add default values, work with no
arguments
2014-01-13 17:34:56 -05:00
Ilya Zhuravlev
a4c5f10ecf
Fix some errors reported by clang static analyzer.
2014-01-13 03:29:12 +04:00
kwolekr
a358c040f2
Mapgen V6: Add flag to stop mud flow
2014-01-12 18:21:28 -05:00
ShadowNinja
a3586cd18d
Add maximum recursion depth to read_json_value
2014-01-11 14:08:02 -05:00
ShadowNinja
a9df87ede0
Rename get_json_value to read_json_value
2014-01-11 13:52:26 -05:00
ShadowNinja
bd8ddf1a52
Add InvRef::get/set_lists()
2014-01-11 13:52:26 -05:00
Kahrl
6f6f289db4
Compare values instead of pointers in Inventory::operator==
2014-01-11 19:47:16 +01:00
Kahrl
51e6feb17c
Add operator!= to Inventory(List), make operator== a const method
2014-01-11 19:46:37 +01:00
Novatux
84b94eb198
Add forceloading
2014-01-11 17:54:00 +01:00
sapier
3bbd280336
Fix check for max_fd == -1 should actually be max_fd != -1
2014-01-10 19:19:16 +01:00
sapier
9edb91da57
Fixed minetest reliable udp implementation (compatible to old clients)
2014-01-10 10:10:45 +01:00
sapier
8b0b857eaa
Make MutexQueue use jsemaphore for signaling
2014-01-10 10:10:45 +01:00
Perttu Ahola
10fdbf7375
Set locale properly when built without gettext support
2014-01-09 14:46:02 +01:00
sapier
6f661f77a6
Don't lookup node texts in a endless recursion loop
2014-01-07 11:15:24 +01:00
ShadowNinja
0fd5c61c00
Revert "Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings"
...
The commit didn't work because the blocks weren't loaded yet.
This reverts commit 22dbbf0a6fc9547f0dbdb7f6076337b8c6acd48b.
Conflicts:
minetest.conf.example
2014-01-06 21:25:10 -05:00
proller
78f7f9eca8
Fix wrong named masterserver announce variable
2014-01-07 03:11:18 +04:00
proller
c62bab010f
Send long announce as POST, show OS in useragent
...
Add lag reporting to masterserver (average dtime)
StyledWriter -> FastWriter in masterserver announce
2014-01-07 02:50:45 +04:00
Perttu Ahola
92aa38bdfc
Actually pause singleplayer game in pause menu and use lower maximum FPS in it
2014-01-06 17:39:44 +02:00
sapier
6833e04bc5
Add function to deregister a profiler from profiler list
2014-01-06 15:26:24 +01:00
Perttu Ahola
d76957ee22
Create new instance of mesh every time it's required (Solves #703 )
2014-01-06 13:24:31 +02:00
hasufell
10eea107ed
BUILD: fix cmake list parsing
...
because cmake is unable to parse it's own lists properly
2014-01-05 20:58:40 +04:00
hasufell
cb7bb736c7
BUILD: prefer pkg-config for freetype2 detection
...
This can solve numerous problems such as:
http://www.cmake.org/Bug/view.php?id=13959
http://www.cmake.org/Bug/view.php?id=14601
If pkg-config or freetype2.pc is not found, then fall back to the
FindFreetype.cmake module logic.
Restrict to UNIX since I only tested it here.
2014-01-05 20:58:40 +04:00
Sfan5
160e2b7b7d
Add option to link to OpenGL ES, fixes #1051
2014-01-05 20:50:55 +04:00
Ilya Zhuravlev
b8c3221d55
Fix absence of images when compiled with RUN_IN_PLACE=0.
2014-01-05 12:43:40 +02:00
Novatux
91923806a9
Fix objects being selected behind a node
2014-01-02 14:26:21 +01:00
kwolekr
25b1cca415
Fix exception caused by destroying sockets on Server shutdown
2013-12-31 15:00:49 -05:00
kaeza
767b2e7b17
Fix enum element name in Lua HUD code (position vs. pos)
2013-12-31 06:13:54 +01:00
ShadowNinja
2902a29c2d
Initialize world before creating BanManager and RollbackManager
2013-12-30 14:29:33 -05:00
ShadowNinja
829426c714
Fix InventoryList reading order
...
Lua does not guarantee that the indexes of a table will be in numerical order.
2013-12-30 14:00:05 -05:00
PilzAdam
4b31a38ae9
Remove FPS from window title
...
This doubles performance on some window managers (WTF?!)
2013-12-25 03:52:44 +01:00
Kahrl
bf9f50bc0e
Make SHA1::addBytes(..., 0) a no-op instead of an assertion failure
2013-12-25 00:29:00 +01:00
Kahrl
3aa28bc7a2
Use sleep_ms instead of select in httpfetch when max_fd == -1, fixes WSAEINVAL
2013-12-24 19:28:09 +01:00
Kahrl
a5377251e2
Fix particle code ignoring return value of std::vector::erase(). Wat.
2013-12-23 15:11:53 +01:00
RealBadAngel
7ae0b90ff7
Bugfix to get_all_craft_recipes.
...
Indexes for empty slots shall not be skipped.
2013-12-21 23:03:51 +01:00
Kahrl
a50db0e824
Check for denied access in itemdef/nodedef/media fetch loop
2013-12-19 21:47:08 +01:00
ShadowNinja
e1f9ba435f
Don't throw a error when writing JSON fails
2013-12-18 18:18:43 -05:00
Kahrl
ba8fa0bd42
Log guilty node name when allow_metadata_inventory_move/put/take fails
2013-12-18 23:04:13 +01:00
ShadowNinja
1ed90c90c3
Add 'minetest.write_json'
2013-12-18 16:46:53 -05:00
ShadowNinja
49cec3f782
Handle LuaErrors in Lua -> C++ calls on LuaJIT
2013-12-18 16:35:55 -05:00
BlockMen
38d112033b
Fix formspec field labels
2013-12-17 01:13:16 +01:00
sapier
54dbd78f90
Fix broken httpfetch due to SimpleThread removal
2013-12-16 23:31:56 +01:00
BlockMen
c9ac9992c7
Fix MSVC compiling issue
2013-12-16 01:13:08 +01:00
sapier
3946d2a504
Reduce cloud coloring for colored fog and cloud mode
2013-12-16 00:16:06 +01:00
PilzAdam
5fd92d67d5
Remove an unused function and include from client.cpp
2013-12-15 19:57:08 +01:00
sapier
c120ea57c9
Add setting to disable direction dependent fog and sky colors
2013-12-15 15:30:02 +01:00
MirceaKitsune
848f80b2e5
Directional fog + horizon colors, based on sun & moon positions at sunrise / sunset
2013-12-15 14:28:50 +01:00
sapier
e9e9fd7c3f
Replace SimpleThread by JThread now implementing same features
2013-12-15 13:39:42 +01:00
BlockMen
9772322613
Add alpha setting to font shadow
2013-12-14 21:11:38 +01:00
kwolekr
7a4c1e7327
Update mapgen params in ServerMap after Mapgen init
2013-12-14 10:49:20 -05:00
kwolekr
15c316765d
Handle Lua errors in on_generate callbacks instead of throwing SIGABRT
2013-12-14 01:59:16 -05:00
kwolekr
c3708b456e
Add map feature generation notify Lua API
2013-12-14 01:52:24 -05:00
ShadowNinja
83853ccd41
Remove support for optdepends.txt
2013-12-13 13:10:24 -05:00
Kahrl
e275b7099a
Don't call curl_global_init twice
2013-12-13 18:08:53 +01:00
sapier
0d990bd189
Replace any direct curl usage by httpfetch
2013-12-13 18:05:46 +01:00
Kahrl
b03135548b
Use httpfetch_async in serverlist announce code
2013-12-13 18:05:39 +01:00
Kahrl
0a903e69fb
Implement urlencode and urldecode
2013-12-13 18:05:35 +01:00
Kahrl
0404bbf671
Rewrite client media download and support hash-based remote download
...
Move most of the media-related code in client.cpp into a new class
ClientMediaDownloader (clientmedia.cpp, clientmedia.h). Among other
things, this class does the following things:
- Download [remote_server][sha1] instead of [remote_server][name]. This
is to support servers that provide the same file name with different
contents.
- Initially fetch [remote_server]index.mth. This file should follow the
Minetest Hashset format (currently version 1) and contain a list of SHA1
hashes that exist on the server.
- The list of needed SHA1s is uploaded (via HTTP POST) when index.mth is
requested, so servers can optionally narrow down the list to the needs
of the client.
- If index.mth is missing (HTTP response code 404), we enter compat mode,
fetching [remote_server][name] as before this commit.
- remote_server can now contain multiple servers, separated by commas.
The downloader code attempts to split requests between the different
servers, as permitted by each server's index.mth. If one server claims
to have a file but actually doesn't (or something fails), we ask a
different server that also claims to have it.
- As before, when none of the remote servers provide a particular
file, we download it via the conventional method, i.e. using
the minetest protocol: TOSERVER_REQUEST_MEDIA / TOCLIENT_MEDIA.
- Bugfix: Every downloaded file's SHA1 is now verified against the SHA1
announced by the minetest server (before loading it and inserting it
into the file cache).
- Bugfix: Only send TOSERVER_RECEIVED_MEDIA when we actually have all
media. This should fix #863 .
2013-12-13 18:05:20 +01:00
Kahrl
0ea3e6dbe2
Implement httpfetch module and initialize it from main()
...
Add curl_parallel_limit setting that will replace media_fetch_threads in
a later commit.
Fix a typo in MutexedQueue::pop_back() that made it impossible to compile
code that used this function. (Noticed this while implementing httpfetch.)
2013-12-13 18:05:10 +01:00
Ilya Zhuravlev
67bf7130ce
Fix a bug in GenericCAO GENERIC_CMD_UPDATE_POSITION parsing.
2013-12-13 13:18:00 +04:00
stujones11
d9ef072305
Make line_of_sight return blocking node position
2013-12-12 16:11:00 -05:00
kaeza
33de69a173
Add 'on_prejoinplayer' callback
2013-12-12 13:42:14 -05:00
Ilya Zhuravlev
76036abdb0
Add configurable font shadow.
2013-12-12 21:47:54 +04:00
sapier
4ccaa6d0af
Implement search tab and version picker
2013-12-11 23:07:38 +01:00
PilzAdam
6c4a8766ab
Check if width, height or start index of a list[] is negative
2013-12-09 22:39:24 +01:00
RealBadAngel
dae03382bf
Optimize shaders code. Add settings at compile time.
2013-12-09 13:28:50 +01:00
kwolekr
50b0e9f7a4
Mapgen Indev: Fix segfault in cave generation due to uninitialized variable
2013-12-08 22:13:05 -05:00
Novatux
206565d965
Fix shaders on some GPUs
2013-12-08 08:01:20 +01:00
kwolekr
3cc45fd8ad
Fix leak and possible segfault in minetest.set_mapgen_params
2013-12-08 01:37:41 -05:00
kwolekr
83cc882335
EmergeManager: Fix Lua mapgen override param handling
2013-12-08 01:31:06 -05:00
kwolekr
bbae8eb751
Dungeongen: Create dungeon gen tuneables; add desert temples for Mapgen V6
2013-12-07 22:45:26 -05:00
ShadowNinja
a0dce51af6
Move script_run_callbacks to Lua
2013-12-07 22:03:07 -05:00
ShadowNinja
96f753a108
Fix paralax occlusion setting
2013-12-06 22:42:09 -05:00
sapier
35f88ac67c
Fix win32 jthread implementation
2013-12-06 17:49:10 +01:00
sweetbomber
22dbbf0a6f
Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings
2013-12-05 16:09:02 -05:00
PilzAdam
e51ad5337f
Use a table in set_physics_override()
2013-12-03 23:20:00 +01:00
PilzAdam
15be2659ea
Add sneak and sneak_glitch to set_physics_override()
2013-12-03 23:20:00 +01:00
Sfan5
d9de9f23d9
Fix LevelDB maps
2013-12-03 20:03:20 +01:00
RealBadAngel
2330267d22
Shaders rework.
2013-12-03 18:55:25 +01:00
PilzAdam
60113bde74
Dont move item back when not clicking on a slot
2013-12-03 18:05:36 +01:00
proller
1309e52198
Rename names -> can_see_far_names in announce
2013-12-03 20:14:06 +04:00
sapier
5004f31575
Fix broken async locking in release build
2013-12-03 17:50:00 +02:00
proller
6cbd1b8bf7
Remove link to #, add unlimited_player_transfer_distance to announce
2013-12-03 19:48:43 +04:00
Sfan5
6fa3892a71
Fix MinGW build
2013-12-01 20:58:46 +01:00
sapier
04e9a9d541
Cleanup jthread and fix win32 build
2013-12-01 16:25:46 +01:00
kwolekr
f3439c40d8
Cavegen: Fix possible out-of-bounds heightmap access
2013-12-01 08:57:35 -05:00
kwolekr
20e3d550fa
Decoration: Add schematic Y-slice probability support
2013-12-01 01:24:59 -05:00
sapier
de0cdbc01c
Fix log threadname lookup handling not beeing threadsafe
2013-11-30 21:22:15 +01:00
ShadowNinja
4696c59a5f
Add error handler to async step
2013-11-30 13:05:13 -05:00
ShadowNinja
4594ba6522
Optimize table creation
2013-11-30 13:05:13 -05:00
Novatux
d879a539cd
Add minetest.swap_node
2013-11-30 18:37:56 +01:00
Ilya Zhuravlev
752e11e114
Fix MSVC build.
2013-11-30 21:00:18 +04:00
kwolekr
ff7d7080e3
LuaVoxelManip: Add area parameters back to calc_lighting and set_lighting, made optional this time; also fixed a slight bug with night values being ignored
2013-11-30 00:27:39 -05:00
kwolekr
769b2d7c05
LuaVoxelManip: Add get_light_data() and set_light_data()
2013-11-30 00:01:43 -05:00
MetaDucky
5be786c804
Fixed potential NULL pointer and leak when setting node metadata
2013-11-29 23:35:16 -05:00
kwolekr
747bc40840
Cavegen: Respect is_ground_content MapNode setting; fix some code formatting issues
2013-11-29 20:54:04 -05:00
sapier
d19a69cd0d
Fix broken thread stop handling
2013-11-30 02:15:31 +01:00
sapier
d02ce1cf4d
Fix old gcc build
2013-11-29 23:36:18 +01:00
sapier
2e66aca357
Fix modstore/favourites hang by adding asynchronous lua job support
2013-11-29 22:09:14 +01:00
sapier
b08d7558de
Split server/client port setting to avoid port number clashes in mainmenu
2013-11-28 21:43:06 +01:00
ShadowNinja
ff25218374
Don't use variable length arrays
2013-11-28 11:22:41 -05:00
ShadowNinja
7433d65d3e
Rollback fixes and get_node_actions
2013-11-27 18:13:06 -05:00
Mario Barrera
1fd9a11e30
SQLite rollback
2013-11-27 18:13:06 -05:00
sapier
4f246f0e22
Fix line_of_sight (AGAIN)
2013-11-25 00:04:05 +01:00
kwolekr
068dd796f5
Don't continue trying to deserialize blank block data
2013-11-24 02:10:15 -05:00
Kahrl
ab601e8710
Fix invalid escape sequence in database migration code
2013-11-23 16:09:38 +01:00
Kahrl
6f851c9692
Fix crash when pressing Enter key in formspec menu
2013-11-23 00:37:32 +01:00
kwolekr
5323d800cc
Fix possible implicit conversion of NULL to std::string
2013-11-21 00:49:32 -05:00
kwolekr
98e4e2b373
LuaVoxelManip: Update parameter index of set_lighting()
2013-11-21 00:45:17 -05:00
kwolekr
b38afc9311
Mapgen V6: Respect water_level setting
2013-11-21 00:43:27 -05:00
MetaDucky
0930911efa
fix gettext compile issues under win32
2013-11-18 21:11:52 -05:00
kwolekr
86ef7147b6
Fix issue #1009 (minetest.get_connected_players() returns non-existing players)
2013-11-17 15:15:59 -05:00
PilzAdam
a55c073ce9
Increase liquid_loop_max to 10000 again
2013-11-17 21:05:14 +01:00
Perttu Ahola
21789ccc5f
Revert patch 58f036ad1 that causes object duplication (which tried to fix objects getting hidden from client) and fix the original problem correctly. This fixes the second distinct object duplication bug.
2013-11-17 14:46:01 -05:00
sapier
b2d9205796
Fix Result of processed Request was written to invalid (non existent) ResultQueue if requesting thread timed out before
2013-11-17 12:46:54 -05:00
sapier
eadc943159
Add missing RequestQueue doc
2013-11-17 12:46:43 -05:00
sapier
dc407e219f
Fix multicaller support in RequestQueue
2013-11-17 12:45:58 -05:00
kwolekr
d419e4cbb6
Do the same for LevelDB interface
2013-11-17 11:26:34 -05:00
kwolekr
aa172bdda4
Handle blank blocks in database
...
Fix screwed-up indentation
2013-11-17 10:57:45 -05:00
kwolekr
a439aea9ba
Revert "Don't use msvc libs for mingw build"
...
This reverts commit 3985c01ad71159b888677d0fe2019d7a05debeed.
2013-11-17 10:33:58 -05:00
kwolekr
a92fc3563c
Prevent shaders from being created when disabled
2013-11-17 02:46:05 -05:00
sapier
3985c01ad7
Don't use msvc libs for mingw build
2013-11-17 02:27:00 -05:00
kwolekr
cca4f09ba1
Decoration: Stop DecoSimple::resolveNodeNames from complaining about no node name if decolist is used
...
Fix warning message for spawnby nodes
Prevent type-punning warning caused by casting enum to int
2013-11-17 02:22:24 -05:00
kwolekr
e396fb2984
Actually fix weather
...
The real problem was that MapBlocks were not activated before getting sent to the client
2013-11-17 01:59:04 -05:00
sapier
90e7832408
Fix invalid listname and listsize not handled correctly in set_size
2013-11-16 15:52:41 +01:00
MetaDucky
35606cfb67
fixed array limit check when reading Lua specialtiles table
2013-11-16 15:31:17 +01:00
ShadowNinja
371b39a09a
Pass a errfunc to lua_pcall to get a traceback
2013-11-15 14:13:31 -05:00
BlockMen
3f519eb729
Fix formspec background padding when clipped
2013-11-14 19:03:55 +01:00
proller
9a750450ed
Improved default settings for floatland perlin noise 1. Larger, more detailed floatlands.
2013-11-14 15:38:32 +04:00
Sfan5
5094a39f05
Fix compiling with 32bit MinGW
2013-11-12 15:18:20 +01:00
sapier
a935d81053
Fix invalid usage of temporary object in mainmenu json conversion
2013-11-11 23:23:58 +01:00
sapier
bb54e2cf1d
Disable localization workaround in server
2013-11-11 19:56:49 +01:00
sapier
22a59b3912
Fix win32/msvc i18n (quite UGLY version, blame Microsoft)
2013-11-11 19:56:49 +01:00
sapier
0f9440fa61
Fix "TODO read modinfo" in modmanager to improve ui usability
2013-11-10 19:37:45 +01:00
proller
d75b1718f8
Fix spaces float islands code
2013-11-10 18:46:57 +04:00
0gb.us
a92e90f684
FIxed floating isle generation at chunk boundaries
...
A mapgen fix authored by paramat, as mentioned here: https://github.com/minetest/minetest/issues/989
2013-11-10 18:45:14 +04:00
kwolekr
b401e58c0d
Weather: Fix uninitialized weather_update_time (sorry proller)
2013-11-09 15:29:22 -05:00
proller
8903c68460
Correct useragent in http queries
...
Net struct init
2013-11-06 00:50:32 +04:00
kwolekr
e46c527733
Accept hexadecimal and string values for seeds
2013-11-04 23:59:26 -05:00
sapier
1a96987d0f
Fix invalid use of pointer to temporary object in json2lua conversion
2013-11-04 19:11:11 +01:00
proller
4a8a50a2a2
Masterserver show privs and js autoload
2013-11-04 04:56:39 +04:00
sapier
68bbdf1b2c
Fix invalid usage of texture->getSize() where actually texture->getOriginalSize() was meant
2013-11-03 23:00:54 +01:00
BlockMen
5fbc39a76c
Fix typo
2013-11-03 22:33:06 +01:00
BlockMen
25edae00ea
Reworked formspecs and kahrl's hexcolor parser
2013-11-03 22:14:37 +01:00
Novatux
0b78889289
Send a on_receive_fields event when formspec is closed, with fields.quit = "true"
2013-11-03 11:53:59 +01:00
Aaron Suen
2636c92075
Portability fixes for OpenBSD (and possibly NetBSD and others).
2013-11-02 13:41:26 -04:00
PilzAdam
0d35350b69
Fix liquid_range
...
* Prevent graphical glitches on old servers
* Fix flowing of liquids with viscosity != 1 and range != 8
* Fix range = 0, no flowing nodes will appear
2013-11-02 15:47:44 +01:00
Novatux
69a59f1e41
Move the sapling growing and grass adding/removing ABMs to Lua
2013-11-02 10:50:11 +01:00
Novatux
bd6d4666ab
Add a callback: minetest.register_on_craft(itemstack, player,
...
old_craft_grid, craft_inv) and
minetest.register_craft_predict(itemstack, player, old_craft_grid,
craft_inv)
2013-11-01 15:55:34 +01:00
ShadowNinja
8bc68645cb
Raise the maximum node limit to 0x7fff
...
As agreed to by kahrl
2013-11-01 10:27:23 -04:00
proller
a924409bd1
Masterserver update
2013-10-18 01:32:49 +04:00
Perttu Ahola
b3591019ad
Fix object duplication bug (at least in the most reproducible UFO case)
2013-10-17 00:10:16 +03:00
Sokomine
19742d8d98
Add support for parameter 'visual_scale' for drawtypes 'signlike' and 'torchlike' like used for drawtype 'plantlike'
2013-10-14 21:38:56 +03:00
RealBadAngel
5598f3c81b
FIx wrong error message on invalid use of the formspec element image_button
2013-10-07 22:50:26 +02:00
0gb.us
afb27329fc
Remove mapgen_air alias ( #935 )
2013-10-05 18:42:31 +02:00
Kahrl
2134316c80
Pass VERSION_EXTRA to GenerateVersion.cmake
2013-09-29 16:05:09 +02:00
PilzAdam
a9c0961e0c
Add set_name(), set_count(), set_wear() and set_metadata() to Lua ItemStack
2013-09-28 23:46:48 +02:00
Kahrl
5dce44ec5e
Add --version option
2013-09-28 21:30:17 +02:00
Kahrl
8bc7ea61b9
Show git hash in version string at top left corner of window
2013-09-28 21:30:17 +02:00
ShadowNinja
372d638ec1
Lower the default max_users from 100 to 15
2013-09-28 21:09:52 +02:00
PilzAdam
4ea0e4f606
Add curl, freetype and luaJIT to CMAKE_BUILD_INFO
2013-09-28 15:41:37 +02:00
kwolekr
fb6a789991
Re-fix hud_change stat argument retrieval
...
Conflicts:
src/script/lua_api/l_object.cpp
2013-09-26 04:39:10 +02:00
BlockMen
9e6bdc377f
Fix compiling issue of MSVC
2013-09-23 11:51:14 +02:00
BlockMen
27947d85f7
Add option to scale image to percentage values
2013-09-20 20:03:58 +02:00
proller
f7ee5da4c1
Fix null dereference in weather update functions
2013-09-18 01:37:47 +04:00
kwolekr
c0398224ef
Fix some warnings and other minor details
2013-09-16 23:52:42 -04:00
kwolekr
9bccd75e34
Weather: Clean up getHeat/getHumidity somewhat
2013-09-16 23:33:53 -04:00
proller
cfe6eaa66b
Use cached "weather" setting
2013-09-17 02:57:36 +04:00
proller
62bc5331aa
Fog depend on humidity
2013-09-17 02:43:24 +04:00
proller
4c704fe306
Add configurable PRAGMA synchronous =
2013-09-17 02:11:30 +04:00
kwolekr
d308352dbd
Always use builtin JThread library
2013-09-15 23:00:01 -04:00
Kahrl
3c4734d69a
Change mainmenu texture handling + small misc changes
...
Texture names must now be escaped in formspec elements image[],
background[], image_button[], image_button_exit[].
Instead of special-case handling of texture loading (and unloading
which was missing) in guiFormSpecMenu.cpp, use the newly created
ISimpleTextureSource interface which is a minimal subset of
ITextureSource. There is an implementation of this interface
used by GUIEngine (MenuTextureSource).
Fix an off-by-one bug in unescape_string; it caused requests for a
texture called "\0".
2013-09-11 00:08:56 +02:00
BlockMen
da9fe64851
Fix hotbar padding at bottom
2013-09-10 23:39:38 +02:00
PilzAdam
4feea0ac68
Add offset to automatic_face_movement_dir
2013-09-10 23:31:44 +02:00
PilzAdam
dd5c451e03
Allow non-string arguments for minetest.is_yes()
2013-09-10 21:38:44 +02:00
PilzAdam
d820a6bfd8
Add Settings interface for Lua
2013-09-10 18:31:38 +02:00
Kahrl
10a38a3005
Handle --migrate even when compiled without leveldb support
2013-09-10 18:29:51 +02:00
Kahrl
c6e3797c1a
Remove assert warning in leveldb wonderland
2013-09-10 18:28:26 +02:00
Kahrl
168fa2ffe0
Fix loading leveldb worlds
2013-09-10 18:16:36 +02:00
Kahrl
6fb4a78d71
Fix broken build due to missing mapsector.h include
2013-09-10 17:49:53 +02:00
Kahrl
95e4a93b1b
Add license headers and remove useless includes
2013-09-10 16:09:30 +02:00
Sfan5
3725179736
Use system-wide LevelDB instead of bundled one
2013-09-09 22:50:51 +02:00
Sfan5
49a75b1894
Make --migrate update world.mt too
2013-09-09 22:50:51 +02:00
Sfan5
321ac66558
Add note about --migrate only working with minetestserver or --server
2013-09-09 22:50:51 +02:00
Sfan5
d423a8fc20
Fix 'Unknown map backend' error when using Configure menu right after creating world
2013-09-09 22:50:51 +02:00
Sfan5
f1e4a671dc
Use STL containers instead of irr::core::list
2013-09-09 22:50:51 +02:00
Sfan5
1cc1c56234
Add message that LevelDB is not supported on Windows
2013-09-09 22:50:51 +02:00
Sfan5
7e44c2ace1
Make it compile
2013-09-09 22:50:50 +02:00
Ilya Zhuravlev
58841ef12f
Add dummy and LevelDB database backends
2013-09-09 22:50:50 +02:00
Ilya Zhuravlev
6de16bb438
Add fallback font support for some languages.
2013-09-08 15:16:19 +04:00
Novatux
6291fd1cbb
Add minetest.get_gametime() API function, that returns the number of seconds since the world was created.
2013-09-08 11:09:50 +02:00
0gb.us
211b372e26
Standardized method of getting node info in dungeon mapgen.
2013-09-06 21:42:01 +02:00
sapier
7935044820
Fix selectionbox not honoring anaglyph mode 3d distortion
2013-09-05 00:57:09 +02:00
sapier
e8b9467905
Fix crash on lua exception
2013-09-05 00:45:00 +02:00
PilzAdam
7860097eda
Use player:set_hotbar_image() instead of hardcoded hotbar.png
2013-09-05 00:21:16 +02:00
Kahrl
af490330e7
Fix remnants of s32 enable_shaders
2013-09-04 00:16:33 +02:00
Kahrl
1ad9365d34
Fix enable_fog = false not having any effect when shaders are enabled
2013-09-03 13:23:30 +02:00
Ilya
e61b1773c9
Server::ProcessData(): call getBanName once instead of twice ( #639 )
2013-09-03 07:34:43 +02:00
Kahrl
1ecf51a13f
Add minetest.parse_json, engine.parse_json
2013-09-02 02:20:08 +02:00
PilzAdam
71a6ffa762
Use wstring for vertlabels
2013-08-31 21:07:53 +02:00
sapier
5d0f19fd7d
Fix bug in pathfinder causing endless loop in some situations
2013-08-31 21:26:51 +04:00
proller
902d5927f0
Normalized heat and adjusted humidity
2013-08-30 00:42:53 +04:00
BlockMen
439079cad8
Add support for using textures in hotbar
2013-08-25 18:49:10 +02:00
Kahrl
fead7a27ca
Fix aliases not working in shapeless crafting recipes
2013-08-25 18:14:26 +02:00
Ilya Zhuravlev
d05b15df77
Add a setting for HighPrecisionFPU ( fixes #763 ).
2013-08-25 18:25:01 +04:00
BlockMen
78ea818aaf
Fix umlauts/special character issue in lua gettext
2013-08-19 22:23:41 +02:00
BlockMen
deaa8dc287
Fix gettext for tabs (windows)
2013-08-19 15:59:09 +02:00
Kahrl
ade70fe4b9
Allow SIGINT to kill mainmenu again
2013-08-19 15:49:36 +02:00
Kahrl
8548bb75b6
GUIFormSpecMenu focus fixes
2013-08-19 15:49:36 +02:00
BlockMen
72b9b0fe3a
Reenable image scaling in formspecs
2013-08-18 15:52:04 +02:00
sapier
09a50d0458
Add translation for main menu
...
Add engine.gettext() and remove gettext() calls in guiFormspecMenu.cpp
2013-08-17 16:01:43 +02:00
PilzAdam
787b43b218
Send player damage to all clients and apply [brighten
2013-08-17 01:23:25 +02:00
Kahrl
3ee8098708
Diagonal liquid animation
2013-08-17 01:00:36 +02:00
PilzAdam
75a139e62c
Use errorstream instead of std::cout in pathfinder.cpp
2013-08-16 17:42:12 +02:00
PilzAdam
1e4e64f831
Remove debug output
2013-08-16 02:48:50 +02:00
PilzAdam
d52185c43e
Add ability to activate mods with doubleclick (remove old_style_mod_selection)
2013-08-16 01:04:37 +02:00
Kahrl
5e312dc40d
Don't automatically scroll listbox when selecting an item in the middle
2013-08-16 00:58:03 +02:00
Kahrl
d8337034b5
Formspec textlist: Black Irrlicht magic to detect fake doubleclicks
2013-08-16 00:08:19 +02:00
Novatux
7921fe2cd1
Fix formspec escaping, add escaping to info.txt for texture packs.
2013-08-15 22:12:51 +02:00
Kahrl
58beca005c
Add virtual destructor to IBackgroundBlockEmerger to silence warning
2013-08-15 01:16:34 +02:00
Kahrl
4e1f50035e
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu
2013-08-14 21:03:33 +02:00
PilzAdam
fc72d7fbb6
Fix typos
2013-08-14 00:50:03 +02:00
sapier
fc571ad46d
Add support for entities to automatic face movement direction
2013-08-13 23:48:47 +02:00
PilzAdam
d718b0b34e
Dont write directly to files but rather write and copy a tmp file
2013-08-13 22:05:45 +02:00
Kahrl
c8930850e3
Remove farmesh
2013-08-13 09:25:13 +02:00
kwolekr
c06caa14c3
Decoration: Fix schematic probability mess with new MTS file version
2013-08-11 15:34:49 -04:00
PilzAdam
56b9377c1c
Dont crash if facedir > 23
2013-08-10 16:26:02 +02:00
Perttu Ahola
35c5ccfad3
Don't freak out when a client sends multiple TOSERVER_INIT packets; also log one thing more.
2013-08-08 06:11:43 +03:00
Kahrl
2ed3067bbe
Fix various memory access problems detected by valgrind
2013-08-07 19:48:31 +02:00
PilzAdam
218f82f798
Fix path of mono font in defaultsettings.cpp
2013-08-07 13:41:00 +02:00
Kahrl
7294f28c3a
Fix uninitialized irr::SEvent fields in guiFormSpecMenu.cpp
2013-08-07 01:36:19 +02:00
Kahrl
7fbc8152bf
Fix full crack texture being shown when releasing dig button
2013-08-06 18:15:40 +02:00
BlockMen
7b13d119ed
Add support for different drowning damage and allow drowning in other nodetypes
2013-08-06 17:49:39 +02:00
Perttu Ahola
53bf62bb83
Rename LagPool's member variables to avoid MSVC freaking up due to it's #define max
2013-08-06 18:17:58 +03:00
Perttu Ahola
61f240946a
Clean up server's log messages and give a better error to client when its player is in use
2013-08-06 18:13:11 +03:00
Kahrl
96c34d369e
Fix crack overlay for animated textures
2013-08-05 01:52:09 +02:00
proller
714a8cef38
Freeze-melt adjust
2013-08-04 23:31:01 +04:00
BlockMen
be4670fecf
Fix formspec label issues in win builds (MSVC)
2013-08-04 20:49:23 +02:00
PilzAdam
2af5864534
Make freetype usage configureable by a setting
2013-08-04 20:35:14 +02:00
Novatux
383153419b
Add texture pack selection to main menu
2013-08-04 16:52:30 +02:00
Novatux
fe1fe1b1e4
Change large amount of objects to be configurable via a setting in minetest.conf (max_objects_per_block).
2013-08-04 15:28:01 +03:00
Perttu Ahola
e6687be493
Fix server getting completely choked up on even a little of DoS
...
* If client count is unbearable, immediately delete denied clients
* Re-prioritize the checking order of things about incoming clients
* Remove a huge CPU-wasting exception in ReliablePacketBuffer
2013-08-04 10:44:37 +03:00
Perttu Ahola
8831669505
Allow mods to listen to cheat detections using minetest.register_on_cheat()
2013-08-04 00:45:49 +03:00
Perttu Ahola
742614180c
Fix anticheat
2013-08-03 23:16:37 +03:00
Perttu Ahola
bc5db9b027
Lessen the sky color glitch when quickly turning to look up after looking at ground that contains caves
2013-08-03 19:04:16 +03:00
Perttu Ahola
c50c9a10f1
Fix and improve view range tuner
2013-08-03 18:46:18 +03:00
PilzAdam
45589fae58
Add replacements to schematics
2013-08-03 03:22:14 +02:00
proller
5e433fa913
More info in serverlist
2013-08-03 03:02:59 +04:00
PilzAdam
0b77588e87
Allow multiple 'wherein' nodes in oredef
2013-08-02 00:55:16 +02:00
proller
06cdce1e12
Weather backward compatibility
2013-08-02 00:51:36 +04:00
proller
0e89bca173
Leveled nodebox backward compatibility
2013-08-02 00:50:58 +04:00
Esteban I. Ruiz Moreno
c6cb97e693
Make bumpmapping compatible with irrlicht 1.8
2013-07-31 19:35:28 +02:00
sapier
251e3e01c7
Add support for setting stepheight for entities
2013-07-30 19:48:02 +02:00
PilzAdam
ff7c380d0e
Fix warnings in mapblock.cpp
2013-07-28 23:34:58 +02:00
PilzAdam
4fb4efd8ed
Play sounds/main_menu.ogg in menu
2013-07-28 23:29:03 +02:00
proller
174285f298
Warnings fix
2013-07-29 00:11:33 +04:00
proller
037e84d377
Better snow fall, finite liquid transform, leveled nodes api
2013-07-28 17:14:31 +04:00
proller
3aedfac968
Weather support
2013-07-27 23:21:48 +04:00
proller
e65d8ad655
Dont announce server in singleplayer
2013-07-27 17:51:34 +04:00
BlockMen
a59f85c1a0
Add support of pressed_texture of image_button
...
Fix params number
Add pressed texture name
Fix string def
Fix syntax error
2013-07-24 01:02:43 +02:00
BlockMen
8e2467c393
Add gettext translation for image_button
2013-07-24 01:01:56 +02:00
proller
3629a90c2e
Cosmetic player info changes
2013-07-24 02:41:03 +04:00
PilzAdam
0b4b9e7f3a
Fix modstore URLs
2013-07-22 22:26:48 +02:00
PilzAdam
a38f8d9900
Disable gamemanager by default
2013-07-22 18:16:36 +02:00
sapier
b3db44f801
Fix bug in world creation
...
Add old style mod selection in worldconfig dialog
2013-07-22 18:10:00 +02:00
sapier
07fb257c04
Use user folder for gamemanager too
2013-07-22 18:10:00 +02:00
sapier
8beb0f19d1
Enable mod and gamemanager by default
2013-07-22 18:10:00 +02:00
sapier
32001d1e2b
merge mainmenu_helper.lua to misc_helpers.lua
2013-07-22 18:10:00 +02:00
sapier
5160be91ae
Add configurable curl timeout
2013-07-22 18:09:59 +02:00
sapier
d6c052038f
Add playernumber to favorites list
2013-07-22 18:09:59 +02:00
sapier
5c7ecdb7c5
Add support for modstore screenshots
...
Add error output on invalid mmdb entries
2013-07-22 18:09:59 +02:00
RealBadAngel
0850d3fcf8
Fix light issue in 6d facedir.
2013-07-21 14:06:18 +02:00
PilzAdam
46d1d70e4c
Bump protocol version
2013-07-20 21:25:21 +02:00
PilzAdam
8cae659786
Add an option to disable object <-> object collision for Lua entities
2013-07-20 20:43:11 +02:00
PilzAdam
413f0d0353
Add liquid_range to nodedef
2013-07-20 20:41:17 +02:00
PilzAdam
cba90d4441
Make range of tools configureable
2013-07-20 20:37:59 +02:00
RealBadAngel
d19c8b815d
Add set_breath and get_breath to lua API.
2013-07-20 20:34:11 +02:00
PilzAdam
ab145c8827
Randomly choose singleplayer port
2013-07-16 02:02:56 +02:00
PilzAdam
ecb024af64
Fix lighting bug caused by disappearing lava
2013-07-16 01:51:04 +02:00
PilzAdam
4e5a45952a
Remove support for common mods
2013-07-16 01:46:59 +02:00
Kahrl
112dbba7c4
Change ContentFeatures array to a vector
2013-07-14 23:06:31 +02:00
proller
9733dd5b5e
Leveled nodebox
2013-07-13 22:13:24 +04:00
sapier
494fa0c81a
Remove lots of debug output from modmgr
...
Fix RUN_IN_PLACE=0 mod install (now mods are saved in user folder in that case)
Fix text of field element not unescaped correctly
2013-07-12 22:46:27 +02:00
proller
ac7a44792c
Masterserver mods announse, ipv6, better curl errors
2013-07-13 00:19:05 +04:00
kwolekr
fc6725f14e
Clean up bumpmap code a bit
2013-07-12 00:11:46 -04:00
PilzAdam
320a00e7c6
Disallow the name 'singleplayer' in a multiplayer server
2013-07-12 02:15:09 +02:00
stujones11
e8f201cefa
Fix multiple texture support for animated meshnodes
2013-07-10 00:22:21 +02:00
sapier
1c7c5d571d
Fix serverlist
2013-07-09 22:55:39 +02:00
PilzAdam
c8bd2ae11c
Dont play digging sound if not digging
2013-07-09 02:42:05 +02:00
kwolekr
e1a13608d8
Revert "Fix serverlist not beeing escaped correctly"
...
This reverts commit 39d03148e5d98ef5f9a31b131a79ff2bbd71a877.
2013-07-08 20:21:09 -04:00
sapier
39d03148e5
Fix serverlist not beeing escaped correctly
...
Always use address for server
Fix first (empty) element beeing selected after deleting last world
2013-07-08 19:58:17 -04:00
sapier
f419f66546
fix crash on play/start with empty world list
...
make enter button work in create world dialog
2013-07-08 19:58:03 -04:00
kwolekr
fca4610f11
Fix wallmounted rotations along Y axis for 90 and 270 degree cases
2013-07-08 18:50:29 -04:00
kwolekr
ce955f37ba
Decoration: Handle facedir and wallmounted param2types with schematic rotation
2013-07-08 15:19:48 -04:00
PilzAdam
6bc3a43d52
Settings: everything != 0 equals true; remove .asm shaders
2013-07-08 01:58:49 +02:00
sapier
88d43af276
Fix many formspec menu bugs
2013-07-07 19:49:52 -04:00
Sfan5
7e73b7cae9
Fix parseColor, change remaining colorkeys to new format, fix Contributor list
2013-07-07 19:59:18 +02:00
Kahrl
b3001bcd6e
When server sends late media, log to errorstream instead of crashing.
...
Do a check for valid num_files before doing
assert(!m_mesh_update_thread.IsRunning());
In particular, don't execute the assertion if all media has already
been received.
2013-07-07 08:35:25 +02:00
Vincent Heuken
39ab22070e
include mathconstants.h in numerics.cpp
2013-07-07 01:52:43 -04:00
kwolekr
d22baa88ed
BiomeDefManager: Fully initialize default biome
2013-07-06 15:28:59 -04:00
kwolekr
65874c25db
Mapgen V7: Fix out-of-bounds array access
2013-07-06 15:22:51 -04:00
kwolekr
06266abd6e
LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects
2013-07-06 15:12:40 -04:00
kwolekr
55ecde665d
Decoration: Remove usage of multi-character constants
2013-07-06 15:03:54 -04:00
Sfan5
307c57dcc4
Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor
2013-07-06 10:32:58 +02:00
kwolekr
18d7bc7fa1
Mapgen V7: Huge rewrite, also tweaks to cavegen et al.
2013-07-06 02:21:54 -04:00
Kahrl
3607fae75a
Fix possible NULL dereference in createExtrudedMesh
2013-07-06 06:16:51 +02:00
Kahrl
922a30ee47
Don't rebuild the dummy shader (less SourceShaderCache warning spam)
...
Also write something about rebuilding shaders to infostream in
Client::afterContentReceived()
2013-07-05 04:24:05 +02:00
proller
92833a07d1
Improve finite liquid distribution, fix small bug
2013-07-05 00:11:11 +04:00
Kahrl
a013f762c4
Throw exception instead of assert on nested reliable packets
...
Fixes a denial of service vulnerability, issue #784
2013-07-04 06:18:50 +02:00
RealBadAngel
3f6f327cb9
Add texture bumpmapping feature.
2013-07-04 02:36:32 +02:00
Kahrl
b850f0f038
Whoever called a function parameter m_device is fired without notice.
2013-07-03 20:33:54 +02:00
kwolekr
a225efaec5
Lua main menu: Fix crash on init lua error, mapgen dropdown index, and new worlds not saving index
2013-07-03 01:25:26 -04:00
kwolekr
ad4c065344
Change debug optimization level back to -O1
2013-07-02 21:48:18 -04:00
Kahrl
8f1d5d34a6
Move generateTextureFromMesh to TextureSource to fix a texture leak
...
TextureSource has a list of textures to delete (m_texture_trash) so this
provides a proper, non-hacky way to delete RTT textures. Also, the prior,
hacky way of deleting them seems to be broken (see pull request #803 ).
To avoid header file clutter by repeating the same long list of
arguments over and over again, store the arguments of
generateTextureFromMesh in a struct called TextureFromMeshParams.
Also fix issue #782 (Only use bilinear (and others) on item textures
when settings allow it).
2013-07-03 03:24:28 +02:00
sapier
b1ef850877
Fix possible 0 pointer access
2013-07-02 20:01:48 -04:00
sapier
967121a34b
Replace C++ mainmenu by formspec powered one
2013-07-02 19:58:20 -04:00
kwolekr
fe4ce03d52
Cavegen: Prevent caves from occuring above ground level, and superfluous mixing of lava and water in caves
2013-07-01 21:20:03 -04:00
Kahrl
8161ab573f
Remove texture atlas / AtlasPointer, rename getTextureRaw to getTexture
2013-07-02 03:03:10 +02:00
arsdragonfly
4bbb78a99b
Fix i18n of some strings.
2013-07-02 00:13:50 +00:00
kwolekr
dd6d1afd8e
Decoration: Add schematic rotation support
2013-07-01 18:04:51 -04:00
proller
131eb56f52
Disable collision fix, its broke unit tests
2013-07-01 00:26:54 +04:00
proller
37ca8854f7
Fix sand, gravel falling stuck
2013-06-30 22:48:51 +04:00
kwolekr
067888d549
LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light and liquid updates
2013-06-29 22:23:00 -04:00
proller
848c3fe51a
Optimize liquid queue on generate map for liquid_finite
2013-06-30 01:29:21 +04:00
kwolekr
9126823c7e
Make generated water a shade darker to match up with older versions
2013-06-28 22:22:44 -04:00
PilzAdam
280946ba83
Dont write player files all the time
2013-06-28 14:15:48 +00:00
kwolekr
9e100bc42b
Apply various fixes to several things
2013-06-27 22:35:35 -04:00
kwolekr
6b3169e4d0
LuaVoxelManip: Separate VoxelManip data get/set from emerging/blitting data back to map
2013-06-27 22:35:35 -04:00
kwolekr
2e292b67a0
Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API
2013-06-27 22:35:35 -04:00
kwolekr
18882a4d26
Add Lua PerlinNoiseMap:get#dMap_flat API
2013-06-27 22:35:35 -04:00
kwolekr
8aa930f28e
Add minetest.get_mapgen_object to API
2013-06-27 22:35:35 -04:00
kwolekr
2c0b51795e
Fix issue of VManip occasionally not blitting back blocks, and pitch black lighting bug
2013-06-27 22:35:35 -04:00
kwolekr
d6ac3d8d9a
Add LuaVoxelManip
2013-06-27 22:35:35 -04:00
proller
e47f6fdfe9
Fix ipv6 on windows
2013-06-24 20:13:56 +04:00
kwolekr
30d6d4c733
Cavegen: fix division by 0 with abnormal max tunnel diameter sizes
2013-06-23 15:16:52 -04:00
proller
f764297be2
Math mapgen fix, ip show on connect, pathfinder segfault fix
2013-06-23 20:35:16 +04:00
proller
75b8c13b00
New math mapgen with fractal based worlds
2013-06-23 18:07:10 +04:00
proller
f960c3be31
Add support for IPv6
...
Two new configuration options are added:
- "enable_ipv6" to enable/disable the overall use of IPv6
- "ipv6_server" to enable/disable the use of IPv6 sockets when running
a server (when "enable_ipv6" is enabled)
2013-06-23 11:31:22 +04:00
kwolekr
309c5f3641
Decoration: Add support for zero probability, fix breakage from last commit
2013-06-22 20:49:01 -04:00
PilzAdam
130464c268
Print playername when failing to read playerfile and ignore files starting with .
2013-06-22 21:39:47 +00:00
kwolekr
4d77781ce7
A handful of minor fixes to various things
2013-06-22 17:27:48 -04:00
kwolekr
c1b829077a
Decoration: Add Schematic decoration type
2013-06-22 01:11:52 -04:00
PilzAdam
b1ebd9f79c
Add a setting for max loop count per step in liquid update
2013-06-20 22:31:46 +00:00
Kahrl
c2cdaceed0
Make minetest.debug accept multiple parameters; convert them to string
2013-06-21 00:04:18 +02:00
PilzAdam
81c8b404e7
Play placing sound only if place prediction was successful
2013-06-19 21:42:12 +00:00
PilzAdam
9b6f1d647c
Dont dig or place nodes if interact priv is missing (clientside)
2013-06-19 21:42:12 +00:00
PilzAdam
53066024f6
Add drowning
2013-06-19 15:47:00 +00:00
kwolekr
f18b4872ea
Decoration: Place decorations in mgv6, check if air or cignore before placement
2013-06-17 21:59:57 -04:00
Kahrl
261f559339
Show number of objects in client environment in profiler (F6)
2013-06-18 01:49:06 +02:00
Kahrl
d74c377337
Formspec: Don't perform black magic if selected item fits the guess
2013-06-18 01:32:11 +02:00
Kahrl
c8ed61b281
Fix calculation of selected item (for not drawing it) in formspec
...
The previous code did not work when the list did not start at index 0
of the inventory list (issue #779 ).
2013-06-18 01:18:54 +02:00
Esteban I. Ruiz Moreno
816ffa99ba
Remove useless recalculation of bounding box (mapblock_mesh)
2013-06-18 01:11:46 +02:00
kwolekr
0b20768a24
Decoration, Ore: Resolve node names on Mapgen init
2013-06-17 18:51:29 -04:00
kwolekr
56093b6614
Decoration: Change divlen to sidelen
2013-06-17 18:23:31 -04:00
kwolekr
0a8519a26f
Add initial Decoration support, many misc. improvements & modifications
2013-06-17 03:21:36 -04:00
Kahrl
eccd1fdbed
Extend a delay in TestConnection from 50 to 100 milliseconds.
...
The 50 ms delay causes frequent test failures on certain systems with
slow network stacks, these failures go away with the 100 ms variant.
2013-06-17 02:09:50 +02:00
Kahrl
b5918760fb
Tweak IDropAction restriction handling in server.cpp
2013-06-16 17:01:21 +02:00
Kahrl
4405310184
Lazy sunday typo fixing. s/unban_player_of_ip/unban_player_or_ip/g
2013-06-16 14:07:12 +02:00
sweetbomber
0413f8ad9d
Removed a redundant step which degraded performance
2013-06-15 21:41:30 +04:00
Esteban I. Ruiz Moreno
93dfc3ec70
Add basic unicode support to the console (linux workaround)
2013-06-15 15:09:11 +00:00
PilzAdam
7a58c1d4ca
Reset dig_time when switching to a tool that cant dig the current node
2013-06-13 13:34:48 +00:00
Kahrl
21d6b39fd7
Enable word wrapping in profiler IGUIStaticText (freetype needs this)
2013-06-13 14:32:53 +02:00
PilzAdam
2cdf0ff4ab
Play player_damage.ogg when recieving damage and additionally play player_falling_damage.ogg when recieving falling damage
2013-06-12 20:27:06 +00:00
Kahrl
773471750d
Fix class/struct forward declaration inconsistencies (good on ya, MSVC)
2013-06-06 22:57:38 +02:00
PilzAdam
bfa608b85e
Revert "Fix multiple texture support for animated meshnodes." (broke existing models)
...
This reverts commit 649dca4d16786ed4e5b74878f56b86dea4f02542.
2013-06-06 17:13:41 +00:00
Esteban I. Ruiz Moreno
7cb5217255
Close console when it loses focus but it is still on screen
2013-06-05 21:14:14 +02:00
Kahrl
4f6bec19bc
Only add ^[forcesingle to get raw texture if atlas is used
2013-06-04 07:44:19 +02:00
stujones11
649dca4d16
Fix multiple texture support for animated meshnodes.
2013-06-03 23:31:08 +02:00
sweetbomber
601ab85226
Corrected segfault when registering new biomes.
2013-06-03 20:35:51 +02:00
Kahrl
e988df0fbd
Add and implement setting max_clearobjects_extra_loaded_blocks.
...
Now Environment::clearAllObjects() unloads unused blocks in an interval
defined by max_clearobjects_extra_loaded_blocks (default 4096).
2013-06-03 20:09:32 +02:00
Kahrl
b89c79e905
Delay deleting replaced textures (m_texture_trash)
2013-06-03 15:50:14 +02:00
Kahrl
9fe74a34ea
Call m_menumgr->deletingMenu from quitMenu in addition to destructor
...
This fixes the bug where noMenuActive() keeps returning false after
closing a menu until the mouse is moved, rendering the keyboard
unusable (the_game calls input->clear() every frame when
noMenuActive() is false).
2013-06-03 15:25:48 +02:00
sapier
c25102a4f7
Fix missing find_path and line_of_sight
2013-06-01 15:07:43 +02:00
MetaDucky
c893958bb1
Fix some nullptr exceptions when handling invalid node inventories
2013-06-01 14:45:43 +02:00
MetaDucky
64627817fc
Fix minetest.get_inventory(loc) always returning nil for "node" type loc
2013-06-01 12:15:11 +02:00
MetaDucky
a61aa6690b
Fix editbox default text being pre-selected in some cases
2013-06-01 01:59:48 +02:00
Kahrl
7721948a2f
Generate debug HUD text with ostringstream instead of snprintf.
...
This should fix #730 .
2013-06-01 01:50:08 +02:00
proller
6b2c46c431
Liquid adjusting: continue to drop
2013-05-31 22:59:09 +04:00
sapier
efc75db764
Bugfix: Update formname on showing new formspec while already one shown
2013-05-26 01:45:46 +02:00
MetaDucky
f62ddf9022
Fixed wrongly named invref:get_location() table members for nodes.
...
Makes the result compatible with the minetest.get_inventory(location) param.
2013-05-26 00:35:11 +02:00
Kahrl
96fe1de832
Add ObjectRef.hud_set_hotbar_itemcount and add TOCLIENT_HUD_SET_PARAM
2013-05-26 00:23:33 +02:00
sapier
e464f19356
Fix itemstack:add item not working correct
2013-05-25 19:23:10 +02:00
sapier
ab43377577
Move scriptapi to separate folder (by sapier)
...
On the lua side, notably minetest.env:<function>(<args>) should now
be replaced by minetest.<function>(<args>).
The old way is and will stay supported for a long time.
Also:
Update and clean up lua_api.txt (by celeron55)
Move EnvRef to lua and remove add_rat and add_firefly (by kahrl)
Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
2013-05-25 00:51:02 +02:00
PilzAdam
865f380c91
Predict param2 of facedir nodes and attachment of attached_node nodes
2013-05-24 02:10:03 +02:00
Jeija
3abbe7efd1
Make raillike nodes connect to any other raillike nodes if both are in the group connect_to_raillike
2013-05-22 15:08:24 +02:00
PilzAdam
7f6e9e9540
Fix disappearing of wielditem
2013-05-21 20:16:22 +02:00
Kahrl
4a9fe1a1d5
Log non-fatal mod name conflict to actionstream instead of errorstream
2013-05-21 14:56:43 +02:00
PilzAdam
e57dc4ef18
Dont animate changing wielditem from hand to hand
2013-05-20 20:31:38 +02:00
MetaDucky
5e80df46b8
Fix typo in particle spawning
2013-05-20 16:24:07 +02:00
elagin
c135e9c7d4
Save settings after dropping main menu
2013-05-20 16:03:48 +02:00
ShadowNinja
127c488355
Use the group "soil" for nodes that saplings grow on
2013-05-20 13:43:13 +02:00
kwolekr
981c6c9bf2
Fix lava damage on player's upper body
2013-05-19 21:29:49 -04:00
kwolekr
d00e8bd31a
Fix nearly all warnings
2013-05-19 21:26:56 -04:00
sapier
55a97f4605
Allow nil as puncher e.g. to do damage by tnt
2013-05-20 01:18:45 +02:00
PilzAdam
3e2efdf18a
Add a little animation when changing the wielded item
2013-05-20 01:09:41 +02:00
PilzAdam
bc66f46323
Dont teleport back if holding sneak when detaching/turn freemove off
2013-05-19 20:56:58 +02:00
Kahrl
cc92e45b78
Fix EmergeThread names in log
...
Concatenate the thread id as string instead of adding it to the pointer
2013-05-19 19:58:01 +02:00
PilzAdam
b2253e5b42
Write mods that are not in world.mt into it at world startup
2013-05-19 19:52:29 +02:00
PilzAdam
dcd0b63f64
Dont load mods that have no entry in world.mt
2013-05-19 19:46:50 +02:00
kwolekr
93474c4218
Remove no virtual dtor warnings, make MapgenParams contain actual NoiseParams
2013-05-19 12:22:20 -04:00
kwolekr
f577facf79
Fix regression of world loading caused by 81c863ac
2013-05-19 12:07:00 -04:00
PilzAdam
45fcc9de29
New modsystem
...
Mods are placed in $path_<user/share>/mods
They can be enabled per world in world.mt or the configure world window
2013-05-19 02:15:36 +02:00
PilzAdam
714ecc5e27
Only create SoundManager in main menu if USE_SOUND is true
2013-05-18 13:01:47 +02:00
PilzAdam
9397b5de08
Fix memory leak in MeshUpdateThread
2013-05-18 01:52:18 +02:00
Aaron Suen
1369503aba
Fix math for isBlockInSight. Fixes #718 (client-side).
2013-05-18 00:13:01 +02:00
PilzAdam
fedf644635
Move kahrl to core devs in credits tab
2013-05-17 23:15:10 +02:00
PilzAdam
587e7b299b
Dont drop fonts with ENABLE_FREETYPE=0
2013-05-16 02:20:10 +02:00
PilzAdam
d5ca3b721e
Fix memory leak in run_tests()
2013-05-14 12:29:30 +02:00
Esteban I. Ruiz Moreno
822723c246
Add mouse_sensitivity option
2013-05-13 17:39:16 +02:00
Zeg9
bda62bd3bf
Add progress bar to item visuals preloading
2013-05-13 17:08:51 +02:00
PilzAdam
efc9329033
Only use game filter in singleplayer tab; use menu_{background, overlay, header, footer}.png for other tabs
2013-05-13 17:06:08 +02:00
Kahrl
2c09e8a84c
Fix double free in createExtrudedMesh, reported by ptitSeb
2013-05-12 06:28:33 +02:00
RealBadAngel
9575b0a2a8
Add code to play main_menu.ogg in main menu
2013-05-11 15:39:38 +02:00
Aaron Suen
6911a7d279
Clear custom player HUDs when emerging players. Fixes #711 .
2013-05-10 19:25:50 -04:00
PilzAdam
5068cb40ce
Fix memory leak: remove InventoryAction after sending and applying
2013-05-11 00:12:14 +02:00
PilzAdam
e5781b5e34
Fix memory leaks: delete font in main and GUIChatConsole
2013-05-10 22:35:17 +02:00
PilzAdam
782d06be46
Fix memory leak by dropping sky
2013-05-10 19:12:24 +02:00
Zeg9
81c863ac4d
Add clouds to all loading screens and better progress handling
2013-05-10 15:04:21 +02:00
sapier
d859ad7ed7
Fix gettext memory leaks
2013-05-10 11:31:00 +02:00
sapier
ee1155fe6d
Really fix itemdef memory leak
2013-05-09 17:08:23 +02:00
Kahrl
3b1c3ac678
Add --videomodes option to show available video modes
2013-05-09 16:30:04 +02:00
Kahrl
3332f606ed
Drop IrrlichtDevice when running --speedtests
2013-05-09 16:18:26 +02:00
Kahrl
f00cee75c1
Fix world selection a bit (also fixes a main menu segfault)
2013-05-08 20:54:03 +02:00
Zeg9
0913287578
Add progress bar and clouds to loading screen
2013-05-08 20:26:43 +02:00
PilzAdam
7b41f54411
Update default controls in README and pause menu
2013-05-07 14:48:20 +02:00
Brent Hull
03ab6aa24c
Fix shader license headers to be LGPL
2013-05-06 19:09:08 +02:00
Kahrl
9a559eb8cf
Remove 'Meshbuffer ran out of indices' limitation
2013-05-06 19:06:18 +02:00
sapier
58f036ad1d
fix static data not beeing stored correctly on deactivation
2013-05-06 19:05:44 +02:00
Perttu Ahola
a888b232fe
Add header.png and footer.png support for games, and support texture packs via <gameid>_menu_<background/overlay/header/footer>.png
2013-05-04 10:05:12 +03:00
Sfan5
b88aa81da7
Fix favorite Server List on Windows
2013-05-04 07:31:22 +02:00
PilzAdam
8d5b400d09
Fix documentation for HUD commands in protocol
2013-05-04 01:04:09 +02:00
Kahrl
969d2b3eb1
Optional dependencies and properly handle mod name conflicts again
2013-05-03 23:58:22 +02:00
ShadowNinja
a031a15487
Don't predict placement of nodes if they would replace a non buildable_to node
2013-05-03 17:03:25 +02:00
Kahrl
777ac58f85
Predict wallmounted param2 during node placement prediction.
...
Also clean up the_game a bit: move node placement prediction to a
separate function.
2013-05-03 17:03:25 +02:00
Kahrl
be4cc306a5
Server: force block send of pointed_pos_under after predicted node place
2013-05-03 17:03:25 +02:00
PilzAdam
0deb68d81c
Use DIR_DELIM instead of / in file paths
2013-05-02 23:08:59 +02:00
PilzAdam
b75505e6b2
Show game name instead of game ID of selected game
2013-05-02 20:05:07 +02:00
Perttu Ahola
ee8067f7cf
Switch menu to game selected in world creation dialog
2013-05-02 20:59:52 +03:00
Perttu Ahola
2cf76f6f1b
Pre-select current game in world creation dialog
2013-05-02 19:43:47 +03:00
Perttu Ahola
2708482f1b
Filter worlds by selected game
2013-05-02 19:43:47 +03:00
Perttu Ahola
084be3599a
Get menu background image from selected game
2013-05-02 19:43:47 +03:00
PilzAdam
d07000ed1d
Move sfan5 to core devs
2013-05-01 15:47:14 +02:00
kwolekr
c824abd7b2
Fix itemdef drop on NULL texture
2013-04-28 21:07:09 -04:00
kwolekr
8767c78169
Enhance caves for mgv7, add ravines
2013-04-27 22:40:52 -04:00
kwolekr
0fb9567f13
Minor hud.cpp cleanup
2013-04-25 20:56:12 -04:00
Esteban I. Ruiz Moreno
43a388ec53
Ability to change the crosshair using textures
2013-04-25 20:07:46 -04:00
kwolekr
d3f0ce6224
Generalize hud_builtin_enable into hud_set_flags
2013-04-25 19:37:36 -04:00
proller
d83602d98e
Tune finite liquids, indev huge caves
2013-04-25 22:59:32 +04:00
Zeg9
c33b993397
Fix serverlist on -DRUN_IN_PLACE=0 (use path_user instead of path_share)
2013-04-25 19:49:28 +02:00
sapier
88ffb3f73b
Move player collisionbox to player class
2013-04-25 18:53:50 +02:00
PilzAdam
386108f982
kahrl is back
2013-04-25 18:32:49 +02:00
Perttu Ahola
bc3072b35e
Fix compatibility of RBA's NDT_GLASSLIKE_FRAMED
2013-04-25 11:51:28 +03:00
sapier
e9a4e98cb9
Improve getFree*ActiveObjectId to reduce common case cpu usage drasticaly
2013-04-24 21:59:09 -04:00
RealBadAngel
625a4c2e66
Add new drawtype GLASSLIKE_FRAMED
2013-04-24 21:45:18 -04:00
Diego Martínez
e703c5b81f
Added support to disable built-in HUD elements
2013-04-24 17:28:00 +03:00
Diego Martínez
33dd267fd9
Fixes possible crash when using hud_change with "align" or "offset"
2013-04-23 23:18:05 -04:00
RealBadAngel
a699bdb7a1
Fix to: addUpdateMeshTaskWithEdge
...
Check in all 6 directions instead of just 3.
2013-04-23 22:30:09 -04:00
kwolekr
770305e28d
Add option to use texture alpha channel
2013-04-23 22:15:51 -04:00
Perttu Ahola
36747794ab
Disable fall bobbing by default; enable using fall_bobbing_amount = 1.0
2013-04-23 23:19:36 +03:00
PilzAdam
c03c296dc7
Grow dirt_with_snow instead of dirt_with_grass if snow is above it
2013-04-23 19:02:41 +02:00
ShadowNinja
4a9b8aae5e
Add minetest.get_player_ip()
2013-04-23 09:57:45 +03:00
ShadowNinja
3d4d0cb574
Add option to not prepend "Server -!- " to messages sent with minetest.chat_send_player()
2013-04-23 09:47:08 +03:00
Diego Martínez
9894167bbf
Added offset support for HUD items
2013-04-23 09:34:11 +03:00
Diego Martínez
7c37b1891a
Added support for alignment in HUD items
2013-04-23 09:34:10 +03:00
kwolekr
37e6d1356b
mgv7: Implement getGroundLevelAtPoint(), fix layer of topnodes at chunk Y boundaries, remove growGrass()
2013-04-21 15:47:13 -04:00
kwolekr
daddd37706
Fix findSpawnPos()
2013-04-21 15:39:34 -04:00
kwolekr
14ba94ad6a
Fix hud_change stat argument retrieval
2013-04-21 12:55:46 -04:00
kwolekr
03868ff8e1
Class-ify caves & move to cavegen.cpp, fix cave regression, add caves to Mapgen V7
2013-04-21 01:06:19 -04:00
kwolekr
527deb947c
Add direction parameter to statbars in HUD API
...
Fix health bar overlap when a larger texture is used
2013-04-20 00:22:12 -04:00
kwolekr
666aae3593
Split HUD code off to hud.cpp, make into a class, extensive Lua HUD modification
2013-04-18 02:19:31 -04:00
Jonathon Anderson
49f6e347f0
Lua HUD
2013-04-18 02:14:33 -04:00
kwolekr
ce901f4c4c
Fix double free, null texture drop
2013-04-12 17:20:05 -04:00
MirceaKitsune
7cd5eb4c77
Swing the camera down when the player lands on the ground, based on the velocity the surface is hit with.
2013-04-11 19:42:47 -04:00
RealBadAngel
e7f5cdf9d4
Bugfixes to get_craft_recipe and get_all_craft_recipes.
...
Improvements to get_all_craft_recipes (see api doc)
2013-04-10 22:33:59 -04:00
sapier
dda2071cc0
fix bug in scriptapi line_of_sight
...
fix warnings for pathfinder debug traces
2013-04-10 16:50:24 -04:00
sapier
6e4fdf37ba
fix objects colliding with its own collision boxes
2013-04-09 23:16:13 +02:00
sapier
7d002b60ff
fix emergemanager memory leaks
2013-04-09 02:34:11 -04:00
sapier
04c3b17c78
fix various memory leaks
2013-04-09 02:23:07 -04:00
sapier
58fd39de35
fix extruded items texture leak
2013-04-09 02:14:52 -04:00
RealBadAngel
9449026839
Use system wide LuaJIT if aviable.
2013-04-08 22:10:00 +02:00
sapier
e7247c1a66
fix memory leak on sound shutdown
2013-04-07 23:43:34 -04:00
sapier
0d26bb36af
fix memory leak in loadMedia
2013-04-07 23:40:33 -04:00
sapier
10502b59bc
addon extended resource accounting
2013-04-07 23:38:22 -04:00
sapier
abe74ea5ea
fix inventory image texture leak
2013-04-07 22:54:00 -04:00
sapier
98182f6097
fix memory leaks introduced by invalid gettext usage
2013-04-07 22:50:53 -04:00
sapier
cd27c8ef5d
replace Server smart pointer with conventional one to gain control over dtor call order
2013-04-07 22:42:36 -04:00
sapier
2bdff11d54
fix memory leak on shader shutdown
2013-04-07 22:30:29 -04:00
sapier
7a32698312
fix memory leak in itemdef
...
cleanup useless code
2013-04-07 22:20:01 -04:00
sapier
5743ef4e64
fix huge texture leak in tiledef
...
fix minor glitches too
2013-04-07 22:17:58 -04:00
sapier
3b684d306c
fix 3d model mesh leak
2013-04-07 21:51:35 -04:00
sapier
e1146396bc
fix mesh leak in camera class
2013-04-07 21:49:55 -04:00
kwolekr
7c0e707cf1
Add param2 field for ores, some minor fixes and misc. code cleanup
2013-04-07 21:21:54 -04:00
kwolekr
96e2931c5c
Fix black tree leaves, reduce above-ground cave shadows
2013-04-07 02:26:46 -04:00
kwolekr
5961106f9f
Fix crash on creating map with invalid mg_name
2013-04-07 01:50:20 -04:00
kwolekr
fbf76184f0
Revert "Fix to be able to build from dir different than source dir"
...
This commit broke RUN_IN_PLACE
2013-04-07 01:30:06 -04:00
kwolekr
8ec3fc35c6
Add Mapgen V7, reorganize biomes
2013-04-07 00:50:21 -04:00
proller
d50b2ede92
Adjusting water removing above unloaded blocks
2013-04-07 00:05:39 +04:00
kwolekr
453d79e3a2
Don't re-write entire map_meta.txt if a setting is missing
2013-04-06 13:36:51 -04:00
Diego Martínez
046534e14b
Fix to be able to build from dir different than source dir
2013-04-06 12:31:12 -04:00
proller
120f02e20b
Don't flow finite liquid into an unloaded chunk
2013-04-06 12:09:59 -04:00
sapier
becd8c03fd
fix memory leak
2013-04-06 12:00:36 -04:00
sapier
69367aa799
Add Dijkstra A* and A* without prefetching pathfind algorithms
2013-04-06 11:24:03 -04:00
khonkhortisan
1586cdac53
unkn own block -> unkn own node
2013-04-05 15:57:39 +02:00
MirceaKitsune
e38d65f8d1
Dont allow fast move in water or ladder when aux1_descend is true
2013-04-05 14:58:35 +02:00
PilzAdam
b0e6806077
Fix nick completion
2013-04-05 02:31:58 +02:00
MirceaKitsune
c5a8448c41
Allow modifying movement speed, jump height and gravity per-player via the Lua API.
2013-04-05 02:00:59 +02:00
ShadowNinja
2a0badf2d5
Check if the address field is empty when hitting enter on the multiplayer tab
2013-04-03 23:33:17 +02:00
Esteban I. Ruiz Moreno
6b8435cf8c
Limit speed in collisionMoveResult for avoiding hangs
2013-04-03 23:29:51 +02:00
Zeg9
c1bf6f9f7a
Fix camera "jumping" when attached and the parent goes too fast
2013-04-03 23:22:40 +02:00
kwolekr
8d4b768297
Add Ore generation flags, implement ore absolute height
2013-03-31 20:02:03 -04:00
kwolekr
35ed5198fe
Increase value range of Ore::clust_scarcity
2013-03-31 12:26:25 -04:00
ShadowNinja
7d3b3890b5
Add a small optimization to the menu splash and remove a old comment
2013-03-30 22:02:46 -04:00
khonkhortisan
96387ee88a
Don't load menu textures every frame
2013-03-30 21:52:13 -04:00
kwolekr
c517215bcf
Fix MapgenV6::generateCaves possible division by 0 and misc. cosmetic fixes
2013-03-30 21:24:37 -04:00
kwolekr
414f0275cf
Optimize CNodeDefManager::getIds
2013-03-30 19:14:42 -04:00
PilzAdam
1aa50b1362
Make the textbox for serverlist title wider
2013-03-30 18:56:29 +01:00
PilzAdam
e17ae475cf
GUI: Make singleplayer default tab, store selected serverlist, show title of serverlist
2013-03-30 18:34:36 +01:00
kwolekr
6cf581e360
Fix build on Linux with some glibcs
2013-03-29 21:12:14 -04:00
proller
16c11eb4a3
Masterserver: report gameid, uptime, cosmetic fixes on server web page
2013-03-30 02:03:24 +04:00
kwolekr
df49b93877
Add varying levels of precision to TimeTaker
2013-03-29 16:53:15 -04:00
PilzAdam
5e7e0347cd
Add different place sound for nodes
2013-03-29 20:14:18 +01:00
PilzAdam
7d9329ecfe
New damage system, add damageGroups to ToolCapabilities, bump protocol version
2013-03-29 20:14:09 +01:00
kwolekr
3640c8c051
Update Credits tab
2013-03-29 14:43:47 -04:00
kwolekr
5b854f95d2
Fix last singlenode modification
2013-03-29 13:18:09 -04:00
kwolekr
b0f39da131
Don't replace existing nodes in singlenode mapgen
2013-03-29 11:15:49 -04:00
kwolekr
d01b74d00a
Prevent infinite loop with invalid Inventory format
2013-03-27 23:27:31 -04:00
sapier
8800896824
Closed add object <-> object collision handling
2013-03-28 00:09:24 +01:00
kwolekr
26cad481d0
Vary ore sheet y position by noise
2013-03-24 22:35:23 -04:00
kwolekr
8d13967aa3
Ensure ore can fit in OreSheet::generate()
2013-03-24 20:19:59 -04:00
kwolekr
0e07a7157f
Add more error checking to l_register_ore
2013-03-24 15:40:53 -04:00
kwolekr
57cbb8bfd8
Add Ore infrastructure and l_register_ore()
2013-03-24 13:23:33 -04:00
proller
f70378f7f5
Mapgen indev: float islands, larger far biomes
2013-03-24 03:40:15 +04:00
Jeija
e1ff5b1361
Allow spawning particles from the server, from lua
...
Spawn single particles or make use of ParticleSpawner for many randomly spawned particles.
Accessible in Lua using minetest.spawn_particle and minetest.add_particlespawner.
Increase Protocol Version to 17.
Conflicts:
src/clientserver.h
2013-03-23 23:16:29 +01:00
PilzAdam
ab57fdac44
Move rightclickable to the proper place
2013-03-23 23:15:30 +01:00
Jürgen Doser
dacc8cdb3a
Include backface_culling flag in serialization format for TileDefs
...
This way flowing liquids actually show the backface when specified to
do so. Without this, TileDefs where by default initialized with
backface_culling = true and never set otherwise.
For backwards compatibility, an old client connected to a new server,
or a new client connected to an old server will behave like before
i.e., backface_culling is always true.
2013-03-23 23:10:47 +01:00
Mukul Sati
ca7043e52d
Set of changes to build mineTest using Visual Studio 11.0. These affect
...
the following:
1. String concatenation in guiMainMenu.cpp - it is required for all
individual strings to be of the same type <unicode/non-unicode>; adding
explicit L qualifier before the other strings.
2. Correcting type of BlockMakeData to struct in place of class forward
declarations. This information is used for name decoration by Visual
Studio, leading to linker errors in case of mismatches.
3. Windows headers define max as a macro somewhere, leading to a compile
time error in profiler.h; using () around function to prevent macro match
from occurring.
2013-03-24 00:53:10 +04:00
RealBadAngel
6f8d40ef5d
6d facedir
2013-03-23 21:31:05 +01:00
proller
f98d0433f9
Random guest name and finite liquid checkbox
2013-03-23 19:17:08 +04:00
Perttu Ahola
34b185e955
Add singlenode mapgen; generates solely the node 'mapgen_singlenode', defaults to air
2013-03-22 19:16:51 +02:00
Perttu Ahola
c2250d95c4
Support game-specific minetest.conf
2013-03-21 22:22:15 +02:00
Perttu Ahola
306d1ab866
Common mods support
...
Implement "common mods", includeable from
{$user,$share}/games/common/$modname
by using the game.conf setting
common_mods = $modname,$modname2,...
2013-03-21 18:56:42 +02:00
kwolekr
8f0d29f931
Fix Map::initBlockMake to actually use chunksize setting
2013-03-18 22:19:02 -04:00
kwolekr
939397dd6e
Add jungle grass to jungles
2013-03-17 23:08:11 -04:00
Ilya Zhuravlev
d207d359d1
Don't erase modified_blocks
2013-03-17 21:17:13 +04:00
ShadowNinja
5f88cd98ad
Add FPS limit to menu clouds
2013-03-17 12:13:48 -04:00
RealBadAngel
7f51b2da28
lua methods set_look_pitch and set_look_yaw
2013-03-17 11:39:35 -04:00
PilzAdam
c00c8832c6
Fix new_style_water
2013-03-17 11:28:43 -04:00
proller
10c03e1a9d
build with ogles2 driver
2013-03-16 22:37:50 -04:00
kwolekr
67228160ae
Some minor cleanups from the last commit
2013-03-16 22:34:12 -04:00
proller
165498cecf
initial mapgen indev version with farscale feature and huge caves
2013-03-16 21:48:32 -04:00
kwolekr
e3badd7062
Make saplings only grow on dirt or grass, make jungle tree trunks only replace air
2013-03-16 19:55:29 -04:00
kwolekr
6823ce99a7
Re-add jungles, apple trees
2013-03-16 17:06:11 -04:00
kwolekr
1f1ad9fd23
Optimize Mapgen::updateLighting(), add setLighting()
2013-03-15 23:04:50 -04:00
proller
f5ab056b38
Liquid fine tuning
2013-03-14 17:06:25 -04:00
kwolekr
16c031be77
Remove 'tape and glue', update Credits tab
2013-03-14 16:46:42 -04:00
ShadowNinja
350596b94f
Add cloud menu background by Krisi, configurable with the menu_clouds option.
...
Also add a menuheader, menusplash, menufooter_clouds, and allow HD menu footers.
And finally don't git-ignore textures/base/.
2013-03-13 21:18:40 -04:00
sapier
66750dc88e
fix typo invalid for loop end
2013-03-13 19:42:05 -04:00
kwolekr
d10223254a
Clean up Mapgen
2013-03-11 21:32:52 -04:00
sapier
eb90c3d92d
Move l_get_all_craft_recipes to scriptapi_craft
2013-03-11 19:27:13 -04:00
Ilya Zhuravlev
6a1670dbc3
Migrate to STL containers/algorithms.
2013-03-11 19:08:39 -04:00
kwolekr
650e932ddf
Re-add dungeons in new dungeongen.cpp
2013-03-10 00:42:51 -05:00
kwolekr
b9512cab1b
Fix Irrlicht includes in scriptapi_*
2013-03-06 17:04:44 -05:00
proller
dd8593f2d6
fix link if system json lib exists
2013-03-05 23:54:07 -05:00
RealBadAngel
5af8acfa6e
Added method to get all registered recipes for item(node)
2013-03-05 23:32:33 -05:00
kwolekr
ba78194636
Allow any character in formspec strings with escape char
2013-03-05 23:25:02 -05:00
sapier
bdbdeab005
split scriptapi.cpp
...
Remerge some files in order to reduce number of additional files
Make necessary changes for split, rename files, reorganize some bits
2013-03-05 00:59:49 -05:00
Ilya Zhuravlev
5917e86297
Add one more curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1);
2013-03-03 00:02:00 +04:00
Ilya Zhuravlev
fceb465fc9
Fix "longjmp causes uninitialized stack frame" (serverlist.cpp)
2013-03-01 17:02:54 +04:00
kwolekr
7caa28a6aa
Change default settings for log level, texture atlas, document new settings
2013-02-27 19:59:05 -05:00
PilzAdam
0183bdad04
Fix nodeplacement prediction
2013-02-27 20:23:32 +01:00
kwolekr
d31f07bd4b
Fix most warnings, re-fix MSVC compile error
2013-02-26 01:57:59 -05:00
kwolekr
979ca23f1e
Merge pull request #482 from proller/liquid
...
finite liquid
2013-02-25 20:52:24 -08:00
kwolekr
9b5f182642
Remove dead code, relocate some code
2013-02-25 23:11:12 -05:00
kwolekr
f00d136ab1
Fix selection of # threads, set default to 1 thread
2013-02-25 23:11:00 -05:00
kwolekr
28c50c16cd
Fix build on Windows
2013-02-25 23:10:54 -05:00
kwolekr
5bd50a2d90
Fix most walled-off caves
2013-02-25 23:08:55 -05:00
kwolekr
60e6284f30
Tune queue limits, some other adjustments
2013-02-25 23:08:41 -05:00
kwolekr
67c59645ec
Misc. cleanup and minor fixes
2013-02-25 23:08:33 -05:00
kwolekr
5ec5b1cbd6
Add multi-Emerge thread support
2013-02-25 23:08:26 -05:00
kwolekr
76217939e0
Add emerge queue limit configuration
2013-02-25 22:59:17 -05:00
kwolekr
206ec36c8e
Fix EmergeThread hang on exit
2013-02-25 22:58:24 -05:00
kwolekr
3b7a445cd7
Add global and per-peer queue limits
2013-02-25 22:58:11 -05:00
kwolekr
b9d8e59bbf
Add emerge.cpp, initial EmergeThread changes
...
- Neatly placed all emerge related code into a new file, emerge.cpp
- Greatly cleaned up the code in EmergeThread::Thread()
- Reworked Emerge queue. Now an actual std::queue of v3s16 block positions
- Removed the completely unnecessary map of peer ids requesting blocks
2013-02-25 22:56:18 -05:00
Sfan5
6d0ea26c2d
Update Copyright Years
2013-02-24 20:15:24 +01:00
PilzAdam
497ff1ecd6
Change Minetest-c55 to Minetest
2013-02-24 18:49:03 +01:00
proller
b90e431fc7
new adjustable finite liquid
2013-02-24 18:39:07 +04:00
RealBadAngel
f0d70d4e86
Add seed parameter for default and L-system trees
2013-02-24 02:26:25 +01:00
kwolekr
6b9906687b
Merge pull request #503 from RealBadAngel/master
...
Add sound volume controls to ingame menu
2013-02-23 15:58:00 -08:00
PilzAdam
bc2e9dbaf2
Read server_announce from minetest.conf for GUI
2013-02-23 22:48:02 +01:00
RealBadAngel
4d73d99ebc
Add sound volume controls to ingame menu
2013-02-23 16:01:35 +01:00
kwolekr
f9a8efb992
Merge pull request #431 from sapier/dtime_clamping
...
add limit for (collision handling) steps to avoid runaway memory consumption
2013-02-22 16:42:50 -08:00
kwolekr
7f240aea1e
Added debug log level setting
2013-02-21 22:35:04 -05:00
Ilya Zhuravlev
c19fc00b04
Fix json include
2013-02-22 02:41:59 +04:00
proller
ee07c3f7cf
new auto masterserver
2013-02-22 02:04:53 +04:00
Jürgen Doser
89b88917a8
Print missing mod dependencies on server start
...
i.e., not only the mod with missing dependencies, but also the missing
dependencies itself. (This already used to be the case before the mod
selection gui was added)
Also, mods with unsatisfied dependencies are no longer reported as
mods that could not be found.
2013-02-20 20:06:39 +01:00
Jeija
365c169b43
Disable placement prediction for nodes that use on_rightclick
2013-02-19 20:02:40 +01:00
kwolekr
8d920dd09b
Merge pull request #465 from doserj/mod_selection_empty_modname_fix
...
Remove use of operator[] on a std::map, so no spurious elements get inse...
2013-02-15 17:45:32 -08:00
Perttu Ahola
c88d89d26e
Some kind of middleway values for player acceleration for now
2013-02-15 23:18:19 +02:00
Perttu Ahola
4035bf3259
Restore old acceleration behavior until something is actually agreed on (part 2)
2013-02-15 22:47:23 +02:00
Perttu Ahola
65cb318cd9
Restore old acceleration behavior until something is actually agreed on
2013-02-15 22:25:23 +02:00
Ilya Zhuravlev
30b9a4d6b4
Add Freetype support
2013-02-14 18:46:08 +01:00
MirceaKitsune
df3c925b3c
Improved Player Physics
2013-02-14 06:21:30 +10:00
Dmitry Marakasov
8e69b9cb26
Server requires gettext library as well
2013-02-12 20:27:50 +01:00
PilzAdam
9f1ae4084d
Enable multiline signs
2013-02-12 19:37:25 +01:00
PilzAdam
2c362badd4
Dont remove grass under unloaded blocks
2013-02-10 12:52:59 +01:00
Jürgen Doser
6b1420a58a
Disable backface culling for drawtype plantlike and only draw 2 faces instead of 4
...
This way, plants actually show the real backface on their back side,
i.e., the front face mirrored around the vertical axis, instead of
showing the front face on both sides. This looked weird when the
texture was not symmetrical around the vertical axis.
2013-02-10 12:45:25 +01:00
ShadowNinja
1cda39d5bb
Don't fall off nodes if sneaking with free_move on but without fly privileges
2013-02-10 12:35:04 +01:00
ShadowNinja
32552fede5
Don't see through nodes without noclip privileges
2013-02-10 12:29:46 +01:00
Ilya Zhuravlev
86b33c4922
Fix compile error (MSVC2010).
2013-02-07 16:17:55 +04:00
kwolekr
97260d09a8
Add flag string settings, flat map option
2013-02-06 16:52:48 -05:00
kwolekr
f148ae58c3
Fix assertion condition in initializePaths()
2013-02-06 01:13:19 -05:00
kwolekr
bd55b9cc0f
Don't write control character to verbosestream
2013-02-06 01:12:56 -05:00
kwolekr
77dbad72f7
Fix and improve noise map functions
2013-02-06 01:12:36 -05:00
kwolekr
75fe948bf7
Add Perlin noise map Lua API
2013-02-06 01:11:56 -05:00
kwolekr
a73905401a
Improve random map seed generation
2013-02-06 01:10:37 -05:00
Jürgen Doser
9ebf1fd3b7
Remove use of operator[] on a std::map, so no spurious elements get inserted. ( fixes #464 )
...
All uses of operator[] in guiConfigureWorld.cpp have been replaced
with .find() operations.
In some places, operator[] had been called with mod names of "Add-Ons"
or "N/A", which would insert a default-constructed ModSpec into the
list of add-on mods. In other places, the use of operator[] was safe
now, but it probably is safer for future changes to use .find()
everywhere.
2013-02-01 15:50:33 +01:00
PilzAdam
33cb3d713c
Translate key functions in key change menu
2013-01-30 20:27:26 +01:00
kwolekr
12472a44d4
Merge pull request #442 from kwolekr/mingw_compile_fix
...
Fix compile under MingW
2013-01-29 13:07:47 -08:00
kwolekr
cbbb6447bf
Merge pull request #441 from kwolekr/mapgen_factories
...
Make mapgen factory setup more elegant, add mapgen_v6.h
2013-01-29 13:05:56 -08:00
Jeija
c1fee78e85
Place block when holding sneak while right-clicking nodes with formspec
2013-01-28 00:44:42 +04:00
kwolekr
bcc0ca93d4
Merge pull request #447 from sapier/add_lua_log_parameter_check
...
BUGFIX: check parameters for minetest.log lua function
2013-01-26 10:58:53 -08:00
sapier
eb2a8fe8b8
check parameters for minetest.log lua function
2013-01-26 10:32:08 +00:00
kwolekr
9d69b38583
Slightly improved version of mystrtok_r
2013-01-23 17:37:53 -05:00
kwolekr
69ba485415
Fix compile under MingW
2013-01-23 16:28:15 -05:00
kwolekr
91e88196c7
Make mapgen factory setup more elegant, add mapgen_v6.h
2013-01-23 16:16:49 -05:00
RealBadAngel
1163fdfa11
Treegen update. Some new symbols. Speed up code a bit.
2013-01-23 20:40:09 +02:00
Jürgen Doser
f099861245
Make sure that settings are written to config file when settings are removed.
...
Previously, settings where only written when a value has changed, and
removal of a setting value didn't count as a change.
2013-01-22 19:05:46 +01:00
Jürgen Doser
f214940c96
Fix crash when pressing delete button in server browser and no server is selected.
...
A check for that was there, but was comparing an unsigned variable to
-1, which doesn't work.
2013-01-22 19:05:46 +01:00
Jürgen Doser
26a0efae23
Improve behaviour for empty modpacks and when no mods at all are installed:
...
Only show enable all / disable all buttons for all add-ons when at
least one add-on is installed. When no add-on ist installed, don't
show any buttons or checkboxes.
Added is_modpack flag to ModSpec to distinguish empty modpacks from
normal mods and check this flag in mod selection gui so that empty
modpacks are not treated like mods that can be enabled or disabled.
2013-01-22 19:05:28 +01:00
Jürgen Doser
e237c1d07d
Fix crash when no world is selected and configure button is pressed.
...
by moving return statement out of if-then-else clause...
2013-01-22 17:47:12 +01:00
Ilya Zhuravlev
5696ee8421
Fix msvc build
2013-01-22 01:16:29 +04:00
sapier
d8a0efa6af
add support for saving settings by lua command (server doesn't autosave on exit)
2013-01-21 22:44:41 +02:00
kwolekr
b87cd8c58b
Use a string identifier for a mapgen instead of version
2013-01-21 21:41:37 +02:00
kwolekr
318669327e
Fix compile on certain Linux configurations, reduce spawn point height
2013-01-21 21:41:37 +02:00
kwolekr
278d93a3ee
Removed Mapgen V7 for now
2013-01-21 21:41:37 +02:00
kwolekr
b55fb4f2f6
Last set of minor cleanups
2013-01-21 21:41:37 +02:00
kwolekr
1cd8351054
Fix MapgenV6::getGroundLevelAtPoint()
2013-01-21 21:41:37 +02:00
kwolekr
631a835e07
Finish and clean up mapgen configuration
2013-01-21 21:41:37 +02:00
kwolekr
45cf32afc5
Add Settings::getStruct and Settings::setStruct
2013-01-21 21:41:37 +02:00
kwolekr
cde3d38766
Clean up EmergeManager, do initial work on Mapgen configuration
2013-01-21 21:41:37 +02:00
kwolekr
d5029958b9
Readded and optimized mapgen V6
2013-01-21 21:41:37 +02:00
kwolekr
bddd5f2b98
Cleaned & enhanced noise object management
2013-01-21 21:41:37 +02:00
kwolekr
96898c1794
Add initial Lua biomedef support, fixed biome selection
2013-01-21 21:41:37 +02:00
kwolekr
11afcbff69
The new mapgen, noise functions, et al.
2013-01-21 21:41:33 +02:00
kwolekr
736b386554
Make WATER_LEVEL configurable, fix slight comparison bug in findSpawnPos()
2013-01-21 21:41:09 +02:00
kwolekr
a785522194
Only clear block modified flag if writing to db was successful
2013-01-21 21:41:09 +02:00
kwolekr
8e50e256e6
Make cloud height user-configurable
2013-01-21 21:41:09 +02:00
kwolekr
9b3287b865
stop MSVC++ from generating dumb warnings
2013-01-21 21:41:09 +02:00
kwolekr
14657bd29a
Proper RUN_IN_PLACE support for OSX and FreeBSD
2013-01-21 21:41:09 +02:00
Jürgen Doser
6af8a34d91
Basic support for configuring which mods to load for each world
...
settings.h: added function to return all keys used in settings, and a
function to remove a setting
mods.{h,cpp}: added class ModConfiguration that represents a subset of the installed mods.
server.{h,cpp}: server does not load add-on mods that are disabled in
the world.mt file. mods are disabled by a setting of the form
"load_mod_<modname> = false". if no load_mod_<modname> = ... setting
is found, the mod is loaded anyways for backwards compatibilty. server
also complains to errorstream about mods with unstatisfied
dependencies and about mods that are not installed.
guiConfigureWorld.{h,cpp}: shows a treeview of installed add-on mods
and modpacks with little icons in front of their name indicating their
status: a checkmark for enabled mods, a cross for disabled mods, a
question mark for "new" mods
Mods can be enabled/disabled by a checkbox. Mods also show a list of
dependencies and reverse dependencies. double-click on a mod in
dependency or reverse dependency listbox selects the corresponding
mod. Enabling a mod also enables all its dependencies. Disabling a mod
also disables all its reverse dependencies.
For modpacks, show buttons to enable/disable all mods (recursively,
including their dependencies) in it.
Button "Save" saves the current settings to the world.mt file and
returns to the main menu. Button "Cancel" returns to main menu without
saving.
basic keyboard controls (if the proper widget has keyboard focus):
up/down: scroll through tree of mods
left/right: collaps/expand a modpack
space: enable/disable the selected mod
2013-01-21 17:31:50 +02:00
Jeija
6f93c01af9
Add a list of servers to the "Multiplayer" tab
...
If USE_CURL is set, it also downloads a list from a remote server.
The url of this list is configurable in minetest.conf using the setting "serverlist_url"
The local list of favorite servers is saved in client/serverlist/filename
filename is also configureable using the setting "serverlist_file"
2013-01-21 16:42:56 +02:00
sapier
12e9f3d010
add limit for steps to avoid runaway memory consumption by collision handling
2013-01-16 23:27:11 +00:00
PilzAdam
c691d619c2
Bugfix: else repeat_rightclick_timer = 0;
2013-01-14 21:38:40 +01:00
Jeija
61f5ca6b16
Add particles
2013-01-14 15:27:00 +01:00
Jürgen Doser
183c81b5ec
fix integer overflow ( fixes #414 )
...
liquid_kind was declared as an u8, but used to hold a content_t value, which is delcared to be a u16.
changing this fixes (at least for me) the problem reported in bug #414 .
2013-01-12 23:32:09 +04:00
Jürgen Doser
076f13cc01
fixes node timer bug ( fixes #407 ).
...
Previously, when a block was activated, on_timer callbacks where
called with the relative position of the node inside the block,
instead of the absolute position of the node.
2013-01-11 18:59:27 +01:00
dannydark
8eb717d4d0
Fixed two typo's in commit 615fd498bc
2013-01-07 18:57:12 +01:00
PilzAdam
8aa190606e
Disable all HP handling if enable_damage is false
2013-01-07 18:39:45 +01:00
PilzAdam
0437abbffb
Add a setting to enable always flying fast
2013-01-07 18:26:34 +01:00
sapier
0b1d09ff4f
Fix buttons not working for Lua-triggered formspecs
2013-01-07 19:00:33 +02:00
RealBadAngel
8b75736c6f
L-Systems treegen update.
2013-01-07 18:13:14 +04:00
Ilya Zhuravlev
099d7ff2ad
"or" should be "||". Don't use "or", "and", etc.. It breaks build.
2013-01-04 23:39:12 +04:00
Jeija
46d431e7c3
Implement textarea in formspec, a multiline input field
2013-01-04 20:09:09 +01:00
PilzAdam
615fd498bc
Fix typo doubletab -> doubletap
2013-01-04 20:04:48 +01:00
dannydark
bc879a1453
Fixed content_abm aliases
...
Since commit 5a13c49492 when I'm in a new area of the world that hasn't
yet been generated the debug log gets flooded with the following error:
Map::setNode(): Not allowing to place CONTENT_IGNORE while trying to
replace "default:dirt_with_grass" at (729,1,-219) (block (45,0,-14))
This commit fixes that.
2013-01-04 19:05:57 +01:00
PilzAdam
82fd83fd12
Switch to fly mode if spacebar is doubleclicked
...
Can be turned off in the key change GUI or in minetest.conf via doubletab_space
2013-01-04 18:51:38 +01:00
Jeija
b50da63852
Repeated right clicking when holding the right mouse button
...
Configure using repeat_rightclick_time in minetest.conf
2013-01-04 18:33:53 +01:00
PilzAdam
d2b1210376
Adjust the maximum alpha of the red hurt screen
2013-01-03 16:15:46 +01:00
Jeija
a27cdf16f4
Tilt camera on player damage (tweaked by PilzAdam)
2013-01-03 15:16:46 +01:00
PilzAdam
5a13c49492
Change the nodenames for dirt -> grass and sapling -> tree abms to match the mapgen aliases
2013-01-02 23:06:31 +01:00
PilzAdam
8493979d86
Replace constant red hurt screen with fade out red
2013-01-02 23:06:17 +01:00
Perttu Ahola
2c472a66d1
Add ServerEnvironment::setNode()/removeNode() to allow setting nodes from the C++ side with proper script-defined initialization/destruction
2013-01-02 23:18:14 +02:00
Perttu Ahola
69bd803a32
Add InvRef:get_location()
2013-01-02 22:53:55 +02:00
sapier
da9707950e
Add TOCLIENT_SHOW_FORMSPEC to display formspecs at client from lua
2013-01-02 20:59:37 +02:00
RealBadAngel
36f03a7f4a
Bugfixes to item_image formspec method
2013-01-02 18:29:08 +04:00
dannydark
5d18dc358b
Fixed compile issues on windows
...
With latest upstream L-Systems treegen.
2012-12-30 16:38:53 +04:00
RealBadAngel
b40e599866
L-System treegen
2012-12-30 13:42:19 +04:00
PilzAdam
45029117f5
Use aux1 to move fast when flying
2012-12-27 18:33:24 +01:00
Esteban I. Ruiz Moreno
578ece8dd0
Add selectionbox_color, crosshair_color, and crosshair_alpha options
2012-12-27 13:10:03 -03:00
PilzAdam
896e1a30b0
Fix 'longjmp causes uninitialized stack frame' in cURL
2012-12-26 21:41:00 +01:00
Perttu Ahola
0f1d2c127c
Initialize all member variables of LuaEntitySAO
2012-12-23 17:16:46 +02:00
Ilya Zhuravlev
145e301269
Fix keycodes ( #325 )
2012-12-23 02:11:32 +04:00
DannyDark
40dac4cde4
Fixed u64 ambiguous symbol error
...
Fixed the compiler not being able to determine which symbol it should
use when compiling Minetest as 64bit with Irrlicht 1.8+
2012-12-20 17:53:25 +10:00
sfan5
05b58501f2
Tweak CMake files for cURL
2012-12-18 21:52:56 +04:00
PilzAdam
f4ed37ec6f
Fix falling damage when not flying
2012-12-17 18:04:41 +01:00
Ilya Zhuravlev
e9006f904c
Make m_media_fetch_threads to contain MediaFetchThread* instead of MediaFetchThread
2012-12-17 20:56:59 +04:00
Ilya Zhuravlev
e301bc2d77
Fix hypen used as minus sign (manpages), fix spelling error (server.cpp)
2012-12-17 19:46:54 +04:00
Ilya Zhuravlev
3578e1d4a7
Added ability to fetch media from remote server (using cURL library)
2012-12-16 15:20:18 +04:00
PilzAdam
9786202b08
Dont sneak while flying
2012-12-11 19:04:55 +01:00
PilzAdam
52ba413185
Only fly through walls in noclip mode wich requires the noclip privilege
2012-12-11 16:44:13 +01:00
Perttu Ahola
fd9e226b79
Update GUI texts
2012-12-06 21:02:02 +02:00
Jürgen Doser
7d2f0d7b1b
draw gui later. this fixes the hotbar disappearing while rendering to texture.
2012-12-06 20:43:17 +02:00
Jürgen Doser
870f7bcc93
fix screen flickering black when rendering to texture
2012-12-06 19:56:49 +02:00
Perttu Ahola
543fc6702f
Set proper field background colors in Irrlicht 1.8
2012-12-06 19:35:40 +02:00
Perttu Ahola
5080b63435
Raise default maximum render distance to 240
2012-12-06 15:49:20 +02:00
Perttu Ahola
8bb36f4650
Fix automagic render distance tuner
2012-12-06 15:49:20 +02:00
Matthew I
a47b829040
Add #include guards to base64.h
2012-12-03 19:44:54 +02:00
Perttu Ahola
07632b7d69
Try to add a bit of topside brightness when not using shaders
2012-12-02 23:48:11 +02:00
Perttu Ahola
68e36226b3
Default to preload_item_visuals=true
2012-12-02 20:43:55 +02:00
MirceaKitsune
15b86a6b9b
Don't send player position from client to server if the player hasn't moved
2012-12-02 20:22:02 +02:00
Perttu Ahola
804a7875a2
Smooth day-night transitions
2012-12-02 18:02:45 +02:00
Perttu Ahola
041585a78e
Const-correct util/serialize.h
2012-12-02 14:36:12 +02:00
Perttu Ahola
cd1f604ffe
Handle day-night transition in shader and make light sources brighter when shaders are used
2012-12-02 14:24:58 +02:00
Perttu Ahola
566f7f638a
Get rid of jordan4ibanez's insane digging animation speed
2012-12-02 03:10:23 +02:00
Perttu Ahola
3e07c5bf82
Fix tile MaterialType to make sense and make lava surface be shader'd lower like water
2012-12-02 02:59:15 +02:00
Perttu Ahola
98fd364672
Add enable_shaders to minetest.conf.example
2012-12-02 00:54:44 +02:00
obneq
151fad1f2b
Add checkboxes for shaders and on-demand item visual generation
2012-12-02 00:52:35 +02:00
Perttu Ahola
27373919f4
Implement a global shader parameter passing system and useful shaders
2012-12-02 00:46:18 +02:00
Kahrl
22e6fb7056
ShaderSource and silly example shaders
2012-12-02 00:46:18 +02:00
Perttu Ahola
e3258b78e2
Add setting preload_item_visuals
2012-12-02 00:46:10 +02:00
Perttu Ahola
bee170570d
On-demand item meshes and textures
2012-12-02 00:38:26 +02:00
Perttu Ahola
ba73e75ef9
Modify some client log message levels
2012-12-02 00:24:11 +02:00
RealBadAngel
f4b7e1a570
New elements in formspec, item_image and item_image_button.
...
Fixed also game bug drawing dragged item behind fields, buttons etc.
2012-12-01 20:39:41 +02:00
PilzAdam
bb454b1846
Merge support for anaglyph stereo
2012-12-01 12:41:05 +01:00
Perttu Ahola
778d9b0cd6
Add the ability for client to check if image exists
2012-11-30 22:19:54 +02:00
Jürgen Doser
c1d8eeb70a
Make dragged itemstack following the mouse cursor much smoother
...
by using the cursor coordinates directly, instead of updating them only when a mouse event is seen.
2012-11-30 22:07:30 +02:00
Matthew I
6cf87e1d23
Ignore directories beginning with a "." when searching for mods
...
This is not a problem on POSIX systems (these directories are
ignored by the POSIX implementation of fs::GetDirListing() in
filesys.cpp), but these directories still are reported on Windows
systems. This becomes a problem when mod authors use version
control systems that create directories like ".git" or ".svn"
and collectMods() picks up on them. It has also been suggested
that ignoring such directories would allow for the easily disabling
mods by inserting a "." in front of their name.
This quick fix simply makes collectMods() ignore directories
beginning with a ".".
2012-11-30 21:41:50 +02:00
Perttu Ahola
8a93581c8a
Run scriptapi_on_shutdown() thread-safely and remove some old crap
2012-11-30 19:41:13 +02:00
Matthew I
6c8fa83ecd
Add shutdown hook interface to Lua API
...
Scripts can call minetest.register_on_shutdown() to register a
shutdown hook.
Document that minetest.register_on_shutdown() callbacks may not be run
If the server crashes, it is unlikely that callbacks registered using
minetest.register_on_shutdown() will be called.
2012-11-30 19:26:51 +02:00
Perttu Ahola
ab45133ab4
Add congestion control settings to minetest.conf
2012-11-29 22:13:22 +02:00
Perttu Ahola
7b6d642300
Full protocol 13 compatibility on server side
2012-11-29 22:08:25 +02:00
Perttu Ahola
96a286dcf5
Make strict and non-strict protocol version checking to work more like expected
2012-11-29 22:08:25 +02:00
Perttu Ahola
420de7ad5e
Allow server to accept protocol 13 clients altough they don't work too well
2012-11-29 22:08:25 +02:00
Perttu Ahola
8ccdd3bdb4
Ranged support of protocol version on server side
2012-11-29 22:08:25 +02:00
Perttu Ahola
23913f26cd
Support serialization of protocol 13 ContentFeatures
2012-11-29 22:08:25 +02:00
Perttu Ahola
9714612999
unit test: TestNodedefSerialization
2012-11-29 22:08:25 +02:00
Perttu Ahola
69cdcea9fc
Modify new ObjectProperties format to such that 0.4.3 will eat it
2012-11-29 22:08:25 +02:00
Perttu Ahola
30ec69c7d3
Fix Taoki's messed up generic object command ids
2012-11-29 22:08:25 +02:00
Calinou
655bb526f4
Fix head shifting downards in glass, nodeboxes...
2012-11-28 16:14:52 +04:00
Perttu Ahola
5c26972cdd
Fix mesh glitches on MapBlock boundaries
2012-11-27 19:00:09 +02:00
MirceaKitsune
5f798d944e
Fix forgotten material properties for meshes (also seems to have been forgotten for cubes previously). This allows transparent png images to work properly
2012-11-27 08:06:13 +02:00
Perttu Ahola
6b927229f5
Default server step to 0.1s and sync object/player update intervals to it
2012-11-26 22:34:59 +02:00
Perttu Ahola
e0eaed5fdb
Remove unnecessary util/serialize.h from content_mapblock.cpp
2012-11-26 11:56:18 +02:00
Perttu Ahola
5bd638d4a5
Const-correct SharedBuffer::SharedBuffer(const T *t, unsigned int size)
2012-11-26 11:39:52 +02:00
Perttu Ahola
eca1c96412
Move util/serialize.h out from staticobject.h for smaller header dependencies
2012-11-26 11:18:34 +02:00
Perttu Ahola
2f5686ca48
Move a function from clientserver.h to clientserver.cpp
2012-11-26 10:31:24 +02:00
Perttu Ahola
4fa4340b95
Proper versioning of new network-serialized stuff
2012-11-26 09:49:31 +02:00
Perttu Ahola
197542c7ec
New PROTOCOL_VERSION scheme (allow client to support a range of versions)
2012-11-26 09:49:07 +02:00
Perttu Ahola
ab507f83e2
Fix LuaEntitySAO::getClientInitializationData() and bump the related version
2012-11-26 09:10:27 +02:00
Perttu Ahola
c8acc373c1
Update ContentFeatures serialization format now as PROTOCOL_VERSION was changed
2012-11-25 21:11:45 +02:00
MirceaKitsune
3d1c481f0b
RealBadAngel's patch which allows the lua api to read pressed player keys. This should make it possible to change the player's animation based on what he is doing
...
Correct lua api version number
Always update animations and attachments after the entity is added to scene client side. Fixes animations not being applied in client initialization for some reason. Attachments should be re-tested now just to be safe.
Fix a segmentation fault caused by reaching materials that didn't exist in a loop for setting texture
2012-11-25 19:14:24 +02:00
MirceaKitsune
756db8174a
A bunch of fixes
...
No longer hide players who are dead. With models, a death animation should be used instead
Some changes requested by celeron55
Rename a lot of things in the code, and use better lua api function names
Minor code corrections
Bump protocol version up, since the models / animations / attachments code creates new client<->server messages
2012-11-25 19:14:24 +02:00
MirceaKitsune
fa67b46c04
Allow Vanessa's texture filtering / mipmap patch to work on models, as well as all other node types
...
Initialize m_bone_posrot too
Update pos_translator for attached players, which should fix a bug noticed with carts where a detached player would travel from the detachment spot to where it was detached
Don't make attachments possible to right-click either
Properly apply object and text visibility for local attachments, and fix them showing when they shouldn't
2012-11-25 19:14:24 +02:00
MirceaKitsune
4d656963e4
Fix more things I forgot for attached players. Such players will now properly see themselves moving when attached, and the server will read their position accordingly
...
Fix attached players being able to bob their view and generate foostep sounds by pressing a movement key (running in place)
2012-11-25 19:14:24 +02:00
MirceaKitsune
9259d028ac
Update attachments at the ending of the addToScene function for parents. And with this... *drum roll* Client-side attachments are at last functional and stick visibly.
...
Fix the last segmentation fault (apparently). So far attachments seem to be fully functional, although removing the parent causes children to go to origin 0,0,0 and possibly still cause such a fault (though this should already be addressed)
Fix a bug in falling code where entities get stuck
Also check if the parent has been removed server-side, and detach the child if so. Fixes children going to origin 0,0,0 when their parent is removed.
Unset all attachment properties when permanently detaching (on both the client and server). Also store less data we don't need
Create a separate function for detaching, and also update lua api documentation
When a child is detached, update its position from the server to clients. This WILL cause it to get positioned slightly differently client side, as the server attachment system only copies parent origin and knows not about mesh / bone transformation. This prevents different clients seeing the object detached in different spots which is most correct
Update the position of attached players to clients. An attached player will see himself move, but this is currently VERY ugly and laggy as it is done by the server (it probably must stay this way too)
Use a different approach for locally attached players. This allows for smooth positio transitions to work, as well at the player turning around freely. Still buggy however
2012-11-25 19:14:24 +02:00
MirceaKitsune
52fcb0b4b9
Send animations, bone overrides and attachments in entity initialization. Clients no longer have to be near an object when an animation or attachment is set to see the changes, and newly connected clients (or a client that simply renders the object for the first time) will get all of those settings. Therefore, the lua script no longer needs to run every X seconds either, just once per entity.
...
Finish fixing the material color code. But it won't work until MineTest has dynamic lighting... another day another feature.
Extra checks for the bone positioning / rotation code
Many checks and consistency improvements to the client attachment code
Make a separate function for checking if a client object is attached. A more in-depth change will be needed here to fix reading of invalid pointers
Use a different method of fetching the parent. Fixes the mass segmentation faults when rendering an attachment (some still happen though)
Major change to how attachments are handled. Fix the last segmentaton fault, which was due to the parent becoming invalid while being refreshed / removed which would bause the child to remain attached to nothing. Parents remove their children when being deleted themselves and add them back when re-added. Attachments are stored inside a 2D a vector which easily allows both a child to find their parent and a parent to find its children.
Remove attachment list entry when an object is being permanently removed. Also avoid duplicate entries in this list when re-attaching the same object
The "big code comments" can now go away. Client attachments almost work properly, and I know what else needs to be done
2012-11-25 19:14:23 +02:00
MirceaKitsune
d7d759b43f
Enable client-side attachments, add detachment code
2012-11-25 19:14:23 +02:00
MirceaKitsune
ba3fd63e29
Fix some remaining issues with attachments, now they work. Tested with object->player and player->player attachments
2012-11-25 19:14:22 +02:00
MirceaKitsune
948b5a8be7
Complete the attachment framework.
...
The child ID can now be checked against the parent ID in content_cao.cpp so the parent can be detected. Actual attachment code to come
Divide attachment system between server attachments and client attachments, neither coded right now. As explained in the code comment:
// Attachments need to be handled on both the server and client.
// If we attach only on the server, models (which are client-side)
// can't be read so we don't know the origin and orientation of bones.
// If we attach only on the client, the real position of attachments is
// not updated and you can't click them for example.
2012-11-25 18:14:15 +02:00
MirceaKitsune
e42eeec8f6
Framework for the attachment system, new object property which allows changing the color and alpha of mesh materials
...
New object property which allows changing the color and alpha of mesh materials. Due to the current lighting systems it doesn't work yet, but the full implementation is there
Framework for the attachment system, with no actual functionality yet
Send bone and player object to the setAttachment function in content_sao.cpp, but we need a way to translate it there and send it to the client
I will also want position and rotation offsets to be possible to apply to attachments
Network object ID from server to client. This will be used to identify the parent client-side and know what to attach to
2012-11-25 18:14:15 +02:00
MirceaKitsune
118285e6ba
Get the new animation framework properly working
...
Store start and end frames as v2f
Also move bone animations to their own function instead of object properties
2012-11-25 18:14:15 +02:00
MirceaKitsune
ba4d93027f
Joint positioning and rotation code, and fix a problem related to their lua API
...
Attempt to move the animation system to a more correct implementation, rather than using object properties. Incomplete and breaks functionality
2012-11-25 18:14:15 +02:00
MirceaKitsune
fb0c431864
Allow the LUA API to set animations to meshes as well as the animation speed. Also update animations only when needed.
...
Support for animation blending, though for some reason it doesn't work.
Don't enable animation transitions by default for many reaosons
Object property to store individual bone positions. LUA can specify a bone name followed by a bone position. No functionality yet. Bone rotation to be added in the following commit
Same system for bone rotation, plus a few other things I missed
2012-11-25 18:14:15 +02:00
MirceaKitsune
9c8ba42750
Get the mesh working through the memory cache properly. Most credit goes to celeron55 for the help on this code
...
Get the texture from memory as well
Add .x to the list of supported formats
Update LUA API documentation
2012-11-25 18:14:15 +02:00
MirceaKitsune
f9675bd2b4
Add a subfolder for models and transfer models from server to client
...
(obj, md2 and md3 are currently allowed)
Get rid of the texture string and use the existing textures array. Segmented meshes have multiple materials, and this will allow us to texture each. Do not switch to this commit yet!
If a texture string is left empty in LUA, don't modify that material. Useful so a script can change specific textures without affecting others
2012-11-25 18:14:15 +02:00
MirceaKitsune
cb40b3517a
Fix material properties and allow lighting. Models should now be affected by light instead of being black
2012-11-25 18:14:15 +02:00
MirceaKitsune
0a020dbcc8
Properly read the mesh from LUA.
...
Players can now be set to meshes using the following test script:
function switch_player_visual()
prop = {
mesh="player.obj",
texture="player.png",
visual="mesh",
}
for _, obj in pairs(minetest.get_connected_players()) do
obj:set_properties(prop)
end
minetest.after(1.0, switch_player_visual)
end
minetest.after(1.0, switch_player_visual)
2012-11-25 18:14:14 +02:00
MirceaKitsune
ac97a7f70e
3D model support for players using Irrlicht. Also ready the basis for mesh support on nodes / items via LUA (to be done). Supports any mesh format compatible with Irrlicht, but animations are not set up yet.
2012-11-25 18:14:14 +02:00
Perttu Ahola
e02b95741b
Revert "Don't leak textures all over the place"
...
This causes textures to be deleted before they are no longer accessed,
resulting in a segmentation fault. This needs to be rewritten in such a way
that textures are deleted when the client disconnects from a server.
This reverts commit 41c00e87d42580881d8c7001f39014814e3b55f2.
2012-11-25 16:39:07 +02:00
Ilya Zhuravlev
bbd990f2cc
Fix trees growing into any type of node
2012-11-23 00:36:52 +04:00
xyzz
a0b5605db8
Merge pull request #268 from khonkhortisan/image_button
...
Allow transparent image_buttons
2012-11-22 09:13:18 -08:00
MirceaKitsune
9b9eb23b6d
Default anaglyph to 0.1
2012-11-13 19:20:57 +02:00
MirceaKitsune
8b16e5f27d
Anaglyph stereo support, created by xyz
2012-11-13 19:20:35 +02:00
xyzz
5292476841
Merge pull request #284 from RealBadAngel/master
...
Adding backgrounds to formspec
2012-11-12 11:50:58 -08:00
PilzAdam
6e2ba111af
Add jordan4ibanez' better digging animation
2012-11-10 17:36:56 +01:00
Vanessa Ezekowitz
46f471c89f
added GUI checkboxes in Settings tab for the aforementioned video settings.
2012-11-09 19:12:49 +02:00
Vanessa Ezekowitz
0dd9c14ff8
Added video settings filter options via config file - second try :-)
...
Set one or more of these in the config to turn the related option on:
mip_map = 1
anisotropic_filter = 1
bilinear_filter = 1
trilinear_filter = 1
2012-11-09 19:12:44 +02:00
Perttu Ahola
0709918bd8
Fix unnecessary network protocol incompatibility in ContentFeatures
2012-11-08 20:43:32 +02:00
RealBadAngel
8e5167d726
Adding background to Formspec
2012-11-08 19:22:37 +01:00
RealBadAngel
8540871ebc
Formspec: Draw images before inventories. Allows to use image as background.
2012-11-04 21:18:28 +01:00
PilzAdam
3cab24fbcf
Merge pull request #243 from xyzz/liquid_renewable
...
Add liquid_renewable property, allow non-renewable liquids.
2012-11-03 12:34:44 -07:00
Kahrl
41c00e87d4
Don't leak textures all over the place
2012-11-02 18:45:39 +02:00
Perttu Ahola
2863a3291a
Fix flowing liquid animation direction calculation
2012-11-02 18:05:42 +02:00
PilzAdam
b701f8a878
Replace pow() with multiplikation to improve speed
2012-11-02 16:24:57 +01:00
Kyle
f9087d14a3
Allow transparent image_buttons
2012-10-18 12:06:47 -07:00
Perttu Ahola
9cadaf824b
Add dtime_s to entity activation
2012-09-09 17:12:29 +03:00
Perttu Ahola
1cc1b93e65
Fix ServerActiveObject stuff
2012-09-09 16:11:05 +03:00
Perttu Ahola
c4f400acd0
Fix wielditem entity drawtype brightness control
2012-09-09 13:26:52 +03:00
Perttu Ahola
ac628c9b0a
Fix ObjectRef:punch()
2012-09-09 12:05:38 +03:00
Ilya Zhuravlev
926830e0df
Add liquid_renewable property.
2012-09-07 20:48:12 +04:00
Matthew I
c8895dd43b
Prevent world creation if the world already exists
2012-09-05 01:17:44 +03:00
Matthew I
5dd1d354f8
Enforce stricter world names using a blacklist
...
Blacklisted characters are: / \
2012-09-05 01:17:28 +03:00
Perttu Ahola
a0da6bcf43
Add aux1_descends to key change menu
2012-09-05 00:55:19 +03:00
Perttu Ahola
1b63f8d6b9
Version 0.4.3-rc0; increase PROTOCOL_VERSION due to backwards-incompatible InventoryList width field
2012-09-05 00:39:43 +03:00
Perttu Ahola
60932d2bd7
Remove "Unknown inventory identifier" deserialization errors, because they can break forward compatibility
2012-09-04 23:02:56 +03:00
Perttu Ahola
ee2d9d973a
Reorganize ClientMap rendering code for a bit more performance
...
- Don't select blocks for drawing in every frame
- Sort meshbuffers by material before drawing
2012-09-04 22:41:03 +03:00
Perttu Ahola
0e6f7a21c6
Fix shift-descend to ladders from a floor
2012-09-03 23:31:51 +03:00
Perttu Ahola
cc47ff7c4c
Fix moving stuff into a mismatched stack in a "infinite" inventory
2012-09-02 23:01:42 +03:00
Perttu Ahola
e1a495ee30
Make inventory GUI do sane things when server-side inventory acts unusually
2012-09-02 22:51:38 +03:00
Perttu Ahola
6495007924
Fix bug in moving a larger sized stack in inventory on top of another
...
- You have 2 stacks: a with x items and b with y<x items
- Take a with your mouse and place it on b
- Whole stack a moves to b
- (y * 2 - x) items move from b to a
- (x - y) items are left to the mouse cursor
2012-09-02 20:24:45 +03:00
Perttu Ahola
b6c12d2aa3
Fix github issue #224
2012-09-01 18:32:15 +03:00
Thomas Lauro
7a14171be4
Fix issue with openal mac os x compile
2012-09-01 18:19:59 +03:00
Perttu Ahola
5194505407
Fix GUIKeyChangeMenu so that '/' can be inserted on a finnish keyboard
2012-09-01 18:03:50 +03:00
Thomas Lauro
3e7957512b
A bunch of GUIKeyChangeMenu fixes
...
- Display message when associating a key already in use
- Fix issue for not beeing able to assign space to an action
- Cleaning up
- Make it build (by celeron55)
2012-09-01 18:03:40 +03:00
Perttu Ahola
c0bd96d9b3
Attempt to fix flying gravel and dirt
2012-09-01 13:41:15 +03:00
Sergey Gilfanov
0f7728f84d
Smooth transition to the desert biome.
2012-09-01 13:22:07 +03:00
Perttu Ahola
c129b3852b
Fix the bouncy node related stuff a bit
2012-09-01 13:21:52 +03:00
Perttu Ahola
3b43c69df4
Add bouncy node group
2012-09-01 12:58:37 +03:00
Perttu Ahola
b17d3e7ad7
Add disable_jump and fall_damage_add_percent node groups
2012-09-01 12:07:27 +03:00
Ilya Zhuravlev
6a16075912
Add InventoryList width property & allow custom crafting grids.
2012-09-01 10:01:41 +03:00
sfan5
43ebec2be1
Make shift the default descent control on ladders and when flying
...
"aux1_descends" setting switches to the old descend control.
2012-09-01 09:48:07 +03:00
Perttu Ahola
f60227f112
Don't crash in "unexpected multibyte character"; just print it in log. Github #222
2012-09-01 09:23:39 +03:00
Perttu Ahola
f3630e95d6
Use proper alpha blit in some more texture modifiers
2012-08-31 18:06:47 +03:00
Perttu Ahola
8887105ffd
Properly initialize baseimg for texture modifier [combine:WxH:X,Y=filename:X,Y=filename2
2012-08-31 17:58:55 +03:00
Matthew I
1d7408a7b8
Fix black display inside opaque water
...
Opaque water's solidness was being set to 2, like a normal node.
When you swim, it is treated like a solid block, and the display
goes black. Setting it to 1 like transparent water allows you to
see.
It looks somewhat awkward when you swim, look up, and see an opaque
wall of water (the surface), but there isn't much that can be done
about it. If you made the water transparent so it looked good,
it would defeat the purpose :) .
2012-08-31 17:50:12 +03:00
Matthew I
b29d609b0b
Move chat commands to Lua and remove servercommand.{cpp,h}
...
Commands moved:
/me
/status
/time
/shutdown
/ban
/clearobjects
2012-08-12 16:45:58 +03:00
Matthew I
8a3c777c40
Add ban management routines to Lua API
...
Those functions are:
* minetest.get_ban_list()
* minetest.get_ban_description(ip_or_name)
* minetest.ban_player(name)
* minetest.unban_player_or_ip(ip_or_name)
2012-08-12 16:45:58 +03:00
Matthew I
548da26ddc
Extend Lua API in order to implement chat commands
...
minetest.get_server_status()
minetest.request_shutdown()
EnvRef:clear_objects()
2012-08-12 16:44:55 +03:00
Matthew I
8e0ac70c4d
Remove trailing comma after player list in server status string
2012-08-12 16:44:54 +03:00
Matthew I
1ed559bd24
Allow digging of unknown nodes
...
This allows the removal of nodes with unknown types.
get_item_callback() (C++) would fail if a node has an unknown type. Now it
will try using the callback from minetest.nodedef_default in this case.
Also, minetest.node_dig() (Lua) was altered to always allow digging when
the node definition is empty (i.e. unknown node).
2012-08-12 16:04:18 +03:00
Perttu Ahola
e3b831e975
Fix wrong amount of nodes being dropped from inventory
2012-08-12 15:49:23 +03:00
darkrose
d05e3adbc7
fix node timers so on_timer gets the correct position
2012-08-12 15:28:31 +03:00
Perttu Ahola
a9a475ad50
Remove unwanted ! from ifs in inventory record-for-rollback code
2012-08-12 11:20:36 +03:00
Perttu Ahola
fd7ec2da91
Fix inventory segfault when rollback recording is disabled
2012-07-28 14:44:18 +03:00
Perttu Ahola
c9ed379e39
Add enable_rollback_recording setting, defaulting to false
2012-07-28 03:08:09 +03:00
Perttu Ahola
e64feefc61
Handle max<min in LuaPseudoRandom::l_next()
2012-07-27 19:03:15 +03:00
Perttu Ahola
3e754382af
Tweak rollback and liquids
2012-07-27 15:46:51 +03:00
Perttu Ahola
7ef0a13250
Tweak rollback stuff
2012-07-27 14:52:29 +03:00
Perttu Ahola
0de3fb786d
Increase automatic suspect guess timeframe
2012-07-27 13:54:14 +03:00
Perttu Ahola
1d44a98f2f
ABM and liquid overload skip
2012-07-27 13:45:49 +03:00
Perttu Ahola
98ff4eb4ee
Fix server build (a missing header)
2012-07-27 13:43:25 +03:00
Perttu Ahola
a9d8df83d2
Make the rollback system VERY FUCKING GOD DAMN POWERFUL
2012-07-27 13:24:28 +03:00
Perttu Ahola
508b7b5e51
Don't track liquids for rollback because of too much log
2012-07-27 02:46:54 +03:00
Perttu Ahola
f7dc72f8aa
Properly rollback chat command triggered things
2012-07-27 02:37:04 +03:00
Perttu Ahola
0190f9b077
Experimental-ish rollback functionality
2012-07-27 02:27:18 +03:00
Perttu Ahola
0c91a0d59d
Working group-shapeless and multigroup recipes
2012-07-26 13:49:13 +03:00
Perttu Ahola
a26a66a8c4
Restore focus to formspec menu when pressing a button
2012-07-25 18:28:40 +03:00
Perttu Ahola
0346e68deb
Add special return value -1 to inventry callbacks
2012-07-25 16:52:00 +03:00
Perttu Ahola
db62c227c8
Improve formspec positioning
2012-07-25 16:30:23 +03:00
Perttu Ahola
983e45ae92
Improve inventory callbacks a bit
2012-07-25 15:39:39 +03:00
Perttu Ahola
0a18dda158
Remove special handling of creative mode
2012-07-25 14:07:45 +03:00
Perttu Ahola
9eaf93d41d
Detached inventory callbacks and reworked node metadata callbacks
2012-07-25 02:36:54 +03:00
Perttu Ahola
2ac20982e0
Detached inventories
2012-07-24 20:57:17 +03:00
Perttu Ahola
0cf1ed544c
darkrose should work at a nuclear power plant.
...
It'd take years to figure out what caused the accident.
2012-07-24 16:36:50 +03:00
Perttu Ahola
5c31445117
Improve node timer format (map format version 25) and update mapformat.txt
2012-07-24 15:03:46 +03:00
Perttu Ahola
c009aa3a22
Fix building on top of (pointable && buildable_to) nodes
2012-07-23 20:42:08 +03:00
Perttu Ahola
aef1332e42
Improve build configuration options
2012-07-23 15:23:33 +03:00
Perttu Ahola
fd845f27f5
Fix map deserialization and remove old serialization code
2012-07-23 08:18:39 +03:00
darkrose
ea62ee4b61
Increase node id/param0 to 16 bits, leaving param2 always with 8 bits
2012-07-23 08:18:39 +03:00
darkrose
cd6becd442
Implement node timers
2012-07-23 08:18:37 +03:00
Perttu Ahola
829f262c79
Fix terrible grammar in comment!
2012-07-22 20:36:06 +03:00
Perttu Ahola
246520b5cb
Fix compressZlib()
2012-07-22 20:29:09 +03:00
Perttu Ahola
38bb649582
Test zlib wrapper's handling of large data
2012-07-22 20:27:55 +03:00
Perttu Ahola
82855a04ec
Tweak test.c overally a bit
2012-07-22 20:26:54 +03:00
Perttu Ahola
6dfefaf229
Formspec button_exit[] and image_button_exit[]
2012-07-22 17:40:48 +03:00