summaryrefslogtreecommitdiff
path: root/web/web_control.c
Commit message (Collapse)AuthorAgeFilesLines
* web: refactor undo logicDavid Vazgenovich Shakaryan2022-05-181-52/+73
|
* web: add throw animationDavid Vazgenovich Shakaryan2022-05-161-1/+5
|
* web: fix ending match mid-comp-throw and starting another quicklyDavid Vazgenovich Shakaryan2022-05-161-20/+17
|
* web: clean up properly when match is ended while comp is throwingDavid Vazgenovich Shakaryan2022-05-161-4/+22
|
* web: support ending ongoing match; ui/colour tweaksDavid Vazgenovich Shakaryan2022-05-161-0/+2
| | | | | | 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: use icons for settings; misc changesDavid Vazgenovich Shakaryan2022-05-131-2/+2
|
* web: add exit dialogue while match is activeDavid Vazgenovich Shakaryan2022-05-101-0/+4
|
* web: fix post-match undo when bot is throwing secondDavid Vazgenovich Shakaryan2022-05-101-1/+5
|
* web: allow selection of starting points and user to throw firstDavid Vazgenovich Shakaryan2022-05-091-14/+30
| | | | | | | 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: fix memory bugsDavid Vazgenovich Shakaryan2022-05-091-1/+1
|
* web: abstract away most EM_ASM calls to dom fileDavid Vazgenovich Shakaryan2022-05-041-2/+2
|
* web: fix averages after undoDavid Vazgenovich Shakaryan2022-05-041-2/+2
|
* formattingDavid Vazgenovich Shakaryan2022-05-041-8/+8
|
* web: oi from cDavid Vazgenovich Shakaryan2022-05-031-4/+4
|
* web: more use of generic JS functionsDavid Vazgenovich Shakaryan2022-05-031-4/+4
|
* web: use generic JS functions for manipulating DOMDavid Vazgenovich Shakaryan2022-05-031-1/+1
|
* web: buffer and flush promptDavid Vazgenovich Shakaryan2022-05-031-4/+6
|
* web: more renamingDavid Vazgenovich Shakaryan2022-05-021-8/+8
|
* web: move some stuff aroundDavid Vazgenovich Shakaryan2022-05-021-0/+20
|
* web: buffer player info and flush on state changeDavid Vazgenovich Shakaryan2022-05-021-8/+11
| | | | | Constant calls from Wasm to JS to replace unchanged elements in the DOM is not very efficient.
* web: minor cleanup of prompt codeDavid Vazgenovich Shakaryan2022-05-021-10/+5
|
* web: move control logic to separate fileDavid Vazgenovich Shakaryan2022-05-021-0/+257