HTML interface module + playing cards (ported from Baystation12 with modifications) using the new module

This commit is contained in:
NullQuery
2015-06-08 22:13:25 +02:00
parent 389007d85d
commit 1b364c0e82
25 changed files with 1357 additions and 1 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,13 @@
// Used by playing cards; /obj/item/weapon/hand
// Subtype exists because of sendResources; these must be sent when the client connects.
/datum/html_interface/cards/New()
. = ..()
src.head = src.head + "<link rel=\"stylesheet\" type=\"text/css\" href=\"cards.css\" />"
src.updateLayout("<div id=\"headbar\"></div><div class=\"wrapper\"><table><tr><td style=\"vertical-align: middle;\"><div id=\"hand\"></div></td></tr></table></div>")
/datum/html_interface/cards/sendResources(client/client)
. = ..() // we need the default resources
client << browse_rsc('cards.css')