Moves topic return value defines to where they are usable everywhere.

This commit is contained in:
Leshana
2020-04-01 20:36:00 -04:00
parent 896c2bf6b8
commit 23482e88fa
2 changed files with 7 additions and 6 deletions

View File

@@ -129,6 +129,13 @@
//Area flags, possibly more to come //Area flags, possibly more to come
#define RAD_SHIELDED 1 //shielded from radiation, clearly #define RAD_SHIELDED 1 //shielded from radiation, clearly
// OnTopic return values
#define TOPIC_NOACTION 0
#define TOPIC_HANDLED 1
#define TOPIC_REFRESH 2
#define TOPIC_UPDATE_PREVIEW 4
#define TOPIC_REFRESH_UPDATE_PREVIEW (TOPIC_REFRESH|TOPIC_UPDATE_PREVIEW)
// Convoluted setup so defines can be supplied by Bay12 main server compile script. // Convoluted setup so defines can be supplied by Bay12 main server compile script.
// Should still work fine for people jamming the icons into their repo. // Should still work fine for people jamming the icons into their repo.
#ifndef CUSTOM_ITEM_OBJ #ifndef CUSTOM_ITEM_OBJ

View File

@@ -1,9 +1,3 @@
#define TOPIC_NOACTION 0
#define TOPIC_HANDLED 1
#define TOPIC_REFRESH 2
#define TOPIC_UPDATE_PREVIEW 4
#define TOPIC_REFRESH_UPDATE_PREVIEW (TOPIC_REFRESH|TOPIC_UPDATE_PREVIEW)
#define PREF_FBP_CYBORG "cyborg" #define PREF_FBP_CYBORG "cyborg"
#define PREF_FBP_POSI "posi" #define PREF_FBP_POSI "posi"
#define PREF_FBP_SOFTWARE "software" #define PREF_FBP_SOFTWARE "software"