--- libgig/trunk/src/gigdump.cpp 2006/11/24 12:50:05 933 +++ libgig/trunk/src/tools/gigdump.cpp 2014/05/22 15:17:09 2573 @@ -2,7 +2,7 @@ * * * libgig - C++ cross-platform Gigasampler format file access library * * * - * Copyright (C) 2003-2006 by Christian Schoenebeck * + * Copyright (C) 2003-2014 by Christian Schoenebeck * * * * * * This program is part of libgig. * @@ -31,7 +31,7 @@ #include #include -#include "gig.h" +#include "../gig.h" using namespace std; @@ -93,10 +93,10 @@ cout << "Global File Informations:" << endl; cout << " Total instruments: " << gig->Instruments << endl; if (gig->pVersion) { - cout << " Version: " << gig->pVersion->major << "." + cout << " Version: " << gig->pVersion->major << "." << gig->pVersion->minor << "." << gig->pVersion->release << "." - << gig->pVersion->build << endl; + << gig->pVersion->build << endl; } if (gig->pInfo) { if (gig->pInfo->Name.size()) @@ -252,6 +252,12 @@ case gig::dimension_random: // Different samples triggered each time a note is played, random order cout << "RANDOM"; break; + case gig::dimension_smartmidi: // For MIDI tools like legato and repetition mode + cout << "SMARTMIDI"; + break; + case gig::dimension_roundrobinkeyboard: // Different samples triggered each time a note is played, any key advances the counter + cout << "ROUNDROBINKEYBOARD"; + break; case gig::dimension_modwheel: // Modulation Wheel (MIDI Controller 1) cout << "MODWHEEL"; break; @@ -395,7 +401,7 @@ } string Revision() { - string s = "$Revision: 1.22 $"; + string s = "$Revision$"; return s.substr(11, s.size() - 13); // cut dollar signs, spaces and CVS macro keyword }