[ Home ]

main.c File Reference

Interface to Classic Wolfenstein data decoder. More...

#include <stdlib.h>
#include <stdio.h>
#include "common/common_utils.h"
#include "string/wtstring.h"
#include "wolf/wolfcore_decoder.h"
#include "console/console.h"
#include "filesys/file.h"
#include "image/hq2x.h"
#include <ctype.h>
#include <getopt.h>

Include dependency graph for main.c:


Functions

PRIVATE wtBoolean ParseCommandLine (int argc, char *const *argv)
 Parse the command line.
PRIVATE void displayVersionMsg (void)
 Display application version information.
PUBLIC int main (int argc, char *argv[])
 Interface to Wolfenstein data decoder.

Variables

wtBoolean _force = false
W32 _filterScale = 2
wtBoolean _doRedux = true
wtBoolean _outputInDirectory = false
wtBoolean _saveAudioAsWav = false
W32 _gameVersion = 0
const char * APPLICATION_STRING
const char * VERSION_STRING

Detailed Description

Interface to Classic Wolfenstein data decoder.

Author:
Michael Liebscher
Date:
2005-2009

Function Documentation

PUBLIC int main ( int  argc,
char *  argv[] 
)

Interface to Wolfenstein data decoder.

Parameters:
[in] argc Size of argv.
[in] argv Holds command line arguments
Returns:
0 on success, non-zero otherwise.
Note:
This is the application entry point. 1. Search for Wolfenstein data files. 2. Decode data accordingly.

Here is the call graph for this function:

PRIVATE wtBoolean ParseCommandLine ( int  argc,
char *const *  argv 
)

Parse the command line.

Parameters:
[in] argc Number of arguments.
[in] argv Arguments.
Returns:
On success true, otherwise false.

Here is the call graph for this function:

Here is the caller graph for this function: