aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bts: fix confirmdone().rodri2024-11-161-3/+4
|
* add a stats command. change the main buttons appearance.rodri2024-11-163-14/+54
|
* fix the menulist (make it play nice with periodic refreshing).rodri2024-11-163-8/+19
| | | | | | | | | | | | | 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.
* bts: add a little vfx for the buttons. add playvfx helper function.rodri2024-11-154-20/+28
|
* bts: add a cover image.rodri2024-11-154-11/+33
|
* forgot the vfx units…rodri2024-11-152-0/+193
|
* bts: add vfx. use stringn instead of string.rodri2024-11-156-13/+111
|
* bts: refactor processcmd().rodri2024-11-131-29/+76
|
* btsd: refactor battleproc().rodri2024-11-131-76/+129
|
* bts: moderate cleanup and restructuring.rodri2024-11-121-68/+56
|
* bts: proper board names when watching a match.rodri2024-11-111-2/+2
|
* bts: remove unnecessary anon struct.rodri2024-11-111-30/+27
| | | | | we no longer need to keep track of the game mode so a single var for state will do.
* bts: poll matches automatically.rodri2024-11-082-5/+27
| | | | | | 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.
* mkfile: fix install rule.rodri2024-11-071-4/+2
|
* bts: use buttons to select the game mode (removes -a option).rodri2024-11-072-20/+112
| | | | | now pressing q in a screen other than the main one (Waiting0) forces a reconnection, effectively resetting the game.
* btsd: tiny cleanup.rodri2024-11-071-1/+1
|
* andy: remove useless return.rodri2024-11-071-1/+0
|
* copy the assets into /sys/games/lib.rodri2024-11-072-10/+23
|
* allow the user to disable sound. only spawn a new window when debugging.rodri2023-10-112-26/+45
|
* get rid of duplicate AudioSource init procedures.rodri2023-10-103-230/+172
| | | | also changed the name of some of the mixer functions.
* replace the andy layout algorithm for a better one.rodri2023-10-092-30/+16
|
* minor cleanup.rodri2023-10-081-10/+3
|
* make sure andys never stall while searching.rodri2023-10-081-3/+31
|
* wrote a real layout algorithm for the andys.rodri2023-10-082-2/+60
|
* only send a shot if the target cell is clear/unknown.rodri2023-10-071-2/+4
|
* make cell2coords thread-safe.rodri2023-10-075-19/+22
|
* tell the spectator who's playing the moment they join.rodri2023-10-072-5/+5
|
* use a better random source. fix a bug with andys generating oob cell ↵rodri2023-10-074-8/+33
| | | | coordinates.
* remove debug prints.rodri2023-10-071-16/+4
|
* initial implementation of an AI.rodri2023-10-066-42/+336
| | | | | | added different modes for those who want to play with others and those who prefer to play against a bot (-a flag).
* get rid of unused wav structs from the mixer.rodri2023-10-021-18/+0
|
* add more sfx and do some of their orchestration.rodri2023-10-025-11/+54
|
* replaced the custom wav decoder for the general Pcm one using the audio(1) ones.rodri2023-10-022-278/+90
|
* get the condition right.rodri2023-10-011-1/+1
|
* fixed a Menulist.update bug where it would return 0 when there were no entries.rodri2023-10-011-1/+7
|
* add a credits file, acknowledging people. add another sfx.rodri2023-10-013-1/+16
|
* add a mixer and some background sfx.rodri2023-10-019-10/+945
| | | | | | | | 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.
* send the matches list upon first connection. changed the syntax a bit.rodri2023-09-292-20/+34
|
* paint the none entry in the middle of the row too.rodri2023-09-291-1/+2
|
* added a border to the boards and corrected a bug when placing a ship.rodri2023-09-284-16/+23
| | | | | | | | | 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.
* got rid of static Image pointers in favor of a global color palette.rodri2023-09-281-59/+59
|
* updated How to play.rodri2023-09-271-8/+13
|
* give more feedback about the current state of play to the spectator.rodri2023-09-271-3/+8
|
* implemented spectator mode.rodri2023-09-275-28/+135
|
* initial work towards spectator mode.rodri2023-09-265-5/+92
|
* add parsecmd to the client. finish the menulist of matches.rodri2023-09-222-60/+144
| | | | | the menulist now supports scrolling. also changed some cursors and got to tidy up /^lmb\(.
* add parsecmd to the server.rodri2023-09-216-22/+182
| | | | | | | 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-207-92/+169
|
* initial work on a menu of matches.rodri2023-09-173-34/+134
| | | | | also made some corrections and changed the tokenize(2) fields identifiers from cmd[] to f[].
* update readme file.rodri2023-09-171-2/+2
|