Whitespace cleanup part 2. (#19891)

This commit is contained in:
warriorstar-orion
2022-12-24 18:38:43 +01:00
committed by GitHub
parent 19d759b257
commit a7d09cf033
134 changed files with 652 additions and 656 deletions
+24 -24
View File
@@ -5,17 +5,17 @@
/*
* # Library Catalog
This datum forms the basis for the entire library system, one is created at roundstart and stored to a global variable
It holds lists for all predefined report and book categories, books flagged during the round, and all programmatic
books.
Additionally, ALL library SQL queries are handled in this datum. This is intentional so that we do not have multiple SQL
queries trying to do the same thing but in 4-5 different dm files. This file is split/organized into a specific
structure:
TOP - Defining Library Lists
MIDDLE - Get Procs that get information from the catalog or DB
BOTTOM - Send/Update procs that perform changes to the Database. Don't mix their functionalities together.
*
* This datum forms the basis for the entire library system, one is created at roundstart and stored to a global variable
* It holds lists for all predefined report and book categories, books flagged during the round, and all programmatic
* books.
*
* Additionally, ALL library SQL queries are handled in this datum. This is intentional so that we do not have multiple SQL
* queries trying to do the same thing but in 4-5 different dm files. This file is split/organized into a specific
* structure:
* TOP - Defining Library Lists
* MIDDLE - Get Procs that get information from the catalog or DB
* BOTTOM - Send/Update procs that perform changes to the Database. Don't mix their functionalities together.
*/
/datum/library_catalog
///Lists of all reported books in the current round
@@ -55,7 +55,7 @@
DEFINE_CATEGORY(LIB_CATEGORY_PHILOSOPHY, "Philosophy"),
DEFINE_CATEGORY(LIB_CATEGORY_DRAMA, "Drama and Thriller"),
DEFINE_CATEGORY(LIB_CATEGORY_EXPERIMENT, "Experiment Notes"),
DEFINE_CATEGORY(LIB_CATEGORY_EXPERIMENT, "Experiment Notes"),
DEFINE_CATEGORY(LIB_CATEGORY_LEGAL, "Legal Document"),
DEFINE_CATEGORY(LIB_CATEGORY_BIOGRAPHY, "Biography"),
DEFINE_CATEGORY(LIB_CATEGORY_GUIDE, "Guides and References"),
@@ -67,7 +67,7 @@
DEFINE_CATEGORY(LIB_CATEGORY_THEATRE, "Theatre"),
DEFINE_CATEGORY(LIB_CATEGORY_POETRY, "Poetry"),
DEFINE_CATEGORY(LIB_CATEGORY_LAW, "Law"),
DEFINE_CATEGORY(LIB_CATEGORY_LAW, "Law"),
DEFINE_CATEGORY(LIB_CATEGORY_SECURITY, "Security"),
DEFINE_CATEGORY(LIB_CATEGORY_SUPPLY, "Supply"),
DEFINE_CATEGORY(LIB_CATEGORY_ENGINEERING, "Engineering"),
@@ -639,15 +639,15 @@
#undef MAX_PLAYER_UPLOADS
/* here be dragons~~~
__ _
_/ \ _(\(o
/ \ / _ ^^^o
/ ! \/ ! '!!!v'
! ! \ _' ( \____
! . \ _!\ \===^\)
\ \_! / __!
\! / \
(\_ _/ _\ )
\ ^^--^^ __-^ /(__
^^----^^ "^--v'
* __ _
* _/ \ _(\(o
* / \ / _ ^^^o
* / ! \/ ! '!!!v'
* ! ! \ _' ( \____
* ! . \ _!\ \===^\)
* \ \_! / __!
* \! / \
* (\_ _/ _\ )
* \ ^^--^^ __-^ /(__
* ^^----^^ "^--v'
*/
+6 -6
View File
@@ -4,12 +4,12 @@
//
//*******************************
/*
The Library
------------
A place for the crew to go, relax, and enjoy a good book.
Aspiring authors can even self publish and submit it to the Archives
to be chronicled in history forever - some say even persisting
through alternate dimensions.
* The Library
* ------------
* A place for the crew to go, relax, and enjoy a good book.
* Aspiring authors can even self publish and submit it to the Archives
* to be chronicled in history forever - some say even persisting
* through alternate dimensions.
*/
/* DB Notes: