Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef inc_inindo_tile_data
- #define inc_inindo_tile_data
- #include "types.h"
- #include <snes/tile.h>
- #pragma pack(push)
- #pragma pack(1)
- namespace inindo
- {
- template <int planes>
- using tile = snes::tile_t<planes>;
- template <int width, int height, typename T = snes::tile_t<4>>
- using img = snes::image_t<width, height, T>;
- template <int tiles, int width, typename T = snes::tile_t<4>>
- using imgn = snes::image_n_t<tiles, width, T>;
- struct tile_data_t
- {
- // 0c/c0ca (640ca)
- u08 unk_640ca[54];
- // 0c/c100 (64100)
- array<img<6, 2>, 42> kerned_text1;
- // 0d/8000 (68000)
- u08 unk_68000[23564];
- // boss related dungeon sprites
- struct boss_t
- {
- // 0d/dc0c (6dc0c)
- img<3, 2, img<2, 2>> nicolai;
- img<3, 2, img<2, 2>> nobunaga;
- img<3, 2, img<2, 2>> kaison;
- img<3, 2, img<2, 2>> ghost;
- img<3, 2, img<2, 2>> sagamibo;
- img<3, 2, img<2, 2>> ashura;
- // (6ee0c)
- img<3, 2, img<2, 2>> ring;
- // (6f10c)
- array<img<2, 2>, 4> otoko1;
- array<img<2, 2>, 4> otoko2;
- // (6f50c)
- array<img<2, 2>, 3> sprites1;
- // (6f68c)
- img<2, 16> sprites2;
- // (6fa8c)
- img<2, 2, img<2, 2>> b;
- // (6fc8c)
- img<3, 2, img<2, 2>> nobunaga2;
- } boss;
- // 0d/ff8c (6ff8c)
- u08 unk_6ff8c[116];
- // 0e/8000 (70000)
- u08 unk_70000[32768];
- // 0f/8000 (78000)
- u08 unk_78000[4576];
- u08 unk_78200[24];
- struct magic_t
- {
- // 0f/91f8 (791f8)
- img<4, 2> flame;
- // (792f8)
- img<16, 2> fireo;
- // (796f8)
- img<8, 1> lines;
- // (797f8)
- array<img<16, 2>, 3> heal;
- // (7a3f8)
- img<16, 4> wind;
- // (7abf8)
- img<16, 4> spark;
- // (7b3f8)
- img<2, 2> star1;
- // (7b478)
- img<2, 2> scroll;
- // (7b4f8)
- img<4, 2> star2;
- // (7b5f8)
- img<4, 1> blank1;
- // (7b678)
- // star, fire, smoke, orb, arrow
- img<16, 4> sprites;
- // (7be78)
- img<8, 2> bomb;
- // (7c078)
- img<1, 1> bullet;
- img<1, 1> question;
- img<1, 1> blank2;
- // (7c0d8)
- array<img<6, 1>, 23> fire;
- // (7d218)
- //img<1, 1> blank3;
- img<4, 29> ring1;
- // (7dcd8)
- // img<4, 4> ringz1;
- // (7e098)
- array<img<2, 2>, 3> ring2;
- // (7e218)
- img<12, 12> checkered;
- // (7f418)
- array<img<2, 13>, 2> lightning;
- // (7fa98)
- img<4, 4> weird;
- } magic;
- // 0f/fc98 (7fc98)
- u08 unk_7fc98[616];
- // 0f/ff00 (7ff00)
- u08 unk_7ff00[256];
- // 10/8000 (80000)
- u08 unk_80000[32768];
- // 11/8000 (88000)
- u08 unk_88000[32768];
- // 12/8000 (90000)
- u08 unk_90000[20864];
- // 12/d180 (95180)
- u08 unk_95180[18];
- struct bingo_t
- {
- // 12/d192 (95192)
- array<img<3, 3>, 31> tile;
- // 12/f472 (97472)
- img<3, 1> bottom;
- // 12/f4d2 (974d2)
- array<img<2, 2>, 5> multiplier;
- // 12/f752 (97752)
- img<3, 10> left;
- // 12/fb12 (97b12)
- u08 unk3[96];
- // 12/fb72 (97b72)
- img<2, 3> background;
- // 12/fc32 (97c32)
- img<2, 2> pattern_star;
- // 12/fcb2 (97cb2)
- array<img<1, 1>, 16> frame;
- // 12/feb2 (97eb2)
- u08 unk4[320];
- // 12/fff2 (97ff2)
- u08 unk5[14];
- } bingo;
- struct tileset_t
- {
- // 13/8000 (98000)
- // pal 26,27,28 from data.palette 15600
- imgn<248, 16> nihon;
- // pal 29
- imgn<186, 16> town;
- // pal 30
- imgn<186, 16> train;
- // 13/cd80 (9cd80) pal 31
- imgn<178, 16> cave;
- // 13/e3c0 (9e3c0) pal 32
- imgn<178, 16> fuji;
- // 13/fa00 (9fa00)
- array<img<2, 2>, 5> bingo_pattern;
- // 13/fc80 (9fc80)
- u08 unk1[896];
- // 14/8000 (a0000)
- imgn<178, 16> blue; // pal 33
- // (a1640)
- imgn<178, 16> tomb; // pal 34
- // (a2c80)
- imgn<178, 16> mine; // pal 35
- // (a42c0)
- imgn<178, 16> mountain; // pal 36
- // (a5900)
- imgn<178, 16> forest; // pal 37
- // arrows
- struct arrows_t
- {
- // 14/ef40 (a6f40)
- img<2, 1> up;
- // (a6f80)
- img<1, 2> left;
- // (a6fc0)
- img<1, 2> right;
- // (a7000)
- img<2, 1> down;
- // 14/f040 (a7040)
- img<1, 1> up_right;
- } arrows;
- // 14/f060 (a7060)
- // window frame
- array<img<1, 1>, 8> frame1;
- // text arrows
- struct text_arrows_t
- {
- // 14/f160 (a7160)
- img<2, 2> up;
- // 14/f1e0 (a71e0)
- img<2, 2> down;
- // 14/f260 (a7260)
- img<1, 2> right;
- } text_arrows;
- img<2, 2> movement_circle;
- // (a7320)
- array<img<2, 2>, 8> condition1;
- // 14/f720 (a7720)
- img<1, 1> map_marker;
- // 14/f740 (a7740)
- img<1, 1> blank;
- // 14/f760 (a7760)
- array<img<1, 1>, 8> frame2;
- // 14/f860 (a7860)
- array<img<2, 2>, 5> condition2;
- // 14/fae0 (a7ae0)
- // background tile patterns
- array<img<1, 1>, 10> background;
- // (a7c20)
- // red square (daimyo trust)
- img<3, 3> box;
- // (a7d40)
- // [100] (smaller digits)
- img<2, 2> hundred;
- // 14/fdc0 (a7dc0)
- u08 unk2[576];
- // 15/8000 (a8000)
- // pal 38
- imgn<178, 16> azuchi;
- } tileset;
- struct compressed_t
- {
- // (a9640)
- u08 iga_hiding[1826 + 2];
- // (a9d64)
- u08 iga_normal[2493 + 2];
- // (aa723)
- u08 iga_sorcerer[1834];
- // (aae4d)
- u08 iga_bushes[2136 + 2];
- // (ab6a7)
- u08 azuchi_enter[1970 + 2];
- // (abe5b)
- // warfare tiles + cutscene image
- u08 warfare_cmb[3594 + 2];
- // 15/cc67 (acc67)
- u08 map[7535 + 2];
- } cmp;
- struct dungeon_t
- {
- // 15/e9d8 (ae9d8)
- array<img<2, 2>, 17> sprite;
- //
- img<2, 2, img<2, 2>> gate;
- } dungeon;
- // 15/f458 (af458)
- u08 unk_af458[2984];
- // combat sprites
- struct combat_t
- {
- // 16/8000 (b0000)
- array<img<3, 9>, 13> human1;
- // (b2be0)
- array<img<3, 6>, 3> human2;
- // (b32a0)
- array<img<3, 12>, 17> a;
- // (b7f20)
- u08 unk1[224];
- // 17/8000 (b8000)
- array<img<3, 12>, 3> b;
- // (b8d80)
- array<img<3, 8>, 7> c;
- // (ba280)
- array<img<4, 9>, 15> d;
- // (be600)
- array<img<4, 6>, 8> e;
- // (bfe00)
- u08 unk2[512];
- // 18/8000 (c0000)
- array<img<4, 6>, 5> f;
- // (c0f00)
- array<img<5, 15>, 12> g;
- // (c7f80)
- u08 unk3[128];
- // 19/8000 (c8000)
- array<img<5, 15>, 4> h;
- // (ca580)
- array<img<5, 10>, 3> i;
- } combat;
- struct warfare_t
- {
- // 19/b840 (cb840)
- img<8, 2> sprites1;
- // (cba40)
- img<16, 2> sprites2;
- // (cbe40)
- img<16, 4> dragon;
- img<16, 4> ogre;
- img<16, 4> tiger;
- img<16, 4> giant;
- img<16, 4> magic;
- // (ce640)
- img<3, 9> flame1;
- // (ce9a0)
- u08 unk1[128];
- // (cea20)
- img<3, 10> flame2;
- // (cede0)
- array<img<3, 3>, 2> explosion;
- // (cf020)
- img<11, 5> lightning;
- // (cf700)
- array<img<1, 1>, 10> numbers;
- } warfare;
- // 19/f840 (cf840)
- u08 unk_cf840[1984];
- struct town_t
- {
- struct location_t
- {
- // 1a/8000 (d0000)
- img<3, 4> tower;
- img<3, 4> inn;
- img<3, 4> tea;
- img<3, 4> guild;
- img<3, 4> arms;
- img<3, 4> medic;
- img<3, 4> pawn;
- img<3, 4> bingo;
- img<3, 4> seer;
- } location;
- struct portrait_t
- {
- // 1a/8d80 (d0d80)
- img<3, 4> tea;
- img<3, 4> inn;
- img<3, 4> guild;
- img<3, 4> bingo;
- img<3, 4> tower;
- // 1a/9500 (d1500)
- img<3, 4> hero;
- img<3, 4> iga;
- img<3, 4> koga;
- img<3, 4> female;
- img<3, 4> negoro;
- img<3, 4> fuma;
- img<3, 4> mendicant;
- img<3, 4> sohei;
- img<3, 4> hermit;
- img<3, 4> sage;
- img<3, 4> sorcerer;
- img<3, 4> magician;
- img<3, 4> mystic;
- img<3, 4> samurai;
- img<3, 4> ronin;
- img<3, 4> swordsman;
- } portrait;
- struct sprites_t
- {
- // 1a/ad00 (d2d00)
- img<16, 2> hero;
- img<16, 2> otoko1;
- img<16, 2> otoko2;
- img<16, 2> onna1;
- img<16, 2> onna2;
- img<16, 2> otoko3;
- img<16, 2> otoko4;
- img<16, 2> otoko5;
- img<16, 2> ko1;
- img<16, 2> otoko6;
- img<16, 2> otoko7;
- img<16, 2> otoko8;
- // (d5d00)
- img<4, 2> guard;
- img<4, 2> elder;
- // (d5f00)
- img<16, 2> otoko9;
- img<16, 2> otokoa;
- img<16, 2> otokob;
- img<16, 2> otokoc;
- img<16, 2> otokod;
- img<16, 2> otokoe;
- img<16, 2> boat;
- } sprite;
- // 1a/fb00 (d7b00)
- // min/max health/energy
- array<img<2, 2>, 4> cards;
- } town;
- // 1a/fd00 (d7d00)
- u08 unk_d7d00[768];
- struct spy_bg_t
- {
- // 1b/8000 (d8000)
- // background tilesets
- imgn<27, 8> castle;
- imgn<48, 8> interior1;
- imgn<22, 8> interior2;
- imgn<85, 8> sabotage;
- } spy_bg;
- // 1b/96c0 (d96c0)
- u08 unk_d96c0[19803];
- struct koei_t
- {
- // 1b/e41b (de41b)
- u08 koei_text[3657 + 2];
- // 1b/f266 (df266)
- u08 koei_logo[2778];
- } koei;
- // 1b/fd40 (dfd40)
- u08 unk_dfd40[704];
- // 1c/8000 (e0000)
- u08 unk_e0000[30926];
- struct spy_t
- {
- // (e78ce)
- array<img<2, 2>, 4> climbing;
- // (e7ace)
- img<2, 4> bales;
- // (e7bce)
- img<2, 4> shelf;
- } spy;
- // (e7cce)
- u08 unk_e7cce[818];
- // 1d/8000 (e8000)
- u08 unk_e8000[16];
- // 1d/8010 (e8010)
- // 2 bpp blank + numbers 0 - 9 (never used?)
- array<tile<2>, 11> numbers;
- // compressed
- struct ending_t
- {
- // 1d/80b0 (e80b0)
- u08 padding_e80b0;
- // (e80c1)
- u08 azuchi[3737 + 2];
- // (e8f5c)
- u08 rei[1625 + 2];
- // (e95b7)
- u08 swordsman[1451];
- // (e9b62)
- u08 monk[3923 + 2];
- // (eaab7)
- u08 hermit1[852 + 2];
- // (eae0d)
- u08 magician[1615 + 2];
- // (eb45e)
- u08 minka[4536 + 2];
- // (ec618)
- u08 flower1[2061 + 2];
- // (ece27)
- u08 flower2[3052];
- // 1d/da13 (eda13)
- u08 unk_eda13[442];
- // (edbcd)
- u08 rei2[1269 + 2];
- // (ee0c4)
- u08 smile[184 + 2];
- // (ee17e)
- u08 hermit2[1774 + 2];
- // (ee86e)
- u08 spell[477 + 2];
- // (eea4d)
- u08 back[1029 + 2];
- // (eee54)
- u08 end_text[219 + 2];
- // (eef31)
- u08 flames[2732 + 2];
- // (ef9df)
- u08 petals[27 + 2];
- // (ef9fc)
- u08 angle[34 + 2];
- } ending;
- // 1d/fa20 (efa20)
- u08 unk_efa20[1504];
- // 1e/8000 (f0000)
- // 23 = kanji for "normal" / "default"
- array<img<6, 2>, 76> kerned_text2;
- // 1e/f200 (f7200)
- // output = img<12, 24>
- // top 12 = transparent background
- // bottom 12 = solid background
- u08 compressed_font[2512];
- // 1e/fbd0 (f7bd0)
- u08 unk_f7bd0[1072];
- // 1f/8000 (f8000)
- u08 unk_f8000[32];
- struct bg_t
- {
- // (f8020) combat background tiles
- // palettes from senmap.pal2 at 197ea
- img<11, 1> sky1;
- img<11, 1> sky2;
- img<3, 1> tree1;
- img<5, 1> tree2;
- img<9, 1> grass;
- snes::tile_t<4> gap1;
- img<4, 6> cave_wall_floor;
- img<1, 1> cave_floor;
- snes::tile_t<4> gap2;
- // (f8860)
- img<3, 8> blue_wall_floor;
- snes::tile_t<4> gap3;
- // (f8b80)
- img<6, 6> wood_wall_floor;
- snes::tile_t<4> gap4;
- // (f9020)
- img<11, 1> cloud1;
- img<11, 1> cloud2;
- // (f92e0)
- img<4, 3> brick;
- snes::tile_t<4> gap5;
- // (f9480)
- array<img<4, 1>, 3> top;
- img<4, 1> mid1;
- img<3, 1> mid2;
- img<4, 1> mid3;
- array<img<4, 1>, 3> low1;
- img<3, 1> low2;
- // (f9940)
- img<4, 1> bottom;
- // (f99c0)
- img<4, 1> board1;
- img<3, 1> board2;
- // (f9aa0)
- img<12, 1> wood_floor;
- } bg;
- // compressed
- struct opening_t
- {
- // (f9c20)
- u08 minka[1597 + 2];
- // (fa25f)
- u08 moon[616 + 2];
- // (fa4c9)
- u08 window[1752 + 2];
- // (faba3)
- u08 winmoon[2019 + 2];
- // (fb388)
- u08 momochi1[1524 + 2];
- // (fb97e)
- u08 momochi2[1529 + 2];
- // (fbf79)
- u08 attack[1967 + 2];
- // (fc72a)
- u08 nobunaga[2087 + 2];
- // (fc7f5)
- u08 hero[895 + 2];
- // (fd2d4)
- u08 title[2081];
- // (fdaf5)
- u08 meet[1827 + 2];
- // (fe21a)
- u08 back[1038 + 2];
- // (fe62a)
- u08 jump[1863 + 2];
- // (fed73)
- u08 train[2202];
- // (ff60d)
- u08 rei[1760];
- } opening;
- // (ffced)
- u08 unk_ffced[787];
- };
- };
- #pragma pack(pop)
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement