]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/tools/compilers/roqvq/roqParam.h
hello world
[icculus/iodoom3.git] / neo / tools / compilers / roqvq / roqParam.h
1 /*
2 ===========================================================================
3
4 Doom 3 GPL Source Code
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. 
6
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).  
8
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13
14 Doom 3 Source Code is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code.  If not, see <http://www.gnu.org/licenses/>.
21
22 In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code.  If not, please request a copy in writing from id Software at the address below.
23
24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
25
26 ===========================================================================
27 */
28 #ifndef __roqParam_h__
29 #define __roqParam_h__
30
31 #include "gdefs.h"
32 #pragma once
33
34 class roqParam
35 {
36 public:
37         
38         const char*             RoqFilename( void );
39         const char*             RoqTempFilename( void );
40         const char*             GetNextImageFilename( void );
41         const char*             SoundFilename( void );
42         void                    InitFromFile( const char *fileName );
43         void                    GetNthInputFileName( idStr &fileName, int n);
44         bool                    MoreFrames( void );
45         bool                    OutputVectors( void );
46         bool                    Timecode( void );
47         bool                    DeltaFrames( void );
48         bool                    NoAlpha( void );
49         bool                    SearchType( void );
50         bool                    TwentyFourToThirty( void );
51         bool                    HasSound( void );
52         int                             NumberOfFrames( void );
53         int                             NormalFrameSize( void );
54         int                             FirstFrameSize( void );
55         int                             JpegQuality( void );
56         bool                    IsScaleable( void );
57
58         idStr                   outputFilename;
59         int                             numInputFiles;
60 private:
61         int                             *range;
62         bool                    *padding, *padding2;
63         idStrList               file;
64         idStrList               file2;
65         idStr                   soundfile;
66         idStr                   currentPath;
67         idStr                   tempFilename;
68         idStr                   startPal;
69         idStr                   endPal;
70         idStr                   currentFile;
71         int                             *skipnum, *skipnum2;
72         int                             *startnum, *startnum2;
73         int                             *endnum, *endnum2;
74         int                             *numpadding, *numpadding2;
75         int                             *numfiles;
76         byte                    keyR, keyG, keyB;
77         int                             field;
78         int                             realnum;
79         int                             onFrame;
80         int                             firstframesize;
81         int                             normalframesize;
82         int                             jpegDefault;
83
84         bool                    scaleDown;
85         bool                    twentyFourToThirty;
86         bool                    encodeVideo;
87         bool                    useTimecodeForRange;
88         bool                    addPath;
89         bool                    screenShots;
90         bool                    startPalette;
91         bool                    endPalette;
92         bool                    fixedPalette;
93         bool                    keyColor;
94         bool                    justDelta;
95         bool                    make3DO;
96         bool                    makeVectors;
97         bool                    justDeltaFlag;
98         bool                    noAlphaAtAll;
99         bool                    fullSearch;
100         bool                    hasSound;
101         bool                    isScaleable;
102 };
103
104
105 #endif // roqParam