|
Aegis2D
Modular C++26 2D game engine for networked games
|
Files | |
| binary.hpp | |
| Little-endian binary serialization with bounds-checked reads, for network packets. | |
| bits.hpp | |
| Bit-level serialization with bounds-checked reads, for compact network payloads. | |
| compression.hpp | |
| Optional LZ4 compression of datagram payloads, flagged in the packet header. | |
| context.hpp | |
| Event loop that runs the network operations. | |
| endpoint.hpp | |
| IP address and port of a network peer. | |
| module.hpp | |
Entry header of the aegis2d::net module. | |
| network_thread.hpp | |
| Thread running a NetworkContext, next to the game thread. | |
| packet.hpp | |
| Header carried by every UDP datagram, and the packet types. | |
| reliability.hpp | |
| Acknowledgements of UDP datagrams and reliable events resent until acknowledged. | |
| rtt.hpp | |
| Round trip time of a session, smoothed like TCP's, with its jitter. | |
| sequence.hpp | |
| Comparison of 16-bit sequence numbers across their wrap from 65535 to 0. | |
| socket_error.hpp | |
| Error thrown when a socket cannot be opened or bound. | |
| tcp_connection.hpp | |
| TCP connections exchanging length-prefixed messages, and the listener accepting them. | |
| traffic.hpp | |
| Datagrams and bytes exchanged with a peer, by direction and packet type. | |
| udp_socket.hpp | |
| UDP socket sending and receiving datagrams asynchronously. | |