diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-18 11:58:16 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-18 11:58:16 -0500 |
| commit | 064652034c988b5568196450330eeab97dd10280 (patch) | |
| tree | 5a77f9bf7512bd922724b2d80fe968fc4641a09c /game | |
| parent | wasm: fix canvas height (diff) | |
| download | DungeonCrawl-064652034c988b5568196450330eeab97dd10280.tar.gz DungeonCrawl-064652034c988b5568196450330eeab97dd10280.tar.bz2 DungeonCrawl-064652034c988b5568196450330eeab97dd10280.zip | |
wasm: add build version/date
Diffstat (limited to 'game')
| -rw-r--r-- | game/www/index.html | 5 | ||||
| -rw-r--r-- | game/www/style.css | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/game/www/index.html b/game/www/index.html index 6210bb7..3c1805e 100644 --- a/game/www/index.html +++ b/game/www/index.html @@ -82,11 +82,16 @@ Module.callMain(args) } + function onRuntimeInitialized() { + outputLog('Loaded DungeonCrawl vBUILD_VERSION, built BUILD_DATE'); + } + var Module = { canvas, print: outputLog, printErr: errorLog, noInitialRun: true, + onRuntimeInitialized, }; </script> <script src="game.js"></script> diff --git a/game/www/style.css b/game/www/style.css index 70595a4..82ae311 100644 --- a/game/www/style.css +++ b/game/www/style.css @@ -23,6 +23,7 @@ body, html { height: 100%; + min-width: 700px; margin: 0; padding: 0; overflow: hidden; |