Commit Graph
100 Commits
Author SHA1 Message Date
shweetandClaude Opus 5.5 30ea363c39 Timeline: drop per-frame callback rebinding and duplicated helpers
- TimelineState base carries persistent state; TimelineContext no longer copies 50 references
- 111 per-frame std::function lambdas become member functions
- Delete wrappers that re-implemented anm2 helpers
- One snapshot/edit push path, one theme color lookup, shared frame grouping/refocus/trigger filters
- Row building and bake targets loop over TRACK_CONTAINERS
- Split commands.cpp into selection.cpp, edit.cpp and menus.cpp

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 13:38:17 -04:00
shweetandClaude Opus 5.5 d926fc6677 Split window.cpp per window and drive menus from one flag table
- WINDOW_FLAGS table builds every context menu, footer and shortcut set
- Shared list-row and card-row renderers replace per-window copies
- Layers/nulls/events share one properties popup; Manager keeps one item popup API
- Regions, spritesheets and sounds drop hand-built menus, footers and shortcut blocks
- Animation remove and cut share one erase path that also clears group ids
- Index-mapped multi-select fixes shift-range over non-contiguous ids
- Fix Remove Unused tooltip showing the Add shortcut and the missing break in item properties

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 13:27:34 -04:00
shweetandClaude Opus 5.5 3f31cedeed Slim Document: move data-model code out, unify edit plumbing
- Region generate/scan move to anm2/regions.cpp; both generators number from 1
- file_merge moves to anm2/merge.cpp and is table-driven
- MaxRects packer moves to util/pack
- Uniform config apply/trim/save move to resource/shader
- Snapshots push from their owned state; Document snapshot wrappers removed
- DocumentData base replaces the hand-written move constructor
- toast_log replaces 55 duplicated toast + English log pairs
- Apply repo .clang-format to touched files

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 13:08:00 -04:00
shweetandClaude Opus 5.5 a9f48bc3a0 De-bloat anm2 core: templates, tables, unified emitter
- Collapse const/non-const pairs into templates; Anm2::element_get uses deducing this
- Drive container/track/item mappings from ANM2_ELEMENT_TYPES, ANM2_ITEM_TYPES and TRACK_CONTAINERS
- One sink-based emitter feeds both XML writing and hashing
- frame_mix and frame_bake_split replace five copies of the bake/lerp loop
- item_add replaces layer_animation_add/null_animation_add
- Fix timeline split ignoring shear

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 12:54:24 -04:00
shweetandClaude Opus 5.5 41ed347925 Split anm2 and timeline into modules; merge groups by name
Baseline before de-bloat refactor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 12:41:23 -04:00
shweet 9e9dd8bd8a fix issue with animation length change acting on new reference 2026-08-27 16:09:10 -04:00
shweet b7c24fad99 shading and shearing 2026-08-20 20:03:12 -04:00
shweet 5e27111b21 address log accumulation issue and non-ascii files load on program init 2026-08-13 21:40:28 -04:00
shweet 46690d6975 fixed group reference issue 2026-08-07 14:48:33 -04:00
shweet a4b34cc0be remove overlay window, add document overlay + over/under 2026-08-07 14:42:16 -04:00
shweet e32e781b46 remove compile commands 2026-08-06 11:47:20 -04:00
shweet ff76932555 fix merge window, fix hash slowness (again), touch up overlays (still not sure about them) 2026-07-19 22:35:48 -04:00
shweet 98f87c9d46 fix sound serialization + extended format 2026-07-15 12:47:44 -04:00
shweet c7abe29106 reintroduce region remapping 2026-07-12 17:43:57 -04:00
shweet d3996a218e format fix 2026-07-12 17:39:21 -04:00
shweet 6786bff07c copying items, remove region remapping 2026-07-12 16:37:35 -04:00
shweet c28ea8eb6f tick/fps difference in render animation; touched up 2026-07-10 21:21:25 -04:00
shweet c5a9ab8119 fix spritesheet overwrite warning 2026-07-09 21:37:41 -04:00
shweet 2b662d24d6 slopped up readme too why not 2026-07-09 19:59:15 -04:00
shweet 5792dd25a2 Overlays, Shaders, Group Roots, Serialization Changes. Legalize Nuclear Bombs 2026-07-09 19:49:33 -04:00
shweet 555caf9f4f more slop with regions 2026-07-01 20:49:39 -04:00
shweet 80ef3f8597 buncha slop 2026-07-01 20:04:12 -04:00
shweet f00396bdfe fixed issue with ctrl+click 2026-06-25 00:07:01 -04:00
shweet b5528bc118 fix to document order and bake into other frames works with colors 2026-06-23 19:08:00 -04:00
shweet 6d206045c7 spritesheet editor fix, zoom levels 2026-06-20 22:27:11 -04:00
shweet d079295803 spritesheet editor fix 2026-06-20 20:38:05 -04:00
shweet dbc1c132bd zoomin' 2026-06-20 15:12:52 -04:00
shweet 4db3e28ced some new crap 2026-06-20 15:06:04 -04:00
shweet 1005b5e4ce pivot fix again 2026-06-13 15:00:09 -04:00
shweet 0ea0afe1e3 pivot fix 2026-06-13 14:56:02 -04:00
shweet 71e799f536 yeah this is more sensible 2026-06-07 12:53:08 -04:00
shweet e8083d7817 Auto bake frames! new attributes! 2026-06-07 12:40:56 -04:00
shweet 8a48eece86 fix gaffe with spritesheets 2026-05-25 22:23:27 -04:00
shweet 93707b234c fix tools 2026-05-22 11:50:03 -04:00
shweet 8c421595c4 more tweaks 2026-05-22 11:13:39 -04:00
shweet 6e5d73c639 header cleanup 2026-05-22 10:20:43 -04:00
shweet a670142490 crash issues + fixes 2026-05-22 09:53:42 -04:00
shweet 4db1cfafb6 the source of the random crashes?! 2026-05-22 09:31:05 -04:00
shweet 39f09b75e1 fix generate animation from grid 2026-05-22 09:09:00 -04:00
shweet 9d8109be72 let's hide this lol 2026-05-22 08:28:16 -04:00
shweet b1c9d38ef5 Friends :) 2026-05-22 08:15:16 -04:00
shweet 1bc5199e3b Holy vibecode Batman! 2026-05-21 21:00:57 -04:00
shweet 7db835e6d4 managed autosave deletion 2026-05-20 11:41:40 -04:00
shweet b7b49eb81e some bullshit to fix potential crash 2026-05-14 22:58:32 -04:00
shweet 8f72f0aef5 autosave fix + item properties change 2026-05-11 23:33:39 -04:00
shweet e6a4065777 exception logger 2026-05-11 17:55:00 -04:00
shweet b345c27a87 autosave_restore moved out of welcome in case of loading from file 2026-05-11 17:29:52 -04:00
shweet d08f3d2231 touched up animation preview/timeline 2026-05-11 15:57:07 -04:00
shweet d05c0da393 fix new frame values not being visible immediately after adding 2026-05-11 01:19:08 -04:00
shweet aa85ad92de Update about music: "Digital Antidepressant" by Soundbin on Newgrounds 2026-05-10 19:16:02 -04:00
shweet 679387a258 fixed weird time compile error 2026-05-09 22:26:54 -04:00
shweet 2ff6639cd1 fixed png format 2026-05-08 18:34:51 -04:00
shweet d8930fcdbe expanded change all frame properties 2026-05-07 00:34:24 -04:00
shweet 5c746d99c2 60Hz 2026-05-07 00:19:53 -04:00
shweet a1bdbeba1c transparency for animation preview, QoL, change raw animation 2026-05-03 11:22:42 -04:00
shweet 7116298668 fixed frame drag/drop 2026-05-02 12:44:23 -04:00
shweet fba8edb569 Added previous/next item, default keybind is Shift+F7/Shift+F8 2026-05-01 21:01:57 -04:00
shweet e9cd4f1ec4 fix potential crash with animation preview transform 2026-04-27 18:55:33 -04:00
shweet e9deac2f38 anm2 experiments 2026-04-24 13:44:33 -04:00
shweet d39a1dac3c miscellaneous sloppa fixes 2026-04-20 13:54:49 -04:00
shweet bfe9e3e982 change frame properties order 2026-04-15 20:51:27 -04:00
shweet e5a49d212b works with overwrite warning 2026-04-15 14:19:38 -04:00
shweet fc54412eb9 SPECIAL LITTLE WARNING FOR STUPID LITTLE CHUDS WHO CAN'T READ 2026-04-15 14:12:08 -04:00
shweet f1b46fbf60 let's be honest 2026-04-14 17:20:07 -04:00
shweet 216a65c756 baked frames are selected 2026-04-14 17:17:45 -04:00
shweet 98d1bf1981 baked frames are selected 2026-04-14 17:15:06 -04:00
shweet c59ef05902 change baking frames 2026-04-14 17:02:32 -04:00
shweet b60c4bc295 I N T E R P O L A T I O N 2026-04-14 14:28:14 -04:00
shweet 15f85b84a9 fixed crop/size/pivot issue when no region selected 2026-04-14 10:23:40 -04:00
shweet 8fbccb2257 Merge branch 'staging' 2026-04-08 20:01:35 -04:00
shweet 378a7692e2 add #include format 2026-04-08 20:00:13 -04:00
shweet 0b91382f0f changes + more windows bs 2026-03-29 20:13:24 -04:00
shweet b1213d7d23 Merge branch 'staging'
# Conflicts:
#	.vscode/launch.json
#	.vscode/tasks.json
#	src/imgui/window/animation_preview.cpp
#	src/imgui/window/regions.cpp
2026-03-19 03:51:13 -04:00
shweet ad125c15a2 queue oh el 2026-03-19 03:46:42 -04:00
shweet 4f5966dad6 fix path issues 2026-03-17 00:47:36 -04:00
shweet a83dbd5b6c Render animation fixes, vs code tasks 2026-03-15 13:53:46 -04:00
shweet f58d89425f Render animation fixes, vs code tasks 2026-03-15 13:52:42 -04:00
shweet bbfafd7331 Render animation fixes, vs code tasks 2026-03-15 13:22:53 -04:00
shweet 1b5ba6b584 fix audio desync for realsies, stderr to log.txt 2026-03-10 00:36:21 -04:00
shweet c11b404392 let's actually stage those changes... 2026-03-09 23:09:37 -04:00
shweet 2d27b7e8fb staging some future refactoring, .h -> hpp, fix for rendering w/ audio 2026-03-09 23:08:57 -04:00
shweet 77f6e65b15 some bug fixes, added spritesheet filepath setting, etc. 2026-03-05 00:10:59 -05:00
shweet 5a48b07321 readmes 2026-02-06 12:05:37 -05:00
shweet 400231f246 again... 2026-02-06 11:59:53 -05:00
shweet 33e5846a6e update imgui settings 2026-02-06 11:58:26 -05:00
shweet 85073a2ab9 spritesheet hashing, navigation fix, etc. 2026-02-06 11:52:33 -05:00
shweet 64d6a1d95a Mega Region Update. 2026-02-05 21:34:42 -05:00
shweet 00bff4a91f default imgui settings 2026-01-30 01:27:54 -05:00
shweet 1b7a49c25d regions and a whole bunch of other shit 2026-01-30 01:13:28 -05:00
shweet ca3a0f6691 update dumps + fix trigger bug some more 2026-01-19 15:06:16 -05:00
shweet 76f134fe60 quick fix for crashing triggers 2026-01-18 16:39:16 -05:00
shweet 044ef8b818 remove unused fix 2026-01-18 16:32:33 -05:00
shweet cbfb3403b7 includes 2026-01-14 19:26:25 -05:00
shweet b90c15eab4 bring back windows dumps 2026-01-14 19:25:12 -05:00
shweet 3b551abb8a fixed rendering issues with non-30 fps 2026-01-14 04:36:24 -05:00
shweet 579ca08181 fix issue with rendering animations on linux 2026-01-14 04:03:26 -05:00
shweet 8a1058d559 FLIPPING!!!!!!! 2026-01-13 19:00:56 -05:00
shweet 7f4e05a927 fixed event handling and a lot of ID stuff OOPS 2026-01-13 03:16:38 -05:00
shweet f9087b8ed3 quick change to events + workshop 2026-01-13 02:49:01 -05:00
shweet 945fd31735 remove windows debug code (for now...) 2026-01-12 23:12:04 -05:00