Engines: add ADRIFT 4 support

This commit is contained in:
He4eT 2023-06-12 23:45:58 +03:00 committed by Alexey
commit 6585eee27f
2 changed files with 12 additions and 5 deletions

View file

@ -2,6 +2,7 @@ import bocfel from 'emglken/src/bocfel.js'
import git from 'emglken/src/git.js' import git from 'emglken/src/git.js'
import hugo from 'emglken/src/hugo.js' import hugo from 'emglken/src/hugo.js'
import tads from 'emglken/src/tads.js' import tads from 'emglken/src/tads.js'
import scare from 'emglken/src/scare.js'
const formats = [ const formats = [
{ {
@ -19,6 +20,11 @@ const formats = [
extensions: /hex$/, extensions: /hex$/,
engine: hugo, engine: hugo,
}, },
{
id: 'scare',
extensions: /taf$/,
engine: scare,
},
{ {
id: 'tads', id: 'tads',
extensions: /(gam|t3)$/, extensions: /(gam|t3)$/,

View file

@ -83,12 +83,13 @@ export default function HomeView ({ themeEngine }) {
<p> <p>
<details> <details>
<summary>Supported formats</summary> <summary>Supported formats</summary>
<p>Text-only games are supported:</p>
<ul> <ul>
<li>TADS games (.t3, .gam);</li> <li>ADRIFT 4 (.taf)</li>
<li>Z-machine games (.z3, .z4, .z5, .z8, .blorb);</li> <li>Glulx (.gblorb, .ulx)</li>
<li>Glulx VM games (.gblorb, .ulx);</li> <li>Hugo (.hex)</li>
<li>Hugo games (.hex);</li> <li>TADS 2/3 (.gam, .t3)</li>
<li>Text-only games are supported;</li> <li>Z-code (.z3, .z4, .z5, .z8, .blorb)</li>
</ul> </ul>
</details> </details>
</p> </p>