doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
roqParam.h
Go to the documentation of this file.
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 
60 private:
61  int *range;
62  bool *padding, *padding2;
71  int *skipnum, *skipnum2;
73  int *endnum, *endnum2;
75  int *numfiles;
77  int field;
78  int realnum;
79  int onFrame;
83 
84  bool scaleDown;
88  bool addPath;
91  bool endPalette;
93  bool keyColor;
94  bool justDelta;
95  bool make3DO;
99  bool fullSearch;
100  bool hasSound;
102 };
103 
104 
105 #endif // roqParam
byte keyR
Definition: roqParam.h:76
int firstframesize
Definition: roqParam.h:80
bool SearchType(void)
Definition: roqParam.cpp:506
bool justDelta
Definition: roqParam.h:94
bool keyColor
Definition: roqParam.h:93
bool * padding
Definition: roqParam.h:62
int field
Definition: roqParam.h:77
bool screenShots
Definition: roqParam.h:89
const char * RoqTempFilename(void)
Definition: roqParam.cpp:473
bool addPath
Definition: roqParam.h:88
bool isScaleable
Definition: roqParam.h:101
bool NoAlpha(void)
Definition: roqParam.cpp:502
bool HasSound(void)
Definition: roqParam.cpp:494
GLenum GLsizei n
Definition: glext.h:3705
idStr currentPath
Definition: roqParam.h:66
bool hasSound
Definition: roqParam.h:100
idStr endPal
Definition: roqParam.h:69
bool scaleDown
Definition: roqParam.h:84
bool * padding2
Definition: roqParam.h:62
int JpegQuality(void)
Definition: roqParam.cpp:538
int * range
Definition: roqParam.h:61
void GetNthInputFileName(idStr &fileName, int n)
Definition: roqParam.cpp:344
bool twentyFourToThirty
Definition: roqParam.h:85
bool makeVectors
Definition: roqParam.h:96
int * skipnum
Definition: roqParam.h:71
int * endnum
Definition: roqParam.h:73
bool make3DO
Definition: roqParam.h:95
idStr tempFilename
Definition: roqParam.h:67
bool noAlphaAtAll
Definition: roqParam.h:98
bool OutputVectors(void)
Definition: roqParam.cpp:490
int * numpadding
Definition: roqParam.h:74
void InitFromFile(const char *fileName)
Definition: roqParam.cpp:40
int onFrame
Definition: roqParam.h:79
bool startPalette
Definition: roqParam.h:90
int FirstFrameSize(void)
Definition: roqParam.cpp:526
const char * GetNextImageFilename(void)
Definition: roqParam.cpp:439
idStr currentFile
Definition: roqParam.h:70
byte keyG
Definition: roqParam.h:76
const char * RoqFilename(void)
Definition: roqParam.cpp:465
int NormalFrameSize(void)
Definition: roqParam.cpp:530
int * endnum2
Definition: roqParam.h:73
idStr startPal
Definition: roqParam.h:68
bool TwentyFourToThirty(void)
Definition: roqParam.cpp:518
bool useTimecodeForRange
Definition: roqParam.h:87
int * startnum
Definition: roqParam.h:72
int * numpadding2
Definition: roqParam.h:74
int normalframesize
Definition: roqParam.h:81
idStr soundfile
Definition: roqParam.h:65
idStrList file2
Definition: roqParam.h:64
int * skipnum2
Definition: roqParam.h:71
byte keyB
Definition: roqParam.h:76
unsigned char byte
Definition: Lib.h:75
int * numfiles
Definition: roqParam.h:75
idStrList file
Definition: roqParam.h:63
bool encodeVideo
Definition: roqParam.h:86
Definition: Str.h:116
int NumberOfFrames(void)
Definition: roqParam.cpp:522
int numInputFiles
Definition: roqParam.h:59
int jpegDefault
Definition: roqParam.h:82
idStr outputFilename
Definition: roqParam.h:58
bool MoreFrames(void)
Definition: roqParam.cpp:510
bool DeltaFrames(void)
Definition: roqParam.cpp:498
bool Timecode(void)
Definition: roqParam.cpp:486
int * startnum2
Definition: roqParam.h:72
const char * SoundFilename(void)
Definition: roqParam.cpp:469
bool fullSearch
Definition: roqParam.h:99
bool fixedPalette
Definition: roqParam.h:92
int realnum
Definition: roqParam.h:78
bool endPalette
Definition: roqParam.h:91
bool justDeltaFlag
Definition: roqParam.h:97
bool IsScaleable(void)
Definition: roqParam.cpp:534