diff --git a/generator/csv/fields_easyrpg.csv b/generator/csv/fields_easyrpg.csv index 2b1b1f6e..502bc28e 100644 --- a/generator/csv/fields_easyrpg.csv +++ b/generator/csv/fields_easyrpg.csv @@ -27,6 +27,8 @@ SaveEasyRpgText,font_size,f,Int32,0x05,12,0,0,Font size SaveEasyRpgText,letter_spacing,f,Int32,0x06,0,0,0,Additional spacing between letters SaveEasyRpgText,line_spacing,f,Int32,0x07,4,0,0,Additional spacing between lines SaveEasyRpgText,flags,f,SaveEasyRpgText_Flags,0x08,3,0,0,Various text settings +SavePartyLocation,maniac_horizontal_pan_speed,f,Double,0x8D,0,0,0,horizontal speed in the scrolls of the screen. +SavePartyLocation,maniac_vertical_pan_speed,f,Double,0x8E,0,0,0,vertical speed in the scrolls of the screen. SaveSystem,maniac_strings,f,Vector,0x24,,0,0,rpg::Strings SaveSystem,maniac_frameskip,,Int32,0x88,0,0,0,"FatalMix Frameskip (0=None, 1=1/5, 2=1/3, 3=1/2)" SaveSystem,maniac_picture_limit,,Int32,0x89,0,0,0,FatalMix Picture Limit diff --git a/src/generated/lcf/lsd/chunks.h b/src/generated/lcf/lsd/chunks.h index 443aa2c1..6d1f7456 100644 --- a/src/generated/lcf/lsd/chunks.h +++ b/src/generated/lcf/lsd/chunks.h @@ -439,7 +439,11 @@ namespace LSD_Reader { /** Mirrors save_count of current map. On mismatch events are not continued after load. */ map_save_count = 0x83, /** ? */ - database_save_count = 0x84 + database_save_count = 0x84, + /** horizontal speed in the scrolls of the screen. */ + maniac_horizontal_pan_speed = 0x8D, + /** vertical speed in the scrolls of the screen. */ + maniac_vertical_pan_speed = 0x8E }; }; struct ChunkSaveVehicleLocation { diff --git a/src/generated/lcf/rpg/savepartylocation.h b/src/generated/lcf/rpg/savepartylocation.h index 06f8d687..c97dcec3 100644 --- a/src/generated/lcf/rpg/savepartylocation.h +++ b/src/generated/lcf/rpg/savepartylocation.h @@ -71,6 +71,8 @@ namespace rpg { bool encounter_calling = false; int32_t map_save_count = 0; int32_t database_save_count = 0; + double maniac_horizontal_pan_speed = 0.0; + double maniac_vertical_pan_speed = 0.0; }; inline std::ostream& operator<<(std::ostream& os, SavePartyLocation::VehicleType code) { os << static_cast>(code); @@ -97,7 +99,9 @@ namespace rpg { && l.total_encounter_rate == r.total_encounter_rate && l.encounter_calling == r.encounter_calling && l.map_save_count == r.map_save_count - && l.database_save_count == r.database_save_count; + && l.database_save_count == r.database_save_count + && l.maniac_horizontal_pan_speed == r.maniac_horizontal_pan_speed + && l.maniac_vertical_pan_speed == r.maniac_vertical_pan_speed; } inline bool operator!=(const SavePartyLocation& l, const SavePartyLocation& r) { diff --git a/src/generated/lsd_savepartylocation.cpp b/src/generated/lsd_savepartylocation.cpp index fd8d572b..e88749be 100644 --- a/src/generated/lsd_savepartylocation.cpp +++ b/src/generated/lsd_savepartylocation.cpp @@ -405,6 +405,20 @@ static TypedField static_database_save_count( 0, 0 ); +static TypedField static_maniac_horizontal_pan_speed( + &rpg::SavePartyLocation::maniac_horizontal_pan_speed, + LSD_Reader::ChunkSavePartyLocation::maniac_horizontal_pan_speed, + "maniac_horizontal_pan_speed", + 0, + 0 +); +static TypedField static_maniac_vertical_pan_speed( + &rpg::SavePartyLocation::maniac_vertical_pan_speed, + LSD_Reader::ChunkSavePartyLocation::maniac_vertical_pan_speed, + "maniac_vertical_pan_speed", + 0, + 0 +); template <> @@ -464,6 +478,8 @@ Field const* Struct::fields[] = &static_encounter_calling, &static_map_save_count, &static_database_save_count, + &static_maniac_horizontal_pan_speed, + &static_maniac_vertical_pan_speed, NULL }; diff --git a/src/generated/rpg_savepartylocation.cpp b/src/generated/rpg_savepartylocation.cpp index 6a64e5b1..a570ab37 100644 --- a/src/generated/rpg_savepartylocation.cpp +++ b/src/generated/rpg_savepartylocation.cpp @@ -36,6 +36,8 @@ std::ostream& operator<<(std::ostream& os, const SavePartyLocation& obj) { os << ", encounter_calling="<< obj.encounter_calling; os << ", map_save_count="<< obj.map_save_count; os << ", database_save_count="<< obj.database_save_count; + os << ", maniac_horizontal_pan_speed="<< obj.maniac_horizontal_pan_speed; + os << ", maniac_vertical_pan_speed="<< obj.maniac_vertical_pan_speed; os << "}"; return os; }