1
2
3
4
5
6
7
8
9
10
11
12
|
// one big bad include file for the whole engine... nasty!
#import <ObjFW/ObjFW.h>
#include "tools.h"
enum // block types, order matters!
{
SOLID = 0, // entirely solid cube [only specifies wtex]
CORNER, // half full corner of a wall
FHF, // floor heightfield using neighbour vdelta values
CHF, // idem ceiling
|
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// one big bad include file for the whole engine... nasty!
#import <ObjFW/ObjFW.h>
#include "tools.h"
@interface Cube: OFObject <OFApplicationDelegate>
@end
enum // block types, order matters!
{
SOLID = 0, // entirely solid cube [only specifies wtex]
CORNER, // half full corner of a wall
FHF, // floor heightfield using neighbour vdelta values
CHF, // idem ceiling
|