aboutsummaryrefslogtreecommitdiff
path: root/pack.c
Commit message (Collapse)AuthorAgeFilesLines
* use a queue for player input to dampen race conditions between the netcode ↵rodri2023-06-051-0/+1
| | | | and the sims.
* only send/recv the fired bullets on simstate packets.rodri2023-04-231-0/+14
|
* implemented per-packet HMAC to avoid MITM tampering.rodri2023-02-111-0/+4
|
* implemented connection establishment with per client DHX.rodri2023-02-111-1/+2
|
* implemented a packet processing pipeline. got rid of Lobby. began ↵rodri2023-02-091-10/+28
| | | | development of a network protocol.
* use libgeometry from the system. got rid of global `theparty`. wrote a ↵rodri2023-01-311-1/+1
| | | | little man page draft.
* some corrections to frame processing and nomenclatures.rodri2022-06-151-2/+2
|
* implemented a custom PDU/frame structure on top of UDP for game networking.rodri2022-06-111-0/+49
|
* implemented keyboard key send/recv procedures.rodri2021-08-041-0/+22
|
* incorporated libgeometry into the project.rodri2021-07-291-1/+18
| | | | | | transitioned the integrator from scalar to vector-based. added a packing procedure for Point2. created the structure to model bullets.
* brought the Sprite struct for future animations.rodri2021-07-281-0/+1
| | | | | | | | | | | implemented per-party game state and dynamics. now the state is broadcast after integration, not before. fixed a bug in the broadcast procedure where it would keep referencing an already freed Party and its players. implemented a proper Keymap the user will be able to configure. added mkfile rules to manage installation and dependencies. defined a ton of structs in dat.h for new game objects. started work on a general vector model abstraction to define ship `skins'. removed some debug clauses we no longer need. fixed some other ones.
* implemented parties to hold PvP match info.rodri2021-07-251-83/+31
| | | | | | started serializing game state through the wire. made some major changes to the Lobby struct, plus the ability to check the health of every connection. added some more debug statements, did some cleanup and put more checks.
* implemented a lobby for users waiting to join a party.rodri2021-07-231-0/+143
brought the pack/unpack procedures from ssh(1).