2006-01-16 22:02:54 +01:00
// Copyright (c) 2005, Rodrigo Braz Monteiro
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
// * Neither the name of the Aegisub Group nor the names of its contributors
// may be used to endorse or promote products derived from this software
// without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//
2009-07-29 07:43:02 +02:00
// Aegisub Project http://www.aegisub.org/
2006-01-16 22:02:54 +01:00
//
2009-07-29 07:43:02 +02:00
// $Id$
/// @file export_framerate.cpp
/// @brief Transform Framerate export filter
/// @ingroup export
///
2006-01-16 22:02:54 +01:00
///////////
// Headers
2009-01-04 07:31:48 +01:00
# include "config.h"
2006-01-16 22:02:54 +01:00
# include "ass_dialogue.h"
2009-09-10 15:06:40 +02:00
# include "ass_file.h"
2006-01-16 22:02:54 +01:00
# include "ass_override.h"
2009-09-10 15:06:40 +02:00
# include "export_framerate.h"
# include "vfr.h"
2006-01-16 22:02:54 +01:00
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
/// @brief Constructor
///
2006-01-16 22:02:54 +01:00
AssTransformFramerateFilter : : AssTransformFramerateFilter ( ) {
initialized = false ;
}
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
/// @brief Init
/// @return
///
2006-01-16 22:02:54 +01:00
void AssTransformFramerateFilter : : Init ( ) {
if ( initialized ) return ;
initialized = true ;
autoExporter = true ;
Register ( _ ( " Transform Framerate " ) , 1000 ) ;
2010-06-01 02:06:08 +02:00
description = _ ( " Transform subtitle times, including those in override tags, from an input framerate to an output framerate. \n \n This is useful for converting regular time subtitles to VFRaC time subtitles for hardsubbing. \n It can also be used to convert subtitles to a different speed video, such as NTSC to PAL speedup. " ) ;
2006-01-16 22:02:54 +01:00
Input = NULL ;
Output = NULL ;
}
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
/// @brief Process
/// @param subs
/// @param export_dialog
///
2006-12-28 23:31:33 +01:00
void AssTransformFramerateFilter : : ProcessSubs ( AssFile * subs , wxWindow * export_dialog ) {
2006-01-16 22:02:54 +01:00
// Transform frame rate
2006-02-24 17:45:10 +01:00
if ( Input - > IsLoaded ( ) & & Output - > IsLoaded ( ) ) {
2008-03-09 06:32:02 +01:00
if ( Input - > GetFrameRateType ( ) = = VFR | | Output - > GetFrameRateType ( ) = = VFR | | Output - > GetAverage ( ) ! = Input - > GetAverage ( ) ) {
2006-01-16 22:02:54 +01:00
TransformFrameRate ( subs ) ;
}
}
}
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
/// @brief Get dialog
/// @param parent
/// @return
///
2006-01-16 22:02:54 +01:00
wxWindow * AssTransformFramerateFilter : : GetConfigDialogWindow ( wxWindow * parent ) {
wxWindow * base = new wxPanel ( parent , - 1 ) ;
// Input sizer
wxSizer * InputSizer = new wxBoxSizer ( wxHORIZONTAL ) ;
wxString initialInput ;
wxButton * FromVideo = new wxButton ( base , Get_Input_From_Video , _ ( " From Video " ) ) ;
2006-06-27 21:11:41 +02:00
if ( VFR_Input . IsLoaded ( ) ) initialInput = wxString : : Format ( _T ( " %2.3f " ) , VFR_Input . GetAverage ( ) ) ;
2006-01-16 22:02:54 +01:00
else {
initialInput = _T ( " 23.976 " ) ;
FromVideo - > Enable ( false ) ;
}
InputFramerate = new wxTextCtrl ( base , - 1 , initialInput , wxDefaultPosition , wxSize ( 60 , 20 ) ) ;
InputSizer - > Add ( InputFramerate , 0 , wxEXPAND | wxLEFT , 5 ) ;
InputSizer - > Add ( FromVideo , 0 , wxEXPAND | wxLEFT , 5 ) ;
InputSizer - > AddStretchSpacer ( 1 ) ;
// Output sizers
wxSizer * OutputSizerTop = new wxBoxSizer ( wxHORIZONTAL ) ;
wxSizer * OutputSizerBottom = new wxBoxSizer ( wxHORIZONTAL ) ;
wxSizer * OutputSizer = new wxBoxSizer ( wxVERTICAL ) ;
// Output top line
RadioOutputVFR = new wxRadioButton ( base , - 1 , _ ( " Variable " ) , wxDefaultPosition , wxDefaultSize , wxRB_GROUP ) ;
OutputSizerTop - > Add ( RadioOutputVFR , 0 , wxEXPAND , 0 ) ;
// Output bottom line
RadioOutputCFR = new wxRadioButton ( base , - 1 , _ ( " Constant: " ) ) ;
wxString initialOutput = initialInput ;
2006-02-24 17:45:10 +01:00
if ( VFR_Output . GetFrameRateType ( ) ! = VFR ) {
2006-01-16 22:02:54 +01:00
RadioOutputVFR - > Enable ( false ) ;
RadioOutputCFR - > SetValue ( true ) ;
}
OutputFramerate = new wxTextCtrl ( base , - 1 , initialOutput , wxDefaultPosition , wxSize ( 60 , 20 ) ) ;
OutputSizerBottom - > Add ( RadioOutputCFR , 0 , wxEXPAND , 0 ) ;
OutputSizerBottom - > Add ( OutputFramerate , 0 , wxEXPAND | wxLEFT , 5 ) ;
OutputSizerBottom - > AddStretchSpacer ( 1 ) ;
2008-03-09 06:32:02 +01:00
// Reverse checkbox
Reverse = new wxCheckBox ( base , - 1 , _ ( " Reverse transformation " ) ) ;
2006-01-16 22:02:54 +01:00
// Output final
OutputSizer - > Add ( OutputSizerTop , 0 , wxLEFT , 5 ) ;
OutputSizer - > Add ( OutputSizerBottom , 0 , wxLEFT , 5 ) ;
// Main window
2009-07-24 04:18:11 +02:00
wxSizer * MainSizer = new wxFlexGridSizer ( 3 , 2 , 5 , 10 ) ;
2006-01-16 22:02:54 +01:00
MainSizer - > Add ( new wxStaticText ( base , - 1 , _ ( " Input framerate: " ) ) , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL , 0 ) ;
MainSizer - > Add ( InputSizer , 0 , wxEXPAND , 0 ) ;
MainSizer - > Add ( new wxStaticText ( base , - 1 , _ ( " Output: " ) ) , 0 , wxALIGN_CENTER_VERTICAL , 0 ) ;
MainSizer - > Add ( OutputSizer , 0 , wxEXPAND , 0 ) ;
2008-03-09 06:32:02 +01:00
MainSizer - > Add ( Reverse , 0 , wxTOP | wxEXPAND , 5 ) ;
2006-01-16 22:02:54 +01:00
// Window
2007-09-24 19:40:03 +02:00
base - > SetSizerAndFit ( MainSizer ) ;
2006-01-16 22:02:54 +01:00
return base ;
}
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
/// @brief Load settings
/// @param IsDefault
///
2006-01-16 22:02:54 +01:00
void AssTransformFramerateFilter : : LoadSettings ( bool IsDefault ) {
if ( IsDefault ) {
Input = & VFR_Input ;
Output = & VFR_Output ;
}
else {
double temp ;
InputFramerate - > GetValue ( ) . ToDouble ( & temp ) ;
t1 . SetCFR ( temp ) ;
Input = & t1 ;
if ( RadioOutputCFR - > GetValue ( ) ) {
OutputFramerate - > GetValue ( ) . ToDouble ( & temp ) ;
t2 . SetCFR ( temp ) ;
Output = & t2 ;
}
else Output = & VFR_Output ;
2008-03-09 06:32:02 +01:00
// Reverse
if ( Reverse - > IsChecked ( ) ) {
FrameRate * temp = Output ;
Output = Input ;
Input = temp ;
}
2006-01-16 22:02:54 +01:00
}
}
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
/// @brief Transform framerate in tags
/// @param name
/// @param n
/// @param curParam
/// @param curData
/// @return
///
2006-01-16 22:02:54 +01:00
void AssTransformFramerateFilter : : TransformTimeTags ( wxString name , int n , AssOverrideParameter * curParam , void * curData ) {
2008-03-06 20:40:24 +01:00
// Only modify anything if this is a number
VariableDataType type = curParam - > GetType ( ) ;
if ( type ! = VARDATA_INT & & type ! = VARDATA_FLOAT ) return ;
2006-01-16 22:02:54 +01:00
// Setup
LineData * lineData = ( LineData * ) curData ;
AssDialogue * curDiag = lineData - > line ; ;
bool start = true ;
bool karaoke = false ;
int mult = 1 ;
int value ;
switch ( curParam - > classification ) {
case PARCLASS_RELATIVE_TIME_START :
break ;
case PARCLASS_RELATIVE_TIME_END :
start = false ;
break ;
case PARCLASS_KARAOKE :
karaoke = true ;
mult = 10 ;
break ;
default :
return ;
}
// Parameter value
2010-06-16 08:20:06 +02:00
int parVal = curParam - > Get < int > ( ) * mult ;
2006-01-16 22:02:54 +01:00
// Karaoke preprocess
int curKarPos = 0 ;
if ( karaoke ) {
if ( name = = _T ( " \\ k " ) ) {
curKarPos = lineData - > k ;
lineData - > k + = parVal / 10 ;
}
else if ( name = = _T ( " \\ K " ) | | name = = _T ( " \\ kf " ) ) {
curKarPos = lineData - > kf ;
lineData - > kf + = parVal / 10 ;
}
else if ( name = = _T ( " \\ ko " ) ) {
curKarPos = lineData - > ko ;
lineData - > ko + = parVal / 10 ;
}
2006-02-26 03:51:18 +01:00
else throw wxString : : Format ( _T ( " Unknown karaoke tag! '%s' " ) , name . c_str ( ) ) ;
2006-01-16 22:02:54 +01:00
curKarPos * = 10 ;
parVal + = curKarPos ;
}
// Start time
if ( start ) {
int newStart = instance . Input - > GetTimeAtFrame ( instance . Output - > GetFrameAtTime ( curDiag - > Start . GetMS ( ) ) ) ;
int absTime = curDiag - > Start . GetMS ( ) + parVal ;
value = instance . Input - > GetTimeAtFrame ( instance . Output - > GetFrameAtTime ( absTime ) ) - newStart ;
2009-12-01 02:56:06 +01:00
// An end time of 0 is actually the end time of the line, so ensure nonzero is never converted to 0
// Needed in the start case as well as the end one due to \t, whose end time needs the start time
// behavior
if ( value = = 0 & & parVal ! = 0 ) value = 1 ;
2006-01-16 22:02:54 +01:00
}
// End time
else {
int newEnd = instance . Input - > GetTimeAtFrame ( instance . Output - > GetFrameAtTime ( curDiag - > End . GetMS ( ) ) ) ;
int absTime = curDiag - > End . GetMS ( ) - parVal ;
value = newEnd - instance . Input - > GetTimeAtFrame ( instance . Output - > GetFrameAtTime ( absTime ) ) ;
2009-12-01 02:56:06 +01:00
if ( value = = 0 & & parVal ! = 0 ) value = 1 ;
2006-01-16 22:02:54 +01:00
}
// Karaoke postprocess
if ( karaoke ) {
int post = instance . Input - > GetTimeAtFrame ( instance . Output - > GetFrameAtTime ( curDiag - > Start . GetMS ( ) + curKarPos ) ) ;
int start = instance . Input - > GetTimeAtFrame ( instance . Output - > GetFrameAtTime ( curDiag - > Start . GetMS ( ) ) ) ;
curKarPos = post - start ;
value - = curKarPos ;
}
2010-06-16 08:20:06 +02:00
curParam - > Set < int > ( value / mult ) ;
2006-01-16 22:02:54 +01:00
}
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
/// @brief Transform framerate
/// @param subs
///
2006-01-16 22:02:54 +01:00
void AssTransformFramerateFilter : : TransformFrameRate ( AssFile * subs ) {
int n = 0 ;
// Run through
using std : : list ;
AssEntry * curEntry ;
AssDialogue * curDialogue ;
for ( entryIter cur = subs - > Line . begin ( ) ; cur ! = subs - > Line . end ( ) ; cur + + ) {
curEntry = * cur ;
2009-09-20 22:45:54 +02:00
// why the christ was this ever done to begin with?
// yes, let's framerate compensate the start timestamp and then use the changed value to
// compensate it AGAIN 20 lines down? I DO NOT GET IT
// -Fluff
2010-05-19 02:44:44 +02:00
//curEntry->Start.SetMS(Input->GetTimeAtFrame(Output->GetFrameAtTime(curEntry->GetStartMS(),true),true));
2010-05-19 02:44:52 +02:00
curDialogue = dynamic_cast < AssDialogue * > ( curEntry ) ;
2006-01-16 22:02:54 +01:00
// Update dialogue entries
if ( curDialogue ) {
// Line data
LineData data ;
data . line = curDialogue ;
data . k = 0 ;
data . kf = 0 ;
data . ko = 0 ;
// Process stuff
2006-02-21 04:13:35 +01:00
curDialogue - > ParseASSTags ( ) ;
2006-01-16 22:02:54 +01:00
curDialogue - > ProcessParameters ( TransformTimeTags , & data ) ;
2010-05-19 02:44:44 +02:00
curDialogue - > Start . SetMS ( Input - > GetTimeAtFrame ( Output - > GetFrameAtTime ( curDialogue - > Start . GetMS ( ) , true ) , true ) ) ;
curDialogue - > End . SetMS ( Input - > GetTimeAtFrame ( Output - > GetFrameAtTime ( curDialogue - > End . GetMS ( ) , false ) , false ) ) ;
2006-01-16 22:02:54 +01:00
curDialogue - > UpdateText ( ) ;
2006-02-21 04:13:35 +01:00
curDialogue - > ClearBlocks ( ) ;
2006-01-16 22:02:54 +01:00
n + + ;
}
}
}
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00
/// DOCME
2006-01-16 22:02:54 +01:00
AssTransformFramerateFilter AssTransformFramerateFilter : : instance ;
2009-07-29 07:43:02 +02:00
Note: This was done using a script! it's far from perfect but 95% of the work has been done already formatting-wise.
Document all functions, class, struct, union, enum, macro, variable, typedefs. This isn't the actual document in itself but empty documentation using any old documentation if it was there.
This was done using exuberant ctags to get tag info, then a TCL script to parse/remove old comments and convert them into Doxygen-style.
Some notes:
* Anything labeled 'DOCME' needs to be documented, @param and @return have been left blank as it would be annoying to delete the 'DOCME' from every one of those.
* Some multiline comments may have been munged into single line comments
* Leave the /// comments above global variables with a space, if they're harder to read then we'll be less likey to use them.
* Enum comments can go after the enumeration itself '[value] /// comment'
* include/aegisub/*.h haven't been converted yet, this will be done in a later commit
* Some documentation blocks are in the wrong place, in the .h when it should be in the .cpp, or vice versa.
See http://devel.aegisub.org/wiki/Doxygen for some details on Doxygen and a 'style guide'.
Originally committed to SVN as r3312.
2009-07-30 00:59:22 +02:00