Commit graph

160 commits

Author SHA1 Message Date
Eric House
4a57b76817 cleanup: pass xwe with closeProc rather than to destroy
It's only needed when there's a close proc, and that's rare.
2023-02-03 22:00:47 -08:00
Eric House
08310b0179 fix wasm build 2022-04-01 07:51:13 +02:00
Eric House
25fadc9e93 update wasm instructions 2022-04-01 07:51:13 +02:00
Eric House
b0f2d10446 add help target; cleanup 2022-01-04 13:27:01 -08:00
Eric House
b96c7a21aa add README for emcc stuff to ease setup elsewhere 2022-01-03 20:58:15 -08:00
Eric House
759cf12ecf set bingoMin 2022-01-03 20:23:00 -08:00
Eric House
38c80209c4 fix crashes and failure to connect
Seems to be back to working now.
2022-01-03 17:40:23 -08:00
Eric House
2fcf4db58f fix to compile and not crash 2022-01-03 08:25:49 -08:00
Eric House
44152f6c36 fix wasm build a bit
Still doesn't seem to work on new install
2021-06-28 12:58:55 -07:00
Eric House
b730253e6b remove FLIP button; save/restore prefs 2021-03-24 17:52:17 -07:00
Eric House
7bd1153c13 appearance tweaks 2021-03-24 17:29:27 -07:00
Eric House
7a7a2db6ce enable chat (without history) 2021-03-24 15:58:25 -07:00
Eric House
e7669c427e size html elements based on window size
Should make things look better on different sized phone and tablet
screens.
2021-03-24 10:20:42 -07:00
Eric House
bcf85fa849 adjust board size based on window size
Seems to work adequately. Resizing buttons needs to happen too.
2021-03-22 19:39:39 -07:00
Eric House
1e2509163d listen on window resizes -- print only for now 2021-03-22 08:28:52 -07:00
Eric House
3060def376 add and use NULL_XWE 2021-03-21 20:16:09 -07:00
Eric House
4d88634865 draw board dimmed when in tile-trade mode 2021-03-21 17:57:56 -07:00
Eric House
e3ba122ca0 fix to compile with XWFEATURE_RELAY undefined
Didn't change the stream format. That will wait!
2021-03-19 18:51:34 -07:00
Eric House
b1532f19a4 move getDict from dutil to util
It's in the context of a game, and we might want info about the game
when notifying the user. For wasm, though, I just download after failure
to open. User has to try again to open the game. Good enough for now
since missing a wordlist shouldn't happen if you're not me changing
where they're stored.
2021-03-19 17:27:17 -07:00
Eric House
bbb5f821c2 tweaks 2021-03-19 14:30:17 -07:00
Eric House
1aa3ddcde0 cleanup and tweaks 2021-03-19 14:30:17 -07:00
Eric House
f48c7ce0f3 turn on COMMSACK 2021-03-19 14:29:49 -07:00
Eric House
e1bbd8f14f fix problem upgrading from old dicts storage path 2021-03-19 14:29:49 -07:00
Eric House
01c7bcf9e3 fix get-string dialog 2021-03-19 14:29:49 -07:00
Eric House
af5c116a78 new game choices stored for next time; change dicts path
Lots of tweaks. Main was from realizing that storing special-names files
and can-be-anything files in the same directory isn't good.
2021-03-19 14:29:49 -07:00
Eric House
b50ac07271 add option to disable hints 2021-03-19 14:29:49 -07:00
Eric House
585f55c040 use notifications and other tweaks 2021-03-19 14:29:49 -07:00
Eric House
0d7b81ac72 tweak UI for small screens 2021-03-19 14:29:49 -07:00
Eric House
1b0acd87ee prevent dbg and rel from conflicting 2021-03-19 14:29:49 -07:00
Eric House
99baf4bf3b pass dbg and host info via register 2021-03-19 14:29:49 -07:00
Eric House
d03b1e5d7a tweaks 2021-03-19 14:29:49 -07:00
Eric House
d6d613e2aa move Games button to far left
It'll be most often used
2021-03-19 14:29:49 -07:00
Eric House
bf88c000b7 fix mempool tracking bug 2021-03-19 14:29:49 -07:00
Eric House
8b26d6bc4e plug a leak 2021-03-19 14:29:48 -07:00
Eric House
f3b76da8e1 add more info to game "buttons"
Toward a games-list substitute. New game_summarize method will get
fleshed out and eventually replace what's in jni?
2021-03-19 14:29:48 -07:00
Eric House
8c920d6537 don't complain of bad mqtt when cancelled 2021-03-19 14:29:48 -07:00
Eric House
502d58df6f offer lang name (not locale) in new game dialog 2021-03-19 14:29:48 -07:00
Eric House
3c770e023f also grab native wordlist 2021-03-19 14:29:48 -07:00
Eric House
1cfefc3671 improve startup/new user
Ask for username and download a wordlist on startup
2021-03-19 14:29:48 -07:00
Eric House
d9ebf69ab5 route logs to console.log, not .error 2021-03-19 14:29:48 -07:00
Eric House
e61e1e9fb2 set newgame choices to defaults 2021-03-19 14:29:48 -07:00
Eric House
b0cc6dd744 clear name on delete; remove logging 2021-03-19 14:29:48 -07:00
Eric House
21b8cc0d95 store langauge name, display in title 2021-03-19 14:29:48 -07:00
Eric House
575e61059c make dict alloc its own storage
having it keep a ptr passed in is dumb
2021-03-19 14:29:48 -07:00
Eric House
829242c9bb fix to deal with failed downloads 2021-03-19 14:29:48 -07:00
Eric House
52b1300d90 cleanup; remove dead code 2021-03-19 14:29:48 -07:00
Eric House
598565836d separate indexeddb filesystems for dbg and rel 2021-03-19 14:29:20 -07:00
Eric House
ef673d8df0 prune some logging 2021-03-19 14:29:20 -07:00
Eric House
c859caae8d cleanup (and get rid of constant JS error) 2021-03-19 14:29:20 -07:00
Eric House
430b6894f0 correctly render utf
Was using the wrong API. Also upgraded font to DejaVu Sans
2021-03-19 14:29:20 -07:00