Compiling works for Brainstorm
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef TWODPHYSICS_H
|
||||
#define TWODPHYSICS_H
|
||||
|
||||
#include <chipmunk.h>
|
||||
#include <chipmunk/chipmunk.h>
|
||||
|
||||
|
||||
struct mGameObject;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <3dphysics.h>
|
||||
#include "3dphysics.h"
|
||||
|
||||
/*
|
||||
btDefaultCollisionConfiguration *collisionConfig {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "transform.h"
|
||||
#include "config.h"
|
||||
#include <stdbool.h>
|
||||
#include <chipmunk.h>
|
||||
#include <chipmunk/chipmunk.h>
|
||||
|
||||
struct mShader;
|
||||
struct mSprite;
|
||||
|
||||
@@ -1 +1 @@
|
||||
#include <gizmo.h>
|
||||
#include "gizmo.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include <light.h>
|
||||
#include "light.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user