Quake BSP renderer for PS1
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
332 B

#ifndef __WORLD_H__
#define __WORLD_H__
#include "ps1bsp.h"
typedef struct
{
ps1bsp_header_t *header;
ps1bsp_vertex_t *vertices;
ps1bsp_facevertex_t *faceVertices;
ps1bsp_face_t *faces;
} world_t;
void world_load(const u_long *data, world_t *world);
void world_draw(const world_t *world);
#endif // __WORLD_H__