Commit graph

1337 commits

Author SHA1 Message Date
Adam Lederer 572eb10e91 add cursor undo/redo actions 2024-09-02 15:51:01 -05:00
Eknous-P 9b1c06b515 actual fix 2024-08-31 23:26:25 -05:00
Eknous-P cf20905199 fix export progress popup size 2024-08-31 23:26:25 -05:00
tildearrow 864315dce2 GUI: don't set a default size for the Rendering mo 2024-08-30 22:44:33 -05:00
tildearrow 0ab9f6c6fd more.... 2024-08-24 17:41:41 -05:00
freq-mod 46e48e42ea backport default sys picker from B 2024-08-24 11:24:58 +02:00
tildearrow 977c464e7b GUI: fix audio export progress window 2024-08-24 03:08:35 -05:00
tildearrow 5a79a70980 GUI: missing WonderSwan pan macros 2024-08-23 20:10:23 -05:00
alederer c5310d1855
Instrument editor undo (minus FixedQueue change) (#2094)
* add undo to instrument editor (check for diffs on the current DivInstrument in insEdit, record them in a stack)

* style fixes

* accidentally left some logs in

* typo in style fix

* cheat to avoid warning -Werror=class-memaccess on linux

* warn instead of assert on case where MemPatch application would exceed size of target buffer (which should never happen, if you're applying the patch to the same type it was generated from)

* instrument editor undo: don't check delta if no user input has come in that could potentially have dirtied the editor

* don't run a delta against cached instrument if not insEditOpen

* revert fixedQueue to before my 'fix' (if i touch it again i'll add unit tests)

* explicitly cast to (DivInstrumentPOD*) when memsetting DivInstrumentPOD in DivInstrument constructor, rather than relying on implicit memory layout

* use delete[] instead of free (whoops)

* MemPatch/DivInstrumentUndoStep -- remove clear() function (ambiguous whether it should free data, it only existed to set data to null after the swap, so just do that directly now). Also set data to null after delete.

* DivInstrument -- fix dangling undo-step pointers being created on duplicate (potentially leading to use-after-free), fix undo-step objects being shamelessly leaked

---------

Co-authored-by: Adam Lederer <adam@adamlederer.com>
2024-08-23 15:17:19 -05:00
LTVA1 a08380182d arr 2 2024-08-22 03:17:35 -05:00
LTVA1 f433f79dfe aarr 2024-08-22 03:17:35 -05:00
LTVA1 3a72acc3b0 init 2024-08-22 03:17:35 -05:00
LTVA1 33eea96986 small fixes, print progress in rows/files 2024-08-22 03:17:35 -05:00
LTVA1 a4dae5302b account for fadeout length, optimize some progress bar calc 2024-08-22 03:17:35 -05:00
LTVA1 17f6ea5c6a account for non-beginning loop point location
Ig I will optimize some of the calculations later when account for fadeout is added
2024-08-22 03:17:35 -05:00
LTVA1 481a5710df fix3? 2024-08-22 03:17:35 -05:00
LTVA1 56749ad286 fix2? 2024-08-22 03:17:35 -05:00
LTVA1 d79bad195a looks like it works, no account for fadeout tho 2024-08-22 03:17:35 -05:00
tildearrow a77d8bc87e oh crap 2024-08-21 14:46:40 -05:00
tildearrow d3af810462 Revert "add undo to instrument editor (check for diffs on the current DivInstrument in insEdit, record them in a stack)"
This reverts commit 5c9fd69ac1.
2024-08-19 02:49:24 -05:00
tildearrow 251be67b69 Revert "instrument editor undo: don't check delta if no user input has come in that could potentially have dirtied the editor"
This reverts commit ad53b33d7c.
2024-08-19 02:49:24 -05:00
Adam Lederer ad53b33d7c instrument editor undo: don't check delta if no user input has come in that could potentially have dirtied the editor 2024-08-19 02:44:18 -05:00
Adam Lederer 5c9fd69ac1 add undo to instrument editor (check for diffs on the current DivInstrument in insEdit, record them in a stack) 2024-08-19 02:44:18 -05:00
tildearrow 39923742ab ZSM export: move to ROM export framework 2024-08-18 17:21:17 -05:00
tildearrow e7c39a0d6f fix 2024-08-18 05:52:50 -05:00
tildearrow e3e61c817c Merge branch 'master' into sample_banks 2024-08-17 17:53:15 -05:00
tildearrow 636a9921a2 changes 2024-08-17 16:29:13 -05:00
LTVA1 5770f381ba setting to choose between OPL2 and OPL3, channel naming 2024-08-17 16:26:53 -05:00
tildearrow eaa943e724 GUI: parse ROM export requisites 2024-08-15 11:28:10 -05:00
tildearrow b7631542c6 port TIunA to export framework, part 3
options
2024-08-13 18:07:07 -05:00
tildearrow 249032f096 port TIunA to export framework, part 2
progress bars!
2024-08-13 17:47:18 -05:00
tildearrow bb5ad38fb6 port TIunA to export framework, part 1
part 2 includes progress bars and options
2024-08-13 16:50:13 -05:00
tildearrow aad42210d7 it kinda works 2024-08-13 14:34:06 -05:00
freq-mod 03bc023644 spacing 2024-08-13 13:55:20 +02:00
tildearrow e475b29ec3 a menu 2024-08-13 04:40:26 -05:00
tildearrow 1bdcbf95d3 prepare a ROM export dialog 2024-08-12 23:20:08 -05:00
freq-mod aa225175a8 sample banks part 3 2024-08-12 19:23:52 +02:00
freq-mod 235a254458 sample banks part 2 2024-08-12 18:22:52 +02:00
tildearrow 0fd72afeb4 here we go 2024-08-01 01:19:29 -05:00
tildearrow f7553ede78 would this fix the issue? 2024-07-31 22:53:03 -05:00
tildearrow fa4f0ece38 NON-WORKING....... 2024-07-31 04:24:28 -05:00
tildearrow 9d77522efb GUI: prepare to add "save all assets" options 2024-07-27 04:35:21 -05:00
tildearrow b2223ccd0f implement getGain for a couple chips
the ones with log volume
2024-07-22 19:08:39 -05:00
tildearrow 7a6e41f482 GUI: add TIunA export options in classic mode 2024-07-14 17:43:52 -05:00
tildearrow 09fe01fc74 report max texture size 2024-07-05 19:58:45 -05:00
tildearrow 72cd745824 patch ImGui so it supports square textures
in the font atlas
2024-07-05 18:00:02 -05:00
tildearrow 13c63f60bb GUI: do not play the intro when using software ren 2024-07-05 14:37:28 -05:00
tildearrow 0a426efe12 IT import: more work on it 2024-06-25 16:36:20 -05:00
tildearrow cb34296de7 prepare
demo song by Abstract and Natt
2024-06-24 23:59:10 -05:00
tildearrow b4a00b8a81 post-merge changes 2024-06-23 04:36:21 -05:00