Initial commit of media suite

This commit is contained in:
Rob Nelson
2014-03-10 08:38:03 -07:00
parent 86571133dd
commit cf44bf59e2
86 changed files with 36025 additions and 32 deletions

View File

@@ -59,11 +59,13 @@ json_reader
while(++i <= lentext(json))
var/char = get_char()
if(escape)
escape=FALSE // WHICH STUPID ASSHOLE FORGOT THIS - N3X
switch(char)
if("\\", "'", "\"", "/", "u")
val += char
else
// TODO: support octal, hex, unicode sequences
//testing("Having trouble with \"\\[char]\" in string \"[val]\"")
ASSERT(sequences.Find(char))
val += ascii2text(sequences[char])
else