2026-08-03 17:02:20 +10:00
|
|
|
#ifndef __GRAVITY__FUNCTION_H
|
|
|
|
|
#define __GRAVITY__FUNCTION_H
|
2026-08-02 15:52:44 +10:00
|
|
|
|
2026-08-03 17:02:20 +10:00
|
|
|
#include "type.h"
|
|
|
|
|
#include "block.h"
|
|
|
|
|
#include "list.h"
|
|
|
|
|
#include <assert.h>
|
2026-08-02 15:52:44 +10:00
|
|
|
|
2026-08-03 17:02:20 +10:00
|
|
|
UseList(GravityBlock);
|
|
|
|
|
|
|
|
|
|
typedef struct GravityOpaqueFunction* GravityFunction;
|
|
|
|
|
|
|
|
|
|
struct GravityOpaqueFunction {
|
|
|
|
|
GravityFunctionType functionType;
|
|
|
|
|
List(GravityBlock) blocks;
|
|
|
|
|
};
|
2026-08-02 15:52:44 +10:00
|
|
|
|
|
|
|
|
#endif
|