aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/common.h b/src/common.h
index a9ad3d0..c757489 100644
--- a/src/common.h
+++ b/src/common.h
@@ -11,17 +11,13 @@ typedef int_least16_t i16;
typedef uint_least32_t u32;
typedef int_least32_t i32;
-typedef struct {
- float x;
- float y;
-} Vec2d;
+
// settings
// UI
-#define SCREEN_WIDTH 800
-#define SCREEN_HEIGHT 600
#define SCREEN_TITLE "physics"
-
+#define WINDOW_X 1250
+#define WINDOW_Y 1000
// physics
#define MAX_OBJECTS 100
#define FORCE_RESITUTION_DEFAULT 0.8f
@@ -33,15 +29,4 @@ typedef enum {
SHAPE_SQUARE,
SHAPE_RECTANGLE
} shape_t;
-
-typedef struct {
- shape_t type;
- Vec2d pos;
- Vec2d vel;
- Vec2d acc;
- float width;
- float height;
- Color color;
-} object_t;
-
#endif // COMMON_H