Commit graph

934 commits

Author SHA1 Message Date
tildearrow 5e5896fd52 Merge branch 'master' into ymf278b 2024-09-05 19:32:48 -05:00
tildearrow eb95024fb9 Merge branch 'master' into master 2024-09-05 18:13:46 -05:00
cam900 bb5d592bb4 Merge branch 'master' of https://github.com/tildearrow/furnace into ymf278b 2024-09-05 20:38:25 +09:00
Adam Lederer 572eb10e91 add cursor undo/redo actions 2024-09-02 15:51:01 -05:00
cam900 3e1e2fc2a6 Merge branch 'master' of https://github.com/tildearrow/furnace into ymf278b 2024-08-25 12:50:51 +09:00
tildearrow 0ab9f6c6fd more.... 2024-08-24 17:41:41 -05:00
tildearrow 332b449f0e deGNUize 2024-08-24 06:03:28 -05:00
freq-mod 46e48e42ea backport default sys picker from B 2024-08-24 11:24:58 +02:00
tildearrow 99ae6a2b38 VGM export: include song comments
also show song comments on mobile
2024-08-23 17:46:09 -05:00
Adam Lederer d0f3e0fa58 GUI_ACTION_PAT_ABSORB_INSTRUMENT search through prior orders (also set instrument to none if no instrument found 2024-08-23 15:20:08 -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 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 d79bad195a looks like it works, no account for fadeout tho 2024-08-22 03:17:35 -05:00
alederer 28dc0b12a1
"Adopt instrument" action also adopts octave (#2095)
* push test

* remove test file

* add GUI_ACTION_PAT_ABSORB_INSTRUMENT action (set current instrument to channel's current instrument column)

* rename 'absorb instrument' to 'adopt instrument' (clearer), adopt octave as well, replace editor octave min/max numbers in the code with defines

* CRAP

* rename 'adopt instrument' back to 'absorb instrument'

---------

Co-authored-by: Adam Lederer <adam@adamlederer.com>
Co-authored-by: tildearrow <me@tildearrow.org>
2024-08-19 13:19:50 -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
cam900 7fb7d32bd5 Merge branch 'master' of https://github.com/tildearrow/furnace into ymf278b 2024-08-18 20:23:14 +09:00
tildearrow 5bfd389ae6 GUI: new default value for S3M OPL3 2024-08-17 18:24:04 -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
alederer fca3ce02a7
Add action to set curIns based on current channel instrument at cursor (#2090)
* push test

* remove test file

* add GUI_ACTION_PAT_ABSORB_INSTRUMENT action (set current instrument to channel's current instrument column)

---------

Co-authored-by: Adam Lederer <adam@adamlederer.com>
2024-08-17 15:50:52 -05:00
cam900 2c417811b3 Merge branch 'master' of https://github.com/tildearrow/furnace into ymf278b 2024-08-16 20:35:16 +09:00
tildearrow eaa943e724 GUI: parse ROM export requisites 2024-08-15 11:28:10 -05:00
cam900 afec47e9cc Merge branch 'master' of https://github.com/tildearrow/furnace into ymf278b 2024-08-14 17:56:27 +09:00
tildearrow b7631542c6 port TIunA to export framework, part 3
options
2024-08-13 18:07:07 -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
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 dce4c9a4b2 sample bank import 2024-08-12 15:54:37 +02:00
AArt1256 8480e31430 upd1771c instrument colors yay 2024-08-11 17:38:06 +03:00
AArt1256 5532965925 added some more stuff to supervision support 2024-08-09 09:57:35 +03:00
cam900 4b0080c509 Merge branch 'master' of https://github.com/tildearrow/furnace into ymf278b 2024-08-01 19:32:02 +09:00
tildearrow 9d77522efb GUI: prepare to add "save all assets" options 2024-07-27 04:35:21 -05:00
tildearrow fc772388b7 GUI: this sucks... 2024-07-25 19:59:21 -05:00
tildearrow d88a753aba GUI: prepare auto macro size setting 2024-07-23 22:47:27 -05:00
cam900 00e9ca29fa Revert "Re-split OPL4 PCM instruments due to hardware differences"
This reverts commit 87ac12e143.
2024-07-13 16:28:20 +09:00
cam900 87ac12e143 Re-split OPL4 PCM instruments due to hardware differences
- MultiPCM also has level direct, so it's remained in DivInstrumentMultiPCM. everything else don't support at MultiPCM is moved into DivInstrumentOPL4PCM.
- MultiPCM can't modify ADSR envelope unless reading instrument from ROM, so I decided to remove ADSR envelope macros. these are moved into OPL4 PCM instrument.
- Save/Load of MultiPCM level direct parameter is still disabled until main version update (for disallow crash).
- Also, this PR fixes OPL4 VGM output.
2024-07-13 13:09:10 +09:00
cam900 b1937b9834 Revert and Re-add instrument parameter into multipcm instruemnt
Fix per-channel OSC
2024-07-13 07:34:53 +09:00
cam900 65f48cc574 Add instrument for OPL4 PCM, Macros and Effects
TODO: Phase reset, Keyon/off
2024-07-12 17:37:27 +09:00
cam900 221fa5aa42 Some fleshing out YMF278B
Add OpenMSX YMF278B core option, Expand RAM size option
2024-07-12 12:16:24 +09:00
tildearrow 72cd745824 patch ImGui so it supports square textures
in the font atlas
2024-07-05 18:00:02 -05:00
tildearrow 473defff35 GUI: new macro colors and fixes
bitfields now have proper macro color
macro position indicator is no longer hard-coded
2024-07-04 18:08:07 -05:00