summaryrefslogtreecommitdiff
path: root/www/index.html
blob: 357cab641a7c17782bc6e27ce229afbf4777cff9 (plain)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html class="no-js">
  <head>
    <meta charset="utf-8">
    <meta name="description" content="HTML5 implementation of Katawa Shoujo, a bishōjo-style visual novel by Four Leaf Studios that tells a story of a young man and five young women living with varying disabilities.">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
    <title class="window_name">Katawa Shoujo</title>
    <script>
      window.define = function(factory) {
          try{ delete window.define; } catch(e){ window.define = void 0; } // IE
          window.when = factory();
      };
      window.define.amd = {};
    </script>
    <link rel="shortcut icon" type="image/png" href="dump/ui/icon.png">
    <link rel="apple-touch-icon" href="dump/ui/icon.png">
    <link rel="stylesheet" type="text/css" href="css/index.css">
    <script src="js/all.min.js"></script>
  </head>
  <body><div id="all">
    <div id="interstitial">
      <div id="warn">
        <h2>We use a lot of new features in this; your browser seems to have some issues...</h2>
        <ul id="warns">
          <li id="js">It doesn't seem to have JavaScript enabled. This site doesn't work at all without it. Really. <a href="http://enable-javascript.com">Don't know how to enable JS?</a></li>
          <li id="ie">You're using Internet Explorer. Please upgrade to any other browser. <a href="//getfirefox.com">Firefox</a> and <a href="//google.com/chrome">Chrome</a> are both fine options. Nothing will work in IE. I promise.</li>
          <li id="video">It doesn't seem to support <a href="https://en.wikipedia.org/wiki/HTML5_video">HTML5 video</a>, which means that you won't be able to see any of the videos (obviously). Unless stated below, though, transitions should still work. <a href="http://caniuse.com/#feat=video">You should strongly consider upgrading.</a></li>
          <li id="audio">It doesn't seem to support <a href="https://en.wikipedia.org/wiki/HTML5_audio">HTML5 audio</a>, which means you won't be able to hear any of the amazing music. <a href="http://caniuse.com/#feat=audio">You should strongly consider upgrading.</a></li>
          <li id="opus">It doesn't seem to support the <a href="https://en.wikipedia.org/wiki/Opus_%28audio_codec%29">Opus audio codec</a>, which is much smaller in size. Unless stated above, you should be able to listen to music using an inferior codec.</li>
          <li id="fontface">It doesn't seem to support <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face">the @font-face at-rule</a>, which lets us display the Playtime and Gentium fonts used in Katawa Shoujo. <a href="http://caniuse.com/#feat=fontface">Any browser released in the last 2 years or so should support it.</a></li>
          <li id="csstransforms">It doesn't seem to support <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_transforms">CSS transforms</a>, which means that we won't be able to scale the window or show most transitions. <a href="http://caniuse.com/#feat=transforms2d">Any browser released in the last 2 years ago should work.</a></li>
        </ul>
        <div id="gotit" class="button">I know it's broken, let me play!</div>
      </div>
    </div>
    <div id="container">
      <div id="gray" style="display: none;"></div>
      <div id="scene">
        <div id="show"></div>
        <div id="window" style="display: none;">
          <div id="who"></div>
          <div id="say" class="say"></div>
          <span class="ctc" id="ctc" style="display: none"></span>
        </div>
        <div id="nvl" style="display: none;">
          <div id="nvlsay" class="say"></div>
          <span class="ctc" id="nvlctc" style="display: none"></span>
        </div>
        <div id="choices" class="centered"></div>
        <div id="centered" class="centered say"></div>
        <img class="status" id="auto" src="dump/ui/sd-auto.png" alt="Auto">
        <img class="status" id="skip" src="dump/ui/sd-skip.png" alt="Skip">
      </div>
      <div id="main-menu" style="display: none;">
        <div id="main-menu-buttons" style="top: 377px; position: absolute; left: 81px;">
          <div id="start" class="button main_menu_start disabled"></div>
          <div id="load" class="button main_menu_load disabled"></div>
          <div id="extras" class="button main_menu_extra disabled"></div>
          <div class="options-button main_menu_config button"></div>
          <div class="quit button main_menu_quit disabled"></div>
        </div>
        <div id="version">
          Katawa Shoujo v1.1
          <br>
          HTML5KS 0.2.0
        </div>
      </div>
      <div id="dialogs" class="centered" style="display: none;">
        <div id="options" style="padding: 10px 20px;">
          <h2 class="config_page_caption"></h2>
          <label class="button"><input type="checkbox" class="option" id="hdisable"> <span class="hdisabled_label"></span></label>
          <label class="button"><input type="checkbox" class="option" id="skipUnread"> <span class="config_skip_unseen_label"></span></label>
          <label class="button"><input type="checkbox" class="option" id="skipAfterChoices"> <span class="config_skip_after_choice_label"></span></label>

          <label><input type="range" min="1.0" max="200.0" step="0.001" class="option" id="textSpeed"> <span class="config_textspeed_label"></span></label>
          <label><input type="range" min="0.0" max="1.0" step="0.001" class="option" id="autoModeDelay"> <span class="config_afmspeed_label"></span></label>

          <label><input type="range" min="0.0" max="1.0" step="0.001" class="option" id="musicVolume"> <span class="config_musicvol_label"></span></label>
          <label><input type="range" min="0.0" max="1.0" step="0.001" class="option" id="sfxVolume"> <span class="config_sfxvol_label"></span> <span id="test-sound" class="button config_sfxtest_label"><img src="dump/ui/bt-musicplay.png" alt="Play"></span></label>

          <label class="button disabled" id="language"><img src="dump/ui/bt-language.png"> <span class="config_language_sel"></span></label>
        </div>
        <label id="return" class="button" style="position: absolute; bottom: 15px; right: 20px;">
          <img src="dump/ui/bt-return.png">
          <span class="return_button_text"></span>
        </label>
      </div>
      <div id="context" style="display: none;">
        <div id="context-menu" class="centered">
          <div id="context-return" class="button game_menu_return"></div>
          <div id="show-image" class="button game_menu_show"></div>
          <div id="text-history" class="button game_menu_history disabled"></div>
          <div id="skip-mode" class="button game_menu_skip disabled"></div>
          <div id="auto-mode" class="button game_menu_auto disabled"></div>
          <div class="options-button button game_menu_config"></div>
          <div id="save" class="button game_menu_save disabled"></div>
          <div class="load button game_menu_load disabled"></div>
          <div id="goto-main-menu" class="button game_menu_main"></div>
          <div class="quit button disabled game_menu_quit"></div>
        </div>
        <div id="context-info">
          <div><span class="play_time_label"></span>: <span id="play-time"></span></div>
          <div><span class="game_menu_current_scene"></span>: <span id="current-scene"></span></div>
          <div><span class="game_menu_current_music"></span>: <span id="current-music-track"></span></div>
        </div>
      </div>
    </div>
    <video id="vid"></video>
  </div></body>
</html>