aboutsummaryrefslogtreecommitdiff
path: root/project/src/lib-szs.h
diff options
context:
space:
mode:
authorWiimm <none>2020-07-27 08:47:13 +0200
committerWiimm <none>2020-07-27 08:47:13 +0200
commitff8c6fcdb1661b2243ec11f5d54378492e86a5d5 (patch)
tree51a5687dc70c5bcc4ce0e6205f9c5cd92691bba0 /project/src/lib-szs.h
parentbcebc22fa66ccdaf1c8c4e4e3d47a644f87cb342 (diff)
r8226: test mac build
Diffstat (limited to '')
-rw-r--r--project/src/lib-szs.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/project/src/lib-szs.h b/project/src/lib-szs.h
index fbdad30..a9561c4 100644
--- a/project/src/lib-szs.h
+++ b/project/src/lib-szs.h
@@ -708,6 +708,20 @@ static inline ccp GetNameFF_SZScurrent ( const szs_file_t *szs )
}
//-----------------------------------------------------------------------------
+// [[slot_ana_t]]
+
+typedef struct slot_ana_t
+{
+ int stat; // result of FindSlotsSZS() : -1, 0 or +1
+ int slot[MKW_N_TRACKS]; // set by FindSlotsSZS()
+ int required_slot; // set by FindSlotsSZS()
+
+ char mandatory_slot[6]; // empty | "arena" | "31+71" | "61" | "62"
+ char slot_info[30]; // slot info text
+}
+slot_ana_t;
+
+//-----------------------------------------------------------------------------
int FindSlotsSZS
(
@@ -718,12 +732,14 @@ int FindSlotsSZS
// -1: slot not possible
// 0: unknown
// +1: slot possible
- bool *res_special // not NULL: return TRUE, if an other slot
- // than 4.2|6.1|6.2 is needed
+ int *required_slot // if not NULL: return 0|31|61|62
+ // 31 is an alias for "31+71"
);
-ccp CreateSlotInfo ( szs_file_t * szs );
-ccp CreateBriefSlotInfo ( szs_file_t * szs );
+void AnalyzeSlot ( slot_ana_t *sa, szs_file_t *szs );
+
+// return temporary string by GetCircBuf()
+ccp CreateSlotInfo ( szs_file_t *szs );
//-----------------------------------------------------------------------------