Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DomWilliams0/name-needed
/ functions
Functions
2,421 in github.com/DomWilliams0/name-needed
⨍
Functions
2,421
◇
Types & classes
760
↓ 1 callers
Method
protruding_blocks
Blocks are not removed from the underlying vec, to avoid reshuffling
game/procgen/src/region/subfeature.rs:97
↓ 1 callers
Method
prune
(&mut self, world: &EcsWorld)
game/simulation/src/input/system.rs:270
↓ 1 callers
Method
push_event
(&self, event: EntityEvent)
game/simulation/src/runtime/runtime.rs:295
↓ 1 callers
Method
put_item_into_container
(&mut self, item: Entity, container_entity: Entity)
game/simulation/src/dev.rs:74
↓ 1 callers
Function
put_pixel_scaled
(image: &mut RgbaImage, scale: u32, pos: impl PixelPos, color: impl PixelColor)
game/procgen/src/render.rs:476
↓ 1 callers
Function
put_pixels_par
( mut image: RgbaImage, per: &(impl Send + Sync + Fn(u32, u32) -> Rgba<u8>), )
game/procgen/src/render.rs:435
↓ 1 callers
Method
query_block
(&self, block: WorldPosition)
game/procgen/src/planet.rs:292
↓ 1 callers
Method
queue_all_glyphs
(&mut self, ctx: &GlFrameContext)
renderer/engine/src/render/sdl/render/text.rs:105
↓ 1 callers
Method
queue_block_damage
(&self, block: WorldPosition, damage: BlockDurability)
game/simulation/src/queued_update.rs:86
↓ 1 callers
Function
queue_container_removal
(updates: &QueuedUpdates, item: Entity, container_entity: Entity)
game/simulation/src/activity/subactivity/haul.rs:400
↓ 1 callers
Function
queue_equip
( updates: &QueuedUpdates, holder: Entity, item: Entity, extra_hands: u16, filter: ItemFil
game/simulation/src/activity/subactivity/equip.rs:136
↓ 1 callers
Function
queue_haul_pickup
(world: &EcsWorld, hauler: Entity, item: Entity, source: HaulSource)
game/simulation/src/activity/subactivity/haul.rs:428
↓ 1 callers
Function
queue_pickup
(updates: &QueuedUpdates, holder: Entity, item: Entity)
game/simulation/src/activity/subactivity/equip.rs:183
↓ 1 callers
Function
queue_put_into_container
( updates: &QueuedUpdates, item: Entity, hauler: Entity, container_entity: Entity, )
game/simulation/src/activity/subactivity/haul.rs:594
↓ 1 callers
Function
queue_stop_hauling
(updates: &QueuedUpdates, item: Entity, hauler: Entity, interrupted: bool)
game/simulation/src/activity/subactivity/haul.rs:559
↓ 1 callers
Method
queue_subfeature
To be called by [Feature]s during application to a slab root assumed to be within this slab
game/procgen/src/region/feature.rs:351
↓ 1 callers
Method
queue_text
(&mut self, centre: WorldPoint, text: &str)
renderer/engine/src/render/sdl/render/text.rs:87
↓ 1 callers
Method
range
(self)
game/procgen/src/biome.rs:543
↓ 1 callers
Method
rasterize
(&mut self, rasterizer: &mut Rasterizer)
game/procgen/src/region/subfeature.rs:115
↓ 1 callers
Method
read_direct
(self, direction: Direction)
game/simulation/src/steer/context.rs:147
↓ 1 callers
Method
realize_region
(&self, region: RegionLocation)
game/procgen/src/planet.rs:164
↓ 1 callers
Function
recomp
(components: [usize; 2])
shared/common/src/dynslot.rs:115
↓ 1 callers
Method
reconstruct_path_to
Returns (node, edge leaving it), missing the goal node
game/world/src/navigation/astar.rs:111
↓ 1 callers
Method
refresh_tasks
( &mut self, world: &EcsWorld, )
game/simulation/src/society/job/job.rs:129
↓ 1 callers
Method
regenerate_dirty_chunk_meshes
( &mut self, mut f: F, )
game/world/src/viewer.rs:144
↓ 1 callers
Method
region_continuations
(&self)
game/procgen/src/region/regions.rs:462
↓ 1 callers
Method
regions
TODO create guard struct/owned ref to avoid needing to clone the vec temporarily
game/procgen/src/region/feature.rs:301
↓ 1 callers
Method
register
( &mut self, uid: CachedStr, definition: Definition, )
game/simulation/src/definitions/registry.rs:21
↓ 1 callers
Method
register_applied_slab
(&mut self, slab: SlabLocation)
game/procgen/src/region/subfeature.rs:119
↓ 1 callers
Function
register_debug_renderers
()
game/simulation/src/simulation.rs:708
↓ 1 callers
Method
register_interest
( &self, direction: Vector2, speed: NormalizedFloat, interests: &mut Interests
game/simulation/src/steer/behaviour.rs:74
↓ 1 callers
Function
register_resources
(world: &mut EcsWorld, resources: Resources)
game/simulation/src/simulation.rs:688
↓ 1 callers
Method
relative_slab_index
(self, this_slab: SlabIndex)
game/world/src/chunk/slab.rs:338
↓ 1 callers
Method
remaining_requirements
(&self)
game/simulation/src/society/job/jobs/build.rs:272
↓ 1 callers
Method
remove_associated_block_data
( &mut self, pos: WorldPosition, )
game/world/src/world.rs:703
↓ 1 callers
Method
remove_at_index
(&mut self, idx: usize)
game/simulation/src/item/inventory/container.rs:118
↓ 1 callers
Method
remove_block_graphs
(&mut self, (min, max): (SlabIndex, SlabIndex))
game/world/src/chunk/chunk.rs:118
↓ 1 callers
Method
remove_communal_container
The given container must still be set to communal
game/simulation/src/society/society.rs:63
↓ 1 callers
Method
render
( &mut self, renderer: &mut R, _: &InnerWorldRef, _: &ThreadedWorldLoader,
game/simulation/src/render/debug.rs:164
↓ 1 callers
Method
render
(&mut self, interpolation: f64)
renderer/engine/src/engine.rs:130
↓ 1 callers
Method
render_entities
(&mut self, frame_ctx: &GlFrameContext)
renderer/engine/src/render/sdl/render/entity.rs:129
↓ 1 callers
Method
render_text
(&mut self, ctx: &GlFrameContext)
renderer/engine/src/render/sdl/render/text.rs:159
↓ 1 callers
Method
replace_entities
(&mut self, replacement: Vec<specs::Entity>)
game/simulation/src/ecs/world.rs:133
↓ 1 callers
Method
replace_entity
(&mut self, orig: W::Entity, replacement: W::Entity)
game/simulation/src/item/stack.rs:322
↓ 1 callers
Method
replace_feature
True on success
game/procgen/src/region/region.rs:423
↓ 1 callers
Method
replace_slab
Adds slab, returning old if it exists
game/world/src/chunk/terrain.rs:172
↓ 1 callers
Method
request_all_neighbours
( &self, continents: &ContinentMap, centre: RegionLocation<SIZE>, central: Wai
game/procgen/src/region/regions.rs:308
↓ 1 callers
Method
requested_slabs
Returns deduped and sorted by chunk+slab, inner vec is cleared on ret value drop
game/world/src/viewer.rs:284
↓ 1 callers
Function
reseed
(seed: u64)
shared/common/src/random.rs:12
↓ 1 callers
Method
reserve_material_for_job
( &mut self, material: Entity, job: SocietyJobHandle, )
game/simulation/src/ecs/world_ext.rs:106
↓ 1 callers
Method
reserved_materials
(&self)
game/simulation/src/society/job/jobs/build.rs:247
↓ 1 callers
Method
reset
(&mut self)
game/simulation/src/alloc.rs:7
↓ 1 callers
Function
reset_tick
()
game/simulation/src/simulation.rs:653
↓ 1 callers
Method
resolve
(&self, _: &InnerWorldRef)
game/simulation/src/definitions/builder.rs:102
↓ 1 callers
Method
resolve
Name must be null terminated
renderer/engine/src/render/sdl/gl/shader.rs:142
↓ 1 callers
Function
resolve_chest
(world: &EcsWorld, container: WorldPosition)
testing/src/tests/haul.rs:296
↓ 1 callers
Method
resolve_feature_replacement
Chooses which feature should absorb the other (depending on if either has been rasterised to terrain yet), then does the merge, gutting `b`. Returns a
game/procgen/src/region/regions.rs:614
↓ 1 callers
Function
resolve_scenario
(args: &Args)
renderer/main/src/main.rs:62
↓ 1 callers
Function
resolve_slab
None if within this slab, Some(diff) if within a neighbour. Direction is slab->neighbour TODO handle case where block is multiple slabs over from roo
game/procgen/src/region/subfeature.rs:135
↓ 1 callers
Method
resolve_vertical_collision
(&self, check: &B)
game/simulation/src/physics/bounds.rs:97
↓ 1 callers
Method
resolve_walkable_pos
( &self, select_pos: &WorldColumn, world: &WorldRef, )
game/simulation/src/input/system.rs:38
↓ 1 callers
Method
resource_mut
(&self)
game/simulation/src/ecs/world.rs:369
↓ 1 callers
Method
response
(&self)
game/simulation/src/input/command.rs:102
↓ 1 callers
Method
result
Call once only, panics the second time
game/simulation/src/runtime/runtime.rs:224
↓ 1 callers
Method
retain_slabs_to_load
Removes slabs that are already loaded and not placeholders. More efficient when sorted by slab
game/world/src/world.rs:713
↓ 1 callers
Method
reversed
(self)
game/world/src/navigation/area_navigation.rs:103
↓ 1 callers
Method
rotate_to
(&mut self, angle: Rad)
game/simulation/src/transform.rs:126
↓ 1 callers
Function
round_to_nearest_multiple
(val: i32, multiple: i32)
game/world/src/loader/update.rs:131
↓ 1 callers
Method
run
(&mut self, _script: &[u8], _ecs: &EcsWorld)
game/simulation/src/scripting/nop.rs:11
↓ 1 callers
Method
run
Game loop
renderer/engine/src/engine.rs:48
↓ 1 callers
Method
run
(self, renderer: Renderer)
testing/src/main.rs:140
↓ 1 callers
Method
sample_biome
(&self, pos: PlanetPoint, continents: &ContinentMap)
game/procgen/src/biome.rs:215
↓ 1 callers
Method
satiety
(a, b) -> a/b fuel
game/simulation/src/needs/food.rs:182
↓ 1 callers
Function
save
(planet: &PlanetInner)
game/procgen/src/cache.rs:12
↓ 1 callers
Method
scaled_text_transform_matrix
Proj*view for text that's in the world but rendered at the same size regardless of zoom
renderer/engine/src/render/sdl/camera.rs:141
↓ 1 callers
Method
schedule
Returns (end tick, token)
game/simulation/src/event/timer.rs:62
↓ 1 callers
Method
scoped_enable
(self)
renderer/engine/src/render/sdl/gl/capability.rs:29
↓ 1 callers
Function
search_inventory_with_cache
( blackboard: &mut AiBlackboard<'a>, inventory: &'a InventoryComponent, filter: &ItemFilter, )
game/simulation/src/ai/input.rs:142
↓ 1 callers
Function
search_local_area
( my_society: Option<SocietyHandle>, self_position: WorldPosition, world: &EcsWorld, shared_bb
game/simulation/src/ai/input.rs:234
↓ 1 callers
Function
search_local_area_with_cache_graded
( blackboard: &mut AiBlackboard, filter: &ItemFilter, max_radius: u32, max_count: u32, )
game/simulation/src/ai/input.rs:160
↓ 1 callers
Method
search_mut
( &mut self, filter: &ItemFilter, world: &W, )
game/simulation/src/item/inventory/component.rs:373
↓ 1 callers
Method
selection
(&mut self, a: WorldPoint, b: WorldPoint, color: Color, finished: bool)
game/simulation/src/render/renderer.rs:68
↓ 1 callers
Method
send_update
(&mut self, update: OcclusionChunkUpdate)
game/world/src/loader/finalizer.rs:274
↓ 1 callers
Method
sensed_entities
(&self)
game/simulation/src/senses/system.rs:162
↓ 1 callers
Method
senses
( &self, my_transform: &TransformComponent, ur_pos: &WorldPoint, distance: f32
game/simulation/src/senses/system.rs:138
↓ 1 callers
Method
serialize_to
(&mut self, writer: impl Write)
renderer/engine/src/render/sdl/ui/render.rs:172
↓ 1 callers
Method
set_associated_block_data
( &mut self, pos: WorldPosition, data: C::AssociatedBlockData, )
game/world/src/world.rs:694
↓ 1 callers
Method
set_chunk_bounds
(&mut self, range: (ChunkLocation, ChunkLocation))
game/world/src/viewer.rs:251
↓ 1 callers
Method
set_enabled
( &mut self, identifier: Cow<'static, str>, enabled: bool, world: &EcsWorld,
game/simulation/src/render/debug.rs:105
↓ 1 callers
Method
set_player_society
(&mut self, soc: SocietyHandle)
game/simulation/src/simulation.rs:305
↓ 1 callers
Method
set_predecessor
(&mut self, node: G::NodeId, previous: G::NodeId, edge: G::EdgeId)
game/world/src/navigation/astar.rs:106
↓ 1 callers
Method
set_response
(&self, payload: UiResponsePayload)
game/simulation/src/input/command.rs:120
↓ 1 callers
Method
set_satiety
(&mut self, proportion: NormalizedFloat)
game/simulation/src/needs/food.rs:186
↓ 1 callers
Method
set_tick_hook
(&mut self, hook: Option<testing::TickHookThunk>)
renderer/engine/src/engine.rs:32
↓ 1 callers
Method
set_visibility
(&mut self, vis: SocietyVisibility)
game/simulation/src/society/registry.rs:134
↓ 1 callers
Method
should_slab_be_loaded
Returns true if slab has not been already requested/loaded or is a placeholder
game/world/src/chunk/chunk.rs:319
↓ 1 callers
Method
sim_entity
( &mut self, _transform: &TransformRenderDescription, _render: &RenderComponent,
renderer/engine/src/lite.rs:33
↓ 1 callers
Method
sim_finish
(&mut self)
renderer/engine/src/lite.rs:56
↓ 1 callers
Method
sim_selected
( &mut self, _transform: &TransformRenderDescription, _physical: &PhysicalComponent,
renderer/engine/src/lite.rs:41
↓ 1 callers
Method
sim_start
(&mut self)
renderer/engine/src/lite.rs:31
← previous
next →
1,101–1,200 of 2,421, ranked by callers