Update link to sm-ssc page
This commit is contained in:
+50
-14
@@ -20,14 +20,14 @@
|
|||||||
<title>sm-ssc Lua Information</title>
|
<title>sm-ssc Lua Information</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
th {
|
th {
|
||||||
background-color: #DDDDDD;
|
background: #DDDDDD url(./bgline.png) repeat-x scroll 0 0;
|
||||||
border: 0px solid #888888;
|
border: 0px solid #888888;
|
||||||
border-width: thin;
|
border-width: thin;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
}
|
}
|
||||||
thead th {
|
thead th {
|
||||||
background-color: #EEEEEE;
|
background: #EEEEEE url(./bgline.png) repeat-x scroll 0 0;
|
||||||
}
|
}
|
||||||
table {
|
table {
|
||||||
border-style: none;
|
border-style: none;
|
||||||
@@ -47,37 +47,66 @@
|
|||||||
.code {
|
.code {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
div fieldset {
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
.returnTypeCell {
|
.returnTypeCell {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
width: 10em;
|
width: 10em;
|
||||||
background-color: #EEEEEE;
|
background: #EEEEEE url(./bgline.png) repeat-x scroll 0 0;
|
||||||
|
padding: 1px;
|
||||||
}
|
}
|
||||||
.descriptionCell {
|
.descriptionCell {
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
background-color: #DDEEFF;
|
background: #DDEEFF url(./bgline.png) repeat-x scroll 0 0;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
fieldset div.descriptionCell{
|
||||||
|
margin: 1px 2px 1px 2px;
|
||||||
|
border: 1px solid #777;
|
||||||
}
|
}
|
||||||
.renamed{
|
.renamed{
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
background-color: #FFEEDD;
|
background: #FFEEDD url(./bgline.png) repeat-x scroll 0 0;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
fieldset div.renamed{
|
||||||
|
margin: 1px 2px 1px 2px;
|
||||||
|
border: 1px solid #777;
|
||||||
}
|
}
|
||||||
.sm-ssc{
|
.sm-ssc{
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
background-color: #FFDDEE;
|
background: #FFDDEE url(./bgline.png) repeat-x scroll 0 0;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
fieldset div.sm-ssc{
|
||||||
|
margin: 1px 2px 1px 2px;
|
||||||
|
border: 1px solid #777;
|
||||||
}
|
}
|
||||||
._fallbackTheme{
|
._fallbackTheme{
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
background-color: #DDFFEE;
|
background: #DDFFEE url(./bgline.png) repeat-x scroll 0 0;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
fieldset div._fallbackTheme{
|
||||||
|
margin: 1px 2px 1px 2px;
|
||||||
|
border: 1px solid #777;
|
||||||
}
|
}
|
||||||
.defaultTheme{
|
.defaultTheme{
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
background-color: #FFD400;
|
background: #FFD400 url(./bgline.png) repeat-x scroll 0 0;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
fieldset div.defaultTheme{
|
||||||
|
margin: 1px 2px 1px 2px;
|
||||||
|
border: 1px solid #777;
|
||||||
}
|
}
|
||||||
.descriptionName {
|
.descriptionName {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
@@ -189,9 +218,8 @@
|
|||||||
<xsl:template match="sm:Lua">
|
<xsl:template match="sm:Lua">
|
||||||
<div>
|
<div>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<h2><a href="http://ssc.ajworld.net/sm-ssc/">sm-ssc</a> Lua Information</h2><br/>
|
<h2><a href="http://code.google.com/p/sm-ssc/">sm-ssc</a> Lua Information</h2><br/>
|
||||||
<small>WARNING: Bindings are subject to change at any time. This includes, but is not limited to: renaming, removal, changing of arguments/return types.<br/>
|
<small>A collection of Lua bindings which can be used in sm-ssc themes.</small>
|
||||||
To generate this file yourself, pass <code>--ExportLuaInformation</code> as an argument to the sm-ssc executable.</small>
|
|
||||||
</div>
|
</div>
|
||||||
<table id="sections">
|
<table id="sections">
|
||||||
<thead>
|
<thead>
|
||||||
@@ -215,9 +243,9 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Function Colors</legend>
|
<legend>Function Colors</legend>
|
||||||
<div class="descriptionCell">Available in SM4 baseline and sm-ssc</div>
|
<div class="descriptionCell">Available in SM4 baseline and sm-ssc</div>
|
||||||
<div class="renamed">Renamed or otherwise modified in sm-ssc (differences will be noted)</div>
|
<div class="renamed">Renamed or otherwise modified in sm-ssc</div>
|
||||||
<div class="sm-ssc">Available in sm-ssc only (for the time being)</div>
|
<div class="sm-ssc">Available in sm-ssc only (for the time being)</div>
|
||||||
<div class="_fallbackTheme">Defined in sm-ssc's _fallback theme <small>(<em>Foundation</em>)</small></div>
|
<div class="_fallbackTheme">Defined in sm-ssc's _fallback theme</div>
|
||||||
<div class="defaultTheme">Defined in sm-ssc's default theme</div>
|
<div class="defaultTheme">Defined in sm-ssc's default theme</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
@@ -465,7 +493,15 @@
|
|||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<span class="descriptionName">
|
<span class="descriptionName">
|
||||||
<xsl:value-of select="@name" />
|
<xsl:choose>
|
||||||
|
<!-- make commands in certain sections link to the SMTheming
|
||||||
|
wiki article for said command: -->
|
||||||
|
<xsl:when test="string($class)='Actor'"><a href="http://kki.ajworld.net/wiki/Commands:{@name}" title="'{@name}' on the SMTheming Wiki"><xsl:value-of select="@name" /></a></xsl:when>
|
||||||
|
<xsl:when test="string($class)='ActorFrame'"><a href="http://kki.ajworld.net/wiki/Commands:{@name}" title="'{@name}' on the SMTheming Wiki"><xsl:value-of select="@name" /></a></xsl:when>
|
||||||
|
<xsl:when test="string($class)='Sprite'"><a href="http://kki.ajworld.net/wiki/Commands:{@name}" title="'{@name}' on the SMTheming Wiki"><xsl:value-of select="@name" /></a></xsl:when>
|
||||||
|
<!-- and don't handle wiki links for anything else -->
|
||||||
|
<xsl:otherwise><xsl:value-of select="@name" /></xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
</span>
|
</span>
|
||||||
<span class="descriptionArguments">
|
<span class="descriptionArguments">
|
||||||
<xsl:text>( </xsl:text>
|
<xsl:text>( </xsl:text>
|
||||||
|
|||||||
Reference in New Issue
Block a user