| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
before the addition of the timer for periodic matches updates
the menulist was supposed to be refreshed manually by the user,
and we didn't take into account the fact that every time you
clear it and refill it loses its navigational parameters, i.e.
which entry was selected and what's the offset if there are
more entries than the visible window (Maxvisitems).
so now we store those and reconfigure the menulist, adapting
to its new state, so that the user experiences as little
disruption as possible.
|
| |
|
| |
|
|
|
|
|
|
| |
before, it was necessary for the user to press w every time
they wanted to get the most recent list of matches, which
is dumb.
|
|
|
|
|
| |
now pressing q in a screen other than the main one (Waiting0)
forces a reconnection, effectively resetting the game.
|
|
|
|
|
|
| |
added different modes for those who want
to play with others and those who prefer
to play against a bot (-a flag).
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
also made some corrections and changed the tokenize(2) fields
identifiers from cmd[] to f[].
|
| |
|
| |
|
|
|
|
| |
the reaper.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
- implemented per-line msg framing
- wrote most of the game logic
- fixed an issue where the ship would go off-board when rotated
|
| |
|
| |
|
| |
|
| |
|
|
|