From b08abbc6b196c055b26163c58c795bf09b2bb2c1 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Fri, 7 Jun 2013 00:54:30 +0000 Subject: first commit --- .gitignore | 3 +++ api.txt | 32 ++++++++++++++++++++++++++++++++ gentium.ttf | Bin 0 -> 362664 bytes index.html | 43 +++++++++++++++++++++++++++++++++++++++++++ lighttpd.conf | 23 +++++++++++++++++++++++ playtime-webfont.ttf | Bin 0 -> 50748 bytes playtime-webfont.woff | Bin 0 -> 33460 bytes playtime.ttf | Bin 0 -> 71220 bytes playtime_bold.ttf | Bin 0 -> 47916 bytes test.html | 2 ++ video.html | 6 ++++++ 11 files changed, 109 insertions(+) create mode 100644 .gitignore create mode 100644 api.txt create mode 100644 gentium.ttf create mode 100644 index.html create mode 100644 lighttpd.conf create mode 100644 playtime-webfont.ttf create mode 100644 playtime-webfont.woff create mode 100644 playtime.ttf create mode 100644 playtime_bold.ttf create mode 100644 test.html create mode 100644 video.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..119b054 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# ignore 'copyrighted' contents similar to emulators +/dump +/rpy diff --git a/api.txt b/api.txt new file mode 100644 index 0000000..17d3213 --- /dev/null +++ b/api.txt @@ -0,0 +1,32 @@ +== imachine{,_replay} api == +label * -> function +jump_out -> save & register & call +call -> '' +seen_scene(scene) -> return label in seen_scenes +int attraction_* +path_end(chr, is_good) +iscene(name, is_h, is_end) +act_op(movie) +imenu(choice) + +== script api == +chars: in ui_settings.rpy + e.g. his(text) -> promise +with(transition, action) -> promise + +== prefs == +h-scenes (tied to shrinkwrap) +fullscreen? +webp (default on chrome/opera, off on others or webpjs) +text speed +auto delay +music/sfx vol +skip unread +skip after choice + +== context menu == +show image, scrollback, skip, auto, options + +== save/load == +passive: seen_scenes +active: track attraction diff --git a/gentium.ttf b/gentium.ttf new file mode 100644 index 0000000..a8c1756 Binary files /dev/null and b/gentium.ttf differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..3bf5749 --- /dev/null +++ b/index.html @@ -0,0 +1,43 @@ + + + + Katawa Shoujo + + + + + + +
+ + +
It doesn't take long to identify the source as Lilly's room, though the deep timbre of the female voice unmistakably belongs not to her, but to her sister.
+
+ + diff --git a/lighttpd.conf b/lighttpd.conf new file mode 100644 index 0000000..a062b6a --- /dev/null +++ b/lighttpd.conf @@ -0,0 +1,23 @@ +server.document-root = "/home/alex/html5ks" +server.port = 8080 +mimetype.assign = ( + ".html" => "text/html", + ".js" => "text/javascript", + ".css" => "text/css", + ".txt" => "text/plain", + ".jpg" => "image/jpeg", + ".png" => "image/png", + ".webp" => "image/webp", + ".webm" => "video/webm", + ".mkv" => "video/x-matroska", + ".ogg" => "audio/ogg", + ".woff" => "application/font-woff" +) +index-file.names = ("index.html") +server.modules = ( "mod_expire", "mod_compress" ) +dir-listing.activate = "enable" +compress.cache-dir = "/tmp/lighttpd-compress" +compress.filetype = ("text/html", "text/plain", "text/css", "text/javascript") +$HTTP["url"] =~ "^/dump/" { + expire.url = ("" => "access plus 1 years") +} diff --git a/playtime-webfont.ttf b/playtime-webfont.ttf new file mode 100644 index 0000000..51fcb97 Binary files /dev/null and b/playtime-webfont.ttf differ diff --git a/playtime-webfont.woff b/playtime-webfont.woff new file mode 100644 index 0000000..9608992 Binary files /dev/null and b/playtime-webfont.woff differ diff --git a/playtime.ttf b/playtime.ttf new file mode 100644 index 0000000..a36000a Binary files /dev/null and b/playtime.ttf differ diff --git a/playtime_bold.ttf b/playtime_bold.ttf new file mode 100644 index 0000000..e730c2b Binary files /dev/null and b/playtime_bold.ttf differ diff --git a/test.html b/test.html new file mode 100644 index 0000000..4b09fa1 --- /dev/null +++ b/test.html @@ -0,0 +1,2 @@ + + diff --git a/video.html b/video.html new file mode 100644 index 0000000..f68852a --- /dev/null +++ b/video.html @@ -0,0 +1,6 @@ + + + +