aboutsummaryrefslogtreecommitdiff
path: root/project/src/lib-lecode.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--project/src/lib-lecode.h112
1 files changed, 110 insertions, 2 deletions
diff --git a/project/src/lib-lecode.h b/project/src/lib-lecode.h
index f231b85..abe5398 100644
--- a/project/src/lib-lecode.h
+++ b/project/src/lib-lecode.h
@@ -316,6 +316,7 @@ u_sec_t GetRefTimeLECODE ( mem_t lecode );
typedef struct le_lpar_t
{
lpar_mode_t limit_mode; // limit of other params
+ lpar_mode_t new_limit_mode; // scan helper
u16 thcloud_frames; // number of frames a player is small after thundercloud hit
u16 default_online_sec; // default time limit in seconds
@@ -345,7 +346,8 @@ typedef struct le_lpar_t
u8 block_textures; // >0: enable blocking of recent texture hacks
u8 staticr_points; // >0: use points definied by StaticR.rel
u8 use_avail_txt; // unused: // >0: use file "avail.txt" to detect dir "Race/Common/###/"
- u8 cup_icon_size; // size of single cup icon, usually 128 (128x128)
+ u8 cup_icon_size; // size of single cup icon, usually 128 (128x128)
+ u8 slot_04x; // format of slots: 0:%03x, 1:%04x
u8 debug_mode; // debug mode
u8 debug_predef[LEDEB__N_CONFIG];
@@ -1235,9 +1237,115 @@ __attribute__ ((packed)) le_binpar_v1_276_t;
_Static_assert(sizeof(le_binpar_v1_276_t)==0x276,"le_binpar_v1_276_t");
//-----------------------------------------------------------------------------
+// [[le_binpar_v1_277_t]]
+
+typedef struct le_binpar_v1_277_t
+{
+ //--- le_binary_param_t
+
+ /*000*/ char magic[8]; // LE_PARAM_MAGIC ("LPAR")
+ /*008*/ u32 version; // always 1 for v1
+ /*00c*/ u32 size; // size (and minor version)
+ /*010*/ u32 off_eod; // offset of end-of-data
+
+ //--- le_binpar_v1_35_t
+
+ /*014*/ u32 off_cup_par; // offset to cup param
+ /*018*/ u32 off_cup_track; // offset of cup-track list
+ /*01c*/ u32 off_cup_arena; // offset of cup-arena list
+ /*020*/ u32 off_course_par; // offset of course param
+ /*024*/ u32 off_property; // offset of property list
+ /*028*/ u32 off_music; // offset of music list
+ /*02c*/ u32 off_flags; // offset of flags
+
+ /*030*/ u8 engine[3]; // 100cc, 150cc, mirror (sum always 100)
+ /*033*/ u8 enable_200cc; // TRUE: 200C enabled => 150cc, 200cc, mirror
+ /*034*/ u8 enable_perfmon; // >0: performance monitor enabled; >1: for dolphin too
+
+ //--- le_binpar_v1_37_t
+
+ /*035*/ u8 enable_custom_tt; // TRUE: time trial for cusotm tracks enabled
+ /*036*/ u8 enable_xpflags; // TRUE: extended presence flags enabled
+
+ //--- le_binpar_v1_f8_t
+
+ /*037*/ u8 block_track; // block used track for 0.. tracks
+ /*038*/ u16 chat_mode_1[BMG_N_CHAT]; // mode for each chat message
+
+ //--- le_binpar_v1_1b8_t
+
+ /*0f8*/ u16 chat_mode_2[BMG_N_CHAT]; // mode for each chat message
+
+ //--- le_binpar_v1_1bc_t
+
+ /*1b8*/ u8 enable_speedo; // speedometer selection (0..2), see SPEEDO_*
+ /*1b9*/ u8 no_speedo_if_debug; // if bit is set: suppress speedometer
+ /*1ba*/ u8 debug_mode; // debug mode (0..), see DEBUGMD_*
+
+ //--- le_binpar_v1_260_t
+
+ /*1bb*/ u8 item_cheat; // 0:disabled, 1:enabled
+
+ /*1bc*/ u8 debug_predef[LEDEB__N_CONFIG];
+ // information about used predefined mode
+ /*1c0*/ u32 debug[LEDEB__N_CONFIG][LEDEB__N_LINE];
+ // debug line settings, see LEDEB_*
+
+ //--- le_binpar_v1_264_t
+
+ /*260*/ u8 cheat_mode; // 0:off, 1:debug only, 2:allow all
+ /*261*/ u8 drag_blue_shell; // >0: allow dragging of blue shell
+ /*262*/ u16 thcloud_frames; // number of frames a player is small after thundercloud hit
+
+ //--- le_binpar_v1_269_t
+
+ /*264*/ u8 bt_worldwide; // >0: enable worldwide battles
+ /*265*/ u8 vs_worldwide; // >0: enable worldwide versus races
+ /*266*/ u8 bt_textures; // &1: enable texture hacks for battles, &2:alternable
+ /*267*/ u8 vs_textures; // &1: enable texture hacks for versus, &2:alternable
+ /*268*/ u8 block_textures; // >0: enable blocking of recent texture hacks
+
+ //--- le_binpar_v1_26a_t
+
+ /*269*/ u8 staticr_points; // >0: use points definied by StaticR.rel
+
+ //--- le_binpar_v1_270_t
+
+ /*26a*/ u16 default_online_sec; // default time limit in seconds
+ /*26c*/ u16 min_online_sec; // minimal time limit in seconds, that can be set by LEX:SET1
+ /*26e*/ u16 max_online_sec; // maximal time limit in seconds, that can be set by LEX:SET1
+
+ //--- le_binpar_v1_274_t
+
+ /*270*/ u8 developer_modes; // >0: developer settings are recognized and accepted.
+ /*271*/ u8 dev_mode1; // First developer mode
+ /*272*/ u8 dev_mode2; // Second developer mode
+ /*273*/ u8 dev_mode3; // Third developer mode
+
+ //--- le_binpar_v1_275_t
+ // not longer used
+ /*274*/ u8 use_avail_txt; // >0: use file "avail.txt" to detect dir "Race/Common/###/"
+
+ //--- le_binpar_v1_276_t
+
+ /*275*/ u8 cup_icon_size; // Size of single cup icon, usually 128 (128x128)
+
+ //--- le_binpar_v1_277_t
+
+ /*276*/ u8 slot_04x; // format of slots: 0:%03x, 1:%04x
+
+ //--- END
+
+ /*277*/
+}
+__attribute__ ((packed)) le_binpar_v1_277_t;
+
+_Static_assert(sizeof(le_binpar_v1_277_t)==0x277,"le_binpar_v1_277_t");
+
+//-----------------------------------------------------------------------------
// [[le_binpar_v1_t]] [[new-lpar]]
-typedef struct le_binpar_v1_276_t le_binpar_v1_t;
+typedef struct le_binpar_v1_277_t le_binpar_v1_t;
//
///////////////////////////////////////////////////////////////////////////////