diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2026-02-18 15:24:23 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2026-02-18 15:24:23 +0100 |
| commit | 943e24c81926f2392c341001cca69b58536c8129 (patch) | |
| tree | 4b1873fa69c75af91b33b3a384218f8a38743b1a /libs/SDL/rect.S | |
| parent | 2a1f31365dade481c32efc3307f94cc052d00f7f (diff) | |
| download | snake.s-943e24c81926f2392c341001cca69b58536c8129.tar.xz snake.s-943e24c81926f2392c341001cca69b58536c8129.zip | |
feat: create a simple square
Diffstat (limited to 'libs/SDL/rect.S')
| -rw-r--r-- | libs/SDL/rect.S | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/SDL/rect.S b/libs/SDL/rect.S new file mode 100644 index 0000000..f402324 --- /dev/null +++ b/libs/SDL/rect.S @@ -0,0 +1,10 @@ +//! @file rect.S +//! +//! Assembler bindings for SDL2 (SDL_rect.h) + +#define OFFSET_SDL_Rect_x 0 +#define OFFSET_SDL_Rect_y 4 +#define OFFSET_SDL_Rect_w 8 +#define OFFSET_SDL_Rect_h 12 + +#define SIZE_SDL_Rect 16
\ No newline at end of file |
