YourWishes
56230dd340
Fix ref-count underflow, PSP timezone units, thread restart race, color codegen
...
- util/ref.c: refUnlock's assert(count >= 0) on an unsigned count was
tautological, so a double-unlock silently underflowed to UINT32_MAX
instead of asserting. Now asserts count > 0 before decrementing.
- duskpsp/time/timepsp.c: timeGetRealTimeZonePSP returned hours while
every other platform (and timeepoch.c's math) expects seconds.
- thread.c: threadHandler reset threadId outside the mutex, after
signaling STOPPED, letting a caller's immediate threadStart() race
threadStartRequest()'s "thread id not 0" assert. threadId is now
reset inside the same locked section.
- tools/color.py: whole-number CSV channels (0, 1) produced invalid C
float literals (0f, 1f) for the generated COLOR_*_3F/_4F macros.
Route through float() so they always stringify with a decimal point.
Also adds .claude/code-check.md: a full review pass over every
subsystem in src/dusk/, with the above (plus several other findings
not yet acted on) written up in detail.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-07-31 15:02:17 -05:00
YourWishes
725338cd5a
Game code start
2026-07-19 11:49:13 -05:00
YourWishes
78cd973a33
Remove story and battle stuff
2026-07-16 15:37:55 -05:00
YourWishes
ca02ee0352
Add camera shake
2026-07-11 11:02:09 -05:00
YourWishes
b693ea4102
Starting item and battle stuff
2026-07-08 10:05:21 -05:00
YourWishes
a292f1992b
Change to use the Z tile system
2026-07-04 08:40:53 -05:00
YourWishes
3ad5afb81c
Fix item crash
2026-07-02 16:04:41 -05:00
YourWishes
172dc5d37b
Tile Z is now hypotenused to 1 rather than stretching to have Z of 1.
2026-07-01 16:27:59 -05:00
YourWishes
874c6258ab
New ramp types
Build Dusk / run-tests (push) Failing after 5m33s
Build Dusk / build-linux (push) Successful in 5m3s
Build Dusk / build-psp (push) Successful in 1m17s
Build Dusk / build-knulli (push) Successful in 4m45s
Build Dusk / build-gamecube (push) Successful in 3m49s
Build Dusk / build-gamecube-iso (push) Successful in 3m50s
Build Dusk / build-wii (push) Successful in 3m29s
Build Dusk / build-wii-iso (push) Successful in 4m4s
2026-07-01 16:05:02 -05:00
YourWishes
a9ab8dc1d8
Chunks, models, and more
2026-07-01 08:35:01 -05:00
YourWishes
84ebaa0751
A lot of PSP optimizations
2026-06-30 21:01:11 -05:00
YourWishes
6a403e6caf
Add test hill
2026-06-30 18:21:46 -05:00
YourWishes
0614bfc446
example building
2026-06-30 16:21:46 -05:00
YourWishes
bb020c36c1
CHUNK STUFF
2026-06-27 17:19:44 -05:00
YourWishes
f17b0bfcfb
Tiles
2026-06-27 08:50:55 -05:00
YourWishes
1e890f6d86
Backpack changes
2026-06-26 09:04:57 -05:00
YourWishes
722fe2ccfb
Some label fixes
2026-06-25 19:56:14 -05:00
YourWishes
5be21a21d5
prog
2026-06-10 19:06:19 -05:00
YourWishes
9edb2aa0c1
Example scene working
2026-06-06 18:46:08 -05:00
YourWishes
65ca5ae4c4
Dolphin Bootable ISO working!
2026-05-07 17:38:41 -05:00
YourWishes
9d0cb8fb46
ISO build (partial)
2026-05-07 12:18:30 -05:00
YourWishes
bb29c0edef
Working on some script modules
2026-05-05 16:22:04 -05:00
YourWishes
0e94c1fa6d
Fixed a bunch of messy over 80 char lines
2026-05-04 08:29:43 -05:00
YourWishes
ffed626447
More cleanup
2026-04-29 22:39:47 -05:00
YourWishes
61f69af35a
Refactor pass 1
2026-04-29 14:53:35 -05:00
YourWishes
a41b0e916b
prog
2026-04-28 08:04:01 -05:00
YourWishes
c7a3e5601c
De-ugifying
2026-04-14 14:29:48 -05:00
YourWishes
0b570b5fd6
Add a few more mesh types
2026-04-14 08:38:50 -05:00
YourWishes
041ec3d710
Add texture padder tool
2026-04-13 20:34:54 -05:00
YourWishes
5f2d871bad
Cleaned a bit more
2026-04-13 20:05:34 -05:00
YourWishes
a30b151e4d
Bit of cleanup
2026-04-13 20:03:02 -05:00
YourWishes
5a651d2d1f
Dusk texture creator
2026-04-13 19:51:11 -05:00
YourWishes
1c5e50cc4d
Test text rendering
2026-03-29 10:15:22 -05:00
YourWishes
ca0e9fc3b2
Implement spritebatch properly.
2026-03-22 09:13:42 -05:00
YourWishes
4517b63557
Fixed compiling
Build Dusk / run-tests (push) Failing after 15s
2026-03-10 21:11:12 -05:00
YourWishes
342ddb19f8
Finally got text rendering again.
2026-02-16 13:12:12 -06:00
YourWishes
9c9d2d548e
Fixed whatever problem was with texture loading.
2026-02-16 12:29:25 -06:00
YourWishes
d7a0bb4509
Fix palette indexer bytes
2026-02-16 12:01:06 -06:00
YourWishes
2b1a3323a8
Tileset creator done
2026-02-16 12:00:55 -06:00
YourWishes
99d030003c
DEbug not working so moving pcs
2026-02-15 16:41:33 -06:00
YourWishes
92a753560b
prog
2026-02-15 01:09:28 -06:00
YourWishes
e5e8c49f6c
Mostly nuking old system
Build Dusk / build-linux (push) Failing after 1m24s
Build Dusk / run-tests (push) Failing after 1m17s
Build Dusk / build-psp (push) Failing after 1m34s
Build Dusk / build-dolphin (push) Failing after 2m5s
2026-02-13 19:13:26 -06:00
YourWishes
bd54469891
test some stuff
Build Dusk / run-tests (push) Failing after 2m48s
Build Dusk / build-linux (push) Failing after 2m21s
Build Dusk / build-psp (push) Failing after 1m46s
Build Dusk / build-dolphin (push) Failing after 1m57s
2026-02-09 10:39:46 -06:00
YourWishes
2f5dccc3ef
Texture loading
Build Dusk / run-tests (push) Successful in 1m44s
Build Dusk / build-linux (push) Successful in 1m38s
Build Dusk / build-psp (push) Successful in 1m59s
Build Dusk / build-dolphin (push) Successful in 1m59s
2026-02-09 09:29:16 -06:00
YourWishes
3db7e6b1b9
Fixed palette lookup
Build Dusk / run-tests (push) Successful in 1m18s
Build Dusk / build-linux (push) Successful in 1m21s
Build Dusk / build-psp (push) Successful in 1m30s
Build Dusk / build-dolphin (push) Successful in 1m51s
2026-02-08 21:26:42 -06:00
YourWishes
13c4df0d85
Compiles on dolphin, finally
Build Dusk / run-tests (push) Successful in 1m39s
Build Dusk / build-linux (push) Successful in 1m34s
Build Dusk / build-psp (push) Successful in 2m7s
Build Dusk / build-dolphin (push) Successful in 1m48s
2026-02-08 19:30:02 -06:00
YourWishes
5cea284906
Map loading
Build Dusk / run-tests (push) Successful in 1m15s
Build Dusk / build-linux (push) Successful in 1m33s
Build Dusk / build-psp (push) Successful in 1m56s
2026-02-03 19:20:50 -06:00
YourWishes
22398ddcef
Added story flags
Build Dusk / run-tests (push) Successful in 1m27s
Build Dusk / build-linux (push) Successful in 1m13s
Build Dusk / build-psp (push) Successful in 1m46s
2026-02-03 15:16:21 -06:00
YourWishes
2c83e4ba9f
mkdirs
Build Dusk / build-linux (push) Has been cancelled
Build Dusk / build-psp (push) Has been cancelled
Build Dusk / run-tests (push) Has been cancelled
2026-02-03 13:18:32 -06:00
YourWishes
78e1ae885a
Add color support.
Build Dusk / run-tests (push) Failing after 1m35s
Build Dusk / build-linux (push) Failing after 1m34s
Build Dusk / build-psp (push) Failing after 1m53s
2026-02-01 11:16:52 -06:00