liblcf
Loading...
Searching...
No Matches
ldb_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_LDB_CHUNKS_H
13#define LCF_LDB_CHUNKS_H
14
18namespace LDB_Reader {
20 enum Index {
22 level = 0x01,
24 skill_id = 0x02
25 };
26 };
27 struct ChunkActor {
28 enum Index {
30 name = 0x01,
32 title = 0x02,
48 face_name = 0x0F,
50 face_index = 0x10,
52 two_weapon = 0x15,
60 parameters = 0x1F,
62 exp_base = 0x29,
72 class_id = 0x39,
74 battle_x = 0x3B,
76 battle_y = 0x3C,
80 skills = 0x3F,
84 skill_name = 0x43,
94 battle_commands = 0x50
95 };
96 };
97 struct ChunkSound {
98 enum Index {
100 name = 0x01,
102 volume = 0x03,
104 tempo = 0x04,
106 balance = 0x05
107 };
108 };
110 enum Index {
112 frame = 0x01,
114 se = 0x02,
118 flash_red = 0x04,
126 screen_shake = 0x08
127 };
128 };
130 enum Index {
132 valid = 0x01,
134 cell_id = 0x02,
136 x = 0x03,
138 y = 0x04,
140 zoom = 0x05,
142 tone_red = 0x06,
146 tone_blue = 0x08,
148 tone_gray = 0x09,
150 transparency = 0x0A
151 };
152 };
154 enum Index {
156 cells = 0x01
157 };
158 };
160 enum Index {
162 name = 0x01,
166 large = 0x03,
168 timings = 0x06,
170 scope = 0x09,
172 position = 0x0A,
174 frames = 0x0C
175 };
176 };
178 enum Index {
180 name = 0x01,
182 type = 0x02,
184 a_rate = 0x0B,
186 b_rate = 0x0C,
188 c_rate = 0x0D,
190 d_rate = 0x0E,
192 e_rate = 0x0F
193 };
194 };
196 enum Index {
198 name = 0x01,
200 type = 0x02
201 };
202 };
204 enum Index {
206 placement = 0x02,
210 row = 0x06,
216 commands = 0x0A,
235 };
236 };
238 enum Index {
240 name = 0x01,
248 animation_id = 0x05
249 };
250 };
252 enum Index {
254 name = 0x01,
256 speed = 0x02,
258 base_data = 0x0A,
260 weapon_data = 0x0B
261 };
262 };
264 enum Index {
266 move = 0x05,
270 pose = 0x0E
271 };
272 };
274 enum Index {
276 name = 0x01,
288 animation_speed = 0x0C
289 };
290 };
291 struct ChunkClass {
292 enum Index {
294 name = 0x01,
306 exp_base = 0x29,
314 skills = 0x3F,
324 battle_commands = 0x50
325 };
326 };
328 enum Index {
330 name = 0x01,
332 trigger = 0x0B,
336 switch_id = 0x0D,
340 event_commands = 0x16
341 };
342 };
343 struct ChunkSkill {
344 enum Index {
346 name = 0x01,
356 type = 0x08,
358 sp_type = 0x09,
362 sp_cost = 0x0B,
364 scope = 0x0C,
366 switch_id = 0x0D,
382 variance = 0x17,
384 power = 0x18,
386 hit = 0x19,
388 affect_hp = 0x1F,
390 affect_sp = 0x20,
417 };
418 };
420 enum Index {
422 type = 0x03,
426 movement = 0x05,
430 attacks = 0x07,
432 ranged = 0x08,
438 battle_anim = 0x0D
439 };
440 };
441 struct ChunkItem {
442 enum Index {
444 name = 0x01,
448 type = 0x03,
450 price = 0x05,
452 uses = 0x06,
464 sp_cost = 0x10,
466 hit = 0x11,
488 cursed = 0x1D,
502 ko_only = 0x26,
518 skill_id = 0x35,
520 switch_id = 0x37,
528 actor_set = 0x3E,
532 state_set = 0x40,
546 use_skill = 0x47,
550 class_set = 0x49,
554 ranged_target = 0x4C
555 };
556 };
558 enum Index {
560 kind = 0x01,
562 basic = 0x02,
564 skill_id = 0x03,
566 enemy_id = 0x04,
574 switch_id = 0x08,
576 switch_on = 0x09,
584 rating = 0x0D
585 };
586 };
587 struct ChunkEnemy {
588 enum Index {
590 name = 0x01,
596 max_hp = 0x04,
598 max_sp = 0x05,
600 attack = 0x06,
602 defense = 0x07,
604 spirit = 0x08,
606 agility = 0x09,
610 exp = 0x0B,
612 gold = 0x0C,
614 drop_id = 0x0D,
616 drop_prob = 0x0E,
622 miss = 0x1A,
624 levitate = 0x1C,
634 actions = 0x2A
635 };
636 };
638 enum Index {
640 enemy_id = 0x01,
642 x = 0x02,
644 y = 0x03,
646 invisible = 0x04
647 };
648 };
650 enum Index {
652 flags = 0x01,
662 turn_a = 0x06,
664 turn_b = 0x07,
670 enemy_id = 0x0A,
676 actor_id = 0x0D,
696 command_id = 0x17
697 };
698 };
700 enum Index {
702 condition = 0x02,
706 event_commands = 0x0C
707 };
708 };
709 struct ChunkTroop {
710 enum Index {
712 name = 0x01,
714 members = 0x02,
724 pages = 0x0B
725 };
726 };
728 enum Index {
730 name = 0x01,
732 damage = 0x02,
738 boat_pass = 0x05,
740 ship_pass = 0x06,
748 footstep = 0x0F,
792 grid_inclination = 0x30
793 };
794 };
795 struct ChunkState {
796 enum Index {
798 name = 0x01,
800 type = 0x02,
802 color = 0x03,
804 priority = 0x04,
808 a_rate = 0x0B,
810 b_rate = 0x0C,
812 c_rate = 0x0D,
814 d_rate = 0x0E,
816 e_rate = 0x0F,
818 hold_turn = 0x15,
840 cursed = 0x26,
880 sp_change_map_val = 0x44
881 };
882 };
883 struct ChunkTerms {
884 enum Index {
886 encounter = 0x01,
894 victory = 0x05,
896 defeat = 0x06,
906 attacking = 0x0B,
912 defending = 0x0E,
914 observing = 0x0F,
916 focus = 0x10,
938 dodge = 0x1B,
940 use_item = 0x1C,
956 level_up = 0x24,
962 miss = 0x27,
968 shop_buy1 = 0x2B,
990 shop_buy2 = 0x38,
1054 gold = 0x5F,
1076 new_game = 0x72,
1082 status = 0x76,
1084 row = 0x77,
1086 order = 0x78,
1088 wait_on = 0x79,
1090 wait_off = 0x7A,
1092 level = 0x7B,
1104 hp_short = 0x81,
1106 sp_short = 0x82,
1108 sp_cost = 0x83,
1110 attack = 0x84,
1112 defense = 0x85,
1114 spirit = 0x86,
1116 agility = 0x87,
1118 weapon = 0x88,
1120 shield = 0x89,
1122 armor = 0x8A,
1124 helmet = 0x8B,
1132 file = 0x94,
1136 yes = 0x98,
1138 no = 0x99
1140 };
1141 struct ChunkMusic {
1142 enum Index {
1144 name = 0x01,
1146 fadein = 0x02,
1148 volume = 0x03,
1150 tempo = 0x04,
1152 balance = 0x05
1154 };
1156 enum Index {
1158 actor_id = 0x01,
1160 level = 0x02,
1166 armor_id = 0x0D,
1170 accessory_id = 0x0F
1172 };
1174 enum Index {
1176 ldb_id = 0x0A,
1200 party = 0x16,
1240 dodge_se = 0x32,
1244 item_se = 0x34,
1260 font_id = 0x48,
1288 show_title = 0x6F
1290 };
1292 enum Index {
1294 name = 0x01
1296 };
1298 enum Index {
1300 name = 0x01
1302 };
1304 enum Index {
1306 actors = 0x0B,
1308 skills = 0x0C,
1310 items = 0x0D,
1312 enemies = 0x0E,
1314 troops = 0x0F,
1316 terrains = 0x10,
1320 states = 0x12,
1324 chipsets = 0x14,
1326 terms = 0x15,
1328 system = 0x16,
1330 switches = 0x17,
1336 version = 0x1A,
1344 classes = 0x1E,
1346 classD1 = 0x1F,
1348 battleranimations = 0x20
1350 };
1351}
1352
1353#endif