From: <sag...@us...> - 2011-02-20 15:29:00
|
Revision: 802 http://modplug.svn.sourceforge.net/modplug/?rev=802&view=rev Author: saga-games Date: 2011-02-20 15:28:53 +0000 (Sun, 20 Feb 2011) Log Message: ----------- [Imp] Comments Tab: The instrument list also shows assigned plugins now. [Fix] Pattern Editor: Entering a note-off event in the MOD format created an unnecessary undo event (one for the C effect, one of the 00 param). [Mod] Updated History.txt [Mod] OpenMPT: Version is now 1.19.00.25 Modified Paths: -------------- trunk/OpenMPT/mptrack/View_pat.cpp trunk/OpenMPT/mptrack/View_pat.h trunk/OpenMPT/mptrack/version.h trunk/OpenMPT/mptrack/view_com.cpp trunk/OpenMPT/packageTemplate/History.txt Modified: trunk/OpenMPT/mptrack/View_pat.cpp =================================================================== --- trunk/OpenMPT/mptrack/View_pat.cpp 2011-02-16 13:26:26 UTC (rev 801) +++ trunk/OpenMPT/mptrack/View_pat.cpp 2011-02-20 15:28:53 UTC (rev 802) @@ -3913,8 +3913,8 @@ // Enter an effect letter in the pattenr -void CViewPattern::TempEnterFX(int c) -//----------------------------------- +void CViewPattern::TempEnterFX(int c, int v) +//------------------------------------------ { CMainFrame *pMainFrm = CMainFrame::GetMainFrame(); CModDoc *pModDoc = GetDocument(); @@ -3945,6 +3945,10 @@ m_cmdOld.command = c; } p->command = c; + if(v >= 0) + { + p->param = v; + } // Check for MOD/XM Speed/Tempo command if ((pSndFile->m_nType & (MOD_TYPE_MOD|MOD_TYPE_XM)) @@ -4261,8 +4265,7 @@ // Special case: Convert note off commands to C00 for MOD files if((pSndFile->GetType() == MOD_TYPE_MOD) && (note == NOTE_NOTECUT || note == NOTE_FADE || note == NOTE_KEYOFF)) { - TempEnterFX(CMD_VOLUME); - TempEnterFXparam(0); + TempEnterFX(CMD_VOLUME, 0); return; } Modified: trunk/OpenMPT/mptrack/View_pat.h =================================================================== --- trunk/OpenMPT/mptrack/View_pat.h 2011-02-16 13:26:26 UTC (rev 801) +++ trunk/OpenMPT/mptrack/View_pat.h 2011-02-20 15:28:53 UTC (rev 802) @@ -201,7 +201,7 @@ void TempEnterIns(int val); void TempEnterOctave(int val); void TempEnterVol(int v); - void TempEnterFX(int v); + void TempEnterFX(int c, int v = -1); void TempEnterFXparam(int v); void SetSpacing(int n); void OnClearField(int, bool, bool=false); Modified: trunk/OpenMPT/mptrack/version.h =================================================================== --- trunk/OpenMPT/mptrack/version.h 2011-02-16 13:26:26 UTC (rev 801) +++ trunk/OpenMPT/mptrack/version.h 2011-02-20 15:28:53 UTC (rev 802) @@ -15,7 +15,7 @@ #define VER_MAJORMAJOR 1 #define VER_MAJOR 19 #define VER_MINOR 00 -#define VER_MINORMINOR 24 +#define VER_MINORMINOR 25 //Creates version number from version parts that appears in version string. //For example MAKE_VERSION_NUMERIC(1,17,02,28) gives version number of Modified: trunk/OpenMPT/mptrack/view_com.cpp =================================================================== --- trunk/OpenMPT/mptrack/view_com.cpp 2011-02-16 13:26:26 UTC (rev 801) +++ trunk/OpenMPT/mptrack/view_com.cpp 2011-02-20 15:28:53 UTC (rev 802) @@ -35,6 +35,7 @@ INSLIST_SAMPLES, INSLIST_ENVELOPES, INSLIST_FILENAME, + INSLIST_PLUGIN, // -> CODE#0023 // -> DESC="IT project files (.itp)" INSLIST_PATH, @@ -68,6 +69,7 @@ {"Samples", 64}, {"Envelopes", 128}, {"File Name", 128}, + {"Plugin", 128}, // -> CODE#0023 // -> DESC="IT project files (.itp)" {"Path", 128}, @@ -398,6 +400,12 @@ s[sizeof(pIns->filename)] = 0; } break; + case INSLIST_PLUGIN: + if (pIns != nullptr && pIns->nMixPlug > 0 && pSndFile->m_MixPlugins[pIns->nMixPlug - 1].pMixPlugin != nullptr) + { + wsprintf(s, "FX%02d: %s", pIns->nMixPlug, pSndFile->m_MixPlugins[pIns->nMixPlug - 1].Info.szLibraryName); + } + break; // -> CODE#0023 // -> DESC="IT project files (.itp)" case INSLIST_PATH: Modified: trunk/OpenMPT/packageTemplate/History.txt =================================================================== --- trunk/OpenMPT/packageTemplate/History.txt 2011-02-16 13:26:26 UTC (rev 801) +++ trunk/OpenMPT/packageTemplate/History.txt 2011-02-20 15:28:53 UTC (rev 802) @@ -10,8 +10,8 @@ (tx XYZ): thanks to XYZ for telling us about the bug -v1.19.01.00 (January 2011, revision 791) ----------------------------------------- +v1.19.01.00 (February 2011, revision 802) +----------------------------------------- Pattern tab [New] <Jojo> Clicking and dragging the row numbers selects the whole row now (Excel / Calc style) - see http://bugs.openmpt.org/view.php?id=45 [New] <Jojo> Experimental feature: Play the whole pattern row when entering notes and chords into the pattern editor. This can be enabled from the setup screen. @@ -23,7 +23,9 @@ [Fix] <Jojo> When jumping to an order which is normally not played, the song variables are now reset (previously, if the main song had f.e. a global volume fade out at the end, this was retained when switching to an unplayed order, effectively muting all sub songs). [Fix] <Jojo> OpenMPT should not crash anymore when applying the Amplify command on a pattern selection that just covers the note / instrument column of the first channel. [Fix] <Jojo> Queueing a "---" or "+++" item now automatically moves the queue "cursor" to the next available pattern. Previously, queueing a "---" pattern restarted the song. + [Fix] <Jojo> Changing a channel name from the pattern editor didn't set the document as modified (http://bugs.openmpt.org/view.php?id=65) [Fix] <Jojo> When restarting a pattern, the timer was not reset properly. + [Fix] <Jojo> Entering a note-off event in the MOD format created an unnecessary undo event. [Reg] <Jojo> The "Position aware timer" option is gone. The position aware timer is now automatically used. It was optional in the first place because of some buggy code, which is now fixed. Pattern tab::Note properties @@ -35,6 +37,10 @@ [Imp] <Jojo> When changing the content of a combobox, the corresponding checkbox is now automatically checked. Likewise, the "Replace By" checkbox is checked if a checkbox or combobox on the "Replace" tab is enabled. [Mod] <Jojo> "Replace All" just creates one undo point now. +Pattern tab::GUI + [Imp] <Jojo> The dodgy note colour is now also customisable. + [Mod] <Jojo> When removing a channel (via context menu) that contains no data in any pattern, no warning is shown anymore. + Sample tab [New] <Jojo> The new "sample grid" feature can create equally-sized sample selections, so it is f.e. easy to split a sample into four equally-sized samples. [Imp] <re> Ctrl + Mouse Wheel can now be used for zooming into the sample data. @@ -61,6 +67,7 @@ Playback [New] <Jojo> New mix mode: Compatible. This is used for MOD / S3M / XM / IT by default and has more appropriate mixing levels for those formats (same levels as Schism Tracker) than mix mode RC3, and it forces soft panning to be *disabled*. Please use compatible mixing levels when working with legacy formats from now on. [Imp] <Jojo> Improved the algorithm for finding a free channel for note playback in the editor (does not affect normal module playback). + [Mod] <Jojo> A new mechanism is used to determine the end of playback. This introduces some great changes in the code. One advantage of the new mechanism is that backwards playing patterns can now be exported to WAV properly (hehe). The new code might not stop playback properly if "loop song" is disabled and the user jumped around in the module - let's see how that works... [Fix] <Jojo> Pattern jumps to the same row + pattern as the jump command are not ignored anymore. (http://forum.openmpt.org/index.php?topic=1810.0) IT @@ -68,6 +75,7 @@ [Imp] <Jojo> IT files made with Modplug Tracker 1.00a5 are now also detected as such. [Mod] <Jojo> Sane values are used again for the "cwtv" and "cmwt" header fields when saving IT files; in fact the same values as in compatibility export are used. To be able to distinguish between raped and compatibility-exported IT files, "OMPT" is written in the "reserved" header field. As a consequence, IT files made with OpenMPT can now be loaded in Impulse Tracker again. [Mod] <Jojo> IT Loader: MIDI macros are now cleared when loading IT files made with old Impulse Tracker versions (< 2.14), so that Zxx commands won't break the songs anymore (fixes denonde.it, fix from Schism Tracker). + [Fix] <Jojo> In compatible mode, bidi loops are now treated like in IT's software mixer. [Fix] <Jojo> Sample autovibrato is now hopefully a bit closer to Impulse Tracker in compatible mode... [Fix] <Jojo> The envelope handling was altered slightly to work more like in Schism Tracker. This fixes a combination of Envelope Carry + Portamento as it can be found in "electric bunny" by Alpha C. [Fix] <Jojo> Various fixes to playback of multi-sample instruments. "Ultima Ratio" by Nebularia and "Shuttle Departure" by Sphenx sound better now. @@ -113,6 +121,7 @@ [Mod] <Jojo> Improved portamento import precision for DBM and ULT loaders (patch from Schism Tracker) [Mod] <Jojo> Added a version check to the ITP loader (why was this not there in the first place?) [Fix] <Jojo> As MTM files were converted to MOD automatically when being loaded, channel panning was lost. Now they're loaded as S3M instead. + [Fix] <Jojo> Short loops in AMF / MED files are now ignored (http://bugs.openmpt.org/view.php?id=70) - probably caused by bad MOD conversions, at least in the AMF example? [Reg] <Jojo> Disabled the Velvet Studio loader for now, since it either crashes on almost all AMS files or at least imports them completely wrong. Misc @@ -121,16 +130,17 @@ [Imp] <Jojo> New keyboard shortcuts: Panic, View Edit History, Set Invalid / Ignore (--- / +++) Pattern (in the orderlist) [Imp] <Jojo> Some improvements were made to the Registry / INI reading: If there were no Registry settings because MPT 1.16 was previously not installed, the INI file is now also read as it might contain some lines created by the installer. [Imp] <Jojo> Sound Setup: For ASIO devices, only supported sampling rates are now shown. + [Imp] <Jojo> The instrument list on the comments tab also shows assigned plugins now. [Mod] <Jojo> Changes to keymap file handling: The active keymap is now always saved to Keybindings.mkb (in either %APPDATA%\OpenMPT or the executable's directory). Any other keymaps are now only overwritten when using the "Save keys as" function. [Mod] <Jojo> On first run, the default ASIO driver is now chosen instead of DirectSound (if there is one). [Mod] <Jojo> The "Original" mix mode now also has a version number (1.16) to reflect what the "original" thing is. [Mod] <Jojo> Updated genre list in the MP3 export dialog. - [Mod] <Jojo> When using the ACM MP3 codec, 320kbit/s bitrate should now theoretically be available. + [Mod] <Jojo> When using the ACM MP3 codec, 320kbit/s bitrate should now be available. [Mod] <Jojo> The MMX acceleration label in the Soundcard setup dialog is now updated according to the multimedia extensions that are supported by the CPU (3DNow! / SSE) [Mod] <Jojo> Updated unmo3.dll to version 2.4.0.1 [Fix] <Jojo> Mod Cleanup: Rearrange patterns was broken when using more than one sequence in the MPTM format. (tx Skaven) [Fix] <Jojo> Mod Cleanup: Various sample / instrument rearranging functions broke PC Notes. - [Fix] <Jojo> The text length was calculated wrong in the message reader, leading to a possible buffer overflow when reading song messages with mixed line endings where CR or LF line endings where expected. + [Fix] <Jojo> The text length was calculated wrong in the message reader, leading to a possible buffer overflow when reading song messages with mixed line endings where CR or LF line endings were expected. [Fix] <Jojo> When there was no INI file, the size of the upper pattern view was defaulting to a wrong value. [Fix] <Jojo> The ID3v2 "comments" field was not formatted properly when exporting to MP3. [Fix] <Jojo> unmo3.dll and uxtheme.dll (for theming the general tab) are now loaded "safely", to avoid the currently spreading DLL exploits. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |