Anders Jenbo
1409e604f5
Reduce string conversions
4 years ago
Stephen C. Wills
ef1821ce57
Apply sequence number to net turns ( #4122 )
4 years ago
obligaron
79b926c375
Move more options to OptionEntryBase
4 years ago
staphen
ffbbcc6d62
Support unencrypted multiplayer games with no password
4 years ago
Vladimir Olteanu
5e5737370f
dvlnet: pass smartptrs to lambdas that free buffers
5 years ago
Anders Jenbo
2ca6e37c46
Clean up sub folders using clang-tidy/Android Studio
5 years ago
Anders Jenbo
db3d1d4054
Revert and disable readability-convert-member-functions-to-static
...
This breaks on GCC 6.3
5 years ago
Anders Jenbo
8c76d45797
Clang-tidy: modernize-avoid-bind
5 years ago
Anders Jenbo
17e67d2b90
Clang-tidy: modernize-use-equals-default
5 years ago
staphen
c4cf3db821
Close TCP client socket when leaving game
5 years ago
Gleb Mazovetskiy
47c93c2f9c
🧹 Fix more `-Wformat` warnings
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
b69d18f12d
🌐 Enable translation of all remaning strings
5 years ago
Anders Jenbo
2969b80163
🎨 Run readability-identifier-naming on all src sub-folders
5 years ago
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
5 years ago
Anders Jenbo
b978d80119
🎨 llvm-include-order
5 years ago
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
5 years ago
Anders Jenbo
8c821e98d3
🚚 Restructure files
5 years ago
Anders Jenbo
67a7ff98c5
🚨 Clean up compiler warnings
5 years ago
Xadhoom
867dd96a73
Add ZeroTier support
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Juliano Leal Goncalves
800dbce066
♻️ Move options-related structs to new 'options.h' file
5 years ago
Anders Jenbo
9edea1b968
🔧 Make network port configurable
5 years ago
Anders Jenbo
da373f351d
🐛 Only close TCP server if running
5 years ago
Xadhoom
791d400ae3
Close TCP listening socket on leave
5 years ago
Anders Jenbo
b5280dde2b
🐛 Prevent host from crashing at end of game
...
Fixes #900
5 years ago
Marcin Konicki
2a5d3b6c52
Use asio to resolve host name (or IP)
...
Fixes #735
6 years ago
Anders Jenbo
961e7f58c4
Implement UI errors
6 years ago
Xadhoom
0010c9307f
Fix network: creating and joining
6 years ago
Gleb Mazovetskiy
e3cf8af94d
dvlnet: More C++11 compatibility
...
Fixes the following warnings:
SourceX/dvlnet/tcp_client.cpp:104:38: warning: lambda capture initializers only available with -std=c++14 or -std=gnu++14
SourceX/dvlnet/tcp_server.cpp:142:15: warning: lambda capture initializers only available with -std=c++14 or -std=gnu++14
7 years ago
Mathieu Maret
0ac4c1e419
tcp_client: close connections when leaving
...
So you can join another game latter
fix #251
7 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
Mathieu Maret
19f5686770
Catch exception by reference
7 years ago
Sergey Semushin
c474692329
Fix lifetime of 'frame' buffer in tcp server/client.
7 years ago
Xadhoom
24f746ae6a
Fix strict aliasing violations in netcode
7 years ago
Xadhoom
30fbfa36a1
Progress with miniwin macros
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
Anders Jenbo
4a5482087e
Prevent crash when entering wrong password
7 years ago
Xadhoom
5b8df4bdd8
Use platform-independent sleep function
7 years ago
Xadhoom
aff8769a97
Some fixes for network
7 years ago
Anders Jenbo
eea41503f1
Implement more of the init, audio and video system
...
- Fix audio for videos with 8bit audio
- Allow muting music and audio
- Save audio volumns to ini
7 years ago
Xadhoom
4d557709e0
Clean headers for network code
7 years ago
Xadhoom
af47577446
Begin restructuring headers
7 years ago
Anders Jenbo
c375d4bc08
Fix some minor bugs
7 years ago
Xadhoom
b8379e7187
Menu for TCP and UDP; enable difficulty selection
7 years ago
Xadhoom
4ac418104f
Start implementing TCP networking
7 years ago