mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Moves topic return value defines to where they are usable everywhere.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user