-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into breachershotgun
- Loading branch information
Showing
1,059 changed files
with
73,392 additions
and
61,700 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,13 @@ | ||
#undef ASSERT | ||
|
||
/// Override BYOND's native ASSERT to optionally specify a message | ||
#define ASSERT(condition, message...) \ | ||
if (!(condition)) { \ | ||
CRASH(assertion_message(__FILE__, __LINE__, #condition, ##message)) \ | ||
} | ||
|
||
/proc/assertion_message(file, line, condition, message) | ||
if (!isnull(message)) | ||
message = " - [message]" | ||
|
||
return "[file]:[line]:Assertion failed: [condition][message]" |
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,26 @@ | ||
/// (charge_amount) | ||
#define COMSIG_CELL_USE_CHARGE "cell_use_charge" | ||
#define COMPONENT_CELL_NO_USE_CHARGE (1<<0) | ||
|
||
/// (charge_amount) | ||
#define COMSIG_CELL_ADD_CHARGE "cell_add_charge" | ||
|
||
#define COMSIG_CELL_START_TICK_DRAIN "cell_start_tick_drain" | ||
|
||
#define COMSIG_CELL_STOP_TICK_DRAIN "cell_stop_tick_drain" | ||
|
||
/// (mob/living/user) | ||
#define COMSIG_CELL_TRY_RECHARGING "cell_try_recharging" | ||
#define COMPONENT_CELL_NO_RECHARGE (1<<0) | ||
|
||
#define COMSIG_CELL_OUT_OF_CHARGE "cell_out_of_charge" | ||
|
||
/// (charge_amount) | ||
#define COMSIG_CELL_CHECK_CHARGE "cell_check_charge" | ||
#define COMPONENT_CELL_CHARGE_INSUFFICIENT (1<<0) | ||
|
||
#define COMSIG_CELL_TRY_INSERT_CELL "cell_try_insert_cell" | ||
#define COMPONENT_CANCEL_CELL_INSERT (1<<0) | ||
|
||
/// (mob/living/user) | ||
#define COMSIG_CELL_REMOVE_CELL "cell_remove_cell" |
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,13 @@ | ||
#define EVACUATION_TYPE_NONE 0 | ||
#define EVACUATION_TYPE_ADDITIVE 1 | ||
#define EVACUATION_TYPE_MULTIPLICATIVE 2 | ||
|
||
#define HIJACK_ANNOUNCE "ARES Emergency Procedures" | ||
#define XENO_HIJACK_ANNOUNCE "You sense something unusual..." | ||
|
||
#define EVACUATION_STATUS_NOT_INITIATED 0 | ||
#define EVACUATION_STATUS_INITIATED 1 | ||
|
||
#define HIJACK_OBJECTIVES_NOT_STARTED 0 | ||
#define HIJACK_OBJECTIVES_STARTED 1 | ||
#define HIJACK_OBJECTIVES_COMPLETE 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
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.