Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Archive.cpp File Reference
#include "MemDebug.h"
#include "Types.h"
#include "Archive.h"
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <io.h>
#include <stdio.h>
#include <time.h>
#include "zlib.h"

Go to the source code of this file.

Macros

#define CHECK_ERR(err, msg)

Functions

void Print (const char *fmt,...)

Variables

int verbose = 1
int err

Macro Definition Documentation

#define CHECK_ERR (   err,
  msg 
)
Value:
{ \
if (err != Z_OK) { \
fprintf(stderr, "%s error: %d\n", msg, err); \
exit(1); \
} \
}

Definition at line 31 of file Archive.cpp.


Function Documentation

void Print ( const char *  fmt,
  ... 
)

Definition at line 1520 of file Game.cpp.


Variable Documentation

int err

Definition at line 29 of file Archive.cpp.

int verbose = 1

Definition at line 28 of file Archive.cpp.