More work done on Telecomms:

▫ Signals can now be rejected by Subspace broadcasters through a specific data[] parameter.
▫ Improved the log browser.
▫ Log browsers and telecommunication monitors no longer require access to use. You do need access to delete logs, however.
▫ Intercoms need power to work. They don't drain power, they just need a constant flow of equipment power. As such, that offline intercom sprite's now finally being put to use.


Scripting language:

▫ Sorry about all the files; they're all necessary! It's important to notice that the basic structure of the scripting language code is not mine; I cannibalized the base structure from some obscure BYOND project. It's pretty well documented, and I'd say easier to browse through than atmos. Here's the basic deal:

A compiler datum manages the relationships between the three main subsystems of a scripting language: the Scanner, the Parser, and the Interpreter. The Scanner splits raw text into token datums that the Parser can read. The Parser transforms the otherwise random bits and strings into ordered AST Trees and nodes for the Interpreter to read. The interpreter actually executes the code and handles scope/functions/code blocks.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3193 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
vageyenaman@gmail.com
2012-02-25 22:51:31 +00:00
parent 341393bd81
commit b5f8eaf8a9
34 changed files with 5461 additions and 1979 deletions
+205
View File
@@ -84,6 +84,8 @@ macro "macro"
command = ".screenshot"
is-disabled = false
macro "tcside"
macro "vending"
elem
name = "NORTHEAST"
@@ -239,6 +241,209 @@ menu "menu"
saved-params = "is-checked"
window "Telecomms IDE"
elem "Telecomms IDE"
type = MAIN
pos = 281,0
size = 652x582
anchor1 = none
anchor2 = none
font-family = ""
font-size = 0
font-style = ""
text-color = #000000
background-color = #ffffff
is-visible = false
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "pos;size;is-minimized;is-maximized"
on-size = ""
title = "TCS IDE"
titlebar = true
statusbar = false
can-close = true
can-minimize = true
can-resize = true
is-pane = false
is-minimized = false
is-maximized = false
can-scroll = none
icon = ""
image = ""
image-mode = stretch
keep-aspect = false
transparent-color = none
alpha = 255
macro = ""
menu = ""
on-close = "exittcs"
elem "button4"
type = BUTTON
pos = 180,464
size = 60x20
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 = "Revert"
image = ""
command = "tcsrevert"
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "button3"
type = BUTTON
pos = 120,464
size = 60x20
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 = "Execute"
image = ""
command = "tcsrun"
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "tcserror"
type = OUTPUT
pos = 0,488
size = 648x94
anchor1 = none
anchor2 = none
font-family = "sans-serif"
font-size = 9
font-style = ""
text-color = #000000
background-color = #ffffff
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = "max-lines"
on-size = ""
link-color = #0000ff
visited-color = #ff00ff
style = ""
enable-http-images = false
max-lines = 1000
image = ""
elem "button2"
type = BUTTON
pos = 60,464
size = 60x20
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 = "Compile"
image = ""
command = "tcscompile"
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "button1"
type = BUTTON
pos = 0,464
size = 60x20
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 = "Apply"
image = ""
command = "tcssave"
is-flat = false
stretch = false
is-checked = false
group = ""
button-type = pushbutton
elem "tcscode"
type = INPUT
pos = 0,0
size = 652x464
anchor1 = none
anchor2 = none
font-family = "Courier"
font-size = 10
font-style = ""
text-color = #000000
background-color = #ffffff
is-visible = true
is-disabled = false
is-transparent = false
is-default = false
border = none
drop-zone = false
right-click = false
saved-params = ""
on-size = ""
command = "cancel"
multi-line = true
is-password = false
no-command = true
window "chemdispenser"
elem "chemdispenser"
type = MAIN