liblcf
lsd_chunks.h
Go to the documentation of this file.
1 /* !!!! GENERATED FILE - DO NOT EDIT !!!!
2  * --------------------------------------
3  *
4  * This file is part of liblcf. Copyright (c) 2020 liblcf authors.
5  * https://github.com/EasyRPG/liblcf - https://easyrpg.org
6  *
7  * liblcf is Free/Libre Open Source Software, released under the MIT License.
8  * For the full copyright and license information, please view the COPYING
9  * file that was distributed with this source code.
10  */
11 
12 #ifndef LCF_LSD_CHUNKS_H
13 #define LCF_LSD_CHUNKS_H
14 
18 namespace LSD_Reader {
19  struct ChunkSaveTitle {
20  enum Index {
22  timestamp = 0x01,
24  hero_name = 0x0B,
26  hero_level = 0x0C,
28  hero_hp = 0x0D,
30  face1_name = 0x15,
32  face1_id = 0x16,
34  face2_name = 0x17,
36  face2_id = 0x18,
38  face3_name = 0x19,
40  face3_id = 0x1A,
42  face4_name = 0x1B,
44  face4_id = 0x1C
45  };
46  };
47  struct ChunkSaveSystem {
48  enum Index {
50  scene = 0x01,
52  frame_count = 0x0B,
54  graphics_name = 0x15,
58  font_id = 0x17,
60  switches_size = 0x1F,
62  switches = 0x20,
66  variables = 0x22,
76  face_name = 0x33,
78  face_id = 0x34,
80  face_right = 0x35,
82  face_flip = 0x36,
88  title_music = 0x47,
90  battle_music = 0x48,
94  inn_music = 0x4A,
96  current_music = 0x4B,
102  stored_music = 0x4E,
104  boat_music = 0x4F,
106  ship_music = 0x50,
112  cursor_se = 0x5B,
114  decision_se = 0x5C,
116  cancel_se = 0x5D,
118  buzzer_se = 0x5E,
120  battle_se = 0x5F,
122  escape_se = 0x60,
130  dodge_se = 0x64,
134  item_se = 0x66,
152  save_allowed = 0x7B,
154  menu_allowed = 0x7C,
156  background = 0x7D,
158  save_count = 0x83,
160  save_slot = 0x84,
162  atb_mode = 0x8C
163  };
164  };
166  enum Index {
188  flash_red = 0x15,
190  flash_green = 0x16,
192  flash_blue = 0x17,
202  shake_speed = 0x20,
210  pan_x = 0x29,
212  pan_y = 0x2A,
224  weather = 0x30,
226  weather_strength = 0x31
227  };
228  };
230  enum Index {
232  name = 0x01,
234  start_x = 0x02,
236  start_y = 0x03,
238  current_x = 0x04,
240  current_y = 0x05,
242  fixed_to_map = 0x06,
250  current_red = 0x0B,
254  current_blue = 0x0D,
256  current_sat = 0x0E,
258  effect_mode = 0x0F,
272  frames = 0x17,
276  map_layer = 0x19,
278  battle_layer = 0x1A,
280  flags = 0x1B,
282  finish_x = 0x1F,
284  finish_y = 0x20,
292  finish_red = 0x29,
294  finish_green = 0x2A,
296  finish_blue = 0x2B,
298  finish_sat = 0x2C,
302  time_left = 0x33,
306  current_waver = 0x35
307  };
308  };
310  enum Index {
312  active = 0x01,
314  map_id = 0x0B,
316  position_x = 0x0C,
318  position_y = 0x0D,
320  direction = 0x15,
324  anim_frame = 0x17,
326  transparency = 0x18,
332  layer = 0x21,
338  lock_facing = 0x24,
340  move_speed = 0x25,
342  move_route = 0x29,
354  anim_paused = 0x30,
356  through = 0x33,
358  stop_count = 0x34,
360  anim_count = 0x35,
364  jumping = 0x3D,
366  begin_jump_x = 0x3E,
368  begin_jump_y = 0x3F,
370  pause = 0x47,
372  flying = 0x48,
374  sprite_name = 0x49,
376  sprite_id = 0x4A,
378  processed = 0x4B,
380  flash_red = 0x51,
382  flash_green = 0x52,
384  flash_blue = 0x53,
390  boarding = 0x65,
392  aboard = 0x66,
394  vehicle = 0x67,
396  unboarding = 0x68,
400  menu_calling = 0x6C,
402  pan_state = 0x6F,
408  pan_finish_x = 0x72,
410  pan_finish_y = 0x73,
412  pan_speed = 0x79,
420  database_save_count = 0x84
421  };
422  };
424  enum Index {
426  active = 0x01,
428  map_id = 0x0B,
430  position_x = 0x0C,
432  position_y = 0x0D,
434  direction = 0x15,
438  anim_frame = 0x17,
440  transparency = 0x18,
446  layer = 0x21,
452  lock_facing = 0x24,
454  move_speed = 0x25,
456  move_route = 0x29,
468  anim_paused = 0x30,
470  through = 0x33,
472  stop_count = 0x34,
474  anim_count = 0x35,
478  jumping = 0x3D,
480  begin_jump_x = 0x3E,
482  begin_jump_y = 0x3F,
484  pause = 0x47,
486  flying = 0x48,
488  sprite_name = 0x49,
490  sprite_id = 0x4A,
492  processed = 0x4B,
494  flash_red = 0x51,
496  flash_green = 0x52,
498  flash_blue = 0x53,
504  vehicle = 0x65,
512  orig_sprite_id = 0x70
513  };
514  };
515  struct ChunkSaveActor {
516  enum Index {
518  name = 0x01,
520  title = 0x02,
522  sprite_name = 0x0B,
524  sprite_id = 0x0C,
526  transparency = 0x0D,
528  face_name = 0x15,
530  face_id = 0x16,
532  level = 0x1F,
534  exp = 0x20,
536  hp_mod = 0x21,
538  sp_mod = 0x22,
540  attack_mod = 0x29,
542  defense_mod = 0x2A,
544  spirit_mod = 0x2B,
546  agility_mod = 0x2C,
548  skills_size = 0x33,
550  skills = 0x34,
552  equipped = 0x3D,
554  current_hp = 0x47,
556  current_sp = 0x48,
560  status_size = 0x51,
562  status = 0x52,
566  class_id = 0x5A,
568  row = 0x5B,
570  two_weapon = 0x5C,
574  auto_battle = 0x5E,
576  super_guard = 0x5F,
578  battler_animation = 0x60
579  };
580  };
582  enum Index {
584  party_size = 0x01,
586  party = 0x02,
590  item_ids = 0x0C,
592  item_counts = 0x0D,
594  item_usage = 0x0E,
596  gold = 0x15,
614  battles = 0x20,
616  defeats = 0x21,
618  escapes = 0x22,
620  victories = 0x23,
622  turns = 0x29,
624  steps = 0x2A
625  };
626  };
628  enum Index {
630  map_id = 0x01,
632  map_x = 0x02,
634  map_y = 0x03,
636  switch_on = 0x04,
638  switch_id = 0x05
639  };
640  };
642  enum Index {
646  commands = 0x02,
650  event_id = 0x0C,
656  subcommand_path = 0x16
657  };
658  };
660  enum Index {
662  stack = 0x01,
664  show_message = 0x04,
690  wait_time = 0x1F,
704  wait_key_enter = 0x2A
705  };
706  };
708  enum Index {
710  active = 0x01,
712  map_id = 0x0B,
714  position_x = 0x0C,
716  position_y = 0x0D,
718  direction = 0x15,
722  anim_frame = 0x17,
724  transparency = 0x18,
730  layer = 0x21,
736  lock_facing = 0x24,
738  move_speed = 0x25,
740  move_route = 0x29,
752  anim_paused = 0x30,
754  through = 0x33,
756  stop_count = 0x34,
758  anim_count = 0x35,
762  jumping = 0x3D,
764  begin_jump_x = 0x3E,
766  begin_jump_y = 0x3F,
768  pause = 0x47,
770  flying = 0x48,
772  sprite_name = 0x49,
774  sprite_id = 0x4A,
776  processed = 0x4B,
778  flash_red = 0x51,
780  flash_green = 0x52,
782  flash_blue = 0x53,
786  flash_time_left = 0x55
787  };
788  };
790  enum Index {
792  active = 0x01,
794  map_id = 0x0B,
796  position_x = 0x0C,
798  position_y = 0x0D,
800  direction = 0x15,
804  anim_frame = 0x17,
806  transparency = 0x18,
812  layer = 0x21,
818  lock_facing = 0x24,
820  move_speed = 0x25,
822  move_route = 0x29,
834  anim_paused = 0x30,
836  through = 0x33,
838  stop_count = 0x34,
840  anim_count = 0x35,
844  jumping = 0x3D,
846  begin_jump_x = 0x3E,
848  begin_jump_y = 0x3F,
850  pause = 0x47,
852  flying = 0x48,
854  sprite_name = 0x49,
856  sprite_id = 0x4A,
858  processed = 0x4B,
860  flash_red = 0x51,
862  flash_green = 0x52,
864  flash_blue = 0x53,
877  };
878  };
880  enum Index {
882  position_x = 0x01,
884  position_y = 0x02,
888  chipset_id = 0x05,
890  events = 0x0B,
892  lower_tiles = 0x15,
894  upper_tiles = 0x16,
908  parallax_vert_speed = 0x26
909  };
910  };
912  enum Index {
915  };
916  };
918  enum Index {
920  pan_x = 0x01,
922  pan_y = 0x02
923  };
924  };
925  struct ChunkSave {
926  enum Index {
928  title = 0x64,
930  system = 0x65,
932  screen = 0x66,
934  pictures = 0x67,
944  actors = 0x6C,
946  inventory = 0x6D,
948  targets = 0x6E,
950  map_info = 0x6F,
952  panorama = 0x70,
958  easyrpg_data = 0xC8
959  };
960  };
962  enum Index {
964  version = 0x01
965  };
966  };
967 }
968 
969 #endif