static.c 775 Bytes
/*
 *  NINTENDO64 SAMPLE PROGRAM
 *
 *  FILE : static.c
 *
 *  Copyright (C) 1997, NINTENDO Co,Ltd.
 */


#include  <ultra64.h>
#include  "system.h"


/* ̤ RDP  */
Gfx  init_dl[] = {

  /* RDP  */
  /* Global */
  gsDPPipeSync(),
  gsDPPipelineMode(G_PM_NPRIMITIVE),
  /* RS */
  gsDPSetScissor(G_SC_NON_INTERLACE, 0, 0, SCREEN_WD, SCREEN_HT),
  /* TX */
  gsDPSetTexturePersp (G_TP_NONE),
  gsDPSetTextureLOD   (G_TL_TILE),
  gsDPSetTextureDetail(G_TD_CLAMP),
  /* TF */
  gsDPSetTextureConvert(G_TC_FILT),
  /* CC */
  gsDPSetCombineKey(G_CK_NONE),
  gsDPSetPrimColor (0, 0, 50, 50, 50,0),
  /* BL */
  gsDPSetBlendColor  (0, 0, 0, 0x01),
  gsDPSetAlphaCompare(G_AC_THRESHOLD),
  /* MI */
  gsDPSetColorDither(G_CD_DISABLE),
    
  gsSPEndDisplayList()
};