Huge commit! Standardizes var definitions in most places.

Signed-off-by: Mloc <colmohici@gmail.com>
This commit is contained in:
Mloc
2012-05-29 16:26:48 +01:00
parent 5f030b1117
commit fbb67b2e42
157 changed files with 1736 additions and 1634 deletions
+10 -9
View File
@@ -1,3 +1,5 @@
//This file was auto-corrected by findeclaration.exe on 29/05/2012 15:03:04
#define BOOK_VERSION_MIN 1
#define BOOK_VERSION_MAX 2
#define BOOK_PATH "data/books/"
@@ -61,16 +63,15 @@ datum/book_manager/proc/remove(var/id)
fdel(path(id))
datum/archived_book
var
author // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned
title // The real name of the book.
category // The category/genre of the book
id // the id of the book (like an isbn number)
dat // Actual page content
var/author // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned
var/title // The real name of the book.
var/category // The category/genre of the book
var/id // the id of the book (like an isbn number)
var/dat // Actual page content
author_real // author's real_name
author_key // author's byond key
list/icon/photos // in-game photos used
var/author_real // author's real_name
var/author_key // author's byond key
var/list/icon/photos // in-game photos used
// loads the book corresponding by the specified id
datum/archived_book/New(var/path)
+6 -6
View File
@@ -1,3 +1,5 @@
//This file was auto-corrected by findeclaration.exe on 29/05/2012 15:03:05
var/use_uristrunes = 1
@@ -64,10 +66,9 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology",
layer = TURF_LAYER
var
word1
word2
word3
var/word1
var/word2
var/word3
// Places these combos are mentioned: this file - twice in the rune code, once in imbued tome, once in tome's HTML runes.dm - in the imbue rune code. If you change a combination - dont forget to change it everywhere.
// travel self [word] - Teleport to random [rune with word destination matching]
@@ -781,8 +782,7 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology",
w_class = 1.0
flags = FPRINT | TABLEPASS
var
data
var/data
attack_self(mob/user as mob)
view_scrap(user)
+36 -40
View File
@@ -1,3 +1,5 @@
//This file was auto-corrected by findeclaration.exe on 29/05/2012 15:03:05
//*******************************
//
// Library SQL Configuration
@@ -211,20 +213,19 @@
throw_range = 5
w_class = 1.0
flags = FPRINT | TABLEPASS
var
dat // Actual page content
due_date = 0 // Game time in 1/10th seconds
author // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned
unique = 0 // 0 - Normal book, 1 - Should not be treated as normal book, unable to be copied, unable to be modified
title // The real name of the book.
var/dat // Actual page content
var/due_date = 0 // Game time in 1/10th seconds
var/author // Who wrote the thing, can be changed by pen or PC. It is not automatically assigned
var/unique = 0 // 0 - Normal book, 1 - Should not be treated as normal book, unable to be copied, unable to be modified
var/title // The real name of the book.
author_real // author's real_name
author_key // author's byond key
ssbn // the ssbn, if a downloaded book
var/author_real // author's real_name
var/author_key // author's byond key
var/ssbn // the ssbn, if a downloaded book
list/pages = new() // individual pages as a list of text
cur_page = 1 // current page being read
list/icon/photos // in-game photos used
var/list/pages = new() // individual pages as a list of text
var/cur_page = 1 // current page being read
var/list/icon/photos // in-game photos used
proc/navbar()
return "<div style='color:#666;font-style:italic;padding-top:1em;height:7.5%'>" \
@@ -414,10 +415,9 @@
throw_range = 5
w_class = 1.0
flags = FPRINT | TABLEPASS
var
obj/machinery/librarycomp/computer // Associated computer - Modes 1 to 3 use this
obj/item/weapon/book/book // Currently scanned book
mode = 0 // 0 - Scan only, 1 - Scan and Set Buffer, 2 - Scan and Attempt to Check In, 3 - Scan and Attempt to Add to Inventory
var/obj/machinery/librarycomp/computer // Associated computer - Modes 1 to 3 use this
var/obj/item/weapon/book/book // Currently scanned book
var/mode = 0 // 0 - Scan only, 1 - Scan and Set Buffer, 2 - Scan and Attempt to Check In, 3 - Scan and Attempt to Add to Inventory
attack_self(mob/user as mob)
mode += 1
@@ -453,11 +453,10 @@
datum/borrowbook // Datum used to keep track of who has borrowed what when and for how long.
var
bookname
mobname
getdate
duedate
var/bookname
var/mobname
var/getdate
var/duedate
@@ -472,12 +471,11 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
icon_state = "computer"
anchored = 1
density = 1
var
screenstate = 0
title
category = "Any"
author
SQLquery
var/screenstate = 0
var/title
var/category = "Any"
var/author
var/SQLquery
/obj/machinery/librarypubliccomp/attack_hand(var/mob/user as mob)
@@ -580,18 +578,17 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
icon_state = "computer"
anchored = 1
density = 1
var
arcanecheckout = 0
screenstate = 0 // 0 - Main Menu, 1 - Inventory, 2 - Checked Out, 3 - Check Out a Book
buffer_book
buffer_mob
upload_category = "Fiction"
list/checkouts = list()
list/inventory = list()
checkoutperiod = 5 // In minutes
obj/machinery/libraryscanner/scanner // Book scanner that will be used when uploading books to the Archive
var/arcanecheckout = 0
var/screenstate = 0 // 0 - Main Menu, 1 - Inventory, 2 - Checked Out, 3 - Check Out a Book
var/buffer_book
var/buffer_mob
var/upload_category = "Fiction"
var/list/checkouts = list()
var/list/inventory = list()
var/checkoutperiod = 5 // In minutes
var/obj/machinery/libraryscanner/scanner // Book scanner that will be used when uploading books to the Archive
bibledelay = 0 // LOL NO SPAM (1 minute delay) -- Doohl
var/bibledelay = 0 // LOL NO SPAM (1 minute delay) -- Doohl
/obj/machinery/librarycomp/attack_hand(var/mob/user as mob)
usr.machine = src
@@ -936,8 +933,7 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
icon_state = "bigscanner"
anchored = 1
density = 1
var
obj/item/weapon/book/cache // Last scanned book
var/obj/item/weapon/book/cache // Last scanned book
+9 -9
View File
@@ -1,8 +1,9 @@
//This file was auto-corrected by findeclaration.exe on 29/05/2012 15:03:05
/datum/song
var
name = "Untitled"
list/lines = new()
tempo = 5
var/name = "Untitled"
var/list/lines = new()
var/tempo = 5
/obj/structure/device/piano
name = "space minimoog"
@@ -10,11 +11,10 @@
icon_state = "minimoog"
anchored = 1
density = 1
var
datum/song/song
playing = 0
help = 0
edit = 1
var/datum/song/song
var/playing = 0
var/help = 0
var/edit = 1
proc
playnote(var/note as text)