Adds a forum and wiki button to the game interface.

Set the urls within config.txt. Both buttons do nothing by default, you have to set the urls yourself.

Removed two unused txt files that I forgot to remove.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3502 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-04-25 03:29:55 +00:00
parent 0361469168
commit 0d14417a07
8 changed files with 90 additions and 6 deletions

15
interface/interface.dm Normal file
View File

@@ -0,0 +1,15 @@
/client/verb/wiki()
set name = "wiki"
set desc = "Visit the wiki."
set hidden = 1
if( config.wikiurl )
src << link(config.wikiurl)
return
/client/verb/forum()
set name = "forum"
set desc = "Visit the forum."
set hidden = 1
if( config.forumurl )
src << link(config.forumurl)
return

View File

@@ -1171,10 +1171,66 @@ window "rpane"
splitter = 50
show-splitter = true
lock = none
elem "forumb"
type = BUTTON
pos = 260,0
size = 60x16
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "is-checked"
on-size = ""
text = "Forum"
image = ""
command = "forum"
is-flat = false
stretch = false
is-checked = false
group = "rpanemode"
button-type = pushbutton
elem "wikib"
type = BUTTON
pos = 195,0
size = 60x16
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = none
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "is-checked"
on-size = ""
text = "Wiki"
image = ""
command = "wiki"
is-flat = false
stretch = false
is-checked = false
group = "rpanemode"
button-type = pushbutton
elem "textb"
type = BUTTON
pos = 0,0
size = 60x20
size = 60x16
anchor1 = none
anchor2 = none
font-family = ""
@@ -1202,7 +1258,7 @@ window "rpane"
elem "browseb"
type = BUTTON
pos = 65,0
size = 60x20
size = 60x16
anchor1 = none
anchor2 = none
font-family = ""
@@ -1230,7 +1286,7 @@ window "rpane"
elem "infob"
type = BUTTON
pos = 130,0
size = 60x20
size = 60x16
anchor1 = none
anchor2 = none
font-family = ""