#include <iostream>
#include "../include/ps2_ps2icon.hpp"
#include "../include/obj_loader.hpp"
#include "../gbLib/include/gbException.hpp"
#include "../gbLib/include/gbColor.hpp"
#include "../gbLib/include/gbImageLoader.hpp"
Functions | |
void | PrintHelp (char *self) |
Print a help text on screen. | |
void | ParseCommandLine (int argc, char *argv[]) |
Parse the command line arguments and set globals accordingly. | |
PS2Icon * | LoadPS2Icon () |
void | WriteOBJFile (PS2Icon *ps2_icon) |
void | WriteTextureFile (PS2Icon *ps2_icon) |
int | main (int argc, char *argv[]) |
Variables | |
char const * | ps2_input_file = NULL |
path to the input file | |
char const * | obj_output_file = NULL |
path to the output file | |
char const * | texture_output_file = NULL |
path to the output texture file | |
bool | verbose_output = false |
flag for verbose output |
void ParseCommandLine | ( | int | argc, | |
char * | argv[] | |||
) |
Parse the command line arguments and set globals accordingly.
[in] | argc | argc |
[in] | argv | argv |
void PrintHelp | ( | char * | self | ) |
Print a help text on screen.
[in] | self | Name of the executable (e.g. obtained from argv[0]) |