gx.c File Reference

#include "Buzz_inc.h"
#include <limits.h>
#include <assert.h>
#include "externs.h"
#include "av.h"
#include "utils.h"
#include <SDL.h>

Go to the source code of this file.

Functions

void gxClearDisplay (int a, int b)
void gxClearVirtual (GXHEADER *hp, int a)
int gxCreateVirtual (int mode, GXHEADER *hp, int gxVGA_mode, int w, int h)
void gxDestroyVirtual (GXHEADER *hp)
void gxDisplayVirtual (int from_x0, int from_y0, int from_x1, int from_y1, int always_zero, GXHEADER *hp, int to_x, int to_y)
void gxGetImage (GXHEADER *hp, int x0, int y0, int x1, int y1, int op)
void gxPutImage (GXHEADER *hp, int mode, int x, int y, int op2)
void gxSetDisplayPalette (char *pal)
void gxVirtualDisplay (GXHEADER *hp, int from_x, int from_y, int to_x0, int to_y0, int to_x1, int to_y1, int always_zero)
void gxVirtualScale (GXHEADER *src, GXHEADER *dest)
int gxVirtualSize (int mode, int w, int h)
void gxVirtualVirtual (GXHEADER *from, int from_x1, int from_y1, int from_x2, int from_y2, GXHEADER *to, int to_x, int to_y, int mode)

Variables

GXHEADER vhptr


Function Documentation

void gxClearDisplay ( int  a,
int  b 
)

Definition at line 107 of file gx.c.

Referenced by AI_Begin(), DamProb(), DispVAB(), Draw_NewEnd(), DrawAstCheck(), DrawAstSel(), DrawBre(), DrawBudget(), DrawFuture(), DrawHardef(), DrawHPurc(), DrawIStat(), DrawLimbo(), DrawNews(), DrawPrefs(), DrawProgs(), DrawRD(), DrawReview(), DrawRush(), DrawStatistics(), DrawTrain(), DrawViewing(), EditAst(), EndGame(), FailureMode(), FakeWin(), FileAccess(), FutureCheck(), Hospital(), Introd(), Launch(), LMDraw(), LoadNewsAnim(), main(), MainLoop(), MisAnn(), MisRev(), Moon(), NextTurn(), PadDraw(), PlayFirst(), RankMe(), Records(), SatDraw(), ShowAstrosHist(), ShowPrest(), and SpecialEnd().

void gxClearVirtual ( GXHEADER hp,
int  a 
)

Definition at line 231 of file gx.c.

Referenced by DispIt(), DispVA(), HDispIt(), Load_LenFlag(), and NewEnd().

int gxCreateVirtual ( int  mode,
GXHEADER hp,
int  gxVGA_mode,
int  w,
int  h 
)

Definition at line 18 of file gx.c.

Referenced by GV().

void gxDestroyVirtual ( GXHEADER hp  ) 

Definition at line 30 of file gx.c.

Referenced by DV().

void gxDisplayVirtual ( int  from_x0,
int  from_y0,
int  from_x1,
int  from_y1,
int  always_zero,
GXHEADER hp,
int  to_x,
int  to_y 
)

Definition at line 158 of file gx.c.

Referenced by Programs().

void gxGetImage ( GXHEADER hp,
int  x0,
int  y0,
int  x1,
int  y1,
int  op 
)

Definition at line 39 of file gx.c.

Referenced by AstFaces(), AstLevel(), BadFileType(), Burst(), DispIt(), Display_ARROW(), DispRck(), DispVA(), DrawSpaceport(), EndPict(), Future(), GetBlockName(), GetMse(), HardCrewAssign(), HDispIt(), Help(), Load_LenFlag(), LoserPict(), MChoice(), MisReq(), NewEnd(), PatchMe(), PlaceEquip(), PortPlace(), Prefs(), Request(), RequestX(), ShowAstrosHist(), and SmHardMe().

void gxPutImage ( GXHEADER hp,
int  mode,
int  x,
int  y,
int  op2 
)

Definition at line 66 of file gx.c.

Referenced by AstFaces(), AstLevel(), BadFileType(), BChoice(), BigHardMe(), BudPict(), Burst(), DispBaby(), DispIt(), DisplAstData(), Display_ARROW(), DispRck(), DispVA(), DoPack(), DrawSpaceport(), DrawStatistics(), EndPict(), Future(), GetBlockName(), GetMse(), HardCrewAssign(), HDispIt(), Help(), HModel(), LMove(), LMPict(), Load_LenFlag(), LoserPict(), MChoice(), MisReq(), Moon(), NewEnd(), PadPict(), PatchMe(), PlaceEquip(), PortPlace(), Prefs(), PresPict(), Request(), RequestX(), SatDraw(), SmHardMe(), SMove(), SpotCrap(), StepAnim(), and TopSecret().

void gxSetDisplayPalette ( char *  pal  ) 

Definition at line 192 of file gx.c.

Referenced by AI_Begin(), BigHardMe(), DispBaby(), DoCycle(), DoPack(), HModel(), MisAnn(), MisCheck(), NewEnd(), and NextTurn().

void gxVirtualDisplay ( GXHEADER hp,
int  from_x,
int  from_y,
int  to_x0,
int  to_y0,
int  to_x1,
int  to_y1,
int  always_zero 
)

Definition at line 118 of file gx.c.

Referenced by AI_Begin(), BButs(), BigHardMe(), ClearDisplay(), CLevels(), draw_Pie(), DrawFuture(), DrawHardef(), DrawHPurc(), DrawIStat(), DrawPrefs(), DrawRD(), DrawRush(), FutureCheck(), GetMinus(), Hospital(), Levels(), NextTurn(), PLevels(), Prefs(), Programs(), ReButs(), SatDraw(), SpotCrap(), and Toggle().

void gxVirtualScale ( GXHEADER src,
GXHEADER dest 
)

Definition at line 239 of file gx.c.

Referenced by SpotCrap().

int gxVirtualSize ( int  mode,
int  w,
int  h 
)

Definition at line 12 of file gx.c.

Referenced by BigHardMe(), DispRck(), DispVA(), and HModel().

void gxVirtualVirtual ( GXHEADER from,
int  from_x1,
int  from_y1,
int  from_x2,
int  from_y2,
GXHEADER to,
int  to_x,
int  to_y,
int  mode 
)

Definition at line 197 of file gx.c.

Referenced by AstFaces(), DispIt(), DispRck(), DispVA(), DrawFuture(), DrawSpaceport(), GetMse(), HDispIt(), and SpotCrap().


Variable Documentation

GXHEADER vhptr

Definition at line 50 of file main.c.


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