From dae5c3d1e9bdbabf94f79960b2fca9a5f47b7ac0 Mon Sep 17 00:00:00 2001
From: tslil clingman <>
Date: Wed, 1 Sep 2021 13:05:40 -0400
Subject: Licensing stuff
---
README.md | 17 +++++++++++++++++
src/main.zig | 17 +++++++++++++++++
src/map.zig | 17 +++++++++++++++++
src/raycast.zig | 17 +++++++++++++++++
src/renderConstants.zig | 17 +++++++++++++++++
5 files changed, 85 insertions(+)
diff --git a/README.md b/README.md
index 5cea861..ed1af7a 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,20 @@
+# ZiRC
+
+Learning Zig by building a Raycasting engine (of sorts). Work in
+progress.
+
+## Build
+
+Ensure you have a recent version of Zig (tested on
+`0.9.0-dev.866+6a6e2cd64`), and the `csfml` library somewhere we your
+linker can find it. Then run
+
+`zig build`
+
+followed by
+
+`zig build run`
+
## License
GPLv3+
diff --git a/src/main.zig b/src/main.zig
index 2b5f7f2..e912b5f 100755
--- a/src/main.zig
+++ b/src/main.zig
@@ -1,3 +1,20 @@
+// ZiRC, a Zig raycaster for fun
+//
+// Copyright (C) 2021, tslil clingman
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
const sf = struct {
pub usingnamespace @import("sfml");
pub usingnamespace graphics;
diff --git a/src/map.zig b/src/map.zig
index d9b4496..8093e21 100644
--- a/src/map.zig
+++ b/src/map.zig
@@ -1,3 +1,20 @@
+// This file is part of ZiRC
+//
+// Copyright (C) 2021, tslil clingman
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
const std = @import("std");
// Let's pretend that our units are meters
diff --git a/src/raycast.zig b/src/raycast.zig
index 47377a5..dec6b46 100644
--- a/src/raycast.zig
+++ b/src/raycast.zig
@@ -1,3 +1,20 @@
+// This file is part of ZiRC
+//
+// Copyright (C) 2021, tslil clingman
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
const std = @import("std");
const RenderWindow = @import("sfml").graphics.RenderWindow;
diff --git a/src/renderConstants.zig b/src/renderConstants.zig
index 12bce07..aa477ee 100644
--- a/src/renderConstants.zig
+++ b/src/renderConstants.zig
@@ -1,3 +1,20 @@
+// This file is part of ZiRC
+//
+// Copyright (C) 2021, tslil clingman
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
pub const planeWidth = 320;
pub const planeHeight = 240;
--
cgit v1.3.1