mirror of https://git.sr.ht/~kikoodx/kble
Add MIT license notice at the top of source files.
This commit is contained in:
parent
bd5943afe8
commit
6cd12f6333
|
@ -23,7 +23,7 @@ $ zig build run
|
|||
Press escape to close the program.
|
||||
|
||||
# License
|
||||
Copyright (C) 2021 KikooDX
|
||||
Copyright (c) 2021 KikooDX
|
||||
|
||||
This project is under the MIT license.
|
||||
See LICENSE for more details.
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
// Copyright (c) 2021 KikooDX
|
||||
// This file is part of [KBLE](https://sr.ht/~kikoodx/kble), which is
|
||||
// MIT licensed. The MIT license requires this copyright notice to be
|
||||
// included in all copies and substantial portions of the software.
|
||||
//! Level structure, grid containing tile data.
|
||||
const ray = @cImport({
|
||||
@cInclude("raylib.h");
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
// Copyright (c) 2021 KikooDX
|
||||
// This file is part of [KBLE](https://sr.ht/~kikoodx/kble), which is
|
||||
// MIT licensed. The MIT license requires this copyright notice to be
|
||||
// included in all copies and substantial portions of the software.
|
||||
const ray = @cImport({
|
||||
@cInclude("raylib.h");
|
||||
});
|
||||
|
@ -74,7 +79,7 @@ pub fn main() !void {
|
|||
|
||||
var selection_update: movement.SelectionUpdate = undefined;
|
||||
|
||||
// Zoom. TODO: move to functions.
|
||||
// TODO: move to functions.
|
||||
switch (action) {
|
||||
// Movement.
|
||||
'h' => selection_update = movement.move_left(&cursor, 1, true),
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
// Copyright (c) 2021 KikooDX
|
||||
// This file is part of [KBLE](https://sr.ht/~kikoodx/kble), which is
|
||||
// MIT licensed. The MIT license requires this copyright notice to be
|
||||
// included in all copies and substantial portions of the software.
|
||||
//! Movement functions.
|
||||
const std = @import("std");
|
||||
const expect = std.testing.expect;
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
// Copyright (c) 2021 KikooDX
|
||||
// This file is part of [KBLE](https://sr.ht/~kikoodx/kble), which is
|
||||
// MIT licensed. The MIT license requires this copyright notice to be
|
||||
// included in all copies and substantial portions of the software.
|
||||
const std = @import("std");
|
||||
const expect = std.testing.expect;
|
||||
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
// Copyright (c) 2021 KikooDX
|
||||
// This file is part of [KBLE](https://sr.ht/~kikoodx/kble), which is
|
||||
// MIT licensed. The MIT license requires this copyright notice to be
|
||||
// included in all copies and substantial portions of the software.
|
||||
//! This module provides functions for creating and manipulating 2D
|
||||
//! vectors with integer precision.
|
||||
const expect = @import("std").testing.expect;
|
||||
|
|
Loading…
Reference in New Issue