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
↓ 5 callers
Method
resolve_vertices
(&self)
game/world/src/occlusion.rs:168
↓ 5 callers
Function
slab_bounds
Expensive, result should be cached Panics if slab location is invalid
game/procgen/src/planet.rs:381
↓ 5 callers
Method
submit
(&mut self, batch: UpdateBatch, item: U)
game/world/src/loader/batch.rs:97
↓ 5 callers
Method
terrain_range
Slice range for terrain rendering
game/world/src/viewer.rs:240
↓ 5 callers
Method
to_block_position
(self, slice: GlobalSliceIndex)
shared/unit/src/world/slice_block.rs:27
↓ 5 callers
Method
transparent
(self)
game/world/src/block.rs:64
↓ 5 callers
Method
try_add
( &mut self, entity: W::Entity, copyability: W::Copyability, world: &W, )
game/simulation/src/item/stack.rs:174
↓ 5 callers
Function
unflatten_index
TODO make not pub
game/world/src/chunk/slice.rs:206
↓ 5 callers
Method
xyz
(&self)
shared/unit/src/world/range.rs:185
↓ 4 callers
Method
accessible_position
(&self)
game/simulation/src/transform.rs:112
↓ 4 callers
Method
all
(&self, range: &WorldPositionRange)
game/simulation/src/physics/bounds.rs:116
↓ 4 callers
Method
apply
(mut self, mut f: F)
game/world/src/chunk/builder.rs:94
↓ 4 callers
Method
apply_occlusion_update
(&mut self, update: OcclusionChunkUpdate)
game/world/src/world.rs:416
↓ 4 callers
Method
as_ref
(&self)
game/resources/src/container.rs:60
↓ 4 callers
Method
block_graph_for_area
(&self, area: WorldArea)
game/world/src/chunk/chunk.rs:126
↓ 4 callers
Method
build_entity
( &self, definition_uid: &str, )
game/simulation/src/ecs/world.rs:402
↓ 4 callers
Method
byte_size
(self, count: u32)
renderer/engine/src/render/sdl/gl/vertex.rs:60
↓ 4 callers
Method
choices
Sorted with highest weight first
game/procgen/src/biome.rs:438
↓ 4 callers
Method
clear
(&mut self)
game/simulation/src/senses/system.rs:115
↓ 4 callers
Method
consume_events
Consumes all events posted since the last call. f: called per subscribed entity, f(subscriber, event). If returns false, the subscriber is erroneous
game/simulation/src/event/queue.rs:126
↓ 4 callers
Method
containers
Panics if any containers are missing container component
game/simulation/src/item/inventory/component.rs:234
↓ 4 callers
Method
contents
(&self)
game/simulation/src/item/stack.rs:344
↓ 4 callers
Method
create
Create new region unconditionally now, should only be called from [regions] module
game/procgen/src/region/region.rs:110
↓ 4 callers
Method
details
(&self)
game/simulation/src/society/job/jobs/build.rs:251
↓ 4 callers
Function
entity_colours
()
renderer/main/src/scenarios.rs:244
↓ 4 callers
Method
fill_range
Panics if invalid range for BlockPosition
game/world/src/chunk/builder.rs:65
↓ 4 callers
Method
find_accessible_block_in_column_with_range
( &self, pos: WorldPosition, z_min: Option<GlobalSliceIndex>, )
game/world/src/world.rs:302
↓ 4 callers
Method
find_chunk_index
(&self, chunk_pos: ChunkLocation)
game/world/src/world.rs:121
↓ 4 callers
Method
find_path
Finds a path between 2 arbitrary positions in the world
game/world/src/world.rs:183
↓ 4 callers
Method
get_array
(&self)
game/procgen/src/region/unit.rs:164
↓ 4 callers
Function
get_config_count
(wat: &str)
renderer/main/src/scenarios.rs:239
↓ 4 callers
Method
has
( self, storage: &specs::Storage<C, D>, )
game/simulation/src/ecs/entity.rs:42
↓ 4 callers
Method
index
(&self, index: I)
game/world/src/chunk/slice.rs:185
↓ 4 callers
Function
init
()
game/procgen/src/region/regions.rs:883
↓ 4 callers
Function
init
Must be called once only, and before [get]
shared/config/src/load.rs:50
↓ 4 callers
Method
into_string
(self)
game/simulation/src/scripting/context.rs:78
↓ 4 callers
Method
is_empty
(&self)
game/simulation/src/item/inventory/equip.rs:20
↓ 4 callers
Method
iter_coords_with_z_range
TODO return <C: GridCoord>
shared/grid/src/dynamic.rs:101
↓ 4 callers
Method
iter_increasing
(&self)
game/world/src/chunk/double_sided_vec.rs:107
↓ 4 callers
Method
iter_occlusion_updates
(&mut self, mut f: impl FnMut(OcclusionChunkUpdate))
game/world/src/loader/loading.rs:462
↓ 4 callers
Method
iterate_blocks
( &self, range: WorldPositionRange, )
game/world/src/world.rs:639
↓ 4 callers
Method
jobs
(&self)
game/simulation/src/society/society.rs:39
↓ 4 callers
Function
join_on
( futures: impl Iterator<Item = F>, )
game/procgen/src/region/regions.rs:844
↓ 4 callers
Method
len
(edges, nodes)
game/world/src/navigation/block_navigation.rs:133
↓ 4 callers
Method
load
(res: &Resources)
game/simulation/src/society/names.rs:21
↓ 4 callers
Function
make_entities
()
game/simulation/src/event/queue.rs:318
↓ 4 callers
Function
new_entity
( definition: &str, ecs: &'a EcsWorld, pos: impl EntityPosition + 'static, )
renderer/main/src/scenarios.rs:337
↓ 4 callers
Method
new_tab
(&self, title: &str)
renderer/engine/src/render/sdl/ui/context.rs:85
↓ 4 callers
Method
new_tree_node
(&self, title: &str, open: DefaultOpen)
renderer/engine/src/render/sdl/ui/context.rs:94
↓ 4 callers
Method
opposite
(self)
game/world/src/navigation/cost.rs:33
↓ 4 callers
Method
planet
(&self)
game/world/src/loader/terrain_source/generate.rs:27
↓ 4 callers
Method
progress
(&self)
game/simulation/src/input/system.rs:468
↓ 4 callers
Method
query_in_radius
( &self, transforms: Transforms, centre: WorldPoint, radius: f32, )
game/simulation/src/spatial.rs:56
↓ 4 callers
Function
rad
(f: F)
shared/common/src/lib.rs:55
↓ 4 callers
Method
request_slabs
Requests slabs as a single batch. Must be sorted as per [self.request_slabs_with_count]
game/world/src/loader/loading.rs:77
↓ 4 callers
Method
reset_position
(&mut self, new_position: WorldPoint)
game/simulation/src/transform.rs:64
↓ 4 callers
Method
runtime
(&self)
game/world/src/loader/worker_pool.rs:149
↓ 4 callers
Method
set_uniform_matrix
Name must be null terminated
renderer/engine/src/render/sdl/gl/shader.rs:186
↓ 4 callers
Method
size
(self)
game/world/src/viewer.rs:86
↓ 4 callers
Method
slab_progress
(&self, slab: SlabIndex)
game/world/src/chunk/chunk.rs:253
↓ 4 callers
Method
slabs_from_bottom
(&self)
game/world/src/chunk/terrain.rs:164
↓ 4 callers
Method
society
(&self)
game/simulation/src/render/ui.rs:24
↓ 4 callers
Method
solid
(self)
game/world/src/occlusion.rs:109
↓ 4 callers
Function
spawn_entities_randomly
( world: &InnerWorldRef, count: usize, placement: Placement, mut per: impl FnM
renderer/main/src/scenarios.rs:351
↓ 4 callers
Method
target
(&self)
game/world/src/navigation/path.rs:102
↓ 4 callers
Method
thanks
(self)
renderer/main/src/scenarios.rs:327
↓ 4 callers
Method
to_local
(self)
shared/unit/src/world/slice_index.rs:79
↓ 4 callers
Method
total_count
(&self)
game/simulation/src/item/stack.rs:348
↓ 4 callers
Method
upgrade
(&self)
game/simulation/src/runtime/runtime.rs:313
↓ 4 callers
Method
with_color
(self, color: Color)
renderer/main/src/scenarios.rs:272
↓ 4 callers
Method
with_name
(self)
renderer/main/src/scenarios.rs:307
↓ 4 callers
Method
with_player_society
(self)
renderer/main/src/scenarios.rs:289
↓ 4 callers
Method
world
(&self)
game/world/src/loader/loading.rs:72
↓ 4 callers
Method
wrap_coord
(&self, mut coord: [isize; 3])
shared/grid/src/dynamic.rs:52
↓ 4 callers
Method
xyz
(&self)
shared/unit/src/world/world_point.rs:104
↓ 3 callers
Method
add
Clones on successful add and returns Ok
game/simulation/src/item/inventory/container.rs:99
↓ 3 callers
Method
add
(mut self, size: u32, attrib_type: AttribType, normalized: Normalized)
renderer/engine/src/render/sdl/gl/vertex.rs:422
↓ 3 callers
Method
add_edge
(&mut self, from: WorldArea, to: WorldArea, edge: AreaNavEdge)
game/world/src/navigation/area_navigation.rs:216
↓ 3 callers
Method
add_empty_placeholder_slab
(&mut self, slab: impl Into<SlabIndex>)
game/world/src/chunk/terrain.rs:182
↓ 3 callers
Method
add_node
(&mut self, area: WorldArea)
game/world/src/navigation/area_navigation.rs:224
↓ 3 callers
Method
add_smarts
TODO use bump
game/ai/src/intelligence.rs:200
↓ 3 callers
Method
all_chunks
(&self)
game/world/src/world.rs:104
↓ 3 callers
Method
apply_terrain_updates
( &mut self, this_slab: SlabLocation, updates: impl Iterator<Item = SlabTerrainUpdate>
game/world/src/chunk/slab.rs:274
↓ 3 callers
Method
area_path_exists
Cheap check if an path exists between the 2 areas
game/world/src/world.rs:291
↓ 3 callers
Method
as_range
(self)
game/world/src/viewer.rs:82
↓ 3 callers
Method
as_ref
(&self)
game/world/src/viewer.rs:324
↓ 3 callers
Method
as_slice
Bottom block of slab as global slice
shared/unit/src/world/slab_index.rs:36
↓ 3 callers
Method
biome_sampler
pub fn discover(&mut self) { // TODO reimplement or add back density if needed todo!(); // self.rasterize_land_blo
game/procgen/src/continent.rs:311
↓ 3 callers
Method
block_for_last_batch
(&mut self, timeout: Duration)
game/world/src/loader/loading.rs:429
↓ 3 callers
Method
block_on_next_finalization
( &mut self, timeout: Duration, bail: &impl Fn() -> bool, )
game/world/src/loader/loading.rs:403
↓ 3 callers
Method
blocks
(&self)
game/world/src/chunk/slice.rs:68
↓ 3 callers
Method
cancel
(&mut self, token: T)
game/simulation/src/event/timer.rs:82
↓ 3 callers
Method
choose_biomes
( &self, coast_proximity: f64, elevation: f64, temperature: f64, moist
game/procgen/src/biome.rs:187
↓ 3 callers
Method
chunk_bounds
(&self)
game/procgen/src/planet.rs:169
↓ 3 callers
Method
clear
(&mut self)
game/simulation/src/event/queue.rs:258
↓ 3 callers
Method
communal
(&self)
game/simulation/src/item/inventory/component.rs:656
↓ 3 callers
Method
complete_batches
(batch id, batch length) Returns a SmallVec instead of an iterator as a reference to self is still needed to pop completed batches
game/world/src/loader/batch.rs:110
↓ 3 callers
Method
current
Includes in-progress selection
game/simulation/src/input/system.rs:371
↓ 3 callers
Method
current_tick
(&self)
testing/src/tests/mod.rs:84
↓ 3 callers
Method
debug_add_line
(&mut self, mut from: WorldPoint, mut to: WorldPoint, color: Color)
renderer/engine/src/render/sdl/render/renderer.rs:202
← previous
next →
201–300 of 2,421, ranked by callers