aboutsummaryrefslogtreecommitdiff
path: root/dat.h
Commit message (Collapse)AuthorAgeFilesLines
* initial implementation of an AI.rodri2023-10-061-0/+28
| | | | | | added different modes for those who want to play with others and those who prefer to play against a bot (-a flag).
* add more sfx and do some of their orchestration.rodri2023-10-021-0/+4
|
* add a mixer and some background sfx.rodri2023-10-011-0/+5
| | | | | | | | also postponed the connection establishment until the subsystem initialization is complete. there's no point in taking a seat you're going to leave milliseconds after a local resource failure.
* added a border to the boards and corrected a bug when placing a ship.rodri2023-09-281-3/+7
| | | | | | | | | the bug allowed the player to move the ship when the cursor was outside the board in the negative side of its rframe. by using floor(2) instead of a cast to int the problem is over.
* implemented spectator mode.rodri2023-09-271-2/+6
|
* initial work towards spectator mode.rodri2023-09-261-0/+12
|
* add parsecmd to the server.rodri2023-09-211-1/+22
| | | | | | | modified it to allow for commands with the same name but different nargs. now each match list entry is preceded by an 'm', to simplify its processing. note that this breaks the client. the next commit will fix that.
* more work on the menulist of matches.rodri2023-09-201-3/+10
|
* initial work on a menu of matches.rodri2023-09-171-2/+25
| | | | | also made some corrections and changed the tokenize(2) fields identifiers from cmd[] to f[].
* fit client to the new architecture. clean things up, make them more consistent.rodri2023-09-151-1/+0
|
* new server architecture.rodri2023-09-151-7/+34
|
* made playerq a Channel, turned polling into send/recv points and got rid of ↵rodri2023-09-091-9/+0
| | | | the reaper.
* inline spawned threads to threadmain.Amavect2023-09-071-7/+0
| | | | | | | | Pointers to automatic variables become invalid when threadmain exits. Solution is to reuse threadmain. Use nbsend to avoid deadlock to the draw channel. Input struct is no longer needed, inline it.
* obtain each player's username and show it during battle.rodri2023-09-011-0/+1
|
* major development stride:rodri2023-08-291-1/+14
| | | | | | - implemented per-line msg framing - wrote most of the game logic - fixed an issue where the ship would go off-board when rotated
* armada placement testing. wrote part of the client netcode.rodri2023-08-241-0/+7
|
* fixed the match process cleanup procedure.rodri2023-08-241-4/+3
|
* added ship drawing and placement procedures.rodri2023-08-151-7/+14
|
* latest try of player mgmt procedure. (not working)rodri2023-08-121-0/+39
|
* initial commit.rodri2023-08-081-0/+31