aboutsummaryrefslogtreecommitdiff
path: root/project/dclib/lib-bmg.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/dclib/lib-bmg.h
parentbcebc22fa66ccdaf1c8c4e4e3d47a644f87cb342 (diff)
r8226: test mac build
Diffstat (limited to 'project/dclib/lib-bmg.h')
-rw-r--r--[-rwxr-xr-x]project/dclib/lib-bmg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/project/dclib/lib-bmg.h b/project/dclib/lib-bmg.h
index 9ab5967..590d93b 100755..100644
--- a/project/dclib/lib-bmg.h
+++ b/project/dclib/lib-bmg.h
@@ -48,6 +48,7 @@
#define BMG_ATTRIB_BUF_SIZE (10+4*BMG_ATTRIB_SIZE) // good buf size for attrib string
#define BMG_INF_MAX_SIZE (4+BMG_ATTRIB_SIZE) // max supported inf size
#define BMG_INF_LIMIT 1000 // max allowed inf size
+#define BMG_LEGACY_BLOCK_SIZE 32 // block size for legacy files
// [[xbuf]]
#define BMG_MSG_BUF_SIZE 20050 // good buf size for messages
@@ -772,6 +773,7 @@ typedef struct bmg_t
bmg_encoding_t encoding; // type of encoding
uint inf_size; // size of each 'inf' element
bool have_mid; // TRUE: enable MID1 creation
+ bool legacy; // TRUE: legacy (GameCube) mode enabled
u8 attrib[BMG_ATTRIB_SIZE];// attribute buffer for defaults
u16 attrib_used; // used size of 'attrib', ALIGN(4)
u8 use_color_names; // 0:off, 1:auto, 2:on