forked from NebulaSS13/Nebula
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from MistakeNot4892/heckinseccin
Fixing up Crux level 2 disposals, repathing areas.
- Loading branch information
Showing
1,093 changed files
with
26,008 additions
and
20,906 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#define REQUIRED_DM_VERSION 514 | ||
|
||
#if DM_VERSION < REQUIRED_DM_VERSION | ||
#warn Nebula is not tested on BYOND versions older than 514. The code may not compile, and if it does compile it may have severe problems. | ||
#endif | ||
|
||
// 515 split call for external libraries into call_ext | ||
#if DM_VERSION < 515 | ||
#define LIBCALL call | ||
#else | ||
#define LIBCALL call_ext | ||
#endif | ||
|
||
// So we want to have compile time guarantees these methods exist on local type, unfortunately 515 killed the .proc/procname and .verb/verbname syntax so we have to use nameof() | ||
// For the record: GLOBAL_VERB_REF would be useless as verbs can't be global. | ||
|
||
#if DM_VERSION < 515 | ||
|
||
/// Call by name proc references, checks if the proc exists on either this type or as a global proc. | ||
#define PROC_REF(X) (.proc/##X) | ||
/// Call by name verb references, checks if the verb exists on either this type or as a global verb. | ||
#define VERB_REF(X) (.verb/##X) | ||
|
||
/// Call by name proc reference, checks if the proc exists on either the given type or as a global proc | ||
#define TYPE_PROC_REF(TYPE, X) (##TYPE.proc/##X) | ||
/// Call by name verb reference, checks if the verb exists on either the given type or as a global verb | ||
#define TYPE_VERB_REF(TYPE, X) (##TYPE.verb/##X) | ||
|
||
/// Call by name proc reference, checks if the proc is an existing global proc | ||
#define GLOBAL_PROC_REF(X) (/proc/##X) | ||
|
||
#else | ||
|
||
/// Call by name proc references, checks if the proc exists on either this type or as a global proc. | ||
#define PROC_REF(X) (nameof(.proc/##X)) | ||
/// Call by name verb references, checks if the verb exists on either this type or as a global verb. | ||
#define VERB_REF(X) (nameof(.verb/##X)) | ||
|
||
/// Call by name proc reference, checks if the proc exists on either the given type or as a global proc | ||
#define TYPE_PROC_REF(TYPE, X) (nameof(##TYPE.proc/##X)) | ||
/// Call by name verb reference, checks if the verb exists on either the given type or as a global verb | ||
#define TYPE_VERB_REF(TYPE, X) (nameof(##TYPE.verb/##X)) | ||
|
||
/// Call by name proc reference, checks if the proc is an existing global proc | ||
#define GLOBAL_PROC_REF(X) (/proc/##X) | ||
|
||
#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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
// The default value for all uses of set background. Set background can cause gradual lag and is recommended you only turn this on if necessary. | ||
// 1 will enable set background. 0 will disable set background. | ||
#define BACKGROUND_ENABLED 0 | ||
|
||
#define REQUIRED_DM_VERSION 514 | ||
|
||
#if DM_VERSION < REQUIRED_DM_VERSION | ||
#warn Nebula is not tested on BYOND versions older than 514. The code may not compile, and if it does compile it may have severe problems. | ||
#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
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,5 @@ | ||
#define REACTION_TYPE_PHARMACEUTICAL 1 | ||
#define REACTION_TYPE_ALLOYING 2 | ||
#define REACTION_TYPE_COMPOUND 3 | ||
#define REACTION_TYPE_SYNTHESIS 4 | ||
#define REACTION_TYPE_RECIPE 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
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
Oops, something went wrong.