aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-05-24 21:05:16 +0200
committerBad Diode <bd@badd10de.dev>2021-05-24 21:05:16 +0200
commitc1580fd8f8b06efef471578e2ba66a4efb7745c8 (patch)
tree790528883eca263b0c5653fdab67939b00ba01a6
parent8e90cbd6fd790c16acd86cba878a69160fa4f17b (diff)
downloaduxngba-c1580fd8f8b06efef471578e2ba66a4efb7745c8.tar.gz
uxngba-c1580fd8f8b06efef471578e2ba66a4efb7745c8.zip
Add copyright notice to all files
-rw-r--r--src/bitmap.h11
-rw-r--r--src/common.h10
-rw-r--r--src/filesystem.c11
-rw-r--r--src/main.c22
-rw-r--r--src/shorthand.h11
-rw-r--r--src/sprites.h10
-rw-r--r--src/text.h11
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/*
2Copyright (c) 2021 Bad Diode
3
4Permission to use, copy, modify, and distribute this software for any
5purpose with or without fee is hereby granted, provided that the above
6copyright notice and this permission notice appear in all copies.
7
8THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9WITH 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/*
7Copyright (c) 2021 Bad Diode 2Copyright (c) 2021 Bad Diode
8 3
@@ -14,6 +9,11 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
14WITH REGARD TO THIS SOFTWARE. 9WITH 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/*
2Copyright (c) 2021 Bad Diode
3
4Permission to use, copy, modify, and distribute this software for any
5purpose with or without fee is hereby granted, provided that the above
6copyright notice and this permission notice appear in all copies.
7
8THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9WITH 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
diff --git a/src/main.c b/src/main.c
index ea8d459..7764278 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,3 +1,14 @@
1/*
2Copyright (c) 2021 Bad Diode
3
4Permission to use, copy, modify, and distribute this software for any
5purpose with or without fee is hereby granted, provided that the above
6copyright notice and this permission notice appear in all copies.
7
8THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9WITH 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/*
16Copyright (c) 2021 Bad Diode
17
18Permission to use, copy, modify, and distribute this software for any
19purpose with or without fee is hereby granted, provided that the above
20copyright notice and this permission notice appear in all copies.
21
22THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
23WITH 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/*
2Copyright (c) 2021 Bad Diode
3
4Permission to use, copy, modify, and distribute this software for any
5purpose with or without fee is hereby granted, provided that the above
6copyright notice and this permission notice appear in all copies.
7
8THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9WITH 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/*
7Copyright (c) 2021 Bad Diode 2Copyright (c) 2021 Bad Diode
8 3
@@ -14,6 +9,11 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
14WITH REGARD TO THIS SOFTWARE. 9WITH REGARD TO THIS SOFTWARE.
15*/ 10*/
16 11
12#ifndef GBAEXP_SPRITES_H
13#define GBAEXP_SPRITES_H
14
15#include "common.h"
16
17typedef struct Sprite { 17typedef struct Sprite {
18 // A unique sprite identifier. 18 // A unique sprite identifier.
19 size_t id; 19 size_t id;
diff --git a/src/text.h b/src/text.h
index 59ab9af..9c06f02 100644
--- a/src/text.h
+++ b/src/text.h
@@ -1,3 +1,14 @@
1/*
2Copyright (c) 2021 Bad Diode
3
4Permission to use, copy, modify, and distribute this software for any
5purpose with or without fee is hereby granted, provided that the above
6copyright notice and this permission notice appear in all copies.
7
8THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9WITH 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