|
|
1.1 ! root 1: // r_vars.c: global refresh variables ! 2: ! 3: #if !id386 ! 4: ! 5: #include "quakedef.h" ! 6: ! 7: // all global and static refresh variables are collected in a contiguous block ! 8: // to avoid cache conflicts. ! 9: ! 10: //------------------------------------------------------- ! 11: // global refresh variables ! 12: //------------------------------------------------------- ! 13: ! 14: // FIXME: make into one big structure, like cl or sv ! 15: // FIXME: do separately for refresh engine and driver ! 16: ! 17: float d_sdivzstepu, d_tdivzstepu, d_zistepu; ! 18: float d_sdivzstepv, d_tdivzstepv, d_zistepv; ! 19: float d_sdivzorigin, d_tdivzorigin, d_ziorigin; ! 20: ! 21: fixed16_t sadjust, tadjust, bbextents, bbextentt; ! 22: ! 23: pixel_t *cacheblock; ! 24: int cachewidth; ! 25: pixel_t *d_viewbuffer; ! 26: short *d_pzbuffer; ! 27: unsigned int d_zrowbytes; ! 28: unsigned int d_zwidth; ! 29: ! 30: #endif // !id386 ! 31:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.