feat: update game interface to support planet pictures
This commit is contained in:
parent
4d48fba21b
commit
da42f6db52
10 changed files with 28 additions and 15 deletions
scripts
|
@ -12,7 +12,7 @@ $config = array(
|
|||
"scriptdir" => __DIR__,
|
||||
|
||||
// Path to the cache
|
||||
"cachedir" => "/tmp/lwcache",
|
||||
"cachedir" => "/var/cache/lw",
|
||||
|
||||
// Debugging level
|
||||
"debug" => 2,
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<Param name="sessname" value="legacy_alpha_sid" />
|
||||
|
||||
<!-- Planet generator script -->
|
||||
<Param name="pgenreq" value="/tmp/pgen" />
|
||||
<Param name="pgenreq" value="/var/cache/pgen" />
|
||||
</MainParams>
|
||||
|
||||
<!-- This part configures the general ticks that are not related to a
|
||||
|
|
|
@ -115,7 +115,8 @@ class page_layout {
|
|||
// JavaScript variables (static access URL, color, etc...)
|
||||
$jsConf = "var staticurl=\"".config::$main['staticurl']
|
||||
. "\";\nvar color=\"$col\";\nvar ttFontSize = '" . ($fs + 9) . "px';\n"
|
||||
. "var ttDelay = " . ($tt * 500) . ";\n";
|
||||
. "var ttDelay = " . ($tt * 500) . ";\nvar gameId = \""
|
||||
. input::$game->name . "\";\n";
|
||||
|
||||
// AJAX-specified initialization code
|
||||
if (ajax::$init != "" || $tt) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue