diff --git a/Makefile b/Makefile index b0192a5f8a..73fbd1c062 100644 --- a/Makefile +++ b/Makefile @@ -177,7 +177,7 @@ format-symbols: ./tools/symbols.py remove-orphans config/splat.hd.tt_000.yaml ./tools/symbols.py remove-orphans config/splat.us.stmad.yaml format-license: - find src/ | grep -E '\.c$$|\.h$$' | python3 ./tools/lint-license.py - AGPL-3.0-only + find src/ | grep -E '\.c$$|\.h$$' | grep -vE 'PsyCross|mednafen|psxsdk|3rd' | python3 ./tools/lint-license.py - AGPL-3.0-only python3 ./tools/lint-license.py include/game.h AGPL-3.0-only python3 ./tools/lint-license.py include/entity.h AGPL-3.0-only python3 ./tools/lint-license.py include/items.h AGPL-3.0-only diff --git a/include/entity.h b/include/entity.h index 212b6390e2..0c4b78873d 100644 --- a/include/entity.h +++ b/include/entity.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /** * Custom Entity Subtypes */ diff --git a/include/game.h b/include/game.h index 0c5e3efb45..0ce21e7833 100644 --- a/include/game.h +++ b/include/game.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef GAME_H #define GAME_H #include "common.h" diff --git a/include/items.h b/include/items.h index 5b99327c05..320f6a541a 100644 --- a/include/items.h +++ b/include/items.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only typedef enum ItemSlots { LEFT_HAND_SLOT, RIGHT_HAND_SLOT, diff --git a/include/lba.h b/include/lba.h index 141a7ad67f..1cf41e434a 100644 --- a/include/lba.h +++ b/include/lba.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #define OFF_WARNING_TIM 24545 #define LEN_WARNING_TIM 327700 diff --git a/include/memcard.h b/include/memcard.h index c75ee62a40..acc9d9a686 100644 --- a/include/memcard.h +++ b/include/memcard.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef MEMCARD_H #define MEMCARD_H diff --git a/src/config_us.h b/src/config_us.h index 0a59308a6d..88c84bf37b 100644 --- a/src/config_us.h +++ b/src/config_us.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "game.h" // clang-format off diff --git a/src/destroy_entities_from_index.h b/src/destroy_entities_from_index.h index 9b73fc8e9f..29eeafd85b 100644 --- a/src/destroy_entities_from_index.h +++ b/src/destroy_entities_from_index.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef HARD_LINK void DestroyEntitiesFromIndex(s16 index) { Entity* entity = &g_Entities[index]; diff --git a/src/destroy_entity.h b/src/destroy_entity.h index 3f4aa0817d..2645dad032 100644 --- a/src/destroy_entity.h +++ b/src/destroy_entity.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef HARD_LINK void DestroyEntity(Entity* entity) { s32 i; diff --git a/src/dra/42398.c b/src/dra/42398.c index 4e58ec1344..a4fbabd3d4 100644 --- a/src/dra/42398.c +++ b/src/dra/42398.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "lba.h" diff --git a/src/dra/47BB8.c b/src/dra/47BB8.c index 80d41d749b..2726064503 100644 --- a/src/dra/47BB8.c +++ b/src/dra/47BB8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "lba.h" diff --git a/src/dra/4A538.c b/src/dra/4A538.c index e9633684df..beef485677 100644 --- a/src/dra/4A538.c +++ b/src/dra/4A538.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" diff --git a/src/dra/5087C.c b/src/dra/5087C.c index e9b8a77672..13f2e32d17 100644 --- a/src/dra/5087C.c +++ b/src/dra/5087C.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "menu.h" diff --git a/src/dra/5D5BC.c b/src/dra/5D5BC.c index bab865ce84..9df1444949 100644 --- a/src/dra/5D5BC.c +++ b/src/dra/5D5BC.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/627C4.c b/src/dra/627C4.c index 7e8462671f..4bc93cc558 100644 --- a/src/dra/627C4.c +++ b/src/dra/627C4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/63ED4.c b/src/dra/63ED4.c index 967e64e557..f65db67c91 100644 --- a/src/dra/63ED4.c +++ b/src/dra/63ED4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/692E8.c b/src/dra/692E8.c index 0a08ce60b3..9be34851b7 100644 --- a/src/dra/692E8.c +++ b/src/dra/692E8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "sfx.h" diff --git a/src/dra/6D59C.c b/src/dra/6D59C.c index a93e40d2ea..2037475f74 100644 --- a/src/dra/6D59C.c +++ b/src/dra/6D59C.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "sfx.h" diff --git a/src/dra/704D0.c b/src/dra/704D0.c index 98e5987e7a..3a71d9b3a6 100644 --- a/src/dra/704D0.c +++ b/src/dra/704D0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "sfx.h" diff --git a/src/dra/71830.c b/src/dra/71830.c index 1f9b042597..afa57431f4 100644 --- a/src/dra/71830.c +++ b/src/dra/71830.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/72BB0.c b/src/dra/72BB0.c index 78404ff06d..a14a15d64b 100644 --- a/src/dra/72BB0.c +++ b/src/dra/72BB0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "sfx.h" diff --git a/src/dra/75F54.c b/src/dra/75F54.c index 73e24658ad..b894f3d311 100644 --- a/src/dra/75F54.c +++ b/src/dra/75F54.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/78D0C.c b/src/dra/78D0C.c index 84d346d294..14a1e71987 100644 --- a/src/dra/78D0C.c +++ b/src/dra/78D0C.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "objects.h" #include "sfx.h" diff --git a/src/dra/7A4D0.c b/src/dra/7A4D0.c index 3677d633f6..db7de25d21 100644 --- a/src/dra/7A4D0.c +++ b/src/dra/7A4D0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/7E4BC.c b/src/dra/7E4BC.c index 01dc075538..549c005c7d 100644 --- a/src/dra/7E4BC.c +++ b/src/dra/7E4BC.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/843B0.c b/src/dra/843B0.c index 519019b861..e99f83eb4f 100644 --- a/src/dra/843B0.c +++ b/src/dra/843B0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "objects.h" #include "sfx.h" diff --git a/src/dra/8A0A4.c b/src/dra/8A0A4.c index 720d253ad5..f5294535a1 100644 --- a/src/dra/8A0A4.c +++ b/src/dra/8A0A4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "sfx.h" diff --git a/src/dra/8D3E8.c b/src/dra/8D3E8.c index 7646e38303..dcf34ccb8c 100644 --- a/src/dra/8D3E8.c +++ b/src/dra/8D3E8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/91EBC.c b/src/dra/91EBC.c index e48d2eb413..d8a5d542b0 100644 --- a/src/dra/91EBC.c +++ b/src/dra/91EBC.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/92F60.c b/src/dra/92F60.c index b894193162..931cd03275 100644 --- a/src/dra/92F60.c +++ b/src/dra/92F60.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/93290.c b/src/dra/93290.c index ed6557a937..71354d69d5 100644 --- a/src/dra/93290.c +++ b/src/dra/93290.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/93BDC.c b/src/dra/93BDC.c index 7aefc94db7..677bf7f5c6 100644 --- a/src/dra/93BDC.c +++ b/src/dra/93BDC.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/94F50.c b/src/dra/94F50.c index ea0b4d007f..dd0f09e3ab 100644 --- a/src/dra/94F50.c +++ b/src/dra/94F50.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/953A0.c b/src/dra/953A0.c index 4bb10c40d0..5ddc74455d 100644 --- a/src/dra/953A0.c +++ b/src/dra/953A0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "objects.h" diff --git a/src/dra/bss.c b/src/dra/bss.c index e7d613c16d..5ef087d722 100644 --- a/src/dra/bss.c +++ b/src/dra/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include "disk.h" diff --git a/src/dra/cd.c b/src/dra/cd.c index ea75274159..594446e482 100644 --- a/src/dra/cd.c +++ b/src/dra/cd.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "lba.h" diff --git a/src/dra/collider.c b/src/dra/collider.c index 0c89f12895..4d0afcb3eb 100644 --- a/src/dra/collider.c +++ b/src/dra/collider.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" typedef enum { diff --git a/src/dra/config_jp.c b/src/dra/config_jp.c index 99afe771c7..511e33c87f 100644 --- a/src/dra/config_jp.c +++ b/src/dra/config_jp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "game.h" // !!! IMPORTANT !!! diff --git a/src/dra/config_us.c b/src/dra/config_us.c index cb8f44ca23..70ab319174 100644 --- a/src/dra/config_us.c +++ b/src/dra/config_us.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../config_us.h" diff --git a/src/dra/d_10798.c b/src/dra/d_10798.c index 315d17ad54..975089298e 100644 --- a/src/dra/d_10798.c +++ b/src/dra/d_10798.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" AnimationFrame D_800B0798[] = { diff --git a/src/dra/d_24CEC.c b/src/dra/d_24CEC.c index a21d257b44..c894a82c65 100644 --- a/src/dra/d_24CEC.c +++ b/src/dra/d_24CEC.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include u8 D_800C4CEC[] = { diff --git a/src/dra/d_2F324.c b/src/dra/d_2F324.c index a67b1588bd..941a8fe3fe 100644 --- a/src/dra/d_2F324.c +++ b/src/dra/d_2F324.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include typedef struct { diff --git a/src/dra/d_3B0D4.c b/src/dra/d_3B0D4.c index 4db28c4cee..fa4a9048dc 100644 --- a/src/dra/d_3B0D4.c +++ b/src/dra/d_3B0D4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" u16 D_800DB0D4[] = { diff --git a/src/dra/d_C910.c b/src/dra/d_C910.c index b59409cb8d..3cf9a154d1 100644 --- a/src/dra/d_C910.c +++ b/src/dra/d_C910.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #if defined(VERSION_US) diff --git a/src/dra/d_CD80.c b/src/dra/d_CD80.c index 66e79029bb..f43d565023 100644 --- a/src/dra/d_CD80.c +++ b/src/dra/d_CD80.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" Vram g_Vram = { diff --git a/src/dra/d_CF74.c b/src/dra/d_CF74.c index 330a0e9250..ebdee27392 100644 --- a/src/dra/d_CF74.c +++ b/src/dra/d_CF74.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "sfx.h" diff --git a/src/dra/d_DBD4.c b/src/dra/d_DBD4.c index 8de131963d..60763d538f 100644 --- a/src/dra/d_DBD4.c +++ b/src/dra/d_DBD4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" AnimationFrame D_800ADBD4[] = { diff --git a/src/dra/d_E294.c b/src/dra/d_E294.c index b2bbebdb49..c22f89b4a0 100644 --- a/src/dra/d_E294.c +++ b/src/dra/d_E294.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" AnimationFrame D_800AE294[] = { diff --git a/src/dra/demo.c b/src/dra/demo.c index d0ada88856..3ace685bd2 100644 --- a/src/dra/demo.c +++ b/src/dra/demo.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" extern u8 D_800A243C[32] = { diff --git a/src/dra/dra.h b/src/dra/dra.h index c398f17dd3..3d72746763 100644 --- a/src/dra/dra.h +++ b/src/dra/dra.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef DRA_H #define DRA_H diff --git a/src/dra/dra_bss.h b/src/dra/dra_bss.h index 7f8fa920f4..6506afeb0c 100644 --- a/src/dra/dra_bss.h +++ b/src/dra/dra_bss.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" // BSS shared diff --git a/src/dra/dra_header.c b/src/dra/dra_header.c index 97cb9f8712..638fb22887 100644 --- a/src/dra/dra_header.c +++ b/src/dra/dra_header.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include typedef void (*Entrypoint)(void); diff --git a/src/dra/lang_us.c b/src/dra/lang_us.c index 7bb61ba5e5..d53dc5ac1b 100644 --- a/src/dra/lang_us.c +++ b/src/dra/lang_us.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "game.h" diff --git a/src/dra/lba_stage.c b/src/dra/lba_stage.c index c41b49bee3..4f7652ab15 100644 --- a/src/dra/lba_stage.c +++ b/src/dra/lba_stage.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "game.h" // clang-format off diff --git a/src/dra/loading.c b/src/dra/loading.c index 72803c916e..277c0794d6 100644 --- a/src/dra/loading.c +++ b/src/dra/loading.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "sfx.h" diff --git a/src/dra/menu.c b/src/dra/menu.c index 916d28978d..3d509765ec 100644 --- a/src/dra/menu.c +++ b/src/dra/menu.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "menu.h" diff --git a/src/dra/menu.h b/src/dra/menu.h index e5aedf6864..795d890e67 100644 --- a/src/dra/menu.h +++ b/src/dra/menu.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef MENU_H #define MENU_H diff --git a/src/dra/pads.c b/src/dra/pads.c index 4f84c81e9c..6b25a9bef4 100644 --- a/src/dra/pads.c +++ b/src/dra/pads.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" // BSS diff --git a/src/dra/play.c b/src/dra/play.c index af324ce489..1fc3879657 100644 --- a/src/dra/play.c +++ b/src/dra/play.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "sfx.h" diff --git a/src/dra/save_mgr.c b/src/dra/save_mgr.c index 518a2affca..8035406592 100644 --- a/src/dra/save_mgr.c +++ b/src/dra/save_mgr.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "dra_bss.h" #include "../save_mgr.h" diff --git a/src/dra/save_mgr_pre.c b/src/dra/save_mgr_pre.c index 7eed17de85..fb7cf58916 100644 --- a/src/dra/save_mgr_pre.c +++ b/src/dra/save_mgr_pre.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dra.h" #include "../save_mgr_pre.h" diff --git a/src/main/main.c b/src/main/main.c index 4681d0e1c0..48151cbf33 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "common.h" #include "game.h" diff --git a/src/main/psxsdk/libsnd/sstick.c b/src/main/psxsdk/libsnd/sstick.c index 2d36bbe68d..21aff8a5b9 100644 --- a/src/main/psxsdk/libsnd/sstick.c +++ b/src/main/psxsdk/libsnd/sstick.c @@ -1,4 +1,3 @@ - #include "libsnd_i.h" void SsSetTickMode(long tick_mode) { diff --git a/src/pc/io.c b/src/pc/io.c index b56a4562be..1fc2ff9ac6 100644 --- a/src/pc/io.c +++ b/src/pc/io.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include "pc.h" diff --git a/src/pc/log.c b/src/pc/log.c index 00bc3cff54..411b2e5082 100644 --- a/src/pc/log.c +++ b/src/pc/log.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/pc/null.c b/src/pc/null.c index 63cbe2b555..f9e09616d0 100644 --- a/src/pc/null.c +++ b/src/pc/null.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // something is off with the headers in this target #include "../../include/common.h" #include "../../include/psxsdk/libgpu.h" diff --git a/src/pc/pc.c b/src/pc/pc.c index 46831333d5..e82d5758aa 100644 --- a/src/pc/pc.c +++ b/src/pc/pc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/pc/pc.h b/src/pc/pc.h index e3d38e52f7..050b747ea4 100644 --- a/src/pc/pc.h +++ b/src/pc/pc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef PC_H #define PC_H diff --git a/src/pc/pl_arc.c b/src/pc/pl_arc.c index 23e1e08922..b48eaefc86 100644 --- a/src/pc/pl_arc.c +++ b/src/pc/pl_arc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include "pc.h" diff --git a/src/pc/pl_ric.c b/src/pc/pl_ric.c index 9b3b62584b..ad61e0b793 100644 --- a/src/pc/pl_ric.c +++ b/src/pc/pl_ric.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include extern PlayerOvl RIC_player; diff --git a/src/pc/plat_unix.c b/src/pc/plat_unix.c index ef8c763cf2..81550424b0 100644 --- a/src/pc/plat_unix.c +++ b/src/pc/plat_unix.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/pc/plat_win.c b/src/pc/plat_win.c index f95e221148..1af5605cd4 100644 --- a/src/pc/plat_win.c +++ b/src/pc/plat_win.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/pc/psxsdk/cdc.h b/src/pc/psxsdk/cdc.h index 74fc68a1c0..e9207b33e3 100644 --- a/src/pc/psxsdk/cdc.h +++ b/src/pc/psxsdk/cdc.h @@ -1,5 +1,3 @@ - - #ifndef CDC_H #define CDC_H #include diff --git a/src/pc/render_gl.c b/src/pc/render_gl.c index 5c2ee8bc3a..0fd5b27858 100644 --- a/src/pc/render_gl.c +++ b/src/pc/render_gl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/pc/render_shared.c b/src/pc/render_shared.c index 0738f3a23d..a59ae16e67 100644 --- a/src/pc/render_shared.c +++ b/src/pc/render_shared.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/pc/render_soft.c b/src/pc/render_soft.c index 0c7c41edb1..7f714bdba9 100644 --- a/src/pc/render_soft.c +++ b/src/pc/render_soft.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/pc/sdl2.c b/src/pc/sdl2.c index c7438e8769..0cd73c8dae 100644 --- a/src/pc/sdl2.c +++ b/src/pc/sdl2.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/pc/sdl2_macros.c b/src/pc/sdl2_macros.c index 05e204225e..639dc4c8ad 100644 --- a/src/pc/sdl2_macros.c +++ b/src/pc/sdl2_macros.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #ifdef _MSC_VER #define SDL_MAIN_HANDLED diff --git a/src/pc/sdl2_macros.h b/src/pc/sdl2_macros.h index 9b335ce512..f4a3f7c43b 100644 --- a/src/pc/sdl2_macros.h +++ b/src/pc/sdl2_macros.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef MACRO_H #define MACRO_H #include "game.h" diff --git a/src/pc/sdl_defs.h b/src/pc/sdl_defs.h index 5dd288ceb7..0aa3810892 100644 --- a/src/pc/sdl_defs.h +++ b/src/pc/sdl_defs.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef SDL_DEFS_H #define SDL_DEFS_H typedef enum { diff --git a/src/pc/sim_pc.c b/src/pc/sim_pc.c index 9c1785aa6b..4f7e03aa31 100644 --- a/src/pc/sim_pc.c +++ b/src/pc/sim_pc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "dra_bss.h" #include diff --git a/src/pc/sotn.c b/src/pc/sotn.c index fed92399db..1cfa27e892 100644 --- a/src/pc/sotn.c +++ b/src/pc/sotn.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "pc.h" #include "dra.h" #include "dra_bss.h" diff --git a/src/pc/stages/stage_dummy.c b/src/pc/stages/stage_dummy.c index a196533e44..d4de024604 100644 --- a/src/pc/stages/stage_dummy.c +++ b/src/pc/stages/stage_dummy.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/pc/stages/stage_loader.c b/src/pc/stages/stage_loader.c index b168915b38..cef77bf19f 100644 --- a/src/pc/stages/stage_loader.c +++ b/src/pc/stages/stage_loader.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/pc/stages/stage_loader.h b/src/pc/stages/stage_loader.h index 309edb05ab..9b5dd0ccf2 100644 --- a/src/pc/stages/stage_loader.h +++ b/src/pc/stages/stage_loader.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef STAGE_LOADER_H #define STAGE_LOADER_H diff --git a/src/pc/stages/stage_sel.c b/src/pc/stages/stage_sel.c index 45fae1b957..6ece1b87a5 100644 --- a/src/pc/stages/stage_sel.c +++ b/src/pc/stages/stage_sel.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../../st/sel/sel.h" #include "../pc.h" diff --git a/src/pc/stages/stage_wrp.c b/src/pc/stages/stage_wrp.c index 7740fe2f5a..fe83199315 100644 --- a/src/pc/stages/stage_wrp.c +++ b/src/pc/stages/stage_wrp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/pc/str.c b/src/pc/str.c index 515bc18cf2..956803f37d 100644 --- a/src/pc/str.c +++ b/src/pc/str.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "pc.h" #include #include diff --git a/src/pc/stubs.c b/src/pc/stubs.c index 3e1e0dcb5a..370ac37a10 100644 --- a/src/pc/stubs.c +++ b/src/pc/stubs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "pc.h" #include "dra.h" #include "memcard.h" diff --git a/src/pc/weapon_pc.c b/src/pc/weapon_pc.c index d05ce5aa6f..502caf009b 100644 --- a/src/pc/weapon_pc.c +++ b/src/pc/weapon_pc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "weapon.h" #include "pc.h" #include diff --git a/src/pc/weapon_pc.h b/src/pc/weapon_pc.h index a53cc11f47..19096feac8 100644 --- a/src/pc/weapon_pc.h +++ b/src/pc/weapon_pc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef WEAPON_PC_H #define WEAPON_PC_H diff --git a/src/ric/1AC60.c b/src/ric/1AC60.c index 19406f0a71..ffc2c01bbc 100644 --- a/src/ric/1AC60.c +++ b/src/ric/1AC60.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * File: 1AC60.c * Overlay: RIC diff --git a/src/ric/1CB04.c b/src/ric/1CB04.c index 259e19343e..0583ca96f6 100644 --- a/src/ric/1CB04.c +++ b/src/ric/1CB04.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" #include "player.h" #include "sfx.h" diff --git a/src/ric/1FCD0.c b/src/ric/1FCD0.c index f5f5e9a9c6..c2c69b734b 100644 --- a/src/ric/1FCD0.c +++ b/src/ric/1FCD0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" #include "sfx.h" diff --git a/src/ric/202A8.c b/src/ric/202A8.c index 28166e1bde..a109bba3a4 100644 --- a/src/ric/202A8.c +++ b/src/ric/202A8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" diff --git a/src/ric/20920.c b/src/ric/20920.c index 533ec307fa..0fbe75b5d5 100644 --- a/src/ric/20920.c +++ b/src/ric/20920.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" void RicSetAnimation(AnimationFrame* anim) { diff --git a/src/ric/21250.c b/src/ric/21250.c index cc9abe27fe..1fe9bd4bcf 100644 --- a/src/ric/21250.c +++ b/src/ric/21250.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" #include "sfx.h" diff --git a/src/ric/24788.c b/src/ric/24788.c index 5f85aa4c14..73450d601a 100644 --- a/src/ric/24788.c +++ b/src/ric/24788.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" Entity* RicGetFreeEntity(s16 start, s16 end); diff --git a/src/ric/26C84.c b/src/ric/26C84.c index 9dfca1a00b..a9f8779738 100644 --- a/src/ric/26C84.c +++ b/src/ric/26C84.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" void func_80162C84(Entity* entity) { diff --git a/src/ric/2A060.c b/src/ric/2A060.c index e950cedd70..460bc0dbf1 100644 --- a/src/ric/2A060.c +++ b/src/ric/2A060.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" #include "sfx.h" diff --git a/src/ric/2C4C4.c b/src/ric/2C4C4.c index 6353ca1f3d..72d6f4d90e 100644 --- a/src/ric/2C4C4.c +++ b/src/ric/2C4C4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" #include "sfx.h" diff --git a/src/ric/319C4.c b/src/ric/319C4.c index 9e206d1d07..7aa0aca1be 100644 --- a/src/ric/319C4.c +++ b/src/ric/319C4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" #include "sfx.h" diff --git a/src/ric/bss.c b/src/ric/bss.c index 4ab5db57b9..b9e8c68e1b 100644 --- a/src/ric/bss.c +++ b/src/ric/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "common.h" #include "game.h" diff --git a/src/ric/d_18568.c b/src/ric/d_18568.c index c5ea1d8f06..4a513aa21d 100644 --- a/src/ric/d_18568.c +++ b/src/ric/d_18568.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" s16 D_80154568[4] = {0, -8, -16, 0}; diff --git a/src/ric/d_188F4.c b/src/ric/d_188F4.c index 8d5ca405c9..ce186d03aa 100644 --- a/src/ric/d_188F4.c +++ b/src/ric/d_188F4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" u8 D_801548F4[6][8] = { diff --git a/src/ric/d_18C40.c b/src/ric/d_18C40.c index e997ea0287..e577e1c59a 100644 --- a/src/ric/d_18C40.c +++ b/src/ric/d_18C40.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" u8 D_80154C40[] = {0x30, 0x3F, 0x20, 0x2F, 0x10, 0x1E, 0x10, 0x3F, diff --git a/src/ric/d_194B0.c b/src/ric/d_194B0.c index 5e10530f46..adda35667b 100644 --- a/src/ric/d_194B0.c +++ b/src/ric/d_194B0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" AnimationFrame anim_land_strong_impact[] = { diff --git a/src/ric/d_19C70.c b/src/ric/d_19C70.c index 536f7e4637..f8eed03a57 100644 --- a/src/ric/d_19C70.c +++ b/src/ric/d_19C70.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" s16 D_80155C70[] = {0x8139, 0x813A, 0x813B, 0x0000}; diff --git a/src/ric/d_19EE0.c b/src/ric/d_19EE0.c index 52e99460c5..7e485e1119 100644 --- a/src/ric/d_19EE0.c +++ b/src/ric/d_19EE0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" s32 D_80155EE0[] = {0x00000F80, 0x00000100, 0x00000700, 0x00000880}; diff --git a/src/ric/pl_header.c b/src/ric/pl_header.c index b5f15dab0d..8bd98e84e1 100644 --- a/src/ric/pl_header.c +++ b/src/ric/pl_header.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" void RicMain(void); diff --git a/src/ric/ric.h b/src/ric/ric.h index e3d41d0c63..c9362a2030 100644 --- a/src/ric/ric.h +++ b/src/ric/ric.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include diff --git a/src/ric/spriteparts.c b/src/ric/spriteparts.c index cf68122b1a..2624ef4406 100644 --- a/src/ric/spriteparts.c +++ b/src/ric/spriteparts.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "ric.h" s16 D_80153400[]; diff --git a/src/saturn/alucard.c b/src/saturn/alucard.c index 9be0ab2591..52c3039b7e 100644 --- a/src/saturn/alucard.c +++ b/src/saturn/alucard.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "inc_asm.h" #include "sattypes.h" diff --git a/src/saturn/game.c b/src/saturn/game.c index 58796a9e93..8a9ead6571 100644 --- a/src/saturn/game.c +++ b/src/saturn/game.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "inc_asm.h" #include "sattypes.h" #include "game.h" diff --git a/src/saturn/game.h b/src/saturn/game.h index bc594141b9..e40cd47632 100644 --- a/src/saturn/game.h +++ b/src/saturn/game.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef GAME_H #define GAME_H diff --git a/src/saturn/inc_asm.h b/src/saturn/inc_asm.h index fb121a71b3..914b3f6f53 100644 --- a/src/saturn/inc_asm.h +++ b/src/saturn/inc_asm.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef INCLUDE_ASM_H #define INCLUDE_ASM_H diff --git a/src/saturn/lib/bup.c b/src/saturn/lib/bup.c index ed0c17bc19..93376ff92f 100644 --- a/src/saturn/lib/bup.c +++ b/src/saturn/lib/bup.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sattypes.h" #include "inc_asm.h" diff --git a/src/saturn/lib/cdc.c b/src/saturn/lib/cdc.c index 0413415cd0..bea170533d 100644 --- a/src/saturn/lib/cdc.c +++ b/src/saturn/lib/cdc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sattypes.h" #include "inc_asm.h" diff --git a/src/saturn/lib/csh.c b/src/saturn/lib/csh.c index 4f28d8b250..636103d527 100644 --- a/src/saturn/lib/csh.c +++ b/src/saturn/lib/csh.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sattypes.h" #include "inc_asm.h" diff --git a/src/saturn/lib/csh.h b/src/saturn/lib/csh.h index 3a8f271630..d43b7e2570 100644 --- a/src/saturn/lib/csh.h +++ b/src/saturn/lib/csh.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef CSH_H #define CSH_H diff --git a/src/saturn/lib/def.h b/src/saturn/lib/def.h index 95918b2cad..4de3bfdd2c 100644 --- a/src/saturn/lib/def.h +++ b/src/saturn/lib/def.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef DEF_H #define DEF_H diff --git a/src/saturn/lib/dma.c b/src/saturn/lib/dma.c index 03b08195f3..7165f133c2 100644 --- a/src/saturn/lib/dma.c +++ b/src/saturn/lib/dma.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sattypes.h" #include "inc_asm.h" diff --git a/src/saturn/lib/gfs.c b/src/saturn/lib/gfs.c index 71436f77cf..c1373123f4 100644 --- a/src/saturn/lib/gfs.c +++ b/src/saturn/lib/gfs.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sattypes.h" #include "inc_asm.h" diff --git a/src/saturn/lib/mth.c b/src/saturn/lib/mth.c index 7ccb105159..e2e7800edf 100644 --- a/src/saturn/lib/mth.c +++ b/src/saturn/lib/mth.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sattypes.h" #include "inc_asm.h" diff --git a/src/saturn/lib/mth.h b/src/saturn/lib/mth.h index 4c847e1152..e498129b14 100644 --- a/src/saturn/lib/mth.h +++ b/src/saturn/lib/mth.h @@ -1,5 +1,4 @@ - - +// SPDX-License-Identifier: AGPL-3.0-only #ifndef MTH_H #define MTH_H diff --git a/src/saturn/lib/per.c b/src/saturn/lib/per.c index 3f6bd7d279..84fdbe08fe 100644 --- a/src/saturn/lib/per.c +++ b/src/saturn/lib/per.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sattypes.h" #include "inc_asm.h" diff --git a/src/saturn/lib/scl.c b/src/saturn/lib/scl.c index ee95ada718..03371616c9 100644 --- a/src/saturn/lib/scl.c +++ b/src/saturn/lib/scl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sattypes.h" #include "inc_asm.h" #include "xpt.h" diff --git a/src/saturn/lib/scl.h b/src/saturn/lib/scl.h index 00f9938dc2..67a2524753 100644 --- a/src/saturn/lib/scl.h +++ b/src/saturn/lib/scl.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef SCR_H #define SCR_H diff --git a/src/saturn/lib/spr.c b/src/saturn/lib/spr.c index 9d801953d6..0d6cadb8c7 100644 --- a/src/saturn/lib/spr.c +++ b/src/saturn/lib/spr.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sattypes.h" #include "inc_asm.h" diff --git a/src/saturn/lib/spr.h b/src/saturn/lib/spr.h index 1fe1c061b7..c210d86da6 100644 --- a/src/saturn/lib/spr.h +++ b/src/saturn/lib/spr.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef SPR_H #define SPR_H diff --git a/src/saturn/lib/sys.c b/src/saturn/lib/sys.c index 889475debe..b1f0ebcf1c 100644 --- a/src/saturn/lib/sys.c +++ b/src/saturn/lib/sys.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sattypes.h" #include "inc_asm.h" diff --git a/src/saturn/lib/sys.h b/src/saturn/lib/sys.h index b325b69097..63a5733932 100644 --- a/src/saturn/lib/sys.h +++ b/src/saturn/lib/sys.h @@ -1,5 +1,4 @@ - - +// SPDX-License-Identifier: AGPL-3.0-only #ifndef SYS_H #define SYS_H diff --git a/src/saturn/lib/xpt.h b/src/saturn/lib/xpt.h index 0fdcd38a19..b83f6891a0 100644 --- a/src/saturn/lib/xpt.h +++ b/src/saturn/lib/xpt.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef XPT_H #define XPT_H typedef unsigned char Uint8; diff --git a/src/saturn/sattypes.h b/src/saturn/sattypes.h index baf7d5dab6..783ee5435b 100644 --- a/src/saturn/sattypes.h +++ b/src/saturn/sattypes.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef SATURN_TYPES_H #define SATURN_TYPES_H diff --git a/src/saturn/stage_02.c b/src/saturn/stage_02.c index 3c508b8055..724e9acd57 100644 --- a/src/saturn/stage_02.c +++ b/src/saturn/stage_02.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "stage_02.h" #include "inc_asm.h" #include "sattypes.h" diff --git a/src/saturn/stage_02.h b/src/saturn/stage_02.h index 3dd88ade2c..fa24b0a1ed 100644 --- a/src/saturn/stage_02.h +++ b/src/saturn/stage_02.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef STAGE_02_H #define STAGE_02_H diff --git a/src/saturn/t_bat.c b/src/saturn/t_bat.c index c2f018b28e..dd40d69bcb 100644 --- a/src/saturn/t_bat.c +++ b/src/saturn/t_bat.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "inc_asm.h" #include "sattypes.h" diff --git a/src/saturn/warp.c b/src/saturn/warp.c index aec70c0d36..69f58332d3 100644 --- a/src/saturn/warp.c +++ b/src/saturn/warp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "inc_asm.h" #include "sattypes.h" diff --git a/src/saturn/zero.c b/src/saturn/zero.c index e12e30515c..f9ded4c31b 100644 --- a/src/saturn/zero.c +++ b/src/saturn/zero.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "zero.h" #include "inc_asm.h" #include "sattypes.h" diff --git a/src/saturn/zero.h b/src/saturn/zero.h index 5ca3ebe62d..ac61e8c739 100644 --- a/src/saturn/zero.h +++ b/src/saturn/zero.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef ZERO_BIN_H #define ZERO_BIN_H #include "sattypes.h" diff --git a/src/save_mgr.h b/src/save_mgr.h index 7d3838730a..1355be65d1 100644 --- a/src/save_mgr.h +++ b/src/save_mgr.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "memcard.h" void SetupEvents(void) { diff --git a/src/save_mgr_pre.h b/src/save_mgr_pre.h index 5ef4bfa5ac..e78c9fe936 100644 --- a/src/save_mgr_pre.h +++ b/src/save_mgr_pre.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "memcard.h" s32 g_MemcardPortMask[] = {-2, -3}; diff --git a/src/servant/tt_000/10E8.c b/src/servant/tt_000/10E8.c index 7c53b4c552..d19ffa95ac 100644 --- a/src/servant/tt_000/10E8.c +++ b/src/servant/tt_000/10E8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/servant/tt_000/448.c b/src/servant/tt_000/448.c index 04e140c3d3..3e0eb614f4 100644 --- a/src/servant/tt_000/448.c +++ b/src/servant/tt_000/448.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "common.h" u16 D_80170448[] = { diff --git a/src/servant/tt_000/45E4.c b/src/servant/tt_000/45E4.c index 62f2ee88c2..a9297205b0 100644 --- a/src/servant/tt_000/45E4.c +++ b/src/servant/tt_000/45E4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include #include diff --git a/src/servant/tt_000/4A8.c b/src/servant/tt_000/4A8.c index 6b3c27b1e0..b91fee75c3 100644 --- a/src/servant/tt_000/4A8.c +++ b/src/servant/tt_000/4A8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include AnimationFrame D_801704A8[] = { diff --git a/src/servant/tt_000/608.c b/src/servant/tt_000/608.c index 1234cbf5d6..01b97c457b 100644 --- a/src/servant/tt_000/608.c +++ b/src/servant/tt_000/608.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "servant.h" Sprite D_80170608[] = { diff --git a/src/servant/tt_000/spriteparts.c b/src/servant/tt_000/spriteparts.c index b98a9ec412..bd74d26d94 100644 --- a/src/servant/tt_000/spriteparts.c +++ b/src/servant/tt_000/spriteparts.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "servant.h" int D_801700C8[]; diff --git a/src/set_prim_rect.h b/src/set_prim_rect.h index 58c69e0c1d..feb37f2284 100644 --- a/src/set_prim_rect.h +++ b/src/set_prim_rect.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void SetPrimRect(Primitive* poly, s32 x, s32 y, s32 width, s32 height) { poly->x0 = x; poly->y0 = y; diff --git a/src/st/adjust_value_within_threshold.h b/src/st/adjust_value_within_threshold.h index c5ec2e2c56..2c320d67a2 100644 --- a/src/st/adjust_value_within_threshold.h +++ b/src/st/adjust_value_within_threshold.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only u8 AdjustValueWithinThreshold(u8 threshold, u8 currentValue, u8 targetValue) { u8 absoluteDifference; s8 relativeDifference = targetValue - currentValue; diff --git a/src/st/alloc_entity.h b/src/st/alloc_entity.h index 2b5a1817d9..c9449961d1 100644 --- a/src/st/alloc_entity.h +++ b/src/st/alloc_entity.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only Entity* AllocEntity(Entity* start, Entity* end) { Entity* current = start; diff --git a/src/st/animate_entity.h b/src/st/animate_entity.h index 63654c9ac2..9db21b9f89 100644 --- a/src/st/animate_entity.h +++ b/src/st/animate_entity.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only u8 AnimateEntity(u8 frames[], Entity* entity) { u16 flag; u16 currentFrameIndex; diff --git a/src/st/blink_item.h b/src/st/blink_item.h index 82ea7a1239..a9cb6c2d36 100644 --- a/src/st/blink_item.h +++ b/src/st/blink_item.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "game.h" void BlinkItem(Entity* self, u16 renderFlags) { diff --git a/src/st/blit_char.h b/src/st/blit_char.h index 5387bc7a6e..c2ae20d66f 100644 --- a/src/st/blit_char.h +++ b/src/st/blit_char.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // // Section Sizes: // diff --git a/src/st/cen/14264.c b/src/st/cen/14264.c index 9e47d5ecc7..a0f5d990cc 100644 --- a/src/st/cen/14264.c +++ b/src/st/cen/14264.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "cen.h" #include "sfx.h" diff --git a/src/st/cen/18084.c b/src/st/cen/18084.c index 1cc4762120..3c89855723 100644 --- a/src/st/cen/18084.c +++ b/src/st/cen/18084.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "cen.h" #include "../check_coll_offsets.h" diff --git a/src/st/cen/1B274.c b/src/st/cen/1B274.c index 547edc2ecb..8c4fbbae17 100644 --- a/src/st/cen/1B274.c +++ b/src/st/cen/1B274.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "cen.h" #include "../entity_soul_steal_orb.h" diff --git a/src/st/cen/D4F0.c b/src/st/cen/D4F0.c index 0daffe6737..ee0ca72337 100644 --- a/src/st/cen/D4F0.c +++ b/src/st/cen/D4F0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "types.h" const u8 D_8018D4F0[8] = { diff --git a/src/st/cen/D600.c b/src/st/cen/D600.c index c776d2108e..af183c0b3a 100644 --- a/src/st/cen/D600.c +++ b/src/st/cen/D600.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * File: D600.c * Overlay: CEN diff --git a/src/st/cen/F890.c b/src/st/cen/F890.c index b7324173ee..de9cb24319 100644 --- a/src/st/cen/F890.c +++ b/src/st/cen/F890.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "cen.h" #include "game.h" #include "sfx.h" diff --git a/src/st/cen/blit_char.c b/src/st/cen/blit_char.c index dcd77c4c0e..4671969f21 100644 --- a/src/st/cen/blit_char.c +++ b/src/st/cen/blit_char.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../blit_char.h" diff --git a/src/st/cen/cen.h b/src/st/cen/cen.h index 7537bbce48..77caa124b5 100644 --- a/src/st/cen/cen.h +++ b/src/st/cen/cen.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef CEN_H #define CEN_H diff --git a/src/st/cen/collision.c b/src/st/cen/collision.c index 075265617f..765a667bf0 100644 --- a/src/st/cen/collision.c +++ b/src/st/cen/collision.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../collision.h" diff --git a/src/st/cen/create_entity.c b/src/st/cen/create_entity.c index 02907d3a0e..68a386ba69 100644 --- a/src/st/cen/create_entity.c +++ b/src/st/cen/create_entity.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../create_entity.h" diff --git a/src/st/cen/e_collect.c b/src/st/cen/e_collect.c index f819390dbc..aa502d8c9f 100644 --- a/src/st/cen/e_collect.c +++ b/src/st/cen/e_collect.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_collect.h" diff --git a/src/st/cen/e_red_door.c b/src/st/cen/e_red_door.c index cd9dc7a561..dd52a75451 100644 --- a/src/st/cen/e_red_door.c +++ b/src/st/cen/e_red_door.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_red_door.h" diff --git a/src/st/cen/entity.c b/src/st/cen/entity.c index 69b97ab8df..0edbbc06cc 100644 --- a/src/st/cen/entity.c +++ b/src/st/cen/entity.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "game.h" #include "stage.h" diff --git a/src/st/cen/entity_heart_drop.c b/src/st/cen/entity_heart_drop.c index a7cd9b112b..7048969292 100644 --- a/src/st/cen/entity_heart_drop.c +++ b/src/st/cen/entity_heart_drop.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "cen.h" // Bizarre variable - u16 here, but u8 in EntityHolyGlassesCutscene extern u16 D_801805D8[]; diff --git a/src/st/cen/entity_message_box.c b/src/st/cen/entity_message_box.c index 0cbd6e3920..e6ec89f0f3 100644 --- a/src/st/cen/entity_message_box.c +++ b/src/st/cen/entity_message_box.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "cen.h" #include "../entity_message_box.h" diff --git a/src/st/cen/entity_relic_orb.c b/src/st/cen/entity_relic_orb.c index 16064a364a..2522da2cbf 100644 --- a/src/st/cen/entity_relic_orb.c +++ b/src/st/cen/entity_relic_orb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "cen.h" #include "../entity_relic_orb.h" diff --git a/src/st/cen/header.c b/src/st/cen/header.c index 9d13937995..ee49149cf9 100644 --- a/src/st/cen/header.c +++ b/src/st/cen/header.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "cen.h" extern RoomHeader OVL_EXPORT(rooms)[]; diff --git a/src/st/cen/holyglassescutscene.c b/src/st/cen/holyglassescutscene.c index d40e115b69..c991375773 100644 --- a/src/st/cen/holyglassescutscene.c +++ b/src/st/cen/holyglassescutscene.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "cen.h" #include "game.h" diff --git a/src/st/cen/prim_helpers.c b/src/st/cen/prim_helpers.c index 96d47f7df3..bf72d43920 100644 --- a/src/st/cen/prim_helpers.c +++ b/src/st/cen/prim_helpers.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../prim_helpers.h" diff --git a/src/st/cen/random.c b/src/st/cen/random.c index 04cd68787f..198b5710bb 100644 --- a/src/st/cen/random.c +++ b/src/st/cen/random.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../random.h" diff --git a/src/st/cen/tile_data.c b/src/st/cen/tile_data.c index 18f6aaa4b6..ea1036f108 100644 --- a/src/st/cen/tile_data.c +++ b/src/st/cen/tile_data.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "tilemap_069EC.h" diff --git a/src/st/cen/update.c b/src/st/cen/update.c index 9dbfc83517..8d5c77f84d 100644 --- a/src/st/cen/update.c +++ b/src/st/cen/update.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include // palette diff --git a/src/st/cen/update_stage_entities.c b/src/st/cen/update_stage_entities.c index 8886987cb8..283d509feb 100644 --- a/src/st/cen/update_stage_entities.c +++ b/src/st/cen/update_stage_entities.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../update_stage_entities.h" diff --git a/src/st/check_coll_offsets.h b/src/st/check_coll_offsets.h index a518ba5f25..8d288abef0 100644 --- a/src/st/check_coll_offsets.h +++ b/src/st/check_coll_offsets.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // arg0 is a pointer to X and Y offsets from the current entity. // iterates through those locations, running CheckCollision on // each location, returning a set of bit flags indicating which diff --git a/src/st/check_field_collision.h b/src/st/check_field_collision.h index 059f99dc7b..19c3b7083a 100644 --- a/src/st/check_field_collision.h +++ b/src/st/check_field_collision.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void CheckFieldCollision(s16* hitSensors, s16 sensorCount) { Collider collider; s32 velocityX; diff --git a/src/st/clut_lerp.h b/src/st/clut_lerp.h index 3972564e72..ff857159f6 100644 --- a/src/st/clut_lerp.h +++ b/src/st/clut_lerp.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void ClutLerp(RECT* rect, u16 palIdxA, u16 palIdxB, s32 steps, u16 offset) { u16 buf[COLORS_PER_PAL]; RECT bufRect; diff --git a/src/st/collect_gold.h b/src/st/collect_gold.h index 82f92e319a..9701a0fd4c 100644 --- a/src/st/collect_gold.h +++ b/src/st/collect_gold.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only extern u32 c_GoldPrizes[]; extern const char* g_goldCollectTexts[]; diff --git a/src/st/collect_heart.h b/src/st/collect_heart.h index aca336c811..c288c043fd 100644 --- a/src/st/collect_heart.h +++ b/src/st/collect_heart.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sfx.h" // This function is messy, maybe there's a better way. diff --git a/src/st/collect_heart_vessel.h b/src/st/collect_heart_vessel.h index 3adf3c43df..ceba499f95 100644 --- a/src/st/collect_heart_vessel.h +++ b/src/st/collect_heart_vessel.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sfx.h" void CollectHeartVessel(void) { diff --git a/src/st/collision.h b/src/st/collision.h index 9fd4d660e0..fb51c95a4c 100644 --- a/src/st/collision.h +++ b/src/st/collision.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "sfx.h" diff --git a/src/st/create_entities_horizontal.h b/src/st/create_entities_horizontal.h index b912b0f8e3..3ccbf4b2b5 100644 --- a/src/st/create_entities_horizontal.h +++ b/src/st/create_entities_horizontal.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "create_entities_right.h" /* diff --git a/src/st/create_entities_right.h b/src/st/create_entities_right.h index c7d3317da4..e66664f079 100644 --- a/src/st/create_entities_right.h +++ b/src/st/create_entities_right.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Creates entities between the previous horizontal position and * the passed in x position toward the right. diff --git a/src/st/create_entities_vertical.h b/src/st/create_entities_vertical.h index 9746d97654..c5b7a53739 100644 --- a/src/st/create_entities_vertical.h +++ b/src/st/create_entities_vertical.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Creates entities between the previous vertical position and * the passed in y position going up. diff --git a/src/st/create_entity.h b/src/st/create_entity.h index 1045d04ee0..f140056dd0 100644 --- a/src/st/create_entity.h +++ b/src/st/create_entity.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // // Section Sizes: // diff --git a/src/st/create_entity_from_entity.h b/src/st/create_entity_from_entity.h index 4a63d1e8c1..46a026bde4 100644 --- a/src/st/create_entity_from_entity.h +++ b/src/st/create_entity_from_entity.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void CreateEntityFromCurrentEntity(u16 entityId, Entity* entity) { DestroyEntity(entity); entity->entityId = entityId; diff --git a/src/st/create_entity_from_layout.h b/src/st/create_entity_from_layout.h index 92d381d813..c2e6721df8 100644 --- a/src/st/create_entity_from_layout.h +++ b/src/st/create_entity_from_layout.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void CreateEntityFromLayout(Entity* entity, LayoutEntity* initDesc) { Tilemap* tilemap; diff --git a/src/st/create_entity_in_range.h b/src/st/create_entity_in_range.h index 95701967d0..311c765103 100644 --- a/src/st/create_entity_in_range.h +++ b/src/st/create_entity_in_range.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void CreateEntityWhenInVerticalRange(LayoutEntity* obj) { s16 yClose; s16 yFar; diff --git a/src/st/dre/11A64.c b/src/st/dre/11A64.c index 2408bad289..04484d01ea 100644 --- a/src/st/dre/11A64.c +++ b/src/st/dre/11A64.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * File: 11A64.c * Overlay: DRE diff --git a/src/st/dre/13E18.c b/src/st/dre/13E18.c index a47e7d7d34..6b3bf13b84 100644 --- a/src/st/dre/13E18.c +++ b/src/st/dre/13E18.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dre.h" #include "sfx.h" diff --git a/src/st/dre/161DC.c b/src/st/dre/161DC.c index 7c9d65a7c3..b00c572f87 100644 --- a/src/st/dre/161DC.c +++ b/src/st/dre/161DC.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dre.h" void func_801961DC(s16 arg0) { diff --git a/src/st/dre/1697C.c b/src/st/dre/1697C.c index 17c1c1257c..0210a17032 100644 --- a/src/st/dre/1697C.c +++ b/src/st/dre/1697C.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dre.h" #include "sfx.h" diff --git a/src/st/dre/1A3A8.c b/src/st/dre/1A3A8.c index a75c0a7e65..35c357c358 100644 --- a/src/st/dre/1A3A8.c +++ b/src/st/dre/1A3A8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dre.h" #include "sfx.h" diff --git a/src/st/dre/1E1C8.c b/src/st/dre/1E1C8.c index 3dc84ab970..1232763dd2 100644 --- a/src/st/dre/1E1C8.c +++ b/src/st/dre/1E1C8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dre.h" #include "../check_coll_offsets.h" diff --git a/src/st/dre/22848.c b/src/st/dre/22848.c index feba9f7bfd..cbb58e5f2f 100644 --- a/src/st/dre/22848.c +++ b/src/st/dre/22848.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dre.h" extern SVECTOR* D_80181544[][3]; diff --git a/src/st/dre/blit_char.c b/src/st/dre/blit_char.c index dcd77c4c0e..4671969f21 100644 --- a/src/st/dre/blit_char.c +++ b/src/st/dre/blit_char.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../blit_char.h" diff --git a/src/st/dre/bss.c b/src/st/dre/bss.c index 9abaf8dfdd..d16c0d4855 100644 --- a/src/st/dre/bss.c +++ b/src/st/dre/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include STATIC_PAD_BSS(3072); diff --git a/src/st/dre/collision.c b/src/st/dre/collision.c index 075265617f..765a667bf0 100644 --- a/src/st/dre/collision.c +++ b/src/st/dre/collision.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../collision.h" diff --git a/src/st/dre/create_entity.c b/src/st/dre/create_entity.c index 2426cf5db5..49a2076e7d 100644 --- a/src/st/dre/create_entity.c +++ b/src/st/dre/create_entity.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include u32 D_801A3264[24]; diff --git a/src/st/dre/dre.h b/src/st/dre/dre.h index ebea501d5b..ff84a30a92 100644 --- a/src/st/dre/dre.h +++ b/src/st/dre/dre.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "stage.h" #define STAGE_DRE_H diff --git a/src/st/dre/e_collect.c b/src/st/dre/e_collect.c index f819390dbc..aa502d8c9f 100644 --- a/src/st/dre/e_collect.c +++ b/src/st/dre/e_collect.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_collect.h" diff --git a/src/st/dre/e_red_door.c b/src/st/dre/e_red_door.c index cd9dc7a561..dd52a75451 100644 --- a/src/st/dre/e_red_door.c +++ b/src/st/dre/e_red_door.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_red_door.h" diff --git a/src/st/dre/entity_heart_drop.c b/src/st/dre/entity_heart_drop.c index 2bb7e69085..01508cd2d7 100644 --- a/src/st/dre/entity_heart_drop.c +++ b/src/st/dre/entity_heart_drop.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dre.h" extern u16 D_80180660[]; diff --git a/src/st/dre/entity_message_box.c b/src/st/dre/entity_message_box.c index 71eb4118a2..501a4718c9 100644 --- a/src/st/dre/entity_message_box.c +++ b/src/st/dre/entity_message_box.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dre.h" #include "../entity_message_box.h" diff --git a/src/st/dre/entity_relic_orb.c b/src/st/dre/entity_relic_orb.c index 28d0f0b1be..82884ca19d 100644 --- a/src/st/dre/entity_relic_orb.c +++ b/src/st/dre/entity_relic_orb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dre.h" #include "../entity_relic_orb.h" diff --git a/src/st/dre/header.c b/src/st/dre/header.c index 54725274f7..83a8994971 100644 --- a/src/st/dre/header.c +++ b/src/st/dre/header.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dre.h" extern RoomHeader OVL_EXPORT(rooms)[]; diff --git a/src/st/dre/prim_helpers.c b/src/st/dre/prim_helpers.c index 96d47f7df3..bf72d43920 100644 --- a/src/st/dre/prim_helpers.c +++ b/src/st/dre/prim_helpers.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../prim_helpers.h" diff --git a/src/st/dre/random.c b/src/st/dre/random.c index 04cd68787f..198b5710bb 100644 --- a/src/st/dre/random.c +++ b/src/st/dre/random.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../random.h" diff --git a/src/st/dre/succubus.c b/src/st/dre/succubus.c index 490a4da3e4..b7953dace2 100644 --- a/src/st/dre/succubus.c +++ b/src/st/dre/succubus.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: DRE * Enemy: Succubus Boss diff --git a/src/st/dre/succubuscutscene.c b/src/st/dre/succubuscutscene.c index cc0afbccf1..427f68b493 100644 --- a/src/st/dre/succubuscutscene.c +++ b/src/st/dre/succubuscutscene.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "dre.h" void func_80194774(void) { diff --git a/src/st/dre/tile_data.c b/src/st/dre/tile_data.c index 1408b6c0c2..5953727a75 100644 --- a/src/st/dre/tile_data.c +++ b/src/st/dre/tile_data.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "tilemap_0B548.h" diff --git a/src/st/dre/update.c b/src/st/dre/update.c index e447681b8d..ceeba506b8 100644 --- a/src/st/dre/update.c +++ b/src/st/dre/update.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../update.h" diff --git a/src/st/dre/update_stage_entities.c b/src/st/dre/update_stage_entities.c index 8886987cb8..283d509feb 100644 --- a/src/st/dre/update_stage_entities.c +++ b/src/st/dre/update_stage_entities.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../update_stage_entities.h" diff --git a/src/st/e_bone_scimitar.h b/src/st/e_bone_scimitar.h index 163f931f60..6590e17f9a 100644 --- a/src/st/e_bone_scimitar.h +++ b/src/st/e_bone_scimitar.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sfx.h" typedef enum { diff --git a/src/st/e_breakable.h b/src/st/e_breakable.h index f687ce03b0..4fdee87722 100644 --- a/src/st/e_breakable.h +++ b/src/st/e_breakable.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include diff --git a/src/st/e_collect.h b/src/st/e_collect.h index 3e4c9e8fb7..332850bb43 100644 --- a/src/st/e_collect.h +++ b/src/st/e_collect.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // // Section Sizes: // diff --git a/src/st/e_merman.h b/src/st/e_merman.h index ab850cea7d..2e61fb9e55 100644 --- a/src/st/e_merman.h +++ b/src/st/e_merman.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Entity: Merman * Stages: NO3, NP3 diff --git a/src/st/e_merman2.h b/src/st/e_merman2.h index aa8da434fa..677e60d080 100644 --- a/src/st/e_merman2.h +++ b/src/st/e_merman2.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Entity: Merman2 * Stages: NO3, NP3 diff --git a/src/st/e_misc.h b/src/st/e_misc.h index b03025c4b6..e20b3f47f3 100644 --- a/src/st/e_misc.h +++ b/src/st/e_misc.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #ifndef CASTLE_FLAG_BANK diff --git a/src/st/e_particles.h b/src/st/e_particles.h index ebd51b6365..c8303fa1f9 100644 --- a/src/st/e_particles.h +++ b/src/st/e_particles.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #if defined(VERSION_HD) diff --git a/src/st/e_red_door.h b/src/st/e_red_door.h index 18d6e7c443..542d390522 100644 --- a/src/st/e_red_door.h +++ b/src/st/e_red_door.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "sfx.h" diff --git a/src/st/e_room_fg.h b/src/st/e_room_fg.h index 1de0517ded..5b9ae53891 100644 --- a/src/st/e_room_fg.h +++ b/src/st/e_room_fg.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #if !defined(VERSION_PSP) diff --git a/src/st/e_stage_name.h b/src/st/e_stage_name.h index b0f8e62c26..b4a0fe1b05 100644 --- a/src/st/e_stage_name.h +++ b/src/st/e_stage_name.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "stage.h" #ifndef CASTLE_FLAG_BANK diff --git a/src/st/entity_big_red_fireball.h b/src/st/entity_big_red_fireball.h index ce4900d54b..f01c141f41 100644 --- a/src/st/entity_big_red_fireball.h +++ b/src/st/entity_big_red_fireball.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Not used in any current overlays. Seems to resemble Gaibon's big fireball, // but is not actually called in NZ0. Will need to check future overlays for // any actual uses. diff --git a/src/st/entity_damage_display.h b/src/st/entity_damage_display.h index db0fc47989..e921904eb9 100644 --- a/src/st/entity_damage_display.h +++ b/src/st/entity_damage_display.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only extern u16 g_eDamageDisplayInit[]; extern u16 g_eDamageDisplayClut[]; diff --git a/src/st/entity_dummy.h b/src/st/entity_dummy.h index 906a843211..2d7f92b59f 100644 --- a/src/st/entity_dummy.h +++ b/src/st/entity_dummy.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void EntityDummy(Entity* arg0) { if (!arg0->step) { arg0->step++; diff --git a/src/st/entity_enemy_blood.h b/src/st/entity_enemy_blood.h index 7b88b3f1e6..90c3bee176 100644 --- a/src/st/entity_enemy_blood.h +++ b/src/st/entity_enemy_blood.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void EntityEnemyBlood(Entity* self) { const int NParticles = 12; FakePrim* prim; diff --git a/src/st/entity_explosion.h b/src/st/entity_explosion.h index 7c41e6ca91..ca880954bb 100644 --- a/src/st/entity_explosion.h +++ b/src/st/entity_explosion.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only extern u16 g_InitializeEntityData0[]; extern s32 g_ExplosionYVelocities[]; extern u8* g_ExplosionAnimations[]; diff --git a/src/st/entity_explosion_spawn.h b/src/st/entity_explosion_spawn.h index 08772fe64c..bc4a351dc8 100644 --- a/src/st/entity_explosion_spawn.h +++ b/src/st/entity_explosion_spawn.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void EntityExplosionSpawn(u16 arg0, u16 arg1) { Entity* entity; diff --git a/src/st/entity_intense_explosion.h b/src/st/entity_intense_explosion.h index 9d6d268200..51e220548c 100644 --- a/src/st/entity_intense_explosion.h +++ b/src/st/entity_intense_explosion.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void EntityIntenseExplosion(Entity* self) { if (!self->step) { InitializeEntity(g_InitializeEntityData0); diff --git a/src/st/entity_message_box.h b/src/st/entity_message_box.h index d4b780590b..3b3511844f 100644 --- a/src/st/entity_message_box.h +++ b/src/st/entity_message_box.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // params: message box duration // ext.messageBox.label: box size and text to render diff --git a/src/st/entity_olrox_drool.h b/src/st/entity_olrox_drool.h index 7c2f27c604..2f3a41fe22 100644 --- a/src/st/entity_olrox_drool.h +++ b/src/st/entity_olrox_drool.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Purpose is not 100% clear. Creates a falling blue droplet that sizzles after // hitting the ground. In existing overlays, this entity is not used. But looks // like Olrox's drool, so using that until we find any other uses. diff --git a/src/st/entity_relic_orb.h b/src/st/entity_relic_orb.h index 97b111ba44..3b42979905 100644 --- a/src/st/entity_relic_orb.h +++ b/src/st/entity_relic_orb.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "stage.h" const char* g_RelicOrbTexts[] = { diff --git a/src/st/entity_soul_steal_orb.h b/src/st/entity_soul_steal_orb.h index c096ef5749..d0aa2aace0 100644 --- a/src/st/entity_soul_steal_orb.h +++ b/src/st/entity_soul_steal_orb.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // The white flying orbs of energy that Alucard summons as part of the Soul // Steal spell void EntitySoulStealOrb(Entity* self) { diff --git a/src/st/entity_unkId13.h b/src/st/entity_unkId13.h index 3011058d51..4164de72e2 100644 --- a/src/st/entity_unkId13.h +++ b/src/st/entity_unkId13.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only extern u16 g_InitDataEnt13[]; void EntityUnkId13(Entity* self) { diff --git a/src/st/entity_unkId14.h b/src/st/entity_unkId14.h index 24c4989259..a45d17af0f 100644 --- a/src/st/entity_unkId14.h +++ b/src/st/entity_unkId14.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only extern s32 unk14_yVel[]; extern u8 unk14_startFrame[]; extern u16 unk14_lifetime[]; diff --git a/src/st/entity_unkId14_spawner.h b/src/st/entity_unkId14_spawner.h index 0efb16393f..75b4df316c 100644 --- a/src/st/entity_unkId14_spawner.h +++ b/src/st/entity_unkId14_spawner.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only extern u16 g_eUnk14SpawnRots[]; void EntityUnkId14Spawner( diff --git a/src/st/entity_unkId15.h b/src/st/entity_unkId15.h index fae50a7030..46f266db2a 100644 --- a/src/st/entity_unkId15.h +++ b/src/st/entity_unkId15.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only extern s16 unk15_rot[]; extern s32 unk15_yVel[]; diff --git a/src/st/entity_unkId15_spawner.h b/src/st/entity_unkId15_spawner.h index 7825e8fc86..d8d6b92be9 100644 --- a/src/st/entity_unkId15_spawner.h +++ b/src/st/entity_unkId15_spawner.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void EntityUnkId15Spawner( Entity* self, u8 count, u8 params, s32 x, s32 y, u8 arg5, s16 xGap) { diff --git a/src/st/entity_unk_id12.h b/src/st/entity_unk_id12.h index 5254104a96..ffe1c203e7 100644 --- a/src/st/entity_unk_id12.h +++ b/src/st/entity_unk_id12.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void EntityUnkId12(Entity* entity) { u16 var_s0; u16 params; diff --git a/src/st/fall_entity.h b/src/st/fall_entity.h index 8645c15b1f..b8d2dfee3d 100644 --- a/src/st/fall_entity.h +++ b/src/st/fall_entity.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void FallEntity(void) { if (g_CurrentEntity->velocityY < FALL_TERMINAL_VELOCITY) { g_CurrentEntity->velocityY += FALL_GRAVITY; diff --git a/src/st/find_entity_horizontal.h b/src/st/find_entity_horizontal.h index beaaa013cc..40dc07fa4e 100644 --- a/src/st/find_entity_horizontal.h +++ b/src/st/find_entity_horizontal.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Scans `g_LayoutObjVertical` looking for the next element with * an x position to the right of the provided argument or the end diff --git a/src/st/find_entity_vertical.h b/src/st/find_entity_vertical.h index 71efff27bb..f9e887920d 100644 --- a/src/st/find_entity_vertical.h +++ b/src/st/find_entity_vertical.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Scans `g_LayoutObjVertical` looking for the next element with * a y position above the provided argument or the end of the list. diff --git a/src/st/get_angle_between_entities.h b/src/st/get_angle_between_entities.h index a272d35e12..4a13e73f54 100644 --- a/src/st/get_angle_between_entities.h +++ b/src/st/get_angle_between_entities.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only u16 GetAngleBetweenEntities(Entity* a, Entity* b) { s32 diffX = b->posX.i.hi - a->posX.i.hi; s32 diffY = b->posY.i.hi - a->posY.i.hi; diff --git a/src/st/get_angle_between_entities_shifted.h b/src/st/get_angle_between_entities_shifted.h index 633d14c4ea..d6d6431847 100644 --- a/src/st/get_angle_between_entities_shifted.h +++ b/src/st/get_angle_between_entities_shifted.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only u8 GetAngleBetweenEntitiesShifted(Entity* a, Entity* b) { s32 diffX = (u16)b->posX.i.hi - (u16)a->posX.i.hi; s32 diffY = (u16)b->posY.i.hi - (u16)a->posY.i.hi; diff --git a/src/st/get_angle_point_to_entity.h b/src/st/get_angle_point_to_entity.h index 36452bccec..1a1000f221 100644 --- a/src/st/get_angle_point_to_entity.h +++ b/src/st/get_angle_point_to_entity.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only u16 GetAnglePointToEntity(s32 x, s32 y) { s16 diffX = x - (u16)g_CurrentEntity->posX.i.hi; s16 diffY = y - (u16)g_CurrentEntity->posY.i.hi; diff --git a/src/st/get_angle_point_to_entity_shifted.h b/src/st/get_angle_point_to_entity_shifted.h index 33096436c6..849ecd9d7c 100644 --- a/src/st/get_angle_point_to_entity_shifted.h +++ b/src/st/get_angle_point_to_entity_shifted.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only u8 GetAnglePointToEntityShifted(s32 x, s32 y) { s32 diffX = x - (u16)g_CurrentEntity->posX.i.hi; s32 diffY = y - (u16)g_CurrentEntity->posY.i.hi; diff --git a/src/st/get_distance_to_player_x.h b/src/st/get_distance_to_player_x.h index 28ef176ae0..2c4ea4a564 100644 --- a/src/st/get_distance_to_player_x.h +++ b/src/st/get_distance_to_player_x.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Absolute distance from g_CurrentEntity to the player in the X Axis s32 GetDistanceToPlayerX(void) { s16 xDistance = g_CurrentEntity->posX.i.hi - PLAYER.posX.i.hi; diff --git a/src/st/get_distance_to_player_y.h b/src/st/get_distance_to_player_y.h index c139576e55..bde0f376c8 100644 --- a/src/st/get_distance_to_player_y.h +++ b/src/st/get_distance_to_player_y.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Absolute distance from g_CurrentEntity to the player in the Y Axis s32 GetDistanceToPlayerY(void) { s32 yDistance = g_CurrentEntity->posY.i.hi - PLAYER.posY.i.hi; diff --git a/src/st/get_normalized_angle.h b/src/st/get_normalized_angle.h index f0433b2840..bfb9b428a4 100644 --- a/src/st/get_normalized_angle.h +++ b/src/st/get_normalized_angle.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only u16 GetNormalizedAngle(u16 arg0, u16 arg1, u16 arg2) { u16 temp_a2; u16 var_v0; diff --git a/src/st/get_player_collision_with.h b/src/st/get_player_collision_with.h index 2add3d1b27..9d827c8ad3 100644 --- a/src/st/get_player_collision_with.h +++ b/src/st/get_player_collision_with.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // This function checks if the player collides with the specified entity // and from which direction. // w and h holds the collider size of the entity diff --git a/src/st/get_side_to_player.h b/src/st/get_side_to_player.h index bb830862b4..4a935603c4 100644 --- a/src/st/get_side_to_player.h +++ b/src/st/get_side_to_player.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /** * Returns the player's side position relative to g_CurrentEntity * 0 = Player is on the right side diff --git a/src/st/get_sine.h b/src/st/get_sine.h index 5feac8add4..e2a0d7f6c0 100644 --- a/src/st/get_sine.h +++ b/src/st/get_sine.h @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only s16 GetSine(u8 arg0) { return g_SineTable[arg0]; } diff --git a/src/st/get_sine_scaled.h b/src/st/get_sine_scaled.h index 8f21a4e8e5..b2aeeb0914 100644 --- a/src/st/get_sine_scaled.h +++ b/src/st/get_sine_scaled.h @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only s32 GetSineScaled(u8 arg0, s16 arg1) { return g_SineTable[arg0] * arg1; } diff --git a/src/st/init_entity.h b/src/st/init_entity.h index 6632fabd80..cac2baa069 100644 --- a/src/st/init_entity.h +++ b/src/st/init_entity.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void InitializeEntity(u16 arg0[]) { u16 enemyId; EnemyDef* enemyDef; diff --git a/src/st/init_room_entities.h b/src/st/init_room_entities.h index b1c7b89cf6..87dfa6cc14 100644 --- a/src/st/init_room_entities.h +++ b/src/st/init_room_entities.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Sets up layout arrays and initializes stage state to * initial values. diff --git a/src/st/initialize_unk_entity.h b/src/st/initialize_unk_entity.h index 8f6a368f38..37e9b4d205 100644 --- a/src/st/initialize_unk_entity.h +++ b/src/st/initialize_unk_entity.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only extern u8 g_UnkEntityAnimData[]; void InitializeUnkEntity(Entity* self) { if (!self->step) { diff --git a/src/st/mad/11D3C.c b/src/st/mad/11D3C.c index 79fd15a602..c6e5d78664 100644 --- a/src/st/mad/11D3C.c +++ b/src/st/mad/11D3C.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "mad.h" #include "sfx.h" diff --git a/src/st/mad/15520.c b/src/st/mad/15520.c index b090bb5fe5..ecce6ffd4c 100644 --- a/src/st/mad/15520.c +++ b/src/st/mad/15520.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "mad.h" void EntityHeartDrop(Entity* self) { diff --git a/src/st/mad/D8C8.c b/src/st/mad/D8C8.c index e02f26efc1..b644f3c828 100644 --- a/src/st/mad/D8C8.c +++ b/src/st/mad/D8C8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "mad.h" #include "sfx.h" diff --git a/src/st/mad/bss.c b/src/st/mad/bss.c index a5548bdabc..87440c46b5 100644 --- a/src/st/mad/bss.c +++ b/src/st/mad/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include u16 D_801997E8[768]; diff --git a/src/st/mad/collision.c b/src/st/mad/collision.c index e00cc88b3f..5e4c518354 100644 --- a/src/st/mad/collision.c +++ b/src/st/mad/collision.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "mad.h" #include "sfx.h" diff --git a/src/st/mad/create_entity.c b/src/st/mad/create_entity.c index 15ac3d18da..9d29ce3521 100644 --- a/src/st/mad/create_entity.c +++ b/src/st/mad/create_entity.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "mad.h" // BSS START size = 0x16 diff --git a/src/st/mad/e_collect.c b/src/st/mad/e_collect.c index 4e15736e5c..1275c92ace 100644 --- a/src/st/mad/e_collect.c +++ b/src/st/mad/e_collect.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "mad.h" #include "../e_collect.h" diff --git a/src/st/mad/e_red_door.c b/src/st/mad/e_red_door.c index c0a85254b0..6e6f7e88cc 100644 --- a/src/st/mad/e_red_door.c +++ b/src/st/mad/e_red_door.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "mad.h" #include "../e_red_door.h" diff --git a/src/st/mad/entity_relic_orb.c b/src/st/mad/entity_relic_orb.c index 6b16295148..e15dedb5dc 100644 --- a/src/st/mad/entity_relic_orb.c +++ b/src/st/mad/entity_relic_orb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "mad.h" extern u16 D_801997E8[0x600]; // this should fall into the SBSS section diff --git a/src/st/mad/header.c b/src/st/mad/header.c index fa5b592fba..da553f1e92 100644 --- a/src/st/mad/header.c +++ b/src/st/mad/header.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "mad.h" extern RoomHeader g_Rooms[]; diff --git a/src/st/mad/mad.h b/src/st/mad/mad.h index f39b115836..50878a9539 100644 --- a/src/st/mad/mad.h +++ b/src/st/mad/mad.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef MAD_H #define MAD_H diff --git a/src/st/mad/prim_helpers.c b/src/st/mad/prim_helpers.c index 557c12c1fc..d862cb84c9 100644 --- a/src/st/mad/prim_helpers.c +++ b/src/st/mad/prim_helpers.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "mad.h" #include "../prim_helpers.h" diff --git a/src/st/mad/st_update.c b/src/st/mad/st_update.c index d6525c7985..e1710dc781 100644 --- a/src/st/mad/st_update.c +++ b/src/st/mad/st_update.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "mad.h" #include "../random.h" diff --git a/src/st/make_entity_from_id.h b/src/st/make_entity_from_id.h index d2688fd325..9c278ce235 100644 --- a/src/st/make_entity_from_id.h +++ b/src/st/make_entity_from_id.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only extern PfnEntityUpdate PfnEntityUpdates[]; void MakeEntityFromId(u16 entityId, Entity* src, Entity* dst) { DestroyEntity(dst); diff --git a/src/st/make_explosions.h b/src/st/make_explosions.h index 22f958904f..f2ff9b2f82 100644 --- a/src/st/make_explosions.h +++ b/src/st/make_explosions.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void MakeExplosions(void) { s32 temp_s3; s8 temp_s4; diff --git a/src/st/move_entity.h b/src/st/move_entity.h index 711c9ba7bf..ca32e46ae4 100644 --- a/src/st/move_entity.h +++ b/src/st/move_entity.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void MoveEntity(void) { g_CurrentEntity->posX.val += g_CurrentEntity->velocityX; g_CurrentEntity->posY.val += g_CurrentEntity->velocityY; diff --git a/src/st/no3/377D4.c b/src/st/no3/377D4.c index 590101992f..09f5caddba 100644 --- a/src/st/no3/377D4.c +++ b/src/st/no3/377D4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * File: 377D4.c * Overlay: NO3 diff --git a/src/st/no3/3C4EC.c b/src/st/no3/3C4EC.c index 2f39c06bb8..aa684e0469 100644 --- a/src/st/no3/3C4EC.c +++ b/src/st/no3/3C4EC.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" // pushes alucard to the right diff --git a/src/st/no3/3E134.c b/src/st/no3/3E134.c index cb2b7d4e47..bd61f7173e 100644 --- a/src/st/no3/3E134.c +++ b/src/st/no3/3E134.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" // intro owl and leaves diff --git a/src/st/no3/3FF00.c b/src/st/no3/3FF00.c index d1e1b755cc..f81b8a14e1 100644 --- a/src/st/no3/3FF00.c +++ b/src/st/no3/3FF00.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" #include "sfx.h" diff --git a/src/st/no3/44C64.c b/src/st/no3/44C64.c index e00f58bf67..d5f5e261af 100644 --- a/src/st/no3/44C64.c +++ b/src/st/no3/44C64.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" #include "sfx.h" diff --git a/src/st/no3/48A84.c b/src/st/no3/48A84.c index 36bbe51c34..9c934c8a20 100644 --- a/src/st/no3/48A84.c +++ b/src/st/no3/48A84.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" #include "../check_coll_offsets.h" diff --git a/src/st/no3/516B4.c b/src/st/no3/516B4.c index cac8d031b5..bcf09a2499 100644 --- a/src/st/no3/516B4.c +++ b/src/st/no3/516B4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" #include "../e_merman2.h" diff --git a/src/st/no3/53F38.c b/src/st/no3/53F38.c index d1880eb6a6..990baf1ec6 100644 --- a/src/st/no3/53F38.c +++ b/src/st/no3/53F38.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" #include "../e_merman.h" diff --git a/src/st/no3/56264.c b/src/st/no3/56264.c index 5f36b06e48..fe4e15025b 100644 --- a/src/st/no3/56264.c +++ b/src/st/no3/56264.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" void EntityBat(Entity* entity) { diff --git a/src/st/no3/564B0.c b/src/st/no3/564B0.c index 788bfe2a04..27a60c6567 100644 --- a/src/st/no3/564B0.c +++ b/src/st/no3/564B0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" #include "sfx.h" diff --git a/src/st/no3/blit_char.c b/src/st/no3/blit_char.c index dcd77c4c0e..4671969f21 100644 --- a/src/st/no3/blit_char.c +++ b/src/st/no3/blit_char.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../blit_char.h" diff --git a/src/st/no3/bss.c b/src/st/no3/bss.c index 9300a5fa20..8feed43f0d 100644 --- a/src/st/no3/bss.c +++ b/src/st/no3/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include STATIC_PAD_BSS(3072); diff --git a/src/st/no3/collision.c b/src/st/no3/collision.c index 075265617f..765a667bf0 100644 --- a/src/st/no3/collision.c +++ b/src/st/no3/collision.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../collision.h" diff --git a/src/st/no3/create_entity.c b/src/st/no3/create_entity.c index e5249fb876..3192735eb3 100644 --- a/src/st/no3/create_entity.c +++ b/src/st/no3/create_entity.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include STATIC_PAD_BSS(96); diff --git a/src/st/no3/deathcutscene.c b/src/st/no3/deathcutscene.c index 52d3014759..c7896c71ea 100644 --- a/src/st/no3/deathcutscene.c +++ b/src/st/no3/deathcutscene.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" void func_801BE544(void) { diff --git a/src/st/no3/e_bone_scimitar.c b/src/st/no3/e_bone_scimitar.c index 0bb9cf991e..ea60d25995 100644 --- a/src/st/no3/e_bone_scimitar.c +++ b/src/st/no3/e_bone_scimitar.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" #include "../e_bone_scimitar.h" diff --git a/src/st/no3/e_collect.c b/src/st/no3/e_collect.c index f819390dbc..aa502d8c9f 100644 --- a/src/st/no3/e_collect.c +++ b/src/st/no3/e_collect.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_collect.h" diff --git a/src/st/no3/e_red_door.c b/src/st/no3/e_red_door.c index cd9dc7a561..dd52a75451 100644 --- a/src/st/no3/e_red_door.c +++ b/src/st/no3/e_red_door.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_red_door.h" diff --git a/src/st/no3/entity_heart_drop.c b/src/st/no3/entity_heart_drop.c index cc35181a6f..a066384334 100644 --- a/src/st/no3/entity_heart_drop.c +++ b/src/st/no3/entity_heart_drop.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" void EntityHeartDrop(Entity* self) { diff --git a/src/st/no3/entity_message_box.c b/src/st/no3/entity_message_box.c index 3532329fdb..72489d3b99 100644 --- a/src/st/no3/entity_message_box.c +++ b/src/st/no3/entity_message_box.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" #include "../entity_message_box.h" diff --git a/src/st/no3/entity_relic_orb.c b/src/st/no3/entity_relic_orb.c index 4b30d98a65..6fe9643eec 100644 --- a/src/st/no3/entity_relic_orb.c +++ b/src/st/no3/entity_relic_orb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" #include "../entity_relic_orb.h" diff --git a/src/st/no3/header.c b/src/st/no3/header.c index 5381a63940..7d3dfec412 100644 --- a/src/st/no3/header.c +++ b/src/st/no3/header.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" extern RoomHeader OVL_EXPORT(rooms)[]; diff --git a/src/st/no3/no3.h b/src/st/no3/no3.h index 78f2e5fe65..db770751c0 100644 --- a/src/st/no3/no3.h +++ b/src/st/no3/no3.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "stage.h" #define OVL_EXPORT(x) NO3_##x diff --git a/src/st/no3/player_water_effect.c b/src/st/no3/player_water_effect.c index 315a51e6ea..5e3e5b3892 100644 --- a/src/st/no3/player_water_effect.c +++ b/src/st/no3/player_water_effect.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "no3.h" static u16 func_801D0A2C(s16 arg0, s16 arg1, s16 arg2, s16* arg3) { diff --git a/src/st/no3/prim_helpers.c b/src/st/no3/prim_helpers.c index 96d47f7df3..bf72d43920 100644 --- a/src/st/no3/prim_helpers.c +++ b/src/st/no3/prim_helpers.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../prim_helpers.h" diff --git a/src/st/no3/st_update.c b/src/st/no3/st_update.c index 8477b24783..ecc3e8bbf5 100644 --- a/src/st/no3/st_update.c +++ b/src/st/no3/st_update.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include static u16 UNK_Invincibility0[] = { diff --git a/src/st/no3/tile_data.c b/src/st/no3/tile_data.c index e8459c3b54..8225448043 100644 --- a/src/st/no3/tile_data.c +++ b/src/st/no3/tile_data.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "tilemap_18838.h" diff --git a/src/st/np3/32830.c b/src/st/np3/32830.c index 04f749c774..a89e69cab2 100644 --- a/src/st/np3/32830.c +++ b/src/st/np3/32830.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "sfx.h" diff --git a/src/st/np3/363FC.c b/src/st/np3/363FC.c index 6e2043e640..f21767c523 100644 --- a/src/st/np3/363FC.c +++ b/src/st/np3/363FC.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" // Make a EntityWargExplosionPuffOpaque diff --git a/src/st/np3/44DCC.c b/src/st/np3/44DCC.c index a4338645f0..1a515de8c1 100644 --- a/src/st/np3/44DCC.c +++ b/src/st/np3/44DCC.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: NP3 * Description: Merman Room diff --git a/src/st/np3/48238.c b/src/st/np3/48238.c index ddb8b17dc7..5bb5ba18e7 100644 --- a/src/st/np3/48238.c +++ b/src/st/np3/48238.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: NP3 * Description: Merman Room (2) diff --git a/src/st/np3/4997C.c b/src/st/np3/4997C.c index d9adec87c5..338193b1a1 100644 --- a/src/st/np3/4997C.c +++ b/src/st/np3/4997C.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" void EntityBat(Entity* entity) { diff --git a/src/st/np3/49BC8.c b/src/st/np3/49BC8.c index 8f2d9c29de..4f37215097 100644 --- a/src/st/np3/49BC8.c +++ b/src/st/np3/49BC8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "sfx.h" diff --git a/src/st/np3/49F98.c b/src/st/np3/49F98.c index eab8fc25a7..939538e9e0 100644 --- a/src/st/np3/49F98.c +++ b/src/st/np3/49F98.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: NP3 * Enemy: Bloody Zombie diff --git a/src/st/np3/4B018.c b/src/st/np3/4B018.c index c2e371a116..7d9757e06f 100644 --- a/src/st/np3/4B018.c +++ b/src/st/np3/4B018.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "sfx.h" diff --git a/src/st/np3/4D540.c b/src/st/np3/4D540.c index 6c5afbcf30..e7879b6d3b 100644 --- a/src/st/np3/4D540.c +++ b/src/st/np3/4D540.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" void func_801CD540(Entity* self) { diff --git a/src/st/np3/4E69C.c b/src/st/np3/4E69C.c index 6a8200708f..28f2f5a90a 100644 --- a/src/st/np3/4E69C.c +++ b/src/st/np3/4E69C.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "sfx.h" diff --git a/src/st/np3/4F5B8.c b/src/st/np3/4F5B8.c index c6841f42b6..0b16175544 100644 --- a/src/st/np3/4F5B8.c +++ b/src/st/np3/4F5B8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "sfx.h" diff --git a/src/st/np3/blade.c b/src/st/np3/blade.c index 7e23fe06f7..3fa9e0d48f 100644 --- a/src/st/np3/blade.c +++ b/src/st/np3/blade.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "sfx.h" diff --git a/src/st/np3/blit_char.c b/src/st/np3/blit_char.c index dcd77c4c0e..4671969f21 100644 --- a/src/st/np3/blit_char.c +++ b/src/st/np3/blit_char.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../blit_char.h" diff --git a/src/st/np3/bss.c b/src/st/np3/bss.c index 2772f20aaf..0d6e6fdad6 100644 --- a/src/st/np3/bss.c +++ b/src/st/np3/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include STATIC_PAD_BSS(3072); diff --git a/src/st/np3/collision.c b/src/st/np3/collision.c index 075265617f..765a667bf0 100644 --- a/src/st/np3/collision.c +++ b/src/st/np3/collision.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../collision.h" diff --git a/src/st/np3/create_entity.c b/src/st/np3/create_entity.c index 10c09cbabf..9754da4b19 100644 --- a/src/st/np3/create_entity.c +++ b/src/st/np3/create_entity.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../create_entity.h" diff --git a/src/st/np3/e_bone_scimitar.c b/src/st/np3/e_bone_scimitar.c index d8720390ec..1a5fd0ebcb 100644 --- a/src/st/np3/e_bone_scimitar.c +++ b/src/st/np3/e_bone_scimitar.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "../e_bone_scimitar.h" diff --git a/src/st/np3/e_breakable.c b/src/st/np3/e_breakable.c index 712f6292c7..3aef2de168 100644 --- a/src/st/np3/e_breakable.c +++ b/src/st/np3/e_breakable.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "../e_breakable.h" diff --git a/src/st/np3/e_collect.c b/src/st/np3/e_collect.c index f819390dbc..aa502d8c9f 100644 --- a/src/st/np3/e_collect.c +++ b/src/st/np3/e_collect.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_collect.h" diff --git a/src/st/np3/e_init.c b/src/st/np3/e_init.c index be7943ec78..f3d86c7df6 100644 --- a/src/st/np3/e_init.c +++ b/src/st/np3/e_init.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include void EntityBreakable(Entity* self); diff --git a/src/st/np3/e_misc.c b/src/st/np3/e_misc.c index f76f360d70..373f5d49b2 100644 --- a/src/st/np3/e_misc.c +++ b/src/st/np3/e_misc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "../entity_relic_orb.h" diff --git a/src/st/np3/e_particles.c b/src/st/np3/e_particles.c index f07a9a67b4..04d492c03a 100644 --- a/src/st/np3/e_particles.c +++ b/src/st/np3/e_particles.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "../entity_soul_steal_orb.h" diff --git a/src/st/np3/e_red_door.c b/src/st/np3/e_red_door.c index cd9dc7a561..dd52a75451 100644 --- a/src/st/np3/e_red_door.c +++ b/src/st/np3/e_red_door.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_red_door.h" diff --git a/src/st/np3/e_room_fg.c b/src/st/np3/e_room_fg.c index d13f2e7fb2..18de63d4d4 100644 --- a/src/st/np3/e_room_fg.c +++ b/src/st/np3/e_room_fg.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" extern ObjInit D_801820F0[]; diff --git a/src/st/np3/e_stage_name.c b/src/st/np3/e_stage_name.c index ed088d2f1f..debf7217cb 100644 --- a/src/st/np3/e_stage_name.c +++ b/src/st/np3/e_stage_name.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "../e_stage_name.h" diff --git a/src/st/np3/gaibon.c b/src/st/np3/gaibon.c index aa9a4115df..1cff68ce15 100644 --- a/src/st/np3/gaibon.c +++ b/src/st/np3/gaibon.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "sfx.h" diff --git a/src/st/np3/header.c b/src/st/np3/header.c index a8c0365fce..32d023f50a 100644 --- a/src/st/np3/header.c +++ b/src/st/np3/header.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" extern RoomHeader OVL_EXPORT(rooms)[]; diff --git a/src/st/np3/np3.h b/src/st/np3/np3.h index e0a36bbd6f..697451d197 100644 --- a/src/st/np3/np3.h +++ b/src/st/np3/np3.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "stage.h" #define OVL_EXPORT(x) NP3_##x diff --git a/src/st/np3/player_water_effect.c b/src/st/np3/player_water_effect.c index d8702513c5..91cdf70aa5 100644 --- a/src/st/np3/player_water_effect.c +++ b/src/st/np3/player_water_effect.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" static u16 func_801C4144(s16 arg0, s16 arg1, s16 arg2, s16* arg3) { diff --git a/src/st/np3/popup.c b/src/st/np3/popup.c index 96fe1e10c7..7de7966d15 100644 --- a/src/st/np3/popup.c +++ b/src/st/np3/popup.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "../popup.h" diff --git a/src/st/np3/prim_helpers.c b/src/st/np3/prim_helpers.c index 96d47f7df3..bf72d43920 100644 --- a/src/st/np3/prim_helpers.c +++ b/src/st/np3/prim_helpers.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../prim_helpers.h" diff --git a/src/st/np3/slogra.c b/src/st/np3/slogra.c index 6efd3f3e4a..efbff88b41 100644 --- a/src/st/np3/slogra.c +++ b/src/st/np3/slogra.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: NP3 * Enemy: Slogra & Gaibon Boss diff --git a/src/st/np3/st_common.c b/src/st/np3/st_common.c index b9827d9d09..05c398e389 100644 --- a/src/st/np3/st_common.c +++ b/src/st/np3/st_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" #include "../../destroy_entity.h" diff --git a/src/st/np3/st_debug.c b/src/st/np3/st_debug.c index e6ac092afa..5304da6db9 100644 --- a/src/st/np3/st_debug.c +++ b/src/st/np3/st_debug.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "np3.h" void func_801B246C(Entity* self) { diff --git a/src/st/np3/st_update.c b/src/st/np3/st_update.c index 8477b24783..ecc3e8bbf5 100644 --- a/src/st/np3/st_update.c +++ b/src/st/np3/st_update.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include static u16 UNK_Invincibility0[] = { diff --git a/src/st/np3/tile_data.c b/src/st/np3/tile_data.c index fa580751fd..5b32321fb2 100644 --- a/src/st/np3/tile_data.c +++ b/src/st/np3/tile_data.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "tilemap_168F4.h" diff --git a/src/st/nz0/30958.c b/src/st/nz0/30958.c index 35ada6a535..3a246a128e 100644 --- a/src/st/nz0/30958.c +++ b/src/st/nz0/30958.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * File: 394D4.c * Overlay: NZ0 diff --git a/src/st/nz0/311C0.c b/src/st/nz0/311C0.c index 547ca51fa6..e1b66adc81 100644 --- a/src/st/nz0/311C0.c +++ b/src/st/nz0/311C0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" // bust with red eyes that can have a candle on it diff --git a/src/st/nz0/36DE4.c b/src/st/nz0/36DE4.c index c597ff8dce..f747842c96 100644 --- a/src/st/nz0/36DE4.c +++ b/src/st/nz0/36DE4.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" #include "sfx.h" diff --git a/src/st/nz0/4070C.c b/src/st/nz0/4070C.c index 16ef708224..ec74ed7d32 100644 --- a/src/st/nz0/4070C.c +++ b/src/st/nz0/4070C.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" #include "../check_coll_offsets.h" diff --git a/src/st/nz0/blit_char.c b/src/st/nz0/blit_char.c index dcd77c4c0e..4671969f21 100644 --- a/src/st/nz0/blit_char.c +++ b/src/st/nz0/blit_char.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../blit_char.h" diff --git a/src/st/nz0/bossfight.c b/src/st/nz0/bossfight.c index 08db8e24bc..9a843045cd 100644 --- a/src/st/nz0/bossfight.c +++ b/src/st/nz0/bossfight.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" #include "sfx.h" diff --git a/src/st/nz0/bss.c b/src/st/nz0/bss.c index 5dd9dc55ca..c43d8ebe84 100644 --- a/src/st/nz0/bss.c +++ b/src/st/nz0/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include STATIC_PAD_BSS(3072); diff --git a/src/st/nz0/collision.c b/src/st/nz0/collision.c index 075265617f..765a667bf0 100644 --- a/src/st/nz0/collision.c +++ b/src/st/nz0/collision.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../collision.h" diff --git a/src/st/nz0/create_entity.c b/src/st/nz0/create_entity.c index 29364d565e..cd28ea65a2 100644 --- a/src/st/nz0/create_entity.c +++ b/src/st/nz0/create_entity.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include u32 D_801CAA14[24]; diff --git a/src/st/nz0/e_axe_knight.c b/src/st/nz0/e_axe_knight.c index a45a50d02c..5962989f6b 100644 --- a/src/st/nz0/e_axe_knight.c +++ b/src/st/nz0/e_axe_knight.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: NZ0 * Enemy: Axe Knight diff --git a/src/st/nz0/e_bloody_skeleton.c b/src/st/nz0/e_bloody_skeleton.c index ca07bbf4f6..5f0d67bf38 100644 --- a/src/st/nz0/e_bloody_skeleton.c +++ b/src/st/nz0/e_bloody_skeleton.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: NZ0 * Enemy: Blood Skeleton diff --git a/src/st/nz0/e_bloody_zombie.c b/src/st/nz0/e_bloody_zombie.c index 7f834b1ac1..04e137b3aa 100644 --- a/src/st/nz0/e_bloody_zombie.c +++ b/src/st/nz0/e_bloody_zombie.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: NZ0 * Enemy: Bloody Zombie diff --git a/src/st/nz0/e_bone_scimitar.c b/src/st/nz0/e_bone_scimitar.c index ccfcda1bc2..188b73a986 100644 --- a/src/st/nz0/e_bone_scimitar.c +++ b/src/st/nz0/e_bone_scimitar.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" #include "../e_bone_scimitar.h" diff --git a/src/st/nz0/e_breakable.c b/src/st/nz0/e_breakable.c index bbc53af5ce..1f3b9c36cd 100644 --- a/src/st/nz0/e_breakable.c +++ b/src/st/nz0/e_breakable.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" static u8 D_80180DE4[] = {4, 1, 4, 2, 0, 0, 0, 0}; diff --git a/src/st/nz0/e_collect.c b/src/st/nz0/e_collect.c index f819390dbc..aa502d8c9f 100644 --- a/src/st/nz0/e_collect.c +++ b/src/st/nz0/e_collect.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_collect.h" diff --git a/src/st/nz0/e_elevator.c b/src/st/nz0/e_elevator.c index 5fecccc7ab..bf9f1d7ac1 100644 --- a/src/st/nz0/e_elevator.c +++ b/src/st/nz0/e_elevator.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" typedef enum ElevatorSubSteps { diff --git a/src/st/nz0/e_init.c b/src/st/nz0/e_init.c index 922d2b7687..f87cd94a95 100644 --- a/src/st/nz0/e_init.c +++ b/src/st/nz0/e_init.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include void EntityBreakableNZ0(Entity*); diff --git a/src/st/nz0/e_magically_sealed_door.c b/src/st/nz0/e_magically_sealed_door.c index c6fa557e34..0bf56e760a 100644 --- a/src/st/nz0/e_magically_sealed_door.c +++ b/src/st/nz0/e_magically_sealed_door.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: NZ0 * Entity: Magically Sealed Door diff --git a/src/st/nz0/e_particles.c b/src/st/nz0/e_particles.c index 86161180c1..82e69d09db 100644 --- a/src/st/nz0/e_particles.c +++ b/src/st/nz0/e_particles.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_particles.h" diff --git a/src/st/nz0/e_red_door.c b/src/st/nz0/e_red_door.c index eefaa52b1a..6f43d96b5c 100644 --- a/src/st/nz0/e_red_door.c +++ b/src/st/nz0/e_red_door.c @@ -1,3 +1,3 @@ - +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_red_door.h" diff --git a/src/st/nz0/e_room_fg.c b/src/st/nz0/e_room_fg.c index b20c1b8663..b4f033aeb8 100644 --- a/src/st/nz0/e_room_fg.c +++ b/src/st/nz0/e_room_fg.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_room_fg.h" diff --git a/src/st/nz0/e_skeleton.c b/src/st/nz0/e_skeleton.c index 8b78f77ae3..d240e9d5cc 100644 --- a/src/st/nz0/e_skeleton.c +++ b/src/st/nz0/e_skeleton.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: NZ0 * Enemy: Skeleton diff --git a/src/st/nz0/e_spittle_bone.c b/src/st/nz0/e_spittle_bone.c index 70f2f572f2..d40d57a095 100644 --- a/src/st/nz0/e_spittle_bone.c +++ b/src/st/nz0/e_spittle_bone.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: NZ0 * Enemy: Spittle Bone diff --git a/src/st/nz0/e_stage_name.c b/src/st/nz0/e_stage_name.c index d62fdb9509..31a4c36d7b 100644 --- a/src/st/nz0/e_stage_name.c +++ b/src/st/nz0/e_stage_name.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" #include "../e_stage_name.h" diff --git a/src/st/nz0/e_subweapon_container.c b/src/st/nz0/e_subweapon_container.c index 6c0c01ded7..c6def31496 100644 --- a/src/st/nz0/e_subweapon_container.c +++ b/src/st/nz0/e_subweapon_container.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: NZ0 * Entity: SubWeapon container diff --git a/src/st/nz0/entity_heart_drop.c b/src/st/nz0/entity_heart_drop.c index 405caa475d..a5110b250e 100644 --- a/src/st/nz0/entity_heart_drop.c +++ b/src/st/nz0/entity_heart_drop.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" void EntityHeartDrop(Entity* self) { diff --git a/src/st/nz0/entity_message_box.c b/src/st/nz0/entity_message_box.c index 0ae48b771d..186267e490 100644 --- a/src/st/nz0/entity_message_box.c +++ b/src/st/nz0/entity_message_box.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" #include "../entity_message_box.h" diff --git a/src/st/nz0/entity_relic_orb.c b/src/st/nz0/entity_relic_orb.c index d8c1952558..75aeaa4824 100644 --- a/src/st/nz0/entity_relic_orb.c +++ b/src/st/nz0/entity_relic_orb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" #include "../entity_relic_orb.h" diff --git a/src/st/nz0/gaibon.c b/src/st/nz0/gaibon.c index 3902b0fc04..108a427a40 100644 --- a/src/st/nz0/gaibon.c +++ b/src/st/nz0/gaibon.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" #include "sfx.h" diff --git a/src/st/nz0/header.c b/src/st/nz0/header.c index cacfd2057e..308614a857 100644 --- a/src/st/nz0/header.c +++ b/src/st/nz0/header.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" extern signed short* spriteBanks[]; diff --git a/src/st/nz0/lifeupspawn.c b/src/st/nz0/lifeupspawn.c index 8e74eda8ba..174326feed 100644 --- a/src/st/nz0/lifeupspawn.c +++ b/src/st/nz0/lifeupspawn.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" // particle effect that spawns life up item diff --git a/src/st/nz0/maria.c b/src/st/nz0/maria.c index c60d16c7a7..039156efe0 100644 --- a/src/st/nz0/maria.c +++ b/src/st/nz0/maria.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" #include "sfx.h" diff --git a/src/st/nz0/mariacutscene.c b/src/st/nz0/mariacutscene.c index 9ebc7ff99f..244bb6baf9 100644 --- a/src/st/nz0/mariacutscene.c +++ b/src/st/nz0/mariacutscene.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" // This file consists of EntityMariaCutscene, and all the functions it calls. diff --git a/src/st/nz0/nz0.h b/src/st/nz0/nz0.h index bd97b29c81..7c1b11fed8 100644 --- a/src/st/nz0/nz0.h +++ b/src/st/nz0/nz0.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "stage.h" #define OVL_EXPORT(x) NZ0_##x diff --git a/src/st/nz0/popup.c b/src/st/nz0/popup.c index 8c6e9b6aab..619cd4b9f6 100644 --- a/src/st/nz0/popup.c +++ b/src/st/nz0/popup.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../popup.h" diff --git a/src/st/nz0/prim_helpers.c b/src/st/nz0/prim_helpers.c index 96d47f7df3..bf72d43920 100644 --- a/src/st/nz0/prim_helpers.c +++ b/src/st/nz0/prim_helpers.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../prim_helpers.h" diff --git a/src/st/nz0/slogra.c b/src/st/nz0/slogra.c index 3c237895cd..0686d2c515 100644 --- a/src/st/nz0/slogra.c +++ b/src/st/nz0/slogra.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" #include "sfx.h" diff --git a/src/st/nz0/st_common.c b/src/st/nz0/st_common.c index 796e4edc4d..e6258d4212 100644 --- a/src/st/nz0/st_common.c +++ b/src/st/nz0/st_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "nz0.h" static s16 D_80181978[] = { diff --git a/src/st/nz0/st_update.c b/src/st/nz0/st_update.c index 8477b24783..ecc3e8bbf5 100644 --- a/src/st/nz0/st_update.c +++ b/src/st/nz0/st_update.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include static u16 UNK_Invincibility0[] = { diff --git a/src/st/nz0/tile_data.c b/src/st/nz0/tile_data.c index a64eb535bd..6ed019ead1 100644 --- a/src/st/nz0/tile_data.c +++ b/src/st/nz0/tile_data.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "tilemap_16A5C.h" diff --git a/src/st/play_sfx_positional.h b/src/st/play_sfx_positional.h index 206b8f3414..84eae96032 100644 --- a/src/st/play_sfx_positional.h +++ b/src/st/play_sfx_positional.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void PlaySfxPositional(s16 sfxId) { s32 posX; s32 posY; diff --git a/src/st/popup.h b/src/st/popup.h index b7807ebc2e..84589d1fec 100644 --- a/src/st/popup.h +++ b/src/st/popup.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #if defined(VERSION_US) diff --git a/src/st/prevent_entity_from_respawning.h b/src/st/prevent_entity_from_respawning.h index 9dc0f494d2..b245ce7493 100644 --- a/src/st/prevent_entity_from_respawning.h +++ b/src/st/prevent_entity_from_respawning.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void PreventEntityFromRespawning(Entity* entity) { if (entity->entityRoomIndex) { u16 index = entity->entityRoomIndex - 1 >> 5; diff --git a/src/st/prim_helpers.h b/src/st/prim_helpers.h index 51a6b9d5fe..34bfa33ad8 100644 --- a/src/st/prim_helpers.h +++ b/src/st/prim_helpers.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "game.h" #if !defined(VERSION_PSP) diff --git a/src/st/random.h b/src/st/random.h index 3d1795d7f1..744c2c4407 100644 --- a/src/st/random.h +++ b/src/st/random.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include s32 Random(void) { diff --git a/src/st/ratan2.h b/src/st/ratan2.h index cd2e5057b4..ea059b634b 100644 --- a/src/st/ratan2.h +++ b/src/st/ratan2.h @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only u16 Ratan2(s16 x, s16 y) { return ratan2(y, x); } diff --git a/src/st/ratan2_shifted.h b/src/st/ratan2_shifted.h index a29f41a3fb..ca5b28ee02 100644 --- a/src/st/ratan2_shifted.h +++ b/src/st/ratan2_shifted.h @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only u8 Ratan2Shifted(s16 x, s16 y) { return (ratan2(y, x) >> 4) + 0x40; } diff --git a/src/st/replace_breakable_with_item_drop.h b/src/st/replace_breakable_with_item_drop.h index ab0a8d4176..6d9fb54036 100644 --- a/src/st/replace_breakable_with_item_drop.h +++ b/src/st/replace_breakable_with_item_drop.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void ReplaceBreakableWithItemDrop(Entity* self) { u16 params; diff --git a/src/st/rwrp/bss.c b/src/st/rwrp/bss.c index 1bb650f9be..267f5dcd5e 100644 --- a/src/st/rwrp/bss.c +++ b/src/st/rwrp/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include STATIC_PAD_BSS(0xC68); diff --git a/src/st/rwrp/d_1b8.c b/src/st/rwrp/d_1b8.c index 3644c28dac..f6f4d9ce68 100644 --- a/src/st/rwrp/d_1b8.c +++ b/src/st/rwrp/d_1b8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "rwrp.h" #include "../st_private.h" diff --git a/src/st/rwrp/e_init.c b/src/st/rwrp/e_init.c index 87ca8dd352..af8c1bba2c 100644 --- a/src/st/rwrp/e_init.c +++ b/src/st/rwrp/e_init.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "rwrp.h" #include "../st_private.h" diff --git a/src/st/rwrp/e_misc.c b/src/st/rwrp/e_misc.c index c098319c68..4680046a1f 100644 --- a/src/st/rwrp/e_misc.c +++ b/src/st/rwrp/e_misc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "rwrp.h" #include "../e_misc.h" diff --git a/src/st/rwrp/header.c b/src/st/rwrp/header.c index 9991dc8375..5c9ddc9416 100644 --- a/src/st/rwrp/header.c +++ b/src/st/rwrp/header.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "rwrp.h" extern RoomHeader OVL_EXPORT(rooms)[]; diff --git a/src/st/rwrp/rwrp.h b/src/st/rwrp/rwrp.h index a688ab70ea..dd99336b3a 100644 --- a/src/st/rwrp/rwrp.h +++ b/src/st/rwrp/rwrp.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef RWRP_H #define RWRP_H diff --git a/src/st/rwrp/tile_data.c b/src/st/rwrp/tile_data.c index a98915f79c..13c117e7a1 100644 --- a/src/st/rwrp/tile_data.c +++ b/src/st/rwrp/tile_data.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "tilemap_01FC8.h" diff --git a/src/st/rwrp/warp.c b/src/st/rwrp/warp.c index f3b658b65a..7ae0901a61 100644 --- a/src/st/rwrp/warp.c +++ b/src/st/rwrp/warp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "game.h" #include "rwrp.h" #include "common.h" diff --git a/src/st/sel/2C048.c b/src/st/sel/2C048.c index 19f26c5430..9613140aa9 100644 --- a/src/st/sel/2C048.c +++ b/src/st/sel/2C048.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * File: 2C048.c * Overlay: SEL diff --git a/src/st/sel/33164.c b/src/st/sel/33164.c index accb2030aa..6001ae171c 100644 --- a/src/st/sel/33164.c +++ b/src/st/sel/33164.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sel.h" s32 func_801B3164(void) { diff --git a/src/st/sel/3410C.c b/src/st/sel/3410C.c index 3be0685272..29497d4188 100644 --- a/src/st/sel/3410C.c +++ b/src/st/sel/3410C.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sel.h" #include "sfx.h" diff --git a/src/st/sel/3585C.c b/src/st/sel/3585C.c index 0ade8aa847..574ad29161 100644 --- a/src/st/sel/3585C.c +++ b/src/st/sel/3585C.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sel.h" void func_801B4B9C(Entity* entity, s16 step); diff --git a/src/st/sel/3642C.c b/src/st/sel/3642C.c index da39f62558..9bdae5e04f 100644 --- a/src/st/sel/3642C.c +++ b/src/st/sel/3642C.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sel.h" void func_801B642C(void) { diff --git a/src/st/sel/CD54.c b/src/st/sel/CD54.c index ebd075ca85..a47b2c990c 100644 --- a/src/st/sel/CD54.c +++ b/src/st/sel/CD54.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only unsigned short D_8018CD54[48] = { 0x0000, 0x0421, 0x0C63, 0x2D6B, 0x56B5, 0x7FFF, 0x2840, 0x38C4, 0x59CC, 0x00EE, 0x01F4, 0x0F5F, 0x3FFF, 0x000A, 0x0010, 0x0016, diff --git a/src/st/sel/banks.c b/src/st/sel/banks.c index a49fee43ba..6f073bd962 100644 --- a/src/st/sel/banks.c +++ b/src/st/sel/banks.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "game.h" static u8 D_801804E0[] = { diff --git a/src/st/sel/bss.c b/src/st/sel/bss.c index 061db6c1aa..3abb2a4392 100644 --- a/src/st/sel/bss.c +++ b/src/st/sel/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "common.h" u32 D_801BAEE4[9]; diff --git a/src/st/sel/config_us.c b/src/st/sel/config_us.c index 052811ed1a..38a9d28199 100644 --- a/src/st/sel/config_us.c +++ b/src/st/sel/config_us.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../../config_us.h" diff --git a/src/st/sel/lba_stage.c b/src/st/sel/lba_stage.c index 03dcba60d1..6f0232cec3 100644 --- a/src/st/sel/lba_stage.c +++ b/src/st/sel/lba_stage.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "game.h" // clang-format off diff --git a/src/st/sel/save_mgr.c b/src/st/sel/save_mgr.c index ac7c748fd0..d9c13c0b0c 100644 --- a/src/st/sel/save_mgr.c +++ b/src/st/sel/save_mgr.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sel.h" #include "../../save_mgr.h" diff --git a/src/st/sel/save_mgr_pre.c b/src/st/sel/save_mgr_pre.c index b599f080db..f0eac22740 100644 --- a/src/st/sel/save_mgr_pre.c +++ b/src/st/sel/save_mgr_pre.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sel.h" #include "../../save_mgr_pre.h" diff --git a/src/st/sel/sel.h b/src/st/sel/sel.h index b3a8343eaf..c57a06fc5b 100644 --- a/src/st/sel/sel.h +++ b/src/st/sel/sel.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "stage.h" #include #include "memcard.h" diff --git a/src/st/sel/stream.c b/src/st/sel/stream.c index 74bd5ca762..90bb1f7d8c 100644 --- a/src/st/sel/stream.c +++ b/src/st/sel/stream.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sel.h" // Check if CD data is ready as long as its not related to reading the position diff --git a/src/st/sel/stream_info.c b/src/st/sel/stream_info.c index ab54c3624f..bbd4ccc774 100644 --- a/src/st/sel/stream_info.c +++ b/src/st/sel/stream_info.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "sel.h" StreamInfo g_StreamInfo0 = { diff --git a/src/st/set_entity_velocity_from_angle.h b/src/st/set_entity_velocity_from_angle.h index 497f34842f..f23072c25a 100644 --- a/src/st/set_entity_velocity_from_angle.h +++ b/src/st/set_entity_velocity_from_angle.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void SetEntityVelocityFromAngle(s32 arg0, s16 arg1) { g_CurrentEntity->velocityX = GetSineScaled(arg0, arg1); g_CurrentEntity->velocityY = GetSineScaled(arg0 - 0x40, arg1); diff --git a/src/st/set_step.h b/src/st/set_step.h index 593dff5a40..4006c7cf52 100644 --- a/src/st/set_step.h +++ b/src/st/set_step.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void SetStep(u8 step) { g_CurrentEntity->step = step; g_CurrentEntity->step_s = 0; diff --git a/src/st/set_sub_step.h b/src/st/set_sub_step.h index ca0b785aaa..866c1a8699 100644 --- a/src/st/set_sub_step.h +++ b/src/st/set_sub_step.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void SetSubStep(u8 step_s) { g_CurrentEntity->step_s = step_s; g_CurrentEntity->animFrameIdx = 0; diff --git a/src/st/st0/27D64.c b/src/st/st0/27D64.c index 864d1f2cf7..b6912794a8 100644 --- a/src/st/st0/27D64.c +++ b/src/st/st0/27D64.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "st0.h" #include "sfx.h" diff --git a/src/st/st0/2A218.c b/src/st/st0/2A218.c index 65d34b8aa3..11fce9c0a1 100644 --- a/src/st/st0/2A218.c +++ b/src/st/st0/2A218.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "st0.h" void func_801AA218(s16 arg0) { diff --git a/src/st/st0/2A8DC.c b/src/st/st0/2A8DC.c index bfcf8e24d1..ec07ab7ab4 100644 --- a/src/st/st0/2A8DC.c +++ b/src/st/st0/2A8DC.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: ST0 * Entity: Secret Stairs diff --git a/src/st/st0/2B0C8.c b/src/st/st0/2B0C8.c index e9c2448bcf..14eb15dbea 100644 --- a/src/st/st0/2B0C8.c +++ b/src/st/st0/2B0C8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "st0.h" #include "sfx.h" diff --git a/src/st/st0/2C564.c b/src/st/st0/2C564.c index e914364358..ce46162518 100644 --- a/src/st/st0/2C564.c +++ b/src/st/st0/2C564.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: ST0 * Enemy: Dracula Boss diff --git a/src/st/st0/2DAC8.c b/src/st/st0/2DAC8.c index e5ba0a1bf1..25617d7c3b 100644 --- a/src/st/st0/2DAC8.c +++ b/src/st/st0/2DAC8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "st0.h" #include "sfx.h" diff --git a/src/st/st0/30030.c b/src/st/st0/30030.c index ee3fc310bd..2514aca1cf 100644 --- a/src/st/st0/30030.c +++ b/src/st/st0/30030.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "st0.h" #include "disk.h" diff --git a/src/st/st0/34908.c b/src/st/st0/34908.c index 2a2e8cb677..201e66b8c2 100644 --- a/src/st/st0/34908.c +++ b/src/st/st0/34908.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "st0.h" #include "sfx.h" diff --git a/src/st/st0/37308.c b/src/st/st0/37308.c index db30e3a838..5ae209603f 100644 --- a/src/st/st0/37308.c +++ b/src/st/st0/37308.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "game.h" #include "st0.h" #include "sfx.h" diff --git a/src/st/st0/3D8F0.c b/src/st/st0/3D8F0.c index 7e1ba59463..a5a3454c2b 100644 --- a/src/st/st0/3D8F0.c +++ b/src/st/st0/3D8F0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "st0.h" typedef struct { diff --git a/src/st/st0/bss.c b/src/st/st0/bss.c index 64509d032c..f9745942a4 100644 --- a/src/st/st0/bss.c +++ b/src/st/st0/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include u16 D_801C00B0[768]; diff --git a/src/st/st0/collision.c b/src/st/st0/collision.c index 28490822e3..86d5661397 100644 --- a/src/st/st0/collision.c +++ b/src/st/st0/collision.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include static u16 g_testCollEnemyLookup[] = { diff --git a/src/st/st0/create_entity.c b/src/st/st0/create_entity.c index 431ffa1e8b..59e76c3aee 100644 --- a/src/st/st0/create_entity.c +++ b/src/st/st0/create_entity.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include u32 D_801BEB00[25]; diff --git a/src/st/st0/draculacutscene.c b/src/st/st0/draculacutscene.c index fe905c1e11..aeae12b678 100644 --- a/src/st/st0/draculacutscene.c +++ b/src/st/st0/draculacutscene.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Overlay: ST0 * Description: Cutscene of Richter talking to Dracula diff --git a/src/st/st0/e_collect.c b/src/st/st0/e_collect.c index 6bc3943d90..c71bb57391 100644 --- a/src/st/st0/e_collect.c +++ b/src/st/st0/e_collect.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "st0.h" #include "../e_collect.h" diff --git a/src/st/st0/e_red_door.c b/src/st/st0/e_red_door.c index cd9dc7a561..dd52a75451 100644 --- a/src/st/st0/e_red_door.c +++ b/src/st/st0/e_red_door.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_red_door.h" diff --git a/src/st/st0/header.c b/src/st/st0/header.c index a6326dc414..63734365ee 100644 --- a/src/st/st0/header.c +++ b/src/st/st0/header.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "st0.h" extern RoomHeader OVL_EXPORT(rooms)[]; diff --git a/src/st/st0/prim_helpers.c b/src/st/st0/prim_helpers.c index 96d47f7df3..bf72d43920 100644 --- a/src/st/st0/prim_helpers.c +++ b/src/st/st0/prim_helpers.c @@ -1,2 +1,3 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../prim_helpers.h" diff --git a/src/st/st0/random.c b/src/st/st0/random.c index 04cd68787f..198b5710bb 100644 --- a/src/st/st0/random.c +++ b/src/st/st0/random.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../random.h" diff --git a/src/st/st0/st0.h b/src/st/st0/st0.h index 7d7fd85774..9ef3f183cb 100644 --- a/src/st/st0/st0.h +++ b/src/st/st0/st0.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "stage.h" #undef STAGE diff --git a/src/st/st0/tile_data.c b/src/st/st0/tile_data.c index 61b0384157..7dc5b00b97 100644 --- a/src/st/st0/tile_data.c +++ b/src/st/st0/tile_data.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "tilemap_1B2D0.h" diff --git a/src/st/st0/update.c b/src/st/st0/update.c index e447681b8d..ceeba506b8 100644 --- a/src/st/st0/update.c +++ b/src/st/st0/update.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../update.h" diff --git a/src/st/st0/update_stage_entities.c b/src/st/st0/update_stage_entities.c index 8886987cb8..283d509feb 100644 --- a/src/st/st0/update_stage_entities.c +++ b/src/st/st0/update_stage_entities.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../update_stage_entities.h" diff --git a/src/st/st_private.h b/src/st/st_private.h index 2388d786cd..3a313b673b 100644 --- a/src/st/st_private.h +++ b/src/st/st_private.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef ST_PRIVATE_H #define ST_PRIVATE_H diff --git a/src/st/unk_anim_func.h b/src/st/unk_anim_func.h index 2c7f7c76ab..126dda9a50 100644 --- a/src/st/unk_anim_func.h +++ b/src/st/unk_anim_func.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only u8 UnkAnimFunc(u8 frames[], Entity* self, u8 arg2) { u16 animFrameStart = self->animFrameIdx * 2; u8* var_s1 = &frames[animFrameStart]; diff --git a/src/st/unk_collision_func.h b/src/st/unk_collision_func.h index b205354c67..a2234b35a0 100644 --- a/src/st/unk_collision_func.h +++ b/src/st/unk_collision_func.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only s32 UnkCollisionFunc(u16* hitSensors, s16 sensorCount) { Collider collider; s16 i; diff --git a/src/st/unk_collision_func2.h b/src/st/unk_collision_func2.h index af647d9fdf..b0d21ef4bd 100644 --- a/src/st/unk_collision_func2.h +++ b/src/st/unk_collision_func2.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only s32 UnkCollisionFunc2(s16* posX) { Collider collider; s16 temp2; diff --git a/src/st/unk_collision_func3.h b/src/st/unk_collision_func3.h index bf0fe837a0..06ee56766c 100644 --- a/src/st/unk_collision_func3.h +++ b/src/st/unk_collision_func3.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only s32 UnkCollisionFunc3(u16* sensors) { Collider col; Collider colBack; diff --git a/src/st/unk_collision_func4.h b/src/st/unk_collision_func4.h index 268124a4ba..580b16977b 100644 --- a/src/st/unk_collision_func4.h +++ b/src/st/unk_collision_func4.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only u8 UnkCollisionFunc4(s32 arg0) { Collider collider; u32 bits_67; diff --git a/src/st/unk_collision_func5.h b/src/st/unk_collision_func5.h index 40accc7d9b..f11bccbd46 100644 --- a/src/st/unk_collision_func5.h +++ b/src/st/unk_collision_func5.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only bool UnkCollisionFunc5(Point16* unk) { Collider collider; diff --git a/src/st/unk_entity_func0.h b/src/st/unk_entity_func0.h index e570c229d0..3c7b2a5f6e 100644 --- a/src/st/unk_entity_func0.h +++ b/src/st/unk_entity_func0.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only void UnkEntityFunc0(u16 slope, s16 speed) { g_CurrentEntity->velocityX = rcos(slope) * speed / 16; g_CurrentEntity->velocityY = rsin(slope) * speed / 16; diff --git a/src/st/unk_recursive_primfunc_1.h b/src/st/unk_recursive_primfunc_1.h index 58e76a83f6..a954b1b3ef 100644 --- a/src/st/unk_recursive_primfunc_1.h +++ b/src/st/unk_recursive_primfunc_1.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only extern u16 g_UnkRecursPrimVecOrder[]; // arg7 holds, in order: diff --git a/src/st/unk_recursive_primfunc_2.h b/src/st/unk_recursive_primfunc_2.h index dd1a7333a6..76fb5aac63 100644 --- a/src/st/unk_recursive_primfunc_2.h +++ b/src/st/unk_recursive_primfunc_2.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only extern u16 g_UnkRecursPrim2Inds[]; // arg3 holds, in order: diff --git a/src/st/update.h b/src/st/update.h index 7195b1cd81..5480c6e3ab 100644 --- a/src/st/update.h +++ b/src/st/update.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include extern u16 UNK_Invincibility0[]; diff --git a/src/st/update_room_position.h b/src/st/update_room_position.h index 64f0331322..18e03faf41 100644 --- a/src/st/update_room_position.h +++ b/src/st/update_room_position.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only /* * Creates any new entities that may need to be created * based on a change in the scroll delta. diff --git a/src/st/update_stage_entities.h b/src/st/update_stage_entities.h index 442c655cc3..a85f62e8ec 100644 --- a/src/st/update_stage_entities.h +++ b/src/st/update_stage_entities.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include extern u16 UNK_Invincibility0[]; diff --git a/src/st/wrp/blit_char.c b/src/st/wrp/blit_char.c index dcd77c4c0e..4671969f21 100644 --- a/src/st/wrp/blit_char.c +++ b/src/st/wrp/blit_char.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../blit_char.h" diff --git a/src/st/wrp/bss.c b/src/st/wrp/bss.c index 89acec9f49..f84e43920d 100644 --- a/src/st/wrp/bss.c +++ b/src/st/wrp/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include u16 D_801997E8[0x600]; diff --git a/src/st/wrp/collision.c b/src/st/wrp/collision.c index 075265617f..765a667bf0 100644 --- a/src/st/wrp/collision.c +++ b/src/st/wrp/collision.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../collision.h" diff --git a/src/st/wrp/create_entity.c b/src/st/wrp/create_entity.c index 10c09cbabf..9754da4b19 100644 --- a/src/st/wrp/create_entity.c +++ b/src/st/wrp/create_entity.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../create_entity.h" diff --git a/src/st/wrp/d_1b8.c b/src/st/wrp/d_1b8.c index 481da79e00..d9d3b4fce0 100644 --- a/src/st/wrp/d_1b8.c +++ b/src/st/wrp/d_1b8.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "wrp.h" #include "../st_private.h" diff --git a/src/st/wrp/d_608.c b/src/st/wrp/d_608.c index 884130080a..17fb270b37 100644 --- a/src/st/wrp/d_608.c +++ b/src/st/wrp/d_608.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include u32 D_80180608[] = { diff --git a/src/st/wrp/e_breakable.c b/src/st/wrp/e_breakable.c index 11f6edeef9..cd12105f3f 100644 --- a/src/st/wrp/e_breakable.c +++ b/src/st/wrp/e_breakable.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "wrp.h" #include "../e_breakable.h" diff --git a/src/st/wrp/e_collect.c b/src/st/wrp/e_collect.c index f819390dbc..aa502d8c9f 100644 --- a/src/st/wrp/e_collect.c +++ b/src/st/wrp/e_collect.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_collect.h" diff --git a/src/st/wrp/e_init.c b/src/st/wrp/e_init.c index d1bda4170d..daeabcaceb 100644 --- a/src/st/wrp/e_init.c +++ b/src/st/wrp/e_init.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "wrp.h" #include "../st_private.h" diff --git a/src/st/wrp/e_misc.c b/src/st/wrp/e_misc.c index 695fc1b162..7ecd1fe372 100644 --- a/src/st/wrp/e_misc.c +++ b/src/st/wrp/e_misc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "wrp.h" #define CASTLE_FLAG_BANK 0x000 diff --git a/src/st/wrp/e_particles.c b/src/st/wrp/e_particles.c index 86161180c1..82e69d09db 100644 --- a/src/st/wrp/e_particles.c +++ b/src/st/wrp/e_particles.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_particles.h" diff --git a/src/st/wrp/e_red_door.c b/src/st/wrp/e_red_door.c index 060ec60d4a..dd58ffa6dc 100644 --- a/src/st/wrp/e_red_door.c +++ b/src/st/wrp/e_red_door.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "wrp.h" #include "../e_red_door.h" diff --git a/src/st/wrp/e_room_fg.c b/src/st/wrp/e_room_fg.c index b20c1b8663..b4f033aeb8 100644 --- a/src/st/wrp/e_room_fg.c +++ b/src/st/wrp/e_room_fg.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../e_room_fg.h" diff --git a/src/st/wrp/e_stage_name.c b/src/st/wrp/e_stage_name.c index b98102b43c..9b0123cd80 100644 --- a/src/st/wrp/e_stage_name.c +++ b/src/st/wrp/e_stage_name.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "wrp.h" #if defined(VERSION_US) diff --git a/src/st/wrp/header.c b/src/st/wrp/header.c index 55eda57ea4..d0ec25cfa2 100644 --- a/src/st/wrp/header.c +++ b/src/st/wrp/header.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "wrp.h" void Update(void); diff --git a/src/st/wrp/popup.c b/src/st/wrp/popup.c index 8c6e9b6aab..619cd4b9f6 100644 --- a/src/st/wrp/popup.c +++ b/src/st/wrp/popup.c @@ -1 +1,2 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../popup.h" diff --git a/src/st/wrp/prim_helpers.c b/src/st/wrp/prim_helpers.c index fc7edccdac..5807f2c3bb 100644 --- a/src/st/wrp/prim_helpers.c +++ b/src/st/wrp/prim_helpers.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #include "../prim_helpers.h" diff --git a/src/st/wrp/st_common.c b/src/st/wrp/st_common.c index d1037d41d9..cfd7e512b2 100644 --- a/src/st/wrp/st_common.c +++ b/src/st/wrp/st_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "wrp.h" #if !defined(VERSION_PSP) diff --git a/src/st/wrp/st_debug.c b/src/st/wrp/st_debug.c index 93d40724f2..590e6e97b7 100644 --- a/src/st/wrp/st_debug.c +++ b/src/st/wrp/st_debug.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "wrp.h" static u8 g_EntityUnkId12Hitbox[] = { diff --git a/src/st/wrp/st_update.c b/src/st/wrp/st_update.c index 8477b24783..ecc3e8bbf5 100644 --- a/src/st/wrp/st_update.c +++ b/src/st/wrp/st_update.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include static u16 UNK_Invincibility0[] = { diff --git a/src/st/wrp/tile_data.c b/src/st/wrp/tile_data.c index 2bfeb9e453..d3da0ade04 100644 --- a/src/st/wrp/tile_data.c +++ b/src/st/wrp/tile_data.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #if defined(VERSION_US) diff --git a/src/st/wrp/warp.c b/src/st/wrp/warp.c index 685bd5ae0b..fc0cd6e7dc 100644 --- a/src/st/wrp/warp.c +++ b/src/st/wrp/warp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "wrp.h" #include diff --git a/src/st/wrp/wrp.h b/src/st/wrp/wrp.h index 4fbd1b1e05..56ae3e6dda 100644 --- a/src/st/wrp/wrp.h +++ b/src/st/wrp/wrp.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include #define OVL_EXPORT(x) WRP_##x diff --git a/src/st/wrp_psp/blit_char.c b/src/st/wrp_psp/blit_char.c index cc5ef3e94e..29bbc75672 100644 --- a/src/st/wrp_psp/blit_char.c +++ b/src/st/wrp_psp/blit_char.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" // psp unique? diff --git a/src/st/wrp_psp/bss.c b/src/st/wrp_psp/bss.c index 5b3ca60973..144c5eb8a3 100644 --- a/src/st/wrp_psp/bss.c +++ b/src/st/wrp_psp/bss.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include // warp.c diff --git a/src/st/wrp_psp/collision.c b/src/st/wrp_psp/collision.c index 52e30a76f0..1f1f0c2f1a 100644 --- a/src/st/wrp_psp/collision.c +++ b/src/st/wrp_psp/collision.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" INCLUDE_ASM("st/wrp_psp/psp/wrp_psp/collision", HitDetection); diff --git a/src/st/wrp_psp/create_entity.c b/src/st/wrp_psp/create_entity.c index 0f3c2e4c62..65f05d3875 100644 --- a/src/st/wrp_psp/create_entity.c +++ b/src/st/wrp_psp/create_entity.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" static u16* g_LayoutObjHorizontal; diff --git a/src/st/wrp_psp/e_collect.c b/src/st/wrp_psp/e_collect.c index 92a25fce20..f36544e665 100644 --- a/src/st/wrp_psp/e_collect.c +++ b/src/st/wrp_psp/e_collect.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" #include diff --git a/src/st/wrp_psp/e_misc.c b/src/st/wrp_psp/e_misc.c index f1b5e0af4f..41f9e330d9 100644 --- a/src/st/wrp_psp/e_misc.c +++ b/src/st/wrp_psp/e_misc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" extern u16 D_80180608[]; diff --git a/src/st/wrp_psp/e_particles_data.c b/src/st/wrp_psp/e_particles_data.c index 756f889cad..badd74b9d2 100644 --- a/src/st/wrp_psp/e_particles_data.c +++ b/src/st/wrp_psp/e_particles_data.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" u16 g_ESoulStealOrbAngles[] = { diff --git a/src/st/wrp_psp/e_particles_maria1.c b/src/st/wrp_psp/e_particles_maria1.c index 16976be2d6..cbdae4bcc2 100644 --- a/src/st/wrp_psp/e_particles_maria1.c +++ b/src/st/wrp_psp/e_particles_maria1.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" extern u16 g_ESoulStealOrbAngles[]; diff --git a/src/st/wrp_psp/e_particles_maria2.c b/src/st/wrp_psp/e_particles_maria2.c index e44678c304..c5fa9cdb2c 100644 --- a/src/st/wrp_psp/e_particles_maria2.c +++ b/src/st/wrp_psp/e_particles_maria2.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" extern u16 g_ESoulStealOrbAngles[]; diff --git a/src/st/wrp_psp/e_stage_name.c b/src/st/wrp_psp/e_stage_name.c index b6aa1bb42c..dd1eaee9e9 100644 --- a/src/st/wrp_psp/e_stage_name.c +++ b/src/st/wrp_psp/e_stage_name.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" INCLUDE_ASM("st/wrp_psp/psp/wrp_psp/e_stage_name", EntityStageNamePopup); diff --git a/src/st/wrp_psp/prim_helpers.c b/src/st/wrp_psp/prim_helpers.c index e8a33ed01b..8220c27b8c 100644 --- a/src/st/wrp_psp/prim_helpers.c +++ b/src/st/wrp_psp/prim_helpers.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" #include "../prim_helpers.h" diff --git a/src/st/wrp_psp/st_init_wrp.c b/src/st/wrp_psp/st_init_wrp.c index f90341d98f..a9cf2c7b63 100644 --- a/src/st/wrp_psp/st_init_wrp.c +++ b/src/st/wrp_psp/st_init_wrp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" // entity table to allocate new entities diff --git a/src/st/wrp_psp/stage_name_new.c b/src/st/wrp_psp/stage_name_new.c index 1754fca7c2..98b2345130 100644 --- a/src/st/wrp_psp/stage_name_new.c +++ b/src/st/wrp_psp/stage_name_new.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" void func_8928694(s32, void*); diff --git a/src/st/wrp_psp/wrp_data_142E0.c b/src/st/wrp_psp/wrp_data_142E0.c index 9223a9bdbe..9dccdedd36 100644 --- a/src/st/wrp_psp/wrp_data_142E0.c +++ b/src/st/wrp_psp/wrp_data_142E0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" void HitDetection(void); diff --git a/src/st/wrp_psp/wrp_data_F010.c b/src/st/wrp_psp/wrp_data_F010.c index 2e3d1008c4..0f74c226eb 100644 --- a/src/st/wrp_psp/wrp_data_F010.c +++ b/src/st/wrp_psp/wrp_data_F010.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" u16 unk15_rot[] = { diff --git a/src/st/wrp_psp/wrp_data_F740.c b/src/st/wrp_psp/wrp_data_F740.c index 2caea65e76..2be1d513b8 100644 --- a/src/st/wrp_psp/wrp_data_F740.c +++ b/src/st/wrp_psp/wrp_data_F740.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" extern void* D_801801B8[]; diff --git a/src/st/wrp_psp/wrp_data_F7B0.c b/src/st/wrp_psp/wrp_data_F7B0.c index 26e1b39da3..8d710a3d08 100644 --- a/src/st/wrp_psp/wrp_data_F7B0.c +++ b/src/st/wrp_psp/wrp_data_F7B0.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" u16 g_eRedDoorTiles[][8] = { diff --git a/src/st/wrp_psp/wrp_data_F810.c b/src/st/wrp_psp/wrp_data_F810.c index b14b7d447f..c31f451280 100644 --- a/src/st/wrp_psp/wrp_data_F810.c +++ b/src/st/wrp_psp/wrp_data_F810.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "../wrp/wrp.h" u16 g_eBreakableInit[] = { diff --git a/src/weapon/shared.h b/src/weapon/shared.h index da54132d5d..70cfe5e5e7 100644 --- a/src/weapon/shared.h +++ b/src/weapon/shared.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include "weapon_private.h" #include "../destroy_entity.h" diff --git a/src/weapon/w_000.c b/src/weapon/w_000.c index 5fd79f0658..b9a3e09018 100644 --- a/src/weapon/w_000.c +++ b/src/weapon/w_000.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #0. Used by weapons: // Tyrfing, Namakura, Gladius, Scimitar, Cutlass, Saber, Falchion, Broadsword, // Bekatowa, Damascus sword, Hunter sword, Bastard sword, Talwar, Sword of diff --git a/src/weapon/w_001.c b/src/weapon/w_001.c index 8faddbeb12..e277a533c7 100644 --- a/src/weapon/w_001.c +++ b/src/weapon/w_001.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #1. Used by weapons: // Knuckle duster, Jewel knuckles, Iron Fist, Fist of Tulkas, Unknown#186, // Unknown#187, Unknown#188 diff --git a/src/weapon/w_002.c b/src/weapon/w_002.c index 02b3cead14..88e081a0c9 100644 --- a/src/weapon/w_002.c +++ b/src/weapon/w_002.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #2. Used by weapons: // Mace diff --git a/src/weapon/w_003.c b/src/weapon/w_003.c index f2da263293..879186945d 100644 --- a/src/weapon/w_003.c +++ b/src/weapon/w_003.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #3. Used by weapons: // Morningstar #include "weapon_private.h" diff --git a/src/weapon/w_004.c b/src/weapon/w_004.c index 7270dd91fc..f19509d806 100644 --- a/src/weapon/w_004.c +++ b/src/weapon/w_004.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #4. Used by weapons: // Holy rod, Unknown#170 #include "weapon_private.h" diff --git a/src/weapon/w_005.c b/src/weapon/w_005.c index a4fdfb40e7..80803ea386 100644 --- a/src/weapon/w_005.c +++ b/src/weapon/w_005.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #5. Used by weapons: // Star flail, Unknown#171 #include "weapon_private.h" diff --git a/src/weapon/w_006.c b/src/weapon/w_006.c index 8829059d14..417d095ef5 100644 --- a/src/weapon/w_006.c +++ b/src/weapon/w_006.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #6. Used by weapons: // Moon rod, Unknown#172 #define FUNC_04_VOID diff --git a/src/weapon/w_007.c b/src/weapon/w_007.c index 6daa4fc736..9e3c7003e0 100644 --- a/src/weapon/w_007.c +++ b/src/weapon/w_007.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #7. Used by weapons: // Shield rod, Unknown#173 #define FUNC_04_VOID diff --git a/src/weapon/w_008.c b/src/weapon/w_008.c index 1d05fcc00d..851b407055 100644 --- a/src/weapon/w_008.c +++ b/src/weapon/w_008.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #8. Used by weapons: // Leather shield, Unknown#203 #define SHIELDSPELL_S32 diff --git a/src/weapon/w_009.c b/src/weapon/w_009.c index 0587c4d13d..d71df8b45a 100644 --- a/src/weapon/w_009.c +++ b/src/weapon/w_009.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #9. Used by weapons: // Knight shield, Unknown#204 #include "weapon_private.h" diff --git a/src/weapon/w_010.c b/src/weapon/w_010.c index 3c4fb4c7a2..10e94d7021 100644 --- a/src/weapon/w_010.c +++ b/src/weapon/w_010.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #10. Used by weapons: // Iron shield, Unknown#205 #include "weapon_private.h" diff --git a/src/weapon/w_011.c b/src/weapon/w_011.c index e03bccedca..697dd794e2 100644 --- a/src/weapon/w_011.c +++ b/src/weapon/w_011.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #11. Used by weapons: // AxeLord shield, Unknown#206 #include "weapon_private.h" diff --git a/src/weapon/w_012.c b/src/weapon/w_012.c index e3757b6a68..7119c9426c 100644 --- a/src/weapon/w_012.c +++ b/src/weapon/w_012.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #12. Used by weapons: // Chakram, Vorpal blade, Crissaegrim #include "weapon_private.h" diff --git a/src/weapon/w_013.c b/src/weapon/w_013.c index bd7881c24c..f8c30341e2 100644 --- a/src/weapon/w_013.c +++ b/src/weapon/w_013.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #13. Used by weapons: // Heaven sword, Unknown#202 // #202 seems to be the special attack with two heaven swords. diff --git a/src/weapon/w_014.c b/src/weapon/w_014.c index 2343873529..e6ff82bf08 100644 --- a/src/weapon/w_014.c +++ b/src/weapon/w_014.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #14. Used by weapons: // Runesword #include "weapon_private.h" diff --git a/src/weapon/w_015.c b/src/weapon/w_015.c index 84b42f53d7..6ae2c37771 100644 --- a/src/weapon/w_015.c +++ b/src/weapon/w_015.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #15. Used by weapons: // Shuriken, Cross shuriken, Buffalo star, Flame star, TNT #include "weapon_private.h" diff --git a/src/weapon/w_016.c b/src/weapon/w_016.c index 9e656803f0..8a37bbf8ae 100644 --- a/src/weapon/w_016.c +++ b/src/weapon/w_016.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #16. Used by weapons: // Bwaka knife, Boomerang, Javelin, Fire boomerang, Iron ball #include "weapon_private.h" diff --git a/src/weapon/w_017.c b/src/weapon/w_017.c index af13de1eb4..1f6add6023 100644 --- a/src/weapon/w_017.c +++ b/src/weapon/w_017.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #17. Used by weapons: // Pentagram, Bat Pentagram #include "weapon_private.h" diff --git a/src/weapon/w_018.c b/src/weapon/w_018.c index 31e0f09fe9..c0585b15d9 100644 --- a/src/weapon/w_018.c +++ b/src/weapon/w_018.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #18. Used by weapons: // Power of Sire #include "weapon_private.h" diff --git a/src/weapon/w_019.c b/src/weapon/w_019.c index f1eaee5c2a..0e97ed3afa 100644 --- a/src/weapon/w_019.c +++ b/src/weapon/w_019.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #19. Used by weapons: // Neutron bomb #include "weapon_private.h" diff --git a/src/weapon/w_020.c b/src/weapon/w_020.c index 61295a7ef0..15988b8516 100644 --- a/src/weapon/w_020.c +++ b/src/weapon/w_020.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #20. Used by weapons: // Karma Coin #include "weapon_private.h" diff --git a/src/weapon/w_021.c b/src/weapon/w_021.c index d1fdf79376..d0e31beef4 100644 --- a/src/weapon/w_021.c +++ b/src/weapon/w_021.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #21. Used by weapons: // Orange, Apple, Banana, Grapes, Strawberry, Pineapple, Peanuts, Toadstool, // Shiitake, Cheesecake, Shortcake, Tart, Parfait, Pudding, Ice cream, diff --git a/src/weapon/w_022.c b/src/weapon/w_022.c index 906b17bd0a..d3b44aedd4 100644 --- a/src/weapon/w_022.c +++ b/src/weapon/w_022.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #22. Used by weapons: // Magic Missile #include "weapon_private.h" diff --git a/src/weapon/w_023.c b/src/weapon/w_023.c index 76a26a4e91..e61a1c9d23 100644 --- a/src/weapon/w_023.c +++ b/src/weapon/w_023.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #23. Used by weapons: // Herald shield, Unknown#207 #include "weapon_private.h" diff --git a/src/weapon/w_024.c b/src/weapon/w_024.c index 3f8c783216..d86628c0b8 100644 --- a/src/weapon/w_024.c +++ b/src/weapon/w_024.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #24. Used by weapons: // Dark shield, Unknown#208 #include "weapon_private.h" diff --git a/src/weapon/w_025.c b/src/weapon/w_025.c index b1a11d086a..9fb8b7cd5f 100644 --- a/src/weapon/w_025.c +++ b/src/weapon/w_025.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #25. Used by weapons: // Goddess shield, Unknown#209 #include "weapon_private.h" diff --git a/src/weapon/w_026.c b/src/weapon/w_026.c index 0a2b253387..b55e21c1dd 100644 --- a/src/weapon/w_026.c +++ b/src/weapon/w_026.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #26. Used by weapons: // Shaman shield, Unknown#210 #include "weapon_private.h" diff --git a/src/weapon/w_027.c b/src/weapon/w_027.c index 507ed40401..971f1eb144 100644 --- a/src/weapon/w_027.c +++ b/src/weapon/w_027.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #27. Used by weapons: // Medusa shield, Unknown#211 #include "weapon_private.h" diff --git a/src/weapon/w_028.c b/src/weapon/w_028.c index 5dcad8daa5..311ed18232 100644 --- a/src/weapon/w_028.c +++ b/src/weapon/w_028.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #28. Used by weapons: // Skull shield, Unknown#212 #include "weapon_private.h" diff --git a/src/weapon/w_029.c b/src/weapon/w_029.c index 10be221bbc..ab0d166a6e 100644 --- a/src/weapon/w_029.c +++ b/src/weapon/w_029.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #29. Used by weapons: // Fire shield, Unknown#213 #include "weapon_private.h" diff --git a/src/weapon/w_030.c b/src/weapon/w_030.c index 4d017ed53f..162b236d24 100644 --- a/src/weapon/w_030.c +++ b/src/weapon/w_030.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #30. Used by weapons: // Sword of Dawn, Unknown#177 #include "weapon_private.h" diff --git a/src/weapon/w_031.c b/src/weapon/w_031.c index da5ebfbd68..2c2b5e995e 100644 --- a/src/weapon/w_031.c +++ b/src/weapon/w_031.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #31. Used by weapons: // Basilard, Unknown#174 #include "weapon_private.h" diff --git a/src/weapon/w_032.c b/src/weapon/w_032.c index 0bf3d6bb81..30939b8615 100644 --- a/src/weapon/w_032.c +++ b/src/weapon/w_032.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #32. Used by weapons: // Combat knife, Unknown#175 #include "weapon_private.h" diff --git a/src/weapon/w_033.c b/src/weapon/w_033.c index 4de6dc23d4..fa14c712a7 100644 --- a/src/weapon/w_033.c +++ b/src/weapon/w_033.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #33. Used by weapons: // Nunchaku #include "weapon_private.h" diff --git a/src/weapon/w_034.c b/src/weapon/w_034.c index c4ba2d656c..55631ac380 100644 --- a/src/weapon/w_034.c +++ b/src/weapon/w_034.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #34. Used by weapons: // Shotel, Unknown#176 #include "weapon_private.h" diff --git a/src/weapon/w_035.c b/src/weapon/w_035.c index 8f36a5f897..efcbca3e90 100644 --- a/src/weapon/w_035.c +++ b/src/weapon/w_035.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #35. Used by weapons: // Red Rust #include "weapon_private.h" diff --git a/src/weapon/w_036.c b/src/weapon/w_036.c index afbbd35bdb..9e14151a6d 100644 --- a/src/weapon/w_036.c +++ b/src/weapon/w_036.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #36. Used by weapons: // Takemitsu #include "weapon_private.h" diff --git a/src/weapon/w_037.c b/src/weapon/w_037.c index 27be168d13..57a9617807 100644 --- a/src/weapon/w_037.c +++ b/src/weapon/w_037.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #37. Used by weapons: // Short sword, Jewel sword, Stone sword, Unknown#198 #include "weapon_private.h" diff --git a/src/weapon/w_038.c b/src/weapon/w_038.c index 4e73a12071..5f646b2cdd 100644 --- a/src/weapon/w_038.c +++ b/src/weapon/w_038.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #38. Used by weapons: // Rapier, Unknown#191 #include "weapon_private.h" diff --git a/src/weapon/w_039.c b/src/weapon/w_039.c index 3422bc4741..154669e853 100644 --- a/src/weapon/w_039.c +++ b/src/weapon/w_039.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #39. Used by weapons: // Were Bane, Unknown#190 #include "weapon_private.h" diff --git a/src/weapon/w_040.c b/src/weapon/w_040.c index 48028df1ef..1eac69d5fc 100644 --- a/src/weapon/w_040.c +++ b/src/weapon/w_040.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #40. Used by weapons: // Monster vial 1 #include "weapon_private.h" diff --git a/src/weapon/w_041.c b/src/weapon/w_041.c index 855d1a9cde..d7a2132469 100644 --- a/src/weapon/w_041.c +++ b/src/weapon/w_041.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #41. Used by weapons: // Monster vial 2 #include "weapon_private.h" diff --git a/src/weapon/w_042.c b/src/weapon/w_042.c index 6cf8d9025e..fbf6e51f5d 100644 --- a/src/weapon/w_042.c +++ b/src/weapon/w_042.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #42. Used by weapons: // Monster vial 3 #include "weapon_private.h" diff --git a/src/weapon/w_043.c b/src/weapon/w_043.c index fc90fbb42e..69200eaee0 100644 --- a/src/weapon/w_043.c +++ b/src/weapon/w_043.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #43. Used by weapons: // Alucard sword, Sword Familiar, Alucart sword, Unknown#197 #include "weapon_private.h" diff --git a/src/weapon/w_044.c b/src/weapon/w_044.c index 2e8dd50e58..63ed12921a 100644 --- a/src/weapon/w_044.c +++ b/src/weapon/w_044.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #44. Used by weapons: // Heart Refresh #include "weapon_private.h" diff --git a/src/weapon/w_045.c b/src/weapon/w_045.c index 85bf1c9d1c..00b0b1c682 100644 --- a/src/weapon/w_045.c +++ b/src/weapon/w_045.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #45. Used by weapons: // Unknown#216 #define FUNC_0C_S32 diff --git a/src/weapon/w_046.c b/src/weapon/w_046.c index 8fb695c7c4..913118124b 100644 --- a/src/weapon/w_046.c +++ b/src/weapon/w_046.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #46. Used by weapons: // Holbein dagger, Blue knuckles #include "weapon_private.h" diff --git a/src/weapon/w_047.c b/src/weapon/w_047.c index c578998d40..21bcd1ba12 100644 --- a/src/weapon/w_047.c +++ b/src/weapon/w_047.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #47. Used by weapons: // Dynamite #include "weapon_private.h" diff --git a/src/weapon/w_048.c b/src/weapon/w_048.c index fa4174f0d2..ccd8485413 100644 --- a/src/weapon/w_048.c +++ b/src/weapon/w_048.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #48. Used by weapons: // Thunderbrand, Unknown#178 #include "weapon_private.h" diff --git a/src/weapon/w_049.c b/src/weapon/w_049.c index cbd2449125..08d985dce6 100644 --- a/src/weapon/w_049.c +++ b/src/weapon/w_049.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #49. Used by weapons: // Firebrand, Marsil, Unknown#179, Unknown#180 #include "weapon_private.h" diff --git a/src/weapon/w_050.c b/src/weapon/w_050.c index 8b25c53681..d94e6dfaeb 100644 --- a/src/weapon/w_050.c +++ b/src/weapon/w_050.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #50. Used by weapons: // Icebrand, Unknown#181, Unknown#199, Unknown#200, Unknown#201 #include "weapon_private.h" diff --git a/src/weapon/w_051.c b/src/weapon/w_051.c index 34096faa65..e5d4861afb 100644 --- a/src/weapon/w_051.c +++ b/src/weapon/w_051.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #51. Used by weapons: // Estoc, Claymore, Flamberge, Zwei hander, Obsidian sword, Great Sword, // Unknown#182, Unknown#183, Unknown#184, Unknown#185 diff --git a/src/weapon/w_052.c b/src/weapon/w_052.c index e71bc25eb9..78d5cc9045 100644 --- a/src/weapon/w_052.c +++ b/src/weapon/w_052.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #52. Used by weapons: // Alucard shield, Unknown#214 #include "weapon_private.h" diff --git a/src/weapon/w_053.c b/src/weapon/w_053.c index bdba5cc605..16aad2183c 100644 --- a/src/weapon/w_053.c +++ b/src/weapon/w_053.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #53. Used by weapons: // Katana, Osafune katana, Masamune, Yasutsuna, Unknown#189, Unknown#192, // Unknown#193, Unknown#194 diff --git a/src/weapon/w_053_056.h b/src/weapon/w_053_056.h index bd86a93153..493ee63530 100644 --- a/src/weapon/w_053_056.h +++ b/src/weapon/w_053_056.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #include // A struct which describes variations of Weapon #53 and #56 diff --git a/src/weapon/w_054.c b/src/weapon/w_054.c index b1f9f5c8dd..58ac75d242 100644 --- a/src/weapon/w_054.c +++ b/src/weapon/w_054.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #54. Used by weapons: // Gurthang, Unknown#195 #include "weapon_private.h" diff --git a/src/weapon/w_055.c b/src/weapon/w_055.c index e931364d0b..42b1b42319 100644 --- a/src/weapon/w_055.c +++ b/src/weapon/w_055.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #55. Used by weapons: // Holy sword, Unknown#196 #include "weapon_private.h" diff --git a/src/weapon/w_056.c b/src/weapon/w_056.c index add72f74df..82b0ed6715 100644 --- a/src/weapon/w_056.c +++ b/src/weapon/w_056.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #56. Used by weapons: // Muramasa #include "weapon_private.h" diff --git a/src/weapon/w_057.c b/src/weapon/w_057.c index 3203909998..a64017bfe0 100644 --- a/src/weapon/w_057.c +++ b/src/weapon/w_057.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #57. Used by weapons: // Mablung Sword #include "weapon_private.h" diff --git a/src/weapon/w_058.c b/src/weapon/w_058.c index 7aad6ea00b..1e3f6bef9e 100644 --- a/src/weapon/w_058.c +++ b/src/weapon/w_058.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only // Weapon ID #58. Used by weapons: // Alucart shield, Unknown#215 #include "weapon_private.h" diff --git a/src/weapon/weapon_private.h b/src/weapon/weapon_private.h index 0f5a31c841..ba996ef683 100644 --- a/src/weapon/weapon_private.h +++ b/src/weapon/weapon_private.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #ifndef WEAPON_PRIVATE_H #define WEAPON_PRIVATE_H diff --git a/tools/lint-license.py b/tools/lint-license.py index 057f8584e6..0e7c17bcae 100644 --- a/tools/lint-license.py +++ b/tools/lint-license.py @@ -19,7 +19,7 @@ def add_spdx_license(file_path, license): # AGPL-3.0-only if __name__ == "__main__": if len(sys.argv) != 3: - print("usage: python add_spdx.py ") + print("usage: python lint-license.py ") sys.exit(1) file_names = [sys.argv[1]] if file_names[0] == "-":