refactor separate framework from game code, add demo3d
This commit is contained in:
parent
19ae869769
commit
40f5cdcaa5
92 changed files with 2665 additions and 6547 deletions
21
demo3d/client/world/demo3d_chunk.h
Normal file
21
demo3d/client/world/demo3d_chunk.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#pragma once
|
||||
|
||||
#include "demo3d_bsp.h"
|
||||
#include "pxl8_types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct demo3d_chunk {
|
||||
u32 id;
|
||||
u32 version;
|
||||
demo3d_bsp* bsp;
|
||||
} demo3d_chunk;
|
||||
|
||||
demo3d_chunk* demo3d_chunk_create_bsp(u32 id);
|
||||
void demo3d_chunk_destroy(demo3d_chunk* chunk);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue