Skip to content

Commit 2c5078c

Browse files
committed
Move snes_regs.h
1 parent e08e1e4 commit 2c5078c

21 files changed

+33
-33
lines changed

attract.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "zelda_rtl.h"
22
#include "variables.h"
33
#include "variables_attract.h"
4-
#include "snes_regs.h"
4+
#include "snes/snes_regs.h"
55
#include "load_gfx.h"
66
#include "dungeon.h"
77
#include "sprite.h"

dungeon.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#include "zelda_rtl.h"
2-
2+
#include "snes/snes_regs.h"
33
#include "variables.h"
44
#include "dungeon.h"
5-
#include "snes_regs.h"
65
#include "nmi.h"
76
#include "hud.h"
87
#include "load_gfx.h"

ending.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "zelda_rtl.h"
2+
#include "snes/snes_regs.h"
23
#include "variables.h"
34
#include "load_gfx.h"
45
#include "dungeon.h"

load_gfx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "zelda_rtl.h"
22
#include "variables.h"
3-
#include "snes_regs.h"
3+
#include "snes/snes_regs.h"
44
#include "overworld.h"
55
#include "load_gfx.h"
66
#include "player.h"

messaging.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "messaging.h"
22
#include "zelda_rtl.h"
33
#include "variables.h"
4-
#include "snes_regs.h"
4+
#include "snes/snes_regs.h"
55
#include "dungeon.h"
66
#include "hud.h"
77
#include "load_gfx.h"

misc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include "messaging.h"
1616
#include "ending.h"
1717
#include "attract.h"
18+
#include "snes/snes_regs.h"
1819
#include "tables/generated_predefined_tiles.h"
1920
#include "tables/generated_sound_banks.h"
2021

nmi.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
#include "nmi.h"
22
#include "zelda_rtl.h"
33
#include "variables.h"
4-
#include "snes_regs.h"
5-
#include "tables/generated_bg_tilemaps.h"
6-
#include "tables/generated_link_graphics.h"
74
#include "messaging.h"
5+
#include "snes/snes_regs.h"
86
#include "snes/ppu.h"
7+
#include "tables/generated_bg_tilemaps.h"
8+
#include "tables/generated_link_graphics.h"
9+
910
static const uint8 kNmiVramAddrs[] = {
1011
0, 0, 4, 8, 12, 8, 12, 0, 4, 0, 8, 4, 12, 4, 12, 0,
1112
8, 16, 20, 24, 28, 24, 28, 16, 20, 16, 24, 20, 28, 20, 28, 16,

overlord.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#pragma once
2-
#include "zelda_rtl.h"
3-
#include "variables.h"
4-
#include "snes_regs.h"
2+
#include "types.h"
53

64
void Overlord_StalfosFactory(int k);
75
void Overlord_SetX(int k, uint16 v);

overworld.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "misc.h"
1010
#include "messaging.h"
1111
#include "player_oam.h"
12+
#include "snes/snes_regs.h"
1213
#include "tables/generated_map32_to_map16.h"
1314
#include "tables/generated_map16_to_map8.h"
1415
#include "tables/generated_overworld_tables.h"

overworld.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#pragma once
22
#include "zelda_rtl.h"
33
#include "variables.h"
4-
#include "snes_regs.h"
5-
6-
7-
84

95
const uint8 *GetMap8toTileAttr();
106
const uint16 *GetMap16toMap8Table();

0 commit comments

Comments
 (0)