splitshp.cc File Reference

#include <iostream>
#include <cstdio>
#include <cstring>
#include <string>
#include "exult_types.h"

Include dependency graph for splitshp.cc:

Go to the source code of this file.

Classes

struct  u7frame
struct  u7shape

Functions

unsigned int read1 (FILE *f)
unsigned int read2 (FILE *f)
signed int read2signed (FILE *f)
unsigned int read4 (FILE *f)
void write4 (FILE *f, unsigned int b)
char * framefilename (char *shapefilename, int frame)
void split_shape (char *filename)
void merge_frames (char *shapefile, char **framefiles, int numframefiles)
int main (int argc, char *argv[])


Function Documentation

char* framefilename ( char *  shapefilename,
int  frame 
)

Definition at line 99 of file splitshp.cc.

Referenced by split_shape().

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

Definition at line 279 of file splitshp.cc.

References merge_frames(), and split_shape().

Here is the call graph for this function:

void merge_frames ( char *  shapefile,
char **  framefiles,
int  numframefiles 
)

Definition at line 198 of file splitshp.cc.

References u7frame::data, read4(), and write4().

Referenced by main().

Here is the call graph for this function:

unsigned int read1 ( FILE *  f  ) 

Definition at line 55 of file splitshp.cc.

unsigned int read2 ( FILE *  f  ) 

Definition at line 62 of file splitshp.cc.

signed int read2signed ( FILE *  f  ) 

Definition at line 70 of file splitshp.cc.

unsigned int read4 ( FILE *  f  ) 

Definition at line 81 of file splitshp.cc.

void split_shape ( char *  filename  ) 

Definition at line 122 of file splitshp.cc.

References u7frame::data, u7frame::datalen, framefilename(), read4(), and write4().

Referenced by main().

Here is the call graph for this function:

void write4 ( FILE *  f,
unsigned int  b 
)

Definition at line 91 of file splitshp.cc.


Generated on Mon Jul 9 14:45:48 2007 for ExultEngine by  doxygen 1.5.1