mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Network cleanup (#6302)
* Cleanup network headers * Move peerhandler to a specific header to reduce compilation times * Move socket.cpp/h to network folder * More work * Network code cleanups * Move socket.{cpp,h} to network folder * Move Address object to network/address.{cpp,h} * Move network exceptions to network/networkexceptions.h * Client: use unique_ptr for Connection * Server/ClientIface: use shared_ptr for Connection * Format fixes * Remove socket.cpp socket.h from clang-format whitelist * Also fix NetworkPacket code style & make it under clang-format
This commit is contained in:
parent
928609c8bd
commit
c7160cb629
27 changed files with 1059 additions and 924 deletions
|
@ -172,7 +172,6 @@ src/network/clientpackethandler.cpp
|
|||
src/network/connection.cpp
|
||||
src/network/connection.h
|
||||
src/network/networkpacket.cpp
|
||||
src/network/networkpacket.h
|
||||
src/network/networkprotocol.h
|
||||
src/network/serveropcodes.cpp
|
||||
src/network/serveropcodes.h
|
||||
|
@ -304,8 +303,6 @@ src/settings_translation_file.cpp
|
|||
src/shader.cpp
|
||||
src/shader.h
|
||||
src/sky.cpp
|
||||
src/socket.cpp
|
||||
src/socket.h
|
||||
src/sound.cpp
|
||||
src/sound_openal.cpp
|
||||
src/sound_openal.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue