Add world.c and world.h
This commit is contained in:
13
iris_c/world.c
Normal file
13
iris_c/world.c
Normal file
@@ -0,0 +1,13 @@
|
||||
enum quadrant_type {
|
||||
empty,
|
||||
asteroid_field,
|
||||
star_system,
|
||||
nebula,
|
||||
black_hole,
|
||||
white_hole,
|
||||
pulsar,
|
||||
quasar,
|
||||
supernova,
|
||||
anomaly,
|
||||
singularity
|
||||
}
|
||||
23
iris_c/world.h
Normal file
23
iris_c/world.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef WORLD_H
|
||||
#define WORLD_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define WORLD_WIDTH = 256
|
||||
#define WORLD_HEIGHT = 256
|
||||
|
||||
typedef enum {
|
||||
Q_EMPTY,
|
||||
Q_ASTEROID_FIELD,
|
||||
Q_STAR_SYSTEM,
|
||||
Q_NEBULA,
|
||||
Q_BLACK_HOLE,
|
||||
Q_WHITE_HOLE,
|
||||
Q_PULSAR,
|
||||
Q_QUASAR,
|
||||
Q_SUPERNOVA,
|
||||
Q_ANOMALY,
|
||||
Q_SINGULARITY
|
||||
} quadrant_type;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user