shithub: qk1

ref: c483a0f2077d7f1325a801aa1e0d5301bc6eb527
dir: /i_wad.h/

View raw version
typedef struct Wad Wad;
#pragma incomplete Wad

struct texture_s;

Wad *W_OpenWad(char *path);
qpic_t *W_ReadQpic(Wad *w, char *name, mem_user_t *c);
int W_ReadMipTex(Wad *w, char *name, struct texture_s *t);
int W_ReadPixels(Wad *w, char *name, pixel_t *out, int num);
int W_ReadRaw(Wad *w, char *name, byte *out, int num);