Subastra
Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables
construct.h File Reference
#include "require.h"
#include "../rendering/image.h"
#include "../rendering/quads.h"
Include dependency graph for construct.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  render_constructs_data_t
 

Macros

#define THRUSTER_POWER   0.01
 

Functions

static void system_render_constructs (system_payload_t payload, allocator_t temporary_allocator)
 
static void system_tick_thrusters (system_req_t payload, allocator_t _)
 

Variables

static const char * system_decl_render_constructs_deps []
 
static system_requirements_declaration_t system_decl_render_constructs
 
static system_requirements_declaration_t system_decl_tick_thrusters
 

Macro Definition Documentation

◆ THRUSTER_POWER

#define THRUSTER_POWER   0.01

Function Documentation

◆ system_render_constructs()

static void system_render_constructs ( system_payload_t  payload,
allocator_t  temporary_allocator 
)
static

◆ system_tick_thrusters()

static void system_tick_thrusters ( system_req_t  payload,
allocator_t  _ 
)
static

Variable Documentation

◆ system_decl_render_constructs

system_requirements_declaration_t system_decl_render_constructs
static
Initial value:
= {
.name = "system_render_constructs",
.entities_const = 0,
.entities_mut = ENTITY_KIND_CONSTRUCT,
.dependency_count = 1,
.pin_to_main = false,
.resources =
@ ENTITY_KIND_CONSTRUCT
Definition entity.h:36
@ SYSTEM_RESOURCE_MASK_WORLD
Definition require.h:68
@ SYSTEM_RESOURCE_MASK_SYSTEM_SPECIFIC_DATA
Definition require.h:71
@ SYSTEM_PHASE_RENDER
Definition require.h:16
static void system_render_constructs(system_payload_t payload, allocator_t temporary_allocator)
Definition construct.h:17
static const char * system_decl_render_constructs_deps[]
Definition construct.h:61

◆ system_decl_render_constructs_deps

const char* system_decl_render_constructs_deps[]
static
Initial value:
= {
"system_camera_move"}

◆ system_decl_tick_thrusters

system_requirements_declaration_t system_decl_tick_thrusters
static
Initial value:
= {
.name = "system_tick_thrusters",
.entities_const = 0,
.entities_mut = ENTITY_KIND_CONSTRUCT,
.dependencies = 0,
.dependency_count = 0,
.pin_to_main = false,
@ SYSTEM_PHASE_FIXED_UPDATE
Definition require.h:13