Skip to content

Commit

Permalink
reintroduce JSON export from 0cc
Browse files Browse the repository at this point in the history
  • Loading branch information
nstbayless authored and Gumball2415 committed Oct 12, 2023
1 parent dfb2d2f commit f8a22d7
Show file tree
Hide file tree
Showing 8 changed files with 643 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dn-FamiTracker.rc
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ BEGIN
MENUITEM SEPARATOR
MENUITEM "&Import Text...", ID_FILE_IMPORTTEXT
MENUITEM "&Export Text...", ID_FILE_EXPORTTEXT
MENUITEM "&Export JSON...", ID_FILE_EXPORTJSON
MENUITEM "Export Ro&ws...", ID_FILE_EXPORTROWS
MENUITEM SEPARATOR
MENUITEM "&Configuration...", ID_FILE_GENERALSETTINGS
Expand Down Expand Up @@ -2999,6 +3000,7 @@ STRINGTABLE
BEGIN
ID_FILE_IMPORTTEXT "Imports module text files\nImport Text"
ID_FILE_EXPORTTEXT "Exports module as a text file\nExport Text"
ID_FILE_EXPORTJSON "Exports module in JavaScript Object Notation, for use in scripts\nExport JSON"
ID_CLEANUP_MERGEDUPLICATEDPATTERNS
"Combine copies of duplicated patterns\nMerge Duplicated Patterns"
ID_EDIT_VOLUMEMASK "Disable writing to the volume column while entering a note\nVolume Mark"
Expand Down
2 changes: 2 additions & 0 deletions Dn-FamiTracker.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@
<ClCompile Include="Source\CustomExporters.cpp" />
<ClCompile Include="Source\DocumentWrapper.cpp" />
<ClCompile Include="Source\TextExporter.cpp" />
<ClCompile Include="Source\JsonExporter.cpp" />
<ClCompile Include="Source\Chunk.cpp" />
<ClCompile Include="Source\ChunkRenderBinary.cpp" />
<ClCompile Include="Source\ChunkRenderText.cpp" />
Expand Down Expand Up @@ -981,6 +982,7 @@ makehm /h /a afxhh.h IDW_,HIDW_,0x50000 "%(FullPath)" &gt;&gt; "hlp\HTMLDefines.
<ClInclude Include="Source\WavegenBuiltin.h" />
<ClInclude Include="Source\WinSDK\VersionHelpers.h" />
<ClInclude Include="Source\WinSDK\winapifamily.h" />
<ClInclude Include="Source\JsonExporter.h" />
<ClInclude Include="version.h" />
<ClInclude Include="Source\ChannelMap.h" />
<ClInclude Include="Source\Common.h" />
Expand Down
Loading

0 comments on commit f8a22d7

Please sign in to comment.