sotn-decomp/tools
bismurphy 9ce2a3fbf6
Rework sotn-assets animation pointers (#1742)
I was reviewing some of the animations pulled out by sotn-assets.
Speicfically, I found that in `src/st/no3/sprite_banks.h` (a file
created by sotn-assets locally, which does not exist directly in this
repo), we have:

```
extern s16* sprites_no3_0;
extern s16* sprites_no3_1;
extern s16* sprites_no3_2;
extern s16* sprites_no3_3;
extern s16* sprites_no3_4;
extern s16* sprites_no3_5;
extern s16* sprites_no3_6;
extern s16* sprites_no3_7;
extern s16* sprites_no3_8;
static s16* spriteBanks[] = {
    0,
    &sprites_no3_0,
    &sprites_no3_3,
    &sprites_no3_1,
    &sprites_no3_2,
    &sprites_no3_4,
    &sprites_no3_5,
    &sprites_no3_6,
    &sprites_no3_7,
    &sprites_no3_8,
```

However, those are not the right pointer types. `sprites_no3_#` should
have a type of `s16* []`, so I reworked the sotn-assets tool to use the
right pointers for each of these things. Now the sprite_banks.h file
looks like:
```
extern s16* sprites_no3_0[];
extern s16* sprites_no3_1[];
extern s16* sprites_no3_2[];
extern s16* sprites_no3_3[];
extern s16* sprites_no3_4[];
extern s16* sprites_no3_5[];
extern s16* sprites_no3_6[];
extern s16* sprites_no3_7[];
extern s16* sprites_no3_8[];
static s16** spriteBanks[] = {
    0,
    sprites_no3_0,
    sprites_no3_3,
    sprites_no3_1,
    sprites_no3_2,
    sprites_no3_4,
    sprites_no3_5,
    sprites_no3_6,
    sprites_no3_7,
    sprites_no3_8,
```

Which more accurately represents the data within.

Naturally, since this PR mostly just changes the tool, the real changes
are in the tool's output, so feel free to clone this branch and
investigate the sprite_banks.h file if you want to see anything further
about it.

DRA's equivalent of the SpriteBanks array is `D_800A3B70`, and is
currently in the repo as extracted data, without using `sotn-assets`;
this PR makes it so the types in the overlays (which do use
`sotn-assets`) will match the types in DRA.
2024-10-05 21:28:16 +01:00
..
asm-differ@f5fc9026f0 Add mwccgap (#1131) 2024-05-18 11:41:00 +01:00
dups Fix dups tool 2024-09-30 11:13:21 -07:00
function_finder Get rid of non-functions in function_finder 2024-10-02 23:47:11 -07:00
gfxsotn CEN cutscene parser (#1680) 2024-09-27 23:13:29 +01:00
lints/sotn-lint sotn-lint support for drawFlags, and flags (#1593) 2024-09-10 21:55:37 +01:00
m2c@4ee07ea6b0 Update m2c 2024-05-19 12:55:28 +01:00
maspsx@d2d24c407c Add bsdmainutils to requirements (#1667) 2024-09-24 16:54:32 -07:00
mwccgap@41429ee969 Update mwccgap (static functions) (#1311) 2024-06-12 09:35:35 -07:00
saturn-splitter@8d549a8042 Split saturn libs, add function (#385) 2023-07-21 22:39:37 +01:00
sotn_str Python virtualenv Support (#1620) 2024-09-17 23:19:20 -07:00
sotn-assets Rework sotn-assets animation pointers (#1742) 2024-10-05 21:28:16 +01:00
sotn-debugmodule Change debug button to L2 (#1390) 2024-07-08 08:17:53 +01:00
sotn-disk CEN cutscene parser (#1680) 2024-09-27 23:13:29 +01:00
splat_ext Python virtualenv Support (#1620) 2024-09-17 23:19:20 -07:00
split_jpt_yaml Format code 2023-07-25 17:38:30 +00:00
vab-ex Sound effect extraction WIP (#398) 2023-07-31 12:12:07 -07:00
analyze_calls.py Fix dirs? 2024-10-02 21:47:57 -07:00
auto_dedupe_new_overlay.py Add NO0 (Marble Gallery) overlay (#1691) 2024-09-30 00:53:54 +01:00
bin2c.py Python virtualenv Support (#1620) 2024-09-17 23:19:20 -07:00
decompile.py Python virtualenv Support (#1620) 2024-09-17 23:19:20 -07:00
dirt_patcher.py Python virtualenv Support (#1620) 2024-09-17 23:19:20 -07:00
display_texture.py Simplify CLUT fetching system for texture viewer (#1575) 2024-08-25 18:49:28 -04:00
gfxstage.py Python virtualenv Support (#1620) 2024-09-17 23:19:20 -07:00
lint-license.py Add AGPL license (#1565) 2024-09-06 16:14:55 -04:00
m2ctx.py Format code 2023-09-19 22:25:08 +00:00
make-config.py Turn on disassemble_all for most yamls (#1689) 2024-09-28 09:29:16 -07:00
permuter_settings.toml mostly renamings, one func (#33) 2023-01-02 08:57:53 +00:00
png2bin.py Python virtualenv Support (#1620) 2024-09-17 23:19:20 -07:00
png2s.py Python virtualenv Support (#1620) 2024-09-17 23:19:20 -07:00
progress.py Add NO0 (Marble Gallery) overlay (#1691) 2024-09-30 00:53:54 +01:00
requirements-debian.txt Add bsdmainutils to requirements (#1667) 2024-09-24 16:54:32 -07:00
requirements-python.txt Downgrade splat 0.24.7 to 0.24.6 2024-07-29 00:01:16 +01:00
richter_symbols.py Format code 2023-07-25 17:38:30 +00:00
spritesheet.py Python virtualenv Support (#1620) 2024-09-17 23:19:20 -07:00
symbols_test.py Extract and document all functions from main.exe (#736) 2023-11-06 14:53:27 -08:00
symbols.py make-config can now cross-reference symbols across versions (#1677) 2024-09-25 19:45:56 +01:00
tools.mk Match Functions with Same Name in dups (#1449) 2024-07-28 11:48:41 -04:00