OpenSNES
Modern Open-Source SNES Development SDK
Loading...
Searching...
No Matches
snes.h
Go to the documentation of this file.
1
51
52
#ifndef OPENSNES_H
53
#define OPENSNES_H
54
55
/*============================================================================
56
* Version Information
57
*============================================================================*/
58
59
/* The values below are kept in sync with `CHANGELOG.md` head and verified by
60
* `devtools/check_doc_drift.py` at lint time (CI gate `lint.yml::doc-drift`).
61
* When bumping the CHANGELOG for a release, bump these three macros in the
62
* same commit — `.claude/rules/release.md` documents the step, and `make
63
* lint-docs` fails fast on mismatch. */
64
66
#define OPENSNES_VERSION_MAJOR 0
67
69
#define OPENSNES_VERSION_MINOR 56
70
72
#define OPENSNES_VERSION_PATCH 0
73
75
#define OPENSNES_VERSION_STRING "0.56.0"
76
77
/*============================================================================
78
* Core Headers
79
*============================================================================*/
80
81
/* Standard types */
82
#include <
snes/types.h
>
83
84
/* Hardware registers */
85
#include <
snes/registers.h
>
86
87
/* Console initialization */
88
#include <
snes/console.h
>
89
90
/* Video / PPU */
91
#include <
snes/video.h
>
92
93
/* Sprites */
94
#include <
snes/sprite.h
>
95
96
/* Backgrounds */
97
#include <
snes/background.h
>
98
99
/* Input */
100
#include <
snes/input.h
>
101
102
/* DMA */
103
#include <
snes/dma.h
>
104
105
/* Text */
106
#include <
snes/text.h
>
107
108
/* Interrupts */
109
#include <
snes/interrupt.h
>
110
111
/* System variables (crt0.asm exports) */
112
#include <
snes/system.h
>
113
114
/* Mode 7 */
115
#include <
snes/mode7.h
>
116
117
/* HDMA */
118
#include <
snes/hdma.h
>
119
120
/* Window/Masking */
121
#include <
snes/window.h
>
122
123
/* Color Math */
124
#include <
snes/colormath.h
>
125
126
/* Mosaic Effects */
127
#include <
snes/mosaic.h
>
128
129
/* Map Engine */
130
#include <
snes/map.h
>
131
132
/* Debug Utilities */
133
#include <
snes/debug.h
>
134
135
/*============================================================================
136
* Specialty modules — include separately, opt-in only
137
*============================================================================
138
*
139
* These modules carry real linker / dependency cost when included, so the
140
* master header keeps them out by default. Include the ones your project
141
* actually uses, and add the matching name to LIB_MODULES in your example
142
* Makefile (the transitive resolver in make/common.mk pulls deps for you).
143
*
144
* #include <snes/audio.h> // SPC700 audio driver
145
* #include <snes/math.h> // fixed-point math, LUTs, hardware multiplier
146
* #include <snes/sram.h> // battery-backed save RAM
147
* #include <snes/collision.h> // bounding-box collision
148
* #include <snes/lzss.h> // LZSS decompression to VRAM
149
* #include <snes/string.h> // memcpy, memmove, memset, strlen, strcmp, strcpy, strncpy
150
* #include <snes/vramqueue.h> // VRAM uploads noted during the frame, sent in VBlank
151
* #include <snes/gameloop.h> // gameloop framework opt-in
152
* #include <snes/asset.h> // typed BgAsset / GfxAsset bundles
153
* #include <snes/scene.h> // push/pop scene stack
154
* #include <snes/tile.h> // build 2/4/8bpp tiles from pixels at run time
155
* #include <snes/panel.h> // 9-slice HUD / dialog boxes on a BG layer
156
* #include <snes/dsp1.h> // DSP-1 3D math (needs USE_DSP1 := 1)
157
* #include <snes/anim.h> // declarative animation player
158
* #include <snes/fixed32.h> // 16.16 fixed-point math
159
* #include <snes/apu.h> // raw APU access: your own SPC700 program
160
* #include <snes/snesmod.h> // SNESMOD tracker music and sound effects
161
* #include <snes/object.h> // game object engine (contrib module)
162
* #include <snes/profile.h> // performance profiling
163
* #include <snes/sa1.h> // SA-1 coprocessor (needs USE_SA1 := 1)
164
* #include <snes/superfx.h> // Super FX coprocessor (needs USE_SUPERFX := 1)
165
*/
166
167
#endif
/* OPENSNES_H */
background.h
SNES Background Layer Management.
colormath.h
SNES Color Math (Blending/Transparency).
console.h
SNES Console Initialization and Core Functions.
debug.h
Debug utilities for SNES development.
dma.h
SNES DMA (Direct Memory Access).
hdma.h
SNES HDMA (Horizontal-blanking DMA).
input.h
SNES Controller Input.
interrupt.h
SNES Interrupt Handling.
map.h
Scrolling tilemap engine for Mode 1 backgrounds.
mode7.h
SNES Mode 7 Support.
mosaic.h
SNES Mosaic Effects.
registers.h
SNES Hardware Register Definitions.
sprite.h
SNES Sprite (Object) Management.
system.h
SNES System Variables (crt0.asm exports).
text.h
Text rendering functions for OpenSNES.
types.h
OpenSNES Standard Types.
video.h
SNES Video / PPU Functions.
window.h
SNES Window/Masking System.
lib
include
snes.h
Generated by
1.16.1