From 60aaac5e5b677ad29c8327750cefdff22de22dd9 Mon Sep 17 00:00:00 2001 From: Selis Date: Mon, 22 May 2023 17:20:11 +0000 Subject: [PATCH] Adds missing license headers --- code/modules/tgui/external.dm | 7 ++++--- code/modules/tgui/states.dm | 5 ++++- code/modules/tgui/states/admin.dm | 5 +++++ code/modules/tgui/states/always.dm | 4 ++++ code/modules/tgui/states/conscious.dm | 5 +++++ code/modules/tgui/states/contained.dm | 5 +++++ code/modules/tgui/states/deep_inventory.dm | 5 +++++ code/modules/tgui/states/default.dm | 5 +++++ code/modules/tgui/states/hands.dm | 5 +++++ code/modules/tgui/states/human_adjacent.dm | 4 ++++ code/modules/tgui/states/inventory.dm | 5 +++++ code/modules/tgui/states/not_incapacitated.dm | 5 +++++ code/modules/tgui/states/notcontained.dm | 5 +++++ code/modules/tgui/states/observer.dm | 6 +++++- code/modules/tgui/states/physical.dm | 7 ++++++- code/modules/tgui/states/self.dm | 5 +++++ code/modules/tgui/states/zlevel.dm | 5 +++++ code/modules/tgui/tgui.dm | 7 +++---- 18 files changed, 85 insertions(+), 10 deletions(-) diff --git a/code/modules/tgui/external.dm b/code/modules/tgui/external.dm index cfd8db13688..88e7c90a0fb 100644 --- a/code/modules/tgui/external.dm +++ b/code/modules/tgui/external.dm @@ -1,7 +1,8 @@ -/** - * tgui external +/*! + * External tgui definitions, such as src_object APIs. * - * Contains all external tgui declarations. + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT */ /** diff --git a/code/modules/tgui/states.dm b/code/modules/tgui/states.dm index 5a66efc090d..ab80a41bd50 100644 --- a/code/modules/tgui/states.dm +++ b/code/modules/tgui/states.dm @@ -1,6 +1,9 @@ -/** +/*! * Base state and helpers for states. Just does some sanity checks, * implement a proper state for in-depth checks. + * + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT */ /** diff --git a/code/modules/tgui/states/admin.dm b/code/modules/tgui/states/admin.dm index 7009f6f8844..bfa877bc096 100644 --- a/code/modules/tgui/states/admin.dm +++ b/code/modules/tgui/states/admin.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: admin_state * diff --git a/code/modules/tgui/states/always.dm b/code/modules/tgui/states/always.dm index 30915785442..9095d043505 100644 --- a/code/modules/tgui/states/always.dm +++ b/code/modules/tgui/states/always.dm @@ -1,3 +1,7 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ /** * tgui state: always_state diff --git a/code/modules/tgui/states/conscious.dm b/code/modules/tgui/states/conscious.dm index 6bc0c7ec031..7213a99be7f 100644 --- a/code/modules/tgui/states/conscious.dm +++ b/code/modules/tgui/states/conscious.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: conscious_state * diff --git a/code/modules/tgui/states/contained.dm b/code/modules/tgui/states/contained.dm index c2fbd0b6b06..e16159c5e54 100644 --- a/code/modules/tgui/states/contained.dm +++ b/code/modules/tgui/states/contained.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: contained_state * diff --git a/code/modules/tgui/states/deep_inventory.dm b/code/modules/tgui/states/deep_inventory.dm index 14419874538..3d0913cf82f 100644 --- a/code/modules/tgui/states/deep_inventory.dm +++ b/code/modules/tgui/states/deep_inventory.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: deep_inventory_state * diff --git a/code/modules/tgui/states/default.dm b/code/modules/tgui/states/default.dm index 93ba1df55f7..2fe058f3e09 100644 --- a/code/modules/tgui/states/default.dm +++ b/code/modules/tgui/states/default.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: default_state * diff --git a/code/modules/tgui/states/hands.dm b/code/modules/tgui/states/hands.dm index 0981b5d6ec7..9d742a4ab0b 100644 --- a/code/modules/tgui/states/hands.dm +++ b/code/modules/tgui/states/hands.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: hands_state * diff --git a/code/modules/tgui/states/human_adjacent.dm b/code/modules/tgui/states/human_adjacent.dm index 8164d5f9cee..845459e0717 100644 --- a/code/modules/tgui/states/human_adjacent.dm +++ b/code/modules/tgui/states/human_adjacent.dm @@ -1,3 +1,7 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ /** * tgui state: human_adjacent_state diff --git a/code/modules/tgui/states/inventory.dm b/code/modules/tgui/states/inventory.dm index 92274cc1f2e..042ca7264cc 100644 --- a/code/modules/tgui/states/inventory.dm +++ b/code/modules/tgui/states/inventory.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: inventory_state * diff --git a/code/modules/tgui/states/not_incapacitated.dm b/code/modules/tgui/states/not_incapacitated.dm index 1185b516478..49f6d0097a8 100644 --- a/code/modules/tgui/states/not_incapacitated.dm +++ b/code/modules/tgui/states/not_incapacitated.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: not_incapacitated_state * diff --git a/code/modules/tgui/states/notcontained.dm b/code/modules/tgui/states/notcontained.dm index 56b789e3c04..452d0f649bc 100644 --- a/code/modules/tgui/states/notcontained.dm +++ b/code/modules/tgui/states/notcontained.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: notcontained_state * diff --git a/code/modules/tgui/states/observer.dm b/code/modules/tgui/states/observer.dm index bdfe690dbaa..f20bb1b71ff 100644 --- a/code/modules/tgui/states/observer.dm +++ b/code/modules/tgui/states/observer.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: observer_state * @@ -12,4 +17,3 @@ GLOBAL_DATUM_INIT(tgui_observer_state, /datum/tgui_state/observer_state, new) if(check_rights(R_ADMIN|R_EVENT, 0, src)) return STATUS_INTERACTIVE return STATUS_CLOSE - diff --git a/code/modules/tgui/states/physical.dm b/code/modules/tgui/states/physical.dm index 9712090b5da..dc7f93d2ee7 100644 --- a/code/modules/tgui/states/physical.dm +++ b/code/modules/tgui/states/physical.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: physical_state * @@ -72,4 +77,4 @@ GLOBAL_DATUM_INIT(tgui_physical_state_bigscreen, /datum/tgui_state/physical_bigs return max(STATUS_UPDATE, shared_living_tgui_distance_bigscreen(src_object)) // Silicons can always see. /mob/living/silicon/ai/physical_can_use_tgui_topic(src_object) - return STATUS_UPDATE // AIs are not physical. \ No newline at end of file + return STATUS_UPDATE // AIs are not physical. diff --git a/code/modules/tgui/states/self.dm b/code/modules/tgui/states/self.dm index 109fd6ae440..064b1b0ce66 100644 --- a/code/modules/tgui/states/self.dm +++ b/code/modules/tgui/states/self.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: self_state * diff --git a/code/modules/tgui/states/zlevel.dm b/code/modules/tgui/states/zlevel.dm index a589a4b64d7..3e7d84e2621 100644 --- a/code/modules/tgui/states/zlevel.dm +++ b/code/modules/tgui/states/zlevel.dm @@ -1,3 +1,8 @@ +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT + */ + /** * tgui state: z_state * diff --git a/code/modules/tgui/tgui.dm b/code/modules/tgui/tgui.dm index 74d16a2e33d..29431c42f3b 100644 --- a/code/modules/tgui/tgui.dm +++ b/code/modules/tgui/tgui.dm @@ -1,7 +1,6 @@ -/** - * tgui - * - * /tg/station user interface library +/*! + * Copyright (c) 2020 Aleksej Komarov + * SPDX-License-Identifier: MIT */ /**