aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Replace std::list by std::vector into ClientMap::updateDrawList, ↵Loic Blot2015-02-17
| | | | | | Map::timerUpdate and ServerMap::save(). This will speedup the loop reading into those functions
* Replace std::list by std::vector into timerUpdate callsLoic Blot2015-02-17
|
* Ignore old entities from 0.3.Novatux2015-02-17
|
* Remove old comment from Network Rework Patch 2/4Loic Blot2015-02-17
|
* Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ↵Loic Blot2015-02-17
| | | | | | ServerMap::listAllLoadedBlocks and their database backends. This adds a speedup on database migration and /clearobjects command
* SAO: re-add old ActiveObjectTypes for a future migration layerLoic Blot2015-02-17
|
* SAO work: ActiveObject types & SAO cleanup * Replace u8 types with ↵Loic Blot2015-02-17
| | | | ActiveObjectType. * Merge content_object.h into activeobject.h * Remove DummyLoadSAO, it's now unused. * Remove ItemSAO, it's also unused
* Add player direction to on-screen debug textYaman2015-02-17
| | | | (PR Modified slightly)
* Add LevelDB and redis to Travis Linux buildssfan52015-02-16
|
* Performance Improvement: Use a cache which caches result for getFacePositions.Loic Blot2015-02-16
| | | | | | | | | | | 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
* [Patch 2/4] Network rework: packet writing, sending and cleanupsLoic Blot2015-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix minetest.item_eat's replace_with_item, fixes #2292rubenwardy2015-02-16
|
* Fix unit test if there isn't a localhost address (for example FreeBSD ↵Loic Blot2015-02-15
| | | | jails), second part
* Fix unit test if there isn't a localhost address (for example FreeBSD jails)Loic Blot2015-02-15
|
* Only do the IPv6 unit test if IPv6 is enabledLoic Blot2015-02-15
|
* Updated Spanish translationsngosang2015-02-15
|
* Fix issue #2278, Connection sent before address data loadingLoic Blot2015-02-14
|
* Re-apply 4a6582c13c36cab457b78f32338c6bb4ab9ea58b broken since ↵Loic Blot2015-02-14
| | | | 146f77fdb750833c649de7159a0833c398e14a4d
* Fix crash on passing false as value in table to table.copy(t)est312015-02-14
| | | | Fixes #2293.
* Suppress CGUITTFONT build warningsCraig Robbins2015-02-13
|
* Add german and french translation for minetest.desktopLoic Blot2015-02-12
| | | | This fixes #1573
* Update czech translationJakub Vaněk2015-02-12
|
* Minor fixes in translationsngosang2015-02-12
|
* Fix gettext on MSVCBlockMen2015-02-12
|
* Fix .zip extraction (mod store)ngosang2015-02-12
|
* main.cpp rework * Move ClientLauncher class to a dedicated file * ↵Loic Blot2015-02-12
| | | | 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
* Fix store.lua bug: default screenshotRui2015-02-12
|
* Fix tab_mods.lua: default screenshot patchRui2015-02-12
| | | | | https://forum.minetest.net/viewtopic.php?f=6&t=11201 Fixed this bug.
* Remove unused variables to make clang happyLoic Blot2015-02-12
|
* Small changes in the style of controlsngosang2015-02-12
|
* Make Clang happy with lua lauxlib.c.Loic Blot2015-02-12
| | | | No functionnal change
* Enable LUA_USE_POSIX if possible in bundled Luaest312015-02-12
| | | | | Fixes warning: src/lua/src/loslib.c:60: Warning: the use of `tmpnam' is dangerous, better use `mkstemp'
* Fix Android compile warningCraig Robbins2015-02-12
|
* Fix 'Download complete' dialog in the mods storengosang2015-02-11
|
* Don't permit to open inventory is playerCAO isn't present. This prevent to ↵Loic Blot2015-02-11
| | | | open an empty inventory at player load. ok @zeno-
* Fix issue #2279. ok @zeno-Loic Blot2015-02-11
|
* Fix Android build since a704c04f00bfea4b77550169fa08105c2ee0dfd0Oxh. ok @zeno-Loic Blot2015-02-11
|
* Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" ↵Craig Robbins2015-02-11
| | | | | | | setting * Increase performance (client) * Avoid changing a global value to solve a local problem
* Fix Android build of narrow_to_wideShadowNinja2015-02-11
|
* Revert "Remove workaround in itemdef.cpp to enable/disable/enable ↵Craig Robbins2015-02-11
| | | | | | "enable_shaders" setting" This reverts commit d25ff8fd2592f457b91e8a61240694af3902d23f.
* Remove workaround in itemdef.cpp to enable/disable/enable "enable_shaders" ↵Craig Robbins2015-02-11
| | | | | | | setting * Increase performance (client) * Avoid changing a global value to solve a local problem
* Fix FTBFS on GNU/Hurd platformMarkus Koschany2015-02-11
| | | | | 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.
* Increase MapBlock::actuallyUpdateDayNightDiff() performance by 2-8x. ok ↵Craig Robbins2015-02-10
| | | | | | @celeron55 Before patch, function consumes up to ~8% of the main server loop. After, ~0% (below level of 2 places of significance)
* Replace getPlayer(playername) by getPlayer(peer_id) in some possible cases. ↵Loic Blot2015-02-10
| | | | ok @Zeno-
* README.txt: Simplify initial build steps by using git to fetch sourcesest312015-02-10
| | | | Also simplify wget steps and apt-get install zlib1g-dev libjsoncpp-dev
* Craftdef.cpp: Improve loop and mathematics for CraftDefinitionShaped::checkLoic Blot2015-02-10
|
* Fix Exit to OS button focus in Pause Menungosang2015-02-10
|
* Network Layer 7 rework (Packet handling)Loic Blot2015-02-10
| | | | | | | | | | | | | | * 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
* Hud: Modify Y-positioning of health/breath starbars to prevent overlapping ↵kwolekr2015-02-08
| | | | with Hotbar
* Fix rebase bug, make render loop use cache settinggregorycu2015-02-07
|