Griffin Smith
7082a4088b
Store revealed positions on the level itself
...
This was a bit of an oversight initially - we should be storing the
positions that the character has seen *on the level*, rather than on the
entire game state, for obvious reasons. This introduces a GameLevel
record, which has this field, the entities, and also the up staircase
position, which we can *also* use to position the character after going
down to a level we've already visited.
2020-01-20 11:37:37 -05:00
Griffin Smith
72edcff323
Put new levels at the right position in the list
...
New levels need to go at the *end* of the list of levels, not the
beginning - otherwise we jump to the proper position on the new level
but the current level stays the same (oops).
2020-01-20 10:31:02 -05:00
Vincent Ambo
e93913d6cd
feat(ops/mq_cli): Bump dependencies & add derivation
2020-01-20 13:50:29 +00:00
Vincent Ambo
336937814c
feat(ops/posix_mq.rs): Set up Nix build
2020-01-20 11:59:21 +00:00
Vincent Ambo
0d4c93878d
chore(ops): Remove deprecated .travis.yml files
2020-01-20 11:51:24 +00:00
Vincent Ambo
0b146dc079
chore(ops/posix_mq.rs): Update crate dependencies to recent versions
...
First bump since 2017! This changes the code to be compatible with
newer versions of the `nix` crate, which has shuffled things around a
bit.
2020-01-20 11:51:24 +00:00
Vincent Ambo
4bc3196c9a
Add 'ops/mq_cli/' from commit 'df29b08bffc90cfd4f2d963a8e48d89f7a86308d'
...
git-subtree-dir: ops/mq_cli
git-subtree-mainline: b59c7e693c
git-subtree-split: df29b08bff
2020-01-20 11:32:26 +00:00
Vincent Ambo
b59c7e693c
Add 'ops/posix_mq.rs/' from commit 'f7d1a38da67e92e0e87dbb988d288f0be2714f5c'
...
git-subtree-dir: ops/posix_mq.rs
git-subtree-mainline: 8f68497269
git-subtree-split: f7d1a38da6
2020-01-20 11:32:02 +00:00
Vincent Ambo
8f68497269
fix(emacs-pkgs/nix-util): Ensure compatibility with non-native JSON
2020-01-20 00:58:46 +00:00
Vincent Ambo
0447ef57ba
feat(web/cgit-taz): Use cheddar's about filter for about pages
...
Following this change, Markdown files in the tree view will be
rendered as highlighted Markdown sources.
2020-01-19 23:54:30 +00:00
Vincent Ambo
d752cbecc0
feat(cheddar): Add toggle flag for about-filter behaviour
...
Cheddar now needs to be passed the --about-filter flag to toggle the
behaviour for rendering Markdown into HTML.
By default Markdown will be highlighted like normal source code (i.e.
cgit source-filtering is the default behaviour).
2020-01-19 23:54:30 +00:00
Vincent Ambo
47541340c0
chore(build): Enable CI for patched third-party projects
2020-01-19 22:10:00 +00:00
Vincent Ambo
0b3b8a07c4
feat(emacs): Install geiser for Guile
2020-01-19 19:35:27 +00:00
Vincent Ambo
1f68644dc9
feat(third_party/guile): Override guile to version 3.0.0
...
Lets try this thing out!
2020-01-19 19:34:39 +00:00
Vincent Ambo
0a3613996f
feat(ops/nixos/nugget): Install miller
2020-01-19 18:56:44 +00:00
Griffin Smith
d62aba218d
Switch to DelaunayTriangulation.Naive
...
Per https://github.com/noinia/hgeometry/issues/28 , occasionally
DelaunayTriangulation.DivideAndConquer loops infinitely - in this case,
I was able to consistently use the seed 127624940715530481, to generate
a dungeon which had the following room centroids:
[ Point2 [38.5,3.5] :+ 0
, Point2 [67.0,33.0] :+ 1
, Point2 [46.0,45.5] :+ 2
, Point2 [55.5,42.0] :+ 3
, Point2 [36.0,25.0] :+ 4
, Point2 [76.5,12.0] :+ 5
, Point2 [29.0,26.5] :+ 6
, Point2 [55.0,10.5] :+ 7
]
and cause delaunay triangulation to loop indefinitely (or at least
longer than I cared to wait for). Given the size of our graphs switching
to naive generation should be fine performance-wise, and avoids the
infinite loop.
2020-01-19 13:19:00 -05:00
Vincent Ambo
9879703155
fix(emacs-pkgs/dottime): Do not call telega macros in advice setup
...
This advice is potentially defined before the autoloads for telega
have run, which means that the macro-expansion fails and
`telega-ins-fmt` is looked up as a function.
With this setup the initialisation works as expected.
2020-01-19 16:48:11 +00:00
Vincent Ambo
f09c6a8ecd
feat(emacs.d): Switch font to JetBrains Mono
...
Lets evaluate this for a bit. With the current settings it even seems
to render _okay_ on nugget.
2020-01-19 16:39:21 +00:00
Vincent Ambo
7b011de1b8
chore(ops/nixos/nugget): Aimlessly tweak font configuration
...
These settings seem to be very mildly better than what I had before,
but I'm not entirely sure.
2020-01-19 16:38:32 +00:00
Vincent Ambo
3567f8bd0a
fix(emacs.d): Use "light" Input font on nugget
2020-01-19 02:27:54 +00:00
Vincent Ambo
ee34920a98
fix(infra/k8s/nixery): Add GCSR hosts to SSH known_hosts for Nixery
...
Unsure how this worked at all previously?
2020-01-19 02:17:52 +00:00
Vincent Ambo
89b0a43786
feat(ops/nixos/nugget): Connect to wifi & install Google Chrome
...
This adds configuration which, sometimes, when the stars align just
right, makes it possible to cast to the Chromecast from nugget.
2020-01-19 01:44:40 +00:00
Vincent Ambo
d05489adaa
chore(build): Rename tazjins-depot -> depot
...
Sourcehut namespaces this under ~tazjin/ anyways.
2020-01-19 01:44:26 +00:00
Vincent Ambo
028559610f
chore(ops/sync-gcsr): Rotate Cachix secret in sourcehut
2020-01-19 01:08:00 +00:00
Vincent Ambo
6a0b37a196
fix(ops/sync-gcsr): Ensure cachix is installed
2020-01-18 17:33:21 +00:00
Vincent Ambo
7aa8f32065
docs(ops/kontemplate): Update installation notes
...
Removed the AUR package (which has not been updated since 2017) and
made Nix the recommended installation method.
2020-01-18 17:31:28 +00:00
Vincent Ambo
48d31b7770
fix(ops/sync-gcsr): Avoid echoing the Cachix secret
...
sourcehut does not censor secret strings in build logs, but this
workaround should avoid the issue.
2020-01-18 16:34:54 +00:00
Vincent Ambo
bd7e59766e
docs(README): Add Sourcehut builds badge to README
2020-01-18 15:52:13 +00:00
Vincent Ambo
526b9c4572
feat(ops/sync-gcsr): Log successful build triggers
2020-01-18 15:49:12 +00:00
Vincent Ambo
61830ebc5b
feat(ops/infra/k8s): Add sourcehut configuration to sync-gcsr
2020-01-18 15:48:52 +00:00
Vincent Ambo
af63d2604e
feat(sync-gcsr): Add builds.sr.ht build manifest
...
Adds a simple build manifest that builds everything in ci-builds.nix
and pushes results to Cachix on success.
2020-01-18 15:37:05 +00:00
Vincent Ambo
b8355066e8
feat(sync-gcsr): Trigger sourcehut builds on master branch changes
...
Calls the sourcehut API at builds.sr.ht to trigger a build if the
master branch changes.
The build manifest is going to be stored in the depot too, coming up
next ...
2020-01-18 15:36:15 +00:00
Vincent Ambo
44116522dd
feat(ops/sync-gcsr): Skip unneccessary branch updates
...
Checks whether branches are already up-to-date before setting
references.
This also makes it possible to hook additional logic on the update
flow.
2020-01-18 14:49:34 +00:00
Vincent Ambo
a21be17719
chore(ops/infra/gcp): Update enabled GCP APIs
2020-01-18 12:43:53 +00:00
Vincent Ambo
d9316cfbee
chore(third_party/git): Remove sha1collisiondetection submodule
...
This is not required and confuses git on clones.
2020-01-18 11:36:03 +00:00
Vincent Ambo
c9923c5abb
chore(third_party/cgit): Remove git submodule
...
This is instead passed in by Nix, and it confuses git on clones.
2020-01-18 11:33:07 +00:00
Vincent Ambo
a52c0c4198
feat(nixos/nugget): Install cachix binary
2020-01-18 11:29:18 +00:00
Vincent Ambo
4b8f4fdc3f
chore(third_party): Bump nixos-unstable channel
2020-01-18 11:28:58 +00:00
Vincent Ambo
cc3adc6a33
chore(fun/gemma): Use correct Markdown file extension
...
Otherwise the file does not get picked up by cgit.
2020-01-18 11:10:40 +00:00
Vincent Ambo
bdd488ce27
fix(emacs-pkgs/nix-util): Use lexical-let to allow variable capture
...
The lambda that acts as the sentinel for building SBCL with packages
needs to be able to capture variables if lexical binding is enabled,
which is made possible by the lexical-let form.
2020-01-17 19:09:46 +00:00
Vincent Ambo
8e9167fdc8
feat(third_party/lisp): Add derivation for fiveam
2020-01-17 18:41:06 +00:00
Vincent Ambo
7db9b2aa71
Merge commit '728a186263688293c214297cf8ea34dde8b20edb' as 'third_party/lisp/fiveam'
2020-01-17 18:37:23 +00:00
Vincent Ambo
728a186263
Squashed 'third_party/lisp/fiveam/' content from commit ee9456a2
...
git-subtree-dir: third_party/lisp/fiveam
git-subtree-split: ee9456a2ac52b1c9f5f5f789d263f0f76a15176c
2020-01-17 18:37:23 +00:00
Vincent Ambo
807445a10b
refactor(third_party/lisp): Amend alexandria drv for local sources
2020-01-17 18:05:34 +00:00
Vincent Ambo
0a9a569534
Merge commit '95aeb2ebae32a01ff79644daa523bda5d8552863' as 'third_party/lisp/alexandria'
2020-01-17 18:04:20 +00:00
Vincent Ambo
95aeb2ebae
Squashed 'third_party/lisp/alexandria/' content from commit fc2a2f5c
...
git-subtree-dir: third_party/lisp/alexandria
git-subtree-split: fc2a2f5c34147bb4e3e4a350b04220de0263710f
2020-01-17 18:04:20 +00:00
Vincent Ambo
30e4e5eefc
feat(third_party/lisp): Add derivation for trivial-backtrace
2020-01-17 17:56:17 +00:00
Vincent Ambo
fdcfd59aa4
Merge commit 'cc026178a94f94fa9c79cedc66cbaf5ab78c21c1' as 'third_party/lisp/trivial-backtrace'
2020-01-17 17:53:27 +00:00
Vincent Ambo
cc026178a9
Squashed 'third_party/lisp/trivial-backtrace/' content from commit 43ef7d9
...
git-subtree-dir: third_party/lisp/trivial-backtrace
git-subtree-split: 43ef7d947f4b4de767d0f91f28b50d9c03ad29d6
2020-01-17 17:53:27 +00:00
Vincent Ambo
00902daa00
feat(third_party/lisp): Add derivation for asdf-flv
2020-01-17 17:52:27 +00:00