-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
77 lines (69 loc) · 3.66 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<html><head>
<!-- Installer -->
<link rel="manifest" href="manifest.json">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="application-name" content="Rewtro">
<meta name="apple-mobile-web-app-title" content="Rewtro">
<meta name="msapplication-starturl" content="index.html">
<link rel="icon" type="image/png" sizes="128x128" href="icons/icon-128x128.png">
<link rel="icon" type="image/png" sizes="144x144" href="icons/icon-144x144.png">
<link rel="icon" type="image/png" sizes="152x152" href="icons/icon-152x152.png">
<link rel="icon" type="image/png" sizes="192x192" href="icons/icon-192x192.png">
<link rel="icon" type="image/png" sizes="384x384" href="icons/icon-384x384.png">
<link rel="icon" type="image/png" sizes="512x512" href="icons/icon-512x512.png">
<link rel="icon" type="image/png" sizes="72x72" href="icons/icon-72x72.png">
<link rel="icon" type="image/png" sizes="96x96" href="icons/icon-96x96.png">
<!-- System -->
<meta name="viewport" id="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- External -->
<link rel="stylesheet" type="text/css" href="libs/gameconsole.css">
<link rel="stylesheet" type="text/css" href="libs/external/fontawesome/css/fontawesome.min.css">
<link rel="stylesheet" type="text/css" href="libs/external/fontawesome/css/solid.min.css">
<script src="libs/external/jszip.js"></script>
<script src="libs/external/lzma_worker-min.js"></script>
<script src="libs/external/instascan.min.js"></script>
<script src="libs/external/qrcode.min.js"></script>
<!-- Libs -->
<script src="libs/locale.js"></script>
<script src="libs/audio.js"></script>
<script src="libs/system.js"></script>
<script src="libs/binary.js"></script>
<script src="libs/hardware.js"></script>
<script src="libs/rewtro.js"></script>
<script src="libs/qrcart.js"></script>
<script src="libs/gameconsole.js"></script>
<!-- Game console module -->
<script src="libs/modules/credits.js"></script>
<script src="libs/modules/loadfromqr.js"></script>
<script src="libs/modules/generateqr.js"></script>
<script src="libs/modules/playlastplayedgame.js"></script>
<script src="libs/modules/fullscreen.js"></script>
<script src="libs/modules/language.js"></script>
<script src="libs/modules/installer.js"></script>
<script src="libs/modules/dev-sdk.js"></script>
</head><body onload="onl()"><div id="console" style="position:absolute;left:0;top:0;bottom:0;right:0"></div></body><script>
var CONSOLE,LOC=new LocaleManager();
function onl() {
var qrcart=new QRCart({QRCOUNT:4});
CONSOLE=new GameConsole(document.getElementById("console"),{
title:"Rewtro 0.3",
consoleLabel:"GAME WITH DOT MATRIX SCREEN",
audioEnabled:true,
options:[
ModuleLoadFromQR([{label:LOC._("qrcart_load"),icon:"<i class='fas fa-camera'></i>"}],"instascanng", qrcart),
ModuleGenerateQR([{label:LOC._("qrcart_datasette"),icon:"<i class='fas fa-tape'></i>"}], qrcart),
ModulePlayLastPlayedGame([
{label:LOC._("lastplayed_run"),icon:"<i class='fas fa-history'></i>"},
{label:LOC._("lastplayed_discard"),icon:"<i class='fas fa-trash-alt'></i>"}
]),
ModuleFullscreen([{label:LOC._("fullscreen_toggle"),icon:"<i class='fas fa-expand'></i>"}]),
ModuleLanguage([{label:LOC._("language_change"),icon:"<i class='fas fa-language'></i>"}]),
ModuleInstaller([{label:LOC._("installer_install"),icon:"<i class='fas fa-download'></i>"}]),
ModuleCredits([{label:LOC._("credits"),icon:"<i class='fas fa-trophy'></i>"}]),
ModuleDevSdk([{label:LOC._("sdk"),icon:"<i class='fas fa-tools'></i>"}])
]
});
}
</script></html>