diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/glamac_events.h | 11 | ||||
-rw-r--r-- | include/glamac_render.h | 13 | ||||
-rw-r--r-- | include/glamac_view.h | 11 | ||||
-rw-r--r-- | include/glamacdef.h | 1 |
4 files changed, 5 insertions, 31 deletions
diff --git a/include/glamac_events.h b/include/glamac_events.h index 47ecb74..c4145c0 100644 --- a/include/glamac_events.h +++ b/include/glamac_events.h @@ -1,19 +1,10 @@ /**
* glamac_events.h - header file from glamac_events.c.
- *
- * Copyright (C) 2025 https://optics-design.com
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * See the COPYING file for the full license text.
*/
#ifndef GLAMAC_EVENTS_H
#define GLAMAC_EVENTS_H
-#include <SDL.h>
+#include <SDL3/SDL.h>
#include "glamacdef.h"
#include "glamac_view.h"
diff --git a/include/glamac_render.h b/include/glamac_render.h index df609c3..f18d53f 100644 --- a/include/glamac_render.h +++ b/include/glamac_render.h @@ -1,20 +1,11 @@ /**
* glamac_render.h - header file from glamac_render.c.
- *
- * Copyright (C) 2025 https://optics-design.com
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * See the COPYING file for the full license text.
*/
#ifndef GLAMAC_RENDER_H
#define GLAMAC_RENDER_H
-#include <SDL.h>
-#include <SDL_ttf.h>
+#include <SDL3/SDL.h>
+#include <SDL3_ttf/SDL_ttf.h>
#include "glamacdef.h"
#include "glamac_view.h"
diff --git a/include/glamac_view.h b/include/glamac_view.h index b6846ad..8f0b984 100644 --- a/include/glamac_view.h +++ b/include/glamac_view.h @@ -1,19 +1,10 @@ /**
* glamac_view.h - header file from glamac_view.c.
- *
- * Copyright (C) 2025 https://optics-design.com
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * See the COPYING file for the full license text.
*/
#ifndef GLAMAC_VIEW_H
#define GLAMAC_VIEW_H
-#include <SDL.h>
+#include <SDL3/SDL.h>
#include "glamacdef.h"
// Constants for view
diff --git a/include/glamacdef.h b/include/glamacdef.h index 13fffbf..563df70 100644 --- a/include/glamacdef.h +++ b/include/glamacdef.h @@ -15,6 +15,7 @@ #include <stdint.h>
#include <uchar.h>
+#include <stddef.h>
/* Type definitions for consistent sizing across platforms. Idea taken from https://nullprogram.com/blog/2023/10/08/ (archive link: ) */
typedef uint8_t u8;
typedef char16_t c16;
|