Engines: add ADRIFT 4 support

This commit is contained in:
He4eT 2023-06-12 23:45:58 +03:00
commit ed2f3ee586
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 hugo from 'emglken/src/hugo.js'
import tads from 'emglken/src/tads.js'
import scare from 'emglken/src/scare.js'
const formats = [
{
@ -19,6 +20,11 @@ const formats = [
extensions: /hex$/,
engine: hugo,
},
{
id: 'scare',
extensions: /taf$/,
engine: scare,
},
{
id: 'tads',
extensions: /(gam|t3)$/,

View file

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