Commit graph

918 commits

Author SHA1 Message Date
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
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
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 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
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
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
tildearrow 394a2b5442 GUI: make multi-threading options visible 2024-07-02 17:34:56 -05:00
tildearrow b4a00b8a81 post-merge changes 2024-06-23 04:36:21 -05:00
Natt Akuma 85199e5228 TIA: Add software pitch driver (TIunA) and song data export 2024-06-22 17:31:58 +07:00
tildearrow 9aed6fc47c fix about screen 2024-06-17 23:53:00 -05:00
tildearrow 3305a2b697 expose all audio formats supported by sndfile 2024-06-14 18:53:33 -05:00
tildearrow e8d34143cb Merge branch 'locale'
thanks everyone involved!

also special thanks to LTVA for pioneering language support in Furnace
2024-06-13 16:55:08 -05:00
Colin Kinloch 53ddffeb14 Fix wayland icon with SDL_VIDEO_WAYLAND_WMCLASS
This is used by SDL to set the xdg_toplevel app_id
2024-06-05 03:40:02 -05:00
tildearrow c9482ba86c I HATE GLOBAL CONFIGS I HATE GLOBAL CONFIGS I HATE
@tildearrow instead of this nonsense you could have just made a language menu in the interface settings
2024-06-01 16:36:00 -05:00
tildearrow 291e7f5d8b add a string to force glyph ranges 2024-05-31 17:13:20 -05:00
tildearrow 145212171f libintl for systems without libintl
warning: incomplete!
2024-05-30 19:34:34 -05:00
tildearrow e12bf82f49 the massive preparations - settings and sysConf 2024-05-26 23:30:33 -05:00
tildearrow 3f34a46575 GUI: prepare to add auto-fill on save 2024-05-24 00:19:03 -05:00
tildearrow 56d648189a GUI: default to OpenGL on macOS
Metal backend seems to be unstable...
2024-05-21 17:49:59 -05:00
tildearrow 603249573a GUI: separate wantScrollList
issue #1894
2024-05-21 17:26:04 -05:00
tildearrow 6f5450f0ec GUI: improve cursor focus
now it's no longer fucking annoying
2024-05-20 19:20:29 -05:00
tildearrow 4b1a31e70b incomplete code, because yes 2024-05-20 12:09:00 -05:00