Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
217 commits
Select commit Hold shift + click to select a range
d983436
Begin the Prewrite
TheGLander Nov 28, 2023
c9eb8a9
Use dynamically-created CSS variables for tailwind colors
TheGLander Nov 28, 2023
4d9e4ee
Add dummy sidebar choosers (tooltip and drawer)
TheGLander Nov 29, 2023
80ac748
Slightly enchance mobile toolbar usability
TheGLander Dec 1, 2023
7926688
Don't try to use JS-side media queries when doing SSG
TheGLander Dec 1, 2023
4abd677
Add a custom hash-based page router
TheGLander Dec 2, 2023
41cbf63
Add level loading
TheGLander Dec 12, 2023
c0898c6
Use ignorant hook for hashToInternal to prevent overwriting of intern…
TheGLander Dec 17, 2023
dea1d15
Add sidebar options and an about dialog
TheGLander Dec 19, 2023
0121002
Add option to automatically embed ?level when loading a local file
TheGLander Dec 19, 2023
774f38e
Add dragging to dialogs
TheGLander Dec 23, 2023
7b40680
Make the non-modality prop optional
TheGLander Dec 23, 2023
a327019
Fix dumb unused dep error
TheGLander Dec 23, 2023
f8c033c
Fix build config to support non-base URL locations
TheGLander Dec 23, 2023
66d23b5
PWA support!
TheGLander Dec 23, 2023
c457ab2
Axe the desktop player
TheGLander Dec 23, 2023
81d50e3
Add a simplistic view-only level player
TheGLander Dec 24, 2023
5aa6e6c
Fix missing hook dependency in DumbLeveLPlayer
TheGLander Dec 24, 2023
3318f3d
Change tile scale to work on phones
TheGLander Dec 24, 2023
d817b24
Only overflow the <section> field of a dialog
TheGLander Dec 24, 2023
aff08cf
Add an automatic margin to all pages
TheGLander Dec 24, 2023
eece420
Fix levelplayer alignment
TheGLander Dec 24, 2023
94ff9a4
Make the sidebar even bigger if we have the room
TheGLander Dec 24, 2023
06984da
Add an alpha header explaining what the Prewrite is
TheGLander Dec 25, 2023
92dc448
Add game input support
TheGLander Dec 25, 2023
0b56160
Remove missed console.log
TheGLander Dec 25, 2023
f03355a
Add local FS and preferences
TheGLander Dec 31, 2023
234ac2f
Remove unused imports
TheGLander Dec 31, 2023
ab94215
Don't make a real indexedDB instance when generating SSG HTML
TheGLander Dec 31, 2023
5f599f1
Pref prompt: Correctly default to the default value when it's unset
TheGLander Dec 31, 2023
d72e408
Add basic embedding support
TheGLander Jan 2, 2024
3c904e7
Clean up routing effect atoms to always be correctly ordered
TheGLander Jan 2, 2024
19b3710
Give the inlined page the whole iframe instead of `flex`ing it into 1…
TheGLander Jan 2, 2024
1c7a190
Add a slight outline to boxes
TheGLander Jan 8, 2024
9f6f1f2
Don't erase ?level when opening a hashpath without a page set
TheGLander Jan 9, 2024
7e4af0c
Hide the no-level prompt when a level path is completely valid
TheGLander Jan 9, 2024
5bd8459
Closable alpha dialog
TheGLander Jan 19, 2024
00495d1
Add mobile dpad controls
TheGLander Jan 21, 2024
bd3d0ed
Add automatic tile resizing
TheGLander Jan 21, 2024
05d22c0
Revamp mobile layout to work in landscape
TheGLander Jan 21, 2024
5ea11d8
Remove nested CSS
TheGLander Jan 21, 2024
e6988a6
Add pregame/playing/win/lose states to the level player
TheGLander Jan 22, 2024
04db240
Simplify routing atom chaining
TheGLander Jan 22, 2024
d11dea7
Reuse pref atoms
TheGLander Jan 22, 2024
eb9c683
Remove unused imports
TheGLander Jan 22, 2024
ae75446
Add sidebar shortcuts
TheGLander Jan 23, 2024
46fce27
Memoize big components
TheGLander Feb 5, 2024
42b1ad6
Lookup correct key codes instead of their local keys
TheGLander Feb 5, 2024
e898e1d
Add stats and inventory
TheGLander Feb 5, 2024
e3ad56a
Add set loading
TheGLander Feb 10, 2024
8b99c32
Merge branch 'master' into prewrite
TheGLander Feb 10, 2024
c8761bd
Use correct script for building the CLI
TheGLander Feb 10, 2024
cdbfcf3
Generalize Jotai-bound functions
TheGLander Feb 11, 2024
65c81c7
Don't listen to shortcuts when in a dialog
TheGLander Feb 11, 2024
5ef323e
Always use drawer chooser when in portrait
TheGLander Feb 11, 2024
9e15a71
Add the basis for ExaCC studio
TheGLander Feb 16, 2024
e59befd
Implement a real hash function
TheGLander Feb 16, 2024
8e7ecde
Fix typo in form
TheGLander Feb 16, 2024
e9813a0
Correctly format hashes
TheGLander Feb 16, 2024
02ca45f
Set the view to be constant width
TheGLander Feb 16, 2024
d8492ae
Fix inventory not being updated when adding input
TheGLander Feb 16, 2024
82b68c3
Add defaults for hash settings
TheGLander Feb 16, 2024
83b01b6
Add graph view to ExaCC graph mode
TheGLander Feb 17, 2024
cba6277
Add lockfile
TheGLander Feb 17, 2024
e5c2ed1
Add backfeed detection to the graph model
TheGLander Feb 24, 2024
2c7692e
Add arrow markers to the graph view
TheGLander Feb 24, 2024
49be8da
Add real stats to the stats display
TheGLander Feb 24, 2024
bfb5467
Add a prune backconns button
TheGLander Feb 24, 2024
ec0e4dc
Calculate rootDepth (for backconn detection) dynamically
TheGLander Feb 24, 2024
0b75d47
Prune unproductive same-depth conns
TheGLander Feb 24, 2024
a877064
Add the graph infobox
TheGLander Feb 24, 2024
4be261e
Fix move text overflow
TheGLander Feb 25, 2024
1bce61e
Add user-controllable hash settings
TheGLander Feb 25, 2024
5f25c89
Add working restart and pause buttons
TheGLander Feb 28, 2024
c12c709
Split ExaCC off into a separate import
TheGLander Feb 28, 2024
fb4b3c5
Display pending inputs in the move list
TheGLander Feb 29, 2024
2ec9b10
Add a real ExaCC toggle option
TheGLander Feb 29, 2024
58c9139
Fix current level ref not always being set when snapping to existing …
TheGLander Feb 29, 2024
49527ab
Remove unneeded import
TheGLander Feb 29, 2024
8834cd4
Decringify alpha header
TheGLander Feb 29, 2024
f0315f4
DUMB DUMB DUMB
TheGLander Feb 29, 2024
be49be7
Use terminal-style tricks to show current inputs instead of fragile a…
TheGLander Mar 1, 2024
08539b2
Allow waiting inputs in ExaCC
TheGLander Mar 1, 2024
1665f8d
ExaCC: move Undo/Redo into the sidebar
TheGLander Mar 1, 2024
a0f079c
ExaCC: Don't prune same-depth nodes when pruning backfeed
TheGLander Mar 1, 2024
a0c4d6c
Don't accept ExaCC inputs when the level is lost or won
TheGLander Mar 1, 2024
de40469
Add custom camera controls for ExaCC
TheGLander Mar 1, 2024
1311b11
Assume tileset is there
TheGLander Mar 3, 2024
617cf8d
ExaCC: add a time left display
TheGLander Mar 3, 2024
2d259e4
Add simple crash handler
TheGLander Mar 7, 2024
7ced27b
Add explanation buttons to hide lengthy explanations
TheGLander Mar 9, 2024
9c202c9
Add ChosenID to the special thanks
TheGLander Mar 9, 2024
7065366
Fix the hash calc to ignore the correct thign
TheGLander Mar 9, 2024
0d68218
Adjust text alignment
TheGLander Mar 9, 2024
2a5b137
ExaCC: clarify outedges by drawing multi-path arrows differently and …
TheGLander Mar 9, 2024
828fb59
Remove unused imports
TheGLander Mar 9, 2024
c823f26
ExaCC: Add route construction mode!
TheGLander Mar 22, 2024
0793ef8
Move to prompt-based SW updates
TheGLander Mar 22, 2024
0d6df61
Add author to pregame cover, add pause cover
TheGLander Mar 24, 2024
1a1ed50
Add basic set navigation
TheGLander Mar 24, 2024
327e604
Fix set info not being cloned properly
TheGLander Mar 24, 2024
f0a6e0f
Relicense
TheGLander Mar 25, 2024
c509153
Replace the Dialog `section` prop with `children`
TheGLander Apr 7, 2024
43cef7a
Add custom tileset selection
TheGLander Apr 7, 2024
81d30b6
ExaCC: add timeline and playback
TheGLander Apr 13, 2024
6176111
Add attempt playback
TheGLander Apr 19, 2024
61e5cf5
Add library support for attempt playback
TheGLander Apr 27, 2024
82a9c4c
Add sound effects
TheGLander Apr 28, 2024
854b85d
Fix broken NCCS saving
TheGLander Apr 28, 2024
b262cf5
Add native Railroad route playback
TheGLander May 1, 2024
5ab2ada
Merge branch 'master' into prewrite
TheGLander May 4, 2024
10d3ee1
Fix gameplayer build errors
TheGLander May 4, 2024
ed47f18
Fully initialize the solutions directory
TheGLander May 4, 2024
1a6d600
Remove setImmediate
TheGLander May 5, 2024
057962c
The miscellaneous commit:tm:
TheGLander May 5, 2024
fbb3353
Update dependencies
TheGLander May 7, 2024
b396926
Add a throbber when preloading
TheGLander May 11, 2024
81d3f7d
Use browser-native `structuredClone` when available
TheGLander May 13, 2024
6f8c618
Add nonlegal glitch detection to both the player and ExaCC
TheGLander May 25, 2024
eb167c8
Fix unused imports
TheGLander Jun 4, 2024
e7649c8
Replace JS game logic with libnotcc
TheGLander Jul 6, 2024
0fdaca2
Update node.js.yml
TheGLander Jul 6, 2024
7100b9b
Update node.js.yml
TheGLander Jul 6, 2024
5f99854
Update node.js.yml
TheGLander Jul 6, 2024
fb68cab
Update node.js.yml
TheGLander Jul 6, 2024
0125d84
Update node.js.yml
TheGLander Jul 6, 2024
9982eb9
Don't write `released_inputs` if there's no assigned seat
TheGLander Jul 6, 2024
a6a75c0
Merge remote-tracking branch 'refs/remotes/origin/prewrite' into prew…
TheGLander Jul 6, 2024
d5301e2
Format & reorganize tiles.c definion order
TheGLander Jul 6, 2024
3ecb6f0
Update libnotcc to support all CC1 tiles
TheGLander Jul 23, 2024
c53c4ad
Add some CC2 tiles to libnotcc
TheGLander Jul 27, 2024
488df87
Add most missing CC2 tiles to libnotcc
TheGLander Jul 31, 2024
f5913ef
Add rest of tiles, CC2LP1V syncs now
TheGLander Aug 20, 2024
2b5c277
Fix some UI annoyances
TheGLander Aug 20, 2024
8a41ecd
Add glitch support, minor logic adjustments
TheGLander Aug 23, 2024
094593f
Add glitch detection support to libnotcc
TheGLander Aug 26, 2024
ece1f89
Add the tile inspector to ExaCC
TheGLander Aug 26, 2024
a8ac0b0
Remove experimental dialog thing ughh
TheGLander Aug 26, 2024
81a50c0
Add desktop builds back
TheGLander Sep 1, 2024
e573f5e
Fix desktop header
TheGLander Sep 1, 2024
7567e8e
Fix desktop header 2
TheGLander Sep 1, 2024
da0d1c1
Don't parse too short RPL sections
TheGLander Oct 26, 2024
f43f2d9
Add local and bb.club set support
TheGLander Oct 27, 2024
5b9c20d
Display actor inventory in the tile inspector
TheGLander Oct 27, 2024
dae844d
Add route importing
TheGLander Oct 28, 2024
96e762e
Fix actor/block pulling and BB bonking
TheGLander Oct 28, 2024
6b22744
Add actor order index to the tile inspector
TheGLander Oct 28, 2024
11c4c94
Add sfx and hint display to libnotcc
TheGLander Nov 6, 2024
7af508b
Fix toggle chip/bomb not toggling
TheGLander Nov 6, 2024
9810e72
Remove the non-compensating interval timers
TheGLander Nov 9, 2024
0856bc7
Clean up ExaCC model code, fix graph replays
TheGLander Nov 11, 2024
c52d661
Add some minor libnotcc leak fixes
TheGLander Jan 29, 2025
7248437
Add a block anti-recursion check
TheGLander Feb 2, 2025
160ae2c
Replace `emmalloc` with `dlmalloc` for libnotcc wasm builds
TheGLander Feb 3, 2025
7bbc41f
Re-encode Latin-1 to UTF-8 when reading from C2M files
TheGLander Feb 13, 2025
bb98540
Add some missing SFX in libnotcc
TheGLander Feb 13, 2025
eb8e557
Move detecting if keypresses are considered "captured" to utils
TheGLander Feb 13, 2025
f7fab30
Use theme colors for system UI accent
TheGLander Feb 13, 2025
9e6c2e5
Add linearized level set support and intermissions
TheGLander Feb 13, 2025
dbbdec7
Don't trigger disabled shortcut buttons
TheGLander Feb 13, 2025
619f06e
Fix disabled shortcut button color to be more readable
TheGLander Feb 13, 2025
addb546
Correctly resolve the case of filesystem-based files
TheGLander Feb 13, 2025
a14cc34
Add a level list popup
TheGLander Feb 13, 2025
7358c45
Adjust the height of text statistics of the level player
TheGLander Feb 13, 2025
fa2f753
Reformat `hash.c`
TheGLander Feb 13, 2025
bcfa8fb
Only play the swivel door unlock if the swivel rotates
TheGLander Feb 13, 2025
8bd99c3
Fix glitchy `findSnapshot` for graph rewind
TheGLander Feb 14, 2025
acebe81
Move `PREVIEW_FULL_SIZE` explicitly into the SetsGrid div, rather tha…
TheGLander Feb 14, 2025
1a206fb
Add route/project saving, and level modifiers
TheGLander Feb 20, 2025
3db7ef8
Don't assume we always have the context ready when trying to render t…
TheGLander Feb 20, 2025
b4da851
Use randomized initial frames for turtles
TheGLander Feb 20, 2025
781841e
Add minor desktop improvements
TheGLander Feb 21, 2025
0c8cefc
Add more complete C2G support
TheGLander Feb 25, 2025
27f674b
Add a real intermission box (and use arrays for different pages of in…
TheGLander Feb 25, 2025
a7cf4e8
Add scoreboard integration
TheGLander Mar 8, 2025
5c6726f
Change default color scheme to cyan
TheGLander Mar 8, 2025
3cc25be
Fix swivel and green chip/bomb sfx
TheGLander Mar 8, 2025
b74129b
Adjust LevelStatsBox field alignment
TheGLander Mar 8, 2025
5565a38
Add a report generator
TheGLander Mar 8, 2025
d79cbff
Fix FFs having interpolated sprites
TheGLander Mar 10, 2025
906b6b3
Don't ever make self-referencial constructions in autocomplete
TheGLander Mar 10, 2025
60e4a17
Add a hint display for mobile mod
TheGLander Mar 11, 2025
f5f0348
Fix flamejets sometimes appearing as on when jetlife is enabled
TheGLander Mar 18, 2025
1e5c2dd
Implement haiku mode
TheGLander Apr 1, 2025
f233526
Use quarter-steps for auto-scaling tiles for ExaCC
TheGLander Apr 18, 2025
4c5b551
Add forced perspective
TheGLander Apr 24, 2025
0d699ce
Fix blue and green wall perspective view
TheGLander Apr 24, 2025
ad16bed
Fix type error
TheGLander Apr 24, 2025
e0e2eed
Replace default tileset with Tauri!
TheGLander May 14, 2025
a7537db
Fix helmet position in Tauri tileset
TheGLander May 14, 2025
618a933
Fix dlmalloc config preventing memory trimming
TheGLander Jul 27, 2025
e70c964
Add some comments to app.tsx
TheGLander Jul 28, 2025
caefb06
Update vite PWA plugin
TheGLander Jul 28, 2025
5e3fcc0
Add main downloads page
TheGLander Jul 28, 2025
7ddb8ee
Disable the inspector in desktop builsd]
TheGLander Jul 28, 2025
680ac57
Make sure hydration always sees the downloads page
TheGLander Jul 28, 2025
144ed2c
Make NotCC desc full width on small devices
TheGLander Jul 28, 2025
036dbee
Fix sidebar going below virtual buttons on mobile
TheGLander Jul 28, 2025
969a7d6
Replace stock Tailwind breakpoints with custom ones and fix mobile UI
TheGLander Aug 2, 2025
f235042
Remove unused imports
TheGLander Aug 2, 2025
a73736e
Use substeps for HiDPI support
TheGLander Aug 2, 2025
7daf9f9
Move MobileControls to a separate component dir
TheGLander Aug 16, 2025
3dc45a4
Remove Inkscape cruft from existing SVGs
TheGLander Aug 16, 2025
131c354
Add mobile secondary action buttons
TheGLander Aug 17, 2025
0f3b47d
Update gamePlayer deps
TheGLander Aug 17, 2025
af4ced0
Remove alt icon and add pre-set dimentions for icon
TheGLander Sep 14, 2025
2d6e5d2
Remove unused atom
TheGLander Sep 14, 2025
1072c16
Add option to take a screenshot of the full map
TheGLander Sep 14, 2025
8bb0bee
Remove unused import
TheGLander Sep 14, 2025
6fc4b9e
Add more Newily SFX
TheGLander Sep 23, 2025
63149f0
Mildly touch up the Tauri tileset
TheGLander Oct 4, 2025
1a25dd6
Add more Newily sfx
TheGLander Oct 4, 2025
cd77e6b
Add crude promise cancellation for `usePromise`
TheGLander Oct 12, 2025
7bb3335
Touch up Tauri tileset again
TheGLander Oct 12, 2025
1f461fe
Fallback to default tile/sfxsets when the selected one can't be loaded
TheGLander Oct 12, 2025
3771475
Clean up ExaCC grid layout
TheGLander Oct 12, 2025
10a4e6a
Make `get_possible_actions` return useful values for non-movement sub…
TheGLander Oct 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 4 additions & 22 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,19 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@v4
with:
version: latest
run_install: false
- name: Cache
id: cache
uses: actions/cache@v3
with:
path: testSets
key: ${{ runner.os }}-test-sets
- run: pnpm build-cli
- run: pnpm build:cli
- run: pnpm i
- run: pnpm test -- --sets-dir testSets --sync-dir syncfiles --set cc2lp1 --set CC2LP1V
desktop-artifact:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.4
with:
version: latest
run_install: false
- run: pnpm build-desktop
- uses: actions/upload-artifact@v3
with:
name: NotCC desktop
path: desktopPlayer/artifacts
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ original.bmp

*.pb.*

desktopPlayer/bin
desktopPlayer/.tmp
desktopPlayer/artifacts
desktopPlayer/NotCC.app/Contents/MacOS
desktopPlayer/NotCC.zip
# Neutralino browser binaries
gamePlayer/bin
gamePlayer/neuDist
gamePlayer/artifacts
gamePlayer/NotCC.zip
.tmp
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"arrowParens": "avoid",
"semi": false,
"singleQuote": false,
"trailingComma": "es5"
"trailingComma": "es5",
"plugins": ["prettier-plugin-tailwindcss"]
}
696 changes: 675 additions & 21 deletions LICENSE

Large diffs are not rendered by default.

34 changes: 0 additions & 34 deletions cli/package.json

This file was deleted.

68 changes: 0 additions & 68 deletions cli/src/commands/c2gShell.ts

This file was deleted.

5 changes: 0 additions & 5 deletions cli/src/commands/index.ts

This file was deleted.

46 changes: 0 additions & 46 deletions cli/src/commands/statLevel.ts

This file was deleted.

Loading
Loading