getport.c File Reference

#include "Buzz_inc.h"

Go to the source code of this file.

Data Structures

struct  BOUND
struct  FHead
struct  IMG
struct  MOBJ
struct  REGION

Defines

#define S_QTY   43

Functions

void do_item (int fm, int idx, int predraw, long off)
int main (int argc, char **argv)
int need_to_fix_width (long table)
void write_ppm (char *filename, char unsigned *buf, int w, int h)

Variables

FILE * fin
long fix_width []
 height
IMG Img
char inbuf [1000 *1000]
int insize
MOBJ MObj [35]
unsigned char outbuf [1000 *1000]
int outsize
char pal [256 *3]
struct FHead PHead
unsigned char * screen
long table [S_QTY]
int vflag


Define Documentation

#define S_QTY   43

Definition at line 44 of file getport.c.

Referenced by DrawSpaceport().


Function Documentation

void do_item ( int  fm,
int  idx,
int  predraw,
long  off 
)

Definition at line 179 of file getport.c.

References fin, inbuf, Name, need_to_fix_width(), outbuf, RLED(), and write_ppm().

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 199 of file getport.c.

References c, do_item(), fin, height, pal, PHead, screen, table, usage(), vflag, write_ppm(), and xmalloc().

int need_to_fix_width ( long  table  ) 

Definition at line 166 of file getport.c.

References fix_width.

Referenced by do_item().

void write_ppm ( char *  filename,
char unsigned *  buf,
int  w,
int  h 
)

Definition at line 117 of file getport.c.

References pal.

Referenced by do_item(), and main().


Variable Documentation

FILE* fin

Definition at line 176 of file getport.c.

Referenced by AI_Begin(), AstFaces(), AstSel(), BackIntel(), BChoice(), BigHardMe(), Credits(), DispBaby(), do_item(), DrawControl(), DrawFuture(), DrawHPurc(), DrawPrefs(), DrawRD(), DrawRevText(), DrawRush(), DrawSpaceport(), DrawStatistics(), EditAst(), FailureMode(), FileAccess(), FileText(), frm_open(), frm_read_tbl(), FutureCheck(), GenerateTables(), GetFailStat(), GetMisType(), Help(), HistFile(), Hospital(), Load_CIA_BUT(), Load_FUT_BUT(), Load_RD_BUT(), main(), MissionPast(), NextTurn(), OpenAnim(), PlaceEquip(), PlaySequence(), Port(), PortPal(), Prefs(), read_intro_images(), RetFile(), REvent(), SafetyRecords(), SatDraw(), SaveMail(), SelectBest(), SetParameters(), and WaveFlagSetup().

long fix_width[]

Initial value:

 {
    
    80615, 
    101712, 
    115262, 
    113283, 
    112708, 
    112154, 
    86035, 
    118301, 
    82541, 
    88992, 
    92114, 

    
    79703, 
    0
}

Definition at line 146 of file getport.c.

Referenced by need_to_fix_width().

height

Definition at line 110 of file getport.c.

IMG Img

Definition at line 112 of file getport.c.

Referenced by DrawSpaceport(), and PortPlace().

char inbuf[1000 *1000]

Definition at line 52 of file getport.c.

int insize

Definition at line 55 of file getport.c.

MOBJ MObj[35]

Definition at line 46 of file getport.c.

unsigned char outbuf[1000 *1000]

Definition at line 53 of file getport.c.

int outsize

Definition at line 56 of file getport.c.

char pal[256 *3]

Definition at line 50 of file getport.c.

struct FHead PHead

Referenced by DrawSpaceport(), main(), Port(), and PortPal().

unsigned char* screen

Definition at line 114 of file getport.c.

long table[S_QTY]

Definition at line 48 of file getport.c.

Referenced by BigHardMe(), DrawSpaceport(), HModel(), LMPict(), main(), Moon(), PadPict(), PlaceEquip(), PresPict(), and TopSecret().

int vflag

Definition at line 58 of file getport.c.


Generated on Fri Sep 28 00:35:46 2007 for raceintospace by  doxygen 1.5.3