Compiling works for Brainstorm

This commit is contained in:
2022-01-21 17:26:22 +00:00
parent 34d0565886
commit 2c88a01cfd
11 changed files with 20 additions and 16 deletions

View File

@@ -205,7 +205,7 @@ void phys2d_edgeaddvert(struct phys2d_edge *edge)
#include "debugdraw.h"
#include "gameobject.h"
#include <math.h>
#include <chipmunk_unsafe.h>
#include <chipmunk/chipmunk_unsafe.h>
void phys2d_applycircle(struct phys2d_circle *circle)
{

View File

@@ -1,7 +1,7 @@
#ifndef TWODPHYSICS_H
#define TWODPHYSICS_H
#include <chipmunk.h>
#include <chipmunk/chipmunk.h>
struct mGameObject;

View File

@@ -1,4 +1,4 @@
#include <3dphysics.h>
#include "3dphysics.h"
/*
btDefaultCollisionConfiguration *collisionConfig {

View File

@@ -8,7 +8,7 @@
#include "vec.h"
#include "input.h"
#include <string.h>
#include <chipmunk.h>
#include <chipmunk/chipmunk.h>
struct vec *gameobjects = NULL;
struct mGameObject *updateGO = NULL;

View File

@@ -6,7 +6,7 @@
#include "transform.h"
#include "config.h"
#include <stdbool.h>
#include <chipmunk.h>
#include <chipmunk/chipmunk.h>
struct mShader;
struct mSprite;

View File

@@ -1 +1 @@
#include <gizmo.h>
#include "gizmo.h"

View File

@@ -1,4 +1,4 @@
#include <light.h>
#include "light.h"
#include <stdbool.h>

View File

@@ -28,9 +28,11 @@ void registry_init()
register_component("2D Edge", sizeof(struct phys2d_edge), &Make2DEdge,
&phys2d_dbgdrawedge, &edge_gui, &phys2d_edgeinit,
NULL);
/*
register_component("Flipper", sizeof(struct flipper),
&pinball_flipper_make, NULL, &pinball_flipper_gui,
&pinball_flipper_init, &pinball_flipper_update);
*/
}
void register_component(const char *name, size_t size,