forked from Bubberstation/Bubberstation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MISSED MIRROR [Lints Against Unmanaged Local Defines] (#20204)
* tgstation/tgstation#74333 https: //github.com/tgstation/tgstation/pull/74333 Co-Authored-By: tattle <[email protected]> * var stuff Co-Authored-By: tattle <[email protected]> * vars * Update sol_fed.dm --------- Co-authored-by: tattle <[email protected]>
- Loading branch information
1 parent
16e9175
commit e4b4d4d
Showing
248 changed files
with
1,068 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#define BAD_INIT_QDEL_BEFORE 1 | ||
#define BAD_INIT_DIDNT_INIT 2 | ||
#define BAD_INIT_SLEPT 4 | ||
#define BAD_INIT_NO_HINT 8 | ||
|
||
#ifdef PROFILE_MAPLOAD_INIT_ATOM | ||
#define PROFILE_INIT_ATOM_BEGIN(...) var/__profile_stat_time = TICK_USAGE | ||
#define PROFILE_INIT_ATOM_END(atom) mapload_init_times[##atom.type] += TICK_USAGE_TO_MS(__profile_stat_time) | ||
#else | ||
#define PROFILE_INIT_ATOM_BEGIN(...) | ||
#define PROFILE_INIT_ATOM_END(...) | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Airlock light states, used for generating the light overlays | ||
#define AIRLOCK_LIGHT_BOLTS "bolts" | ||
#define AIRLOCK_LIGHT_EMERGENCY "emergency" | ||
#define AIRLOCK_LIGHT_DENIED "denied" | ||
#define AIRLOCK_LIGHT_CLOSING "closing" | ||
#define AIRLOCK_LIGHT_OPENING "opening" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Used to edit areas. | ||
#define AREA_ERRNONE 0 | ||
#define AREA_STATION 1 | ||
#define AREA_SPACE 2 | ||
#define AREA_SPECIAL 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/// You hit exhaustion when you use 100 stamina | ||
#define STAMINA_COST_SHOOTING 10 //! shooting with RMB drains stamina (but LMB does not) | ||
#define STAMINA_COST_DUNKING 20 //! dunking is more strenous than shooting | ||
#define STAMINA_COST_DUNKING_MOB 30 //! dunking another person is harder | ||
#define STAMINA_COST_SPINNING 15 //! spin emote uses stamina while holding ball | ||
#define STAMINA_COST_DISARMING 10 //! getting shoved or disarmed while holding ball drains stamina |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// We only want chunk sizes that are to the power of 2. E.g: 2, 4, 8, 16, etc.. | ||
#define CHUNK_SIZE 16 | ||
/// Takes a position, transforms it into a chunk bounded position. Indexes at 1 so it'll land on actual turfs always | ||
#define GET_CHUNK_COORD(v) (max((FLOOR(v, CHUNK_SIZE)), 1)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/// The duration of the fakedeath coma. | ||
#define LING_FAKEDEATH_TIME (40 SECONDS) | ||
/// The number of recent spoken lines to gain on absorbing a mob | ||
#define LING_ABSORB_RECENT_SPEECH 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
///If the machine is used/deleted in the crafting process | ||
#define CRAFTING_MACHINERY_CONSUME 1 | ||
///If the structure is used/deleted in the crafting process | ||
#define CRAFTING_STRUCTURE_CONSUME 1 | ||
///If the machine is only "used" i.e. it checks to see if it's nearby and allows crafting, but doesn't delete it | ||
#define CRAFTING_MACHINERY_USE 0 | ||
///If the structure is only "used" i.e. it checks to see if it's nearby and allows crafting, but doesn't delete it | ||
#define CRAFTING_STRUCTURE_USE 0 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
///Will execute a single command after the cooldown based on player votes. | ||
#define DEMOCRACY_MODE (1<<0) | ||
///Allows each player to do a single command every cooldown. | ||
#define ANARCHY_MODE (1<<1) | ||
///Mutes the democracy mode messages send to orbiters at the end of each cycle. Useful for when the cooldown is so low it'd get spammy. | ||
#define MUTE_DEMOCRACY_MESSAGES (1<<2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#define HOLOPAD_MAX_DIAL_TIME 200 | ||
|
||
#define HOLORECORD_DELAY "delay" | ||
#define HOLORECORD_SAY "say" | ||
#define HOLORECORD_SOUND "sound" | ||
#define HOLORECORD_LANGUAGE "lang" | ||
#define HOLORECORD_PRESET "preset" | ||
#define HOLORECORD_RENAME "rename" | ||
|
||
#define HOLORECORD_MAX_LENGTH 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/// If an object needs to be rotated with a wrench | ||
#define ROTATION_REQUIRE_WRENCH (1<<0) | ||
/// If ghosts can rotate an object (if the ghost config is enabled) | ||
#define ROTATION_GHOSTS_ALLOWED (1<<1) | ||
/// If an object will ignore anchored for rotation (used for chairs) | ||
#define ROTATION_IGNORE_ANCHORED (1<<2) | ||
/// If an object will omit flipping from rotation (used for pipes since they use custom handling) | ||
#define ROTATION_NO_FLIPPING (1<<3) | ||
/// If an object needs to have an empty spot available in target direction (used for windoors and railings) | ||
#define ROTATION_NEEDS_ROOM (1<<4) | ||
|
||
/// Rotate an object clockwise | ||
#define ROTATION_CLOCKWISE -90 | ||
/// Rotate an object counterclockwise | ||
#define ROTATION_COUNTERCLOCKWISE 90 | ||
/// Rotate an object upside down | ||
#define ROTATION_FLIP 180 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#define PUNISHMENT_MURDER "murder" | ||
#define PUNISHMENT_GIB "gib" | ||
#define PUNISHMENT_TELEPORT "teleport" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#define MAX_EMAG_ROCKETS 5 | ||
#define BEACON_COST 500 | ||
#define SP_LINKED 1 | ||
#define SP_READY 2 | ||
#define SP_LAUNCH 3 | ||
#define SP_UNLINK 4 | ||
#define SP_UNREADY 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
//A reference to this list is passed into area sound managers, and it's modified in a manner that preserves that reference in ash_storm.dm | ||
GLOBAL_LIST_EMPTY(ash_storm_sounds) | ||
|
||
#define STARTUP_STAGE 1 | ||
#define MAIN_STAGE 2 | ||
#define WIND_DOWN_STAGE 3 | ||
#define END_STAGE 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -578,3 +578,6 @@ | |
return TRUE | ||
|
||
return FALSE | ||
|
||
#undef MAX_SAFE_BYOND_ICON_SCALE_TILES | ||
#undef MAX_SAFE_BYOND_ICON_SCALE_PX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -180,3 +180,6 @@ | |
..() | ||
drag_start = 0 | ||
drag_details = null | ||
|
||
#undef LENIENCY_DISTANCE | ||
#undef LENIENCY_TIME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.