summaryrefslogtreecommitdiff
path: root/web/web_prompt.c
Commit message (Collapse)AuthorAgeFilesLines
* web: reimplement menus as a stack with more shared codeDavid Vazgenovich Shakaryan2022-05-211-144/+214
|
* web: support visit log for 3+ player matchesDavid Vazgenovich Shakaryan2022-05-201-0/+1
| | | | | The new match modes are for testing. They'll eventually be removed in favour of true configurability.
* web: dynamically allocate player bufsDavid Vazgenovich Shakaryan2022-05-201-1/+1
|
* web: add (incomplete) support for 3+ player matchesDavid Vazgenovich Shakaryan2022-05-201-3/+2
|
* web: display comp name in throwing promptDavid Vazgenovich Shakaryan2022-05-181-3/+6
|
* web: store comp info as part of match player info instead of globallyDavid Vazgenovich Shakaryan2022-05-181-0/+1
| | | | | This allows us things like two computer players against one another, which I've also added for testing.
* web: change winning player messageDavid Vazgenovich Shakaryan2022-05-181-3/+5
|
* web: fix ending match mid-comp-throw and starting another quicklyDavid Vazgenovich Shakaryan2022-05-161-9/+1
|
* web: clean up properly when match is ended while comp is throwingDavid Vazgenovich Shakaryan2022-05-161-1/+6
|
* web: support ending ongoing match; ui/colour tweaksDavid Vazgenovich Shakaryan2022-05-161-1/+16
| | | | | | Ending a match while the computer is throwing currently results in data being written to the prompt because any scheduled C calls are not being cleared yet.
* web: add back button to option menusDavid Vazgenovich Shakaryan2022-05-151-0/+12
|
* web: use icons for settings; misc changesDavid Vazgenovich Shakaryan2022-05-131-3/+3
|
* web: allow selection of starting points and user to throw firstDavid Vazgenovich Shakaryan2022-05-091-7/+129
| | | | | | | This new option selection code is a bit messy for now. It requires the options and their order to be in sync between the prompt functions and the corresponding submit functions. There's also a bit too much repetition of generic code that's applicable to all options.
* web: add support for child DOM elements and text nodesDavid Vazgenovich Shakaryan2022-05-091-1/+10
|
* web: dynamically generate (list-mode) keypad keysDavid Vazgenovich Shakaryan2022-05-091-1/+52
| | | | | This is currently only for match mode selection, but we'll reuse it to implement more menus.
* web: simplify buffering of display dataDavid Vazgenovich Shakaryan2022-05-061-44/+14
|
* web: clean up scoreboard and dom functionsDavid Vazgenovich Shakaryan2022-05-051-20/+20
|
* web: abstract away most EM_ASM calls to dom fileDavid Vazgenovich Shakaryan2022-05-041-33/+29
|
* formattingDavid Vazgenovich Shakaryan2022-05-041-6/+9
|
* web: oi from cDavid Vazgenovich Shakaryan2022-05-031-1/+19
|
* web: more use of generic JS functionsDavid Vazgenovich Shakaryan2022-05-031-7/+9
|
* web: use generic JS functions for manipulating DOMDavid Vazgenovich Shakaryan2022-05-031-16/+26
|
* web: buffer and flush promptDavid Vazgenovich Shakaryan2022-05-031-13/+75
|
* web: more renamingDavid Vazgenovich Shakaryan2022-05-021-1/+1
|
* web: move some stuff aroundDavid Vazgenovich Shakaryan2022-05-021-0/+15
|
* web: minor cleanup of prompt codeDavid Vazgenovich Shakaryan2022-05-021-0/+16
|
* web: move control logic to separate fileDavid Vazgenovich Shakaryan2022-05-021-9/+48
|
* web: split opts and prompt handlers into separate filesDavid Vazgenovich Shakaryan2022-05-021-0/+168
Currently using a bunch of forward declarations in prompt.c that should be cleaned up later.