summaryrefslogtreecommitdiff
path: root/web/web_control.c
Commit message (Collapse)AuthorAgeFilesLines
* 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