staphen
77de9e8f66
Avoid sending PT_DISCONNECT packet to dropped player
5 months ago
Gleb Mazovetskiy
72d8a56d1b
Big-endian networking fixes
1 year ago
Gleb Mazovetskiy
4fa3732526
Add missing <cstdint> includes
...
Done with the following script:
```ruby
Dir["Source/**/*.{h,c,cc,cpp,hpp}"].each do |path|
v = File.read(path)
next if !v.include?("uint32_t") || v.include?("cstdint")
lines = v.lines
line_num = if lines[2].start_with?(" *")
lines.index { |l| l.start_with?(" */") } + 3
else
3
end
lines.insert(line_num, "#include <cstdint>\n")
File.write(path, lines.join(""))
end
```
then fixed-up manually
3 years ago
staphen
076da2aefe
Relax latency requirements for online games
3 years ago
Anders Jenbo
872456ae5d
Use size_t for a select few pnum variables
4 years ago
Gleb Mazovetskiy
188dc79f6e
Make `Players` a vector
4 years ago
Anders Jenbo
223fbe8387
Correctly check size of glpMsgTbl
4 years ago
staphen
18bfe39d5b
Reset plr_self after leaving game session
4 years ago
staphen
dcfd057200
Add two-way handshake between ZeroTier peers
4 years ago
Stephen C. Wills
ef1821ce57
Apply sequence number to net turns ( #4122 )
4 years ago
staphen
ffbbcc6d62
Support unencrypted multiplayer games with no password
4 years ago
Anders Jenbo
a19e7b2a3b
Remove some more use of miniwin
5 years ago
Anders Jenbo
2ca6e37c46
Clean up sub folders using clang-tidy/Android Studio
5 years ago
Anders Jenbo
0f2ad469ea
♻️ Clean up variable initialization
5 years ago
Anders Jenbo
8e07ef8fe5
Clang-tidy: misc-unused-parameters
5 years ago
Anders Jenbo
790f42d078
Clang-tidy: readability-inconsistent-declaration-parameter-name
5 years ago
Anders Jenbo
de4ced7e4f
Clang-tidy: readability-qualified-auto
5 years ago
Anders Jenbo
d8fa29c972
Clean up more implicit bool conversion
5 years ago
Anders Jenbo
22b632f04a
♻️ Clean up implicit bool conversions
5 years ago
Gleb Mazovetskiy
46a5dc147b
🔨 Restore GCC 5 compatibility
...
We can support this much older compiler with just these few minor
changes.
5 years ago
Anders Jenbo
2969b80163
🎨 Run readability-identifier-naming on all src sub-folders
5 years ago
Anders Jenbo
1e3ed903be
🎨 strip redundant else
5 years ago
Anders Jenbo
7c054bc005
🎨 push_back -> emplace_back
5 years ago
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
5 years ago
Anders Jenbo
5fdb9ce459
🎨 Format code
5 years ago
Anders Jenbo
8c821e98d3
🚚 Restructure files
5 years ago
Xadhoom
867dd96a73
Add ZeroTier support
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
cee6029da0
🔥 Rely less on storm.h
5 years ago
pionere
d5a0fa8e85
get rid of a few warnings
5 years ago
Anders Jenbo
1a43a19007
Remove duplicate defines
6 years ago
Xadhoom
0010c9307f
Fix network: creating and joining
6 years ago
Anders Jenbo
18532e7c9b
Format SourceX and SourceS
...
Fixes #262
7 years ago
Gleb Mazovetskiy
94f62177f1
Make SourceX/dvlnet C++11 compatible
...
std::make_unique is only available in C++17 and above
7 years ago
Xadhoom
24f746ae6a
Fix strict aliasing violations in netcode
7 years ago
Xadhoom
ba0faf2d0c
miniwin fully macro-clean
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Xadhoom
5407370e71
More header fixes
7 years ago
Xadhoom
ae60e94670
Implement proper turn syncing in the network layer
7 years ago
Xadhoom
aff8769a97
Some fixes for network
7 years ago
Xadhoom
7f0fd7e0fa
Small fixes
7 years ago
Xadhoom
4d557709e0
Clean headers for network code
7 years ago
Xadhoom
af47577446
Begin restructuring headers
7 years ago
Xadhoom
b8379e7187
Menu for TCP and UDP; enable difficulty selection
7 years ago
Xadhoom
7aeb6e3de4
Fix leaving and joining again
7 years ago
Xadhoom
4ac418104f
Start implementing TCP networking
7 years ago
Xadhoom
3ad2c379e3
Restructure networking
7 years ago