diff options
author | Bad Diode <bd@badd10de.dev> | 2021-05-24 21:05:16 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-05-24 21:05:16 +0200 |
commit | c1580fd8f8b06efef471578e2ba66a4efb7745c8 (patch) | |
tree | 790528883eca263b0c5653fdab67939b00ba01a6 | |
parent | 8e90cbd6fd790c16acd86cba878a69160fa4f17b (diff) | |
download | uxngba-c1580fd8f8b06efef471578e2ba66a4efb7745c8.tar.gz uxngba-c1580fd8f8b06efef471578e2ba66a4efb7745c8.zip |
Add copyright notice to all files
-rw-r--r-- | src/bitmap.h | 11 | ||||
-rw-r--r-- | src/common.h | 10 | ||||
-rw-r--r-- | src/filesystem.c | 11 | ||||
-rw-r--r-- | src/main.c | 22 | ||||
-rw-r--r-- | src/shorthand.h | 11 | ||||
-rw-r--r-- | src/sprites.h | 10 | ||||
-rw-r--r-- | src/text.h | 11 |
7 files changed, 65 insertions, 21 deletions
diff --git a/src/bitmap.h b/src/bitmap.h index 2e61f0e..48c8442 100644 --- a/src/bitmap.h +++ b/src/bitmap.h | |||
@@ -1,3 +1,14 @@ | |||
1 | /* | ||
2 | Copyright (c) 2021 Bad Diode | ||
3 | |||
4 | Permission to use, copy, modify, and distribute this software for any | ||
5 | purpose with or without fee is hereby granted, provided that the above | ||
6 | copyright notice and this permission notice appear in all copies. | ||
7 | |||
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
9 | WITH REGARD TO THIS SOFTWARE. | ||
10 | */ | ||
11 | |||
1 | #ifndef GBAEXP_BITMAP_H | 12 | #ifndef GBAEXP_BITMAP_H |
2 | #define GBAEXP_BITMAP_H | 13 | #define GBAEXP_BITMAP_H |
3 | 14 | ||
diff --git a/src/common.h b/src/common.h index bfa3903..5766565 100644 --- a/src/common.h +++ b/src/common.h | |||
@@ -1,8 +1,3 @@ | |||
1 | #ifndef GBAEXP_COMMON_H | ||
2 | #define GBAEXP_COMMON_H | ||
3 | |||
4 | #include "shorthand.h" | ||
5 | |||
6 | /* | 1 | /* |
7 | Copyright (c) 2021 Bad Diode | 2 | Copyright (c) 2021 Bad Diode |
8 | 3 | ||
@@ -14,6 +9,11 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |||
14 | WITH REGARD TO THIS SOFTWARE. | 9 | WITH REGARD TO THIS SOFTWARE. |
15 | */ | 10 | */ |
16 | 11 | ||
12 | #ifndef GBAEXP_COMMON_H | ||
13 | #define GBAEXP_COMMON_H | ||
14 | |||
15 | #include "shorthand.h" | ||
16 | |||
17 | // | 17 | // |
18 | // Memory sections. | 18 | // Memory sections. |
19 | // | 19 | // |
diff --git a/src/filesystem.c b/src/filesystem.c index ee55dcf..b60dbde 100644 --- a/src/filesystem.c +++ b/src/filesystem.c | |||
@@ -1,3 +1,14 @@ | |||
1 | /* | ||
2 | Copyright (c) 2021 Bad Diode | ||
3 | |||
4 | Permission to use, copy, modify, and distribute this software for any | ||
5 | purpose with or without fee is hereby granted, provided that the above | ||
6 | copyright notice and this permission notice appear in all copies. | ||
7 | |||
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
9 | WITH REGARD TO THIS SOFTWARE. | ||
10 | */ | ||
11 | |||
1 | // This file implements a filesystem with a minimum block size of 256 bytes. The | 12 | // This file implements a filesystem with a minimum block size of 256 bytes. The |
2 | // maximum number of files depends on the block size. The default 1KB block size | 13 | // maximum number of files depends on the block size. The default 1KB block size |
3 | // will give us 32-64 files depending on the size of MEM_CART. In case we want | 14 | // will give us 32-64 files depending on the size of MEM_CART. In case we want |
@@ -1,3 +1,14 @@ | |||
1 | /* | ||
2 | Copyright (c) 2021 Bad Diode | ||
3 | |||
4 | Permission to use, copy, modify, and distribute this software for any | ||
5 | purpose with or without fee is hereby granted, provided that the above | ||
6 | copyright notice and this permission notice appear in all copies. | ||
7 | |||
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
9 | WITH REGARD TO THIS SOFTWARE. | ||
10 | */ | ||
11 | |||
1 | #include <string.h> | 12 | #include <string.h> |
2 | 13 | ||
3 | #include "common.h" | 14 | #include "common.h" |
@@ -12,17 +23,6 @@ | |||
12 | 23 | ||
13 | #include "text.h" | 24 | #include "text.h" |
14 | 25 | ||
15 | /* | ||
16 | Copyright (c) 2021 Bad Diode | ||
17 | |||
18 | Permission to use, copy, modify, and distribute this software for any | ||
19 | purpose with or without fee is hereby granted, provided that the above | ||
20 | copyright notice and this permission notice appear in all copies. | ||
21 | |||
22 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
23 | WITH REGARD TO THIS SOFTWARE. | ||
24 | */ | ||
25 | |||
26 | // | 26 | // |
27 | // Config parameters. | 27 | // Config parameters. |
28 | // | 28 | // |
diff --git a/src/shorthand.h b/src/shorthand.h index 42eb935..08cc7fe 100644 --- a/src/shorthand.h +++ b/src/shorthand.h | |||
@@ -1,3 +1,14 @@ | |||
1 | /* | ||
2 | Copyright (c) 2021 Bad Diode | ||
3 | |||
4 | Permission to use, copy, modify, and distribute this software for any | ||
5 | purpose with or without fee is hereby granted, provided that the above | ||
6 | copyright notice and this permission notice appear in all copies. | ||
7 | |||
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
9 | WITH REGARD TO THIS SOFTWARE. | ||
10 | */ | ||
11 | |||
1 | #ifndef UTILS_SHORTHAND_H | 12 | #ifndef UTILS_SHORTHAND_H |
2 | #define UTILS_SHORTHAND_H | 13 | #define UTILS_SHORTHAND_H |
3 | 14 | ||
diff --git a/src/sprites.h b/src/sprites.h index c5eb57c..6c15387 100644 --- a/src/sprites.h +++ b/src/sprites.h | |||
@@ -1,8 +1,3 @@ | |||
1 | #ifndef GBAEXP_SPRITES_H | ||
2 | #define GBAEXP_SPRITES_H | ||
3 | |||
4 | #include "common.h" | ||
5 | |||
6 | /* | 1 | /* |
7 | Copyright (c) 2021 Bad Diode | 2 | Copyright (c) 2021 Bad Diode |
8 | 3 | ||
@@ -14,6 +9,11 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |||
14 | WITH REGARD TO THIS SOFTWARE. | 9 | WITH REGARD TO THIS SOFTWARE. |
15 | */ | 10 | */ |
16 | 11 | ||
12 | #ifndef GBAEXP_SPRITES_H | ||
13 | #define GBAEXP_SPRITES_H | ||
14 | |||
15 | #include "common.h" | ||
16 | |||
17 | typedef struct Sprite { | 17 | typedef struct Sprite { |
18 | // A unique sprite identifier. | 18 | // A unique sprite identifier. |
19 | size_t id; | 19 | size_t id; |
@@ -1,3 +1,14 @@ | |||
1 | /* | ||
2 | Copyright (c) 2021 Bad Diode | ||
3 | |||
4 | Permission to use, copy, modify, and distribute this software for any | ||
5 | purpose with or without fee is hereby granted, provided that the above | ||
6 | copyright notice and this permission notice appear in all copies. | ||
7 | |||
8 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
9 | WITH REGARD TO THIS SOFTWARE. | ||
10 | */ | ||
11 | |||
1 | #ifndef GBAEXP_TILES_H | 12 | #ifndef GBAEXP_TILES_H |
2 | #define GBAEXP_TILES_H | 13 | #define GBAEXP_TILES_H |
3 | 14 | ||