From 5585a49393a05c25b7df7a6a48d1f39db6324b69 Mon Sep 17 00:00:00 2001 From: mtgmonkey Date: Mon, 8 Dec 2025 11:21:14 +0100 Subject: semantics, readability, relicense, initResource argument removal --- CHANGELOG.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d229fa..18bf031 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,20 +6,38 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [Eventual] ### Added - test suite for non-IO functions -- debug/release outputs of Nix flake ### Changed - use Rotors rather than Quaternions for rotation; easily extended to 4D +- move Player out of Camera +- make effektiv all fields configurable + +## [Unreleased] + +### Added + +- 100% documentation coverage +- 4 outputs of Nix flake + - debug: compiles fast, no docs + - release: runs fast, no docs + - docs: only docs + - default: release binary with docs + +### Changed + +- initResources no longer takes a GLFW.Window argument +- BSD 3-clause license adopted rather than WTFPL + - reasoning: More professional, widely recognised, effectively identical ### Fixed -- semantic issues +- semantic issues; no warnings are thrown ## [0.1.0] - 2025-12-07 -- cgit v1.3.1 From 9e8bafa6e23da2d92e883bba1c2e3e14fe2421ce Mon Sep 17 00:00:00 2001 From: mtgmonkey Date: Mon, 8 Dec 2025 13:12:52 +0100 Subject: correct licensing in source files --- CHANGELOG.md | 2 +- src/Game.hs | 4 ++-- src/Game/Internal.hs | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 18bf031..386f898 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - use Rotors rather than Quaternions for rotation; easily extended to 4D - move Player out of Camera -- make effektiv all fields configurable +- configure with a Configuration object in the Model ## [Unreleased] diff --git a/src/Game.hs b/src/Game.hs index 9af35d0..f120a6f 100644 --- a/src/Game.hs +++ b/src/Game.hs @@ -2,8 +2,8 @@ {- | - Module : Game - Description : runs game - - Copyright : Andromeda 2025 - - License : WTFPL + - Copyright : 2025 Andromeda + - License : BSD 3-clause - Maintainer : Matrix @Andromeda:tchncs.de - Stability : Experimental -} diff --git a/src/Game/Internal.hs b/src/Game/Internal.hs index a99b1b9..61832a9 100644 --- a/src/Game/Internal.hs +++ b/src/Game/Internal.hs @@ -1,9 +1,9 @@ {-# LANGUAGE DisambiguateRecordFields, NamedFieldPuns, OverloadedRecordDot #-} {- | - Module : Game.Internal - - Description : 'hidden' functions - - Copyright : Andromeda 2025 - - License : WTFPL + - Description : internal functions + - Copyright : 2025 Andromeda + - License : BSD 3-clause - Maintainer : Matrix @Andromeda:tchncs.de - Stability : Experimental -} -- cgit v1.3.1 From d87e4ba21a64593d2ef5878281e3ab939d483e83 Mon Sep 17 00:00:00 2001 From: mtgmonkey Date: Mon, 8 Dec 2025 13:33:19 +0100 Subject: release v0.2.0 --- CHANGELOG.md | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 386f898..e2f6a9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,30 +10,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- test suite for non-IO functions +- test suite for non-`IO` functions ### Changed -- use Rotors rather than Quaternions for rotation; easily extended to 4D -- move Player out of Camera -- configure with a Configuration object in the Model +- use rotors rather than `Linear.Quaternion` for rotation; easily extended to 4D +- move `Player` out of `Camera` +- configure with `Properties` objects in the Model +- use `Double` rather than `FLoat` for internal calculations + - `cursorPos`, `dt` natively `Double` already -## [Unreleased] +## [0.2.0-pre0] - 2025-12-07 ### Added - 100% documentation coverage - 4 outputs of Nix flake - - debug: compiles fast, no docs - - release: runs fast, no docs - - docs: only docs - - default: release binary with docs + - `debug`: compiles fast, no docs + - `release`: runs fast, no docs + - `docs`: only docs + - `default`: release binary with docs ### Changed -- initResources no longer takes a GLFW.Window argument +- `initResources` no longer takes a `GLFW.Window` argument - BSD 3-clause license adopted rather than WTFPL - reasoning: More professional, widely recognised, effectively identical +- `CHANGELOG.md` has more formatting, namely inline code +- clarify a couple entries in the `[0.1.0] - 2025-12-07 Changed` entry ### Fixed @@ -43,17 +47,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- CHANGELOG.md -- layer correctly drawn objects in the view function +- added `CHANGELOG.md` +- layer correctly drawn objects in `view` ### Changed - 8xMSAA rather than 4xMSAA window hint to improve AA -- todo and changelog in CHANGELOG.md rather than README.md -- a nubmer fo functions from Game module now in Game.Internal -- initResources takes an array of objects to draw rather than hardcoded arrays -- square the far plane of the perspective transform -- loop function takes delta time +- todo and changelog in `CHANGELOG.md` rather than `README.md` +- a nubmer fo functions from `Game` now in `Game.Internal` +- `initResources` takes an `[V3 GL.GLfloat]` to draw rather than hardcoded arrays +- square the distance of the far plane of the perspective transform +- `loop` function takes delta time `dt :: Float` ### Fixed -- cgit v1.3.1