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
↓ 3 callers
Method
debug_add_quad
(&mut self, points: [WorldPoint; 4], color: Color)
game/simulation/src/render/renderer.rs:51
↓ 3 callers
Method
debug_add_square_around
(&mut self, centre: WorldPoint, radius: f32, color: Color)
game/simulation/src/render/renderer.rs:100
↓ 3 callers
Method
dimensions
(&self)
shared/grid/src/dynamic.rs:80
↓ 3 callers
Method
elapsed
(&self, current: Tick)
game/simulation/src/event/timer.rs:26
↓ 3 callers
Method
equip
( &self, ctx: &ActivityContext, item: Entity, extra_hands: u16, )
game/simulation/src/activity/subactivity/equip.rs:78
↓ 3 callers
Method
evaluate
(&self, x: NormalizedFloat)
game/ai/src/consideration.rs:74
↓ 3 callers
Method
expect_mut
(&mut self)
game/world/src/chunk/slab.rs:78
↓ 3 callers
Method
fill
(&mut self, block: B)
game/world/src/chunk/slice.rs:155
↓ 3 callers
Method
find_accessible_block
TODO use an enum for the slice range rather than Options
game/world/src/chunk/terrain.rs:628
↓ 3 callers
Method
find_component
(&self, name: &str)
game/simulation/src/definitions/loader/step3_construction.rs:52
↓ 3 callers
Method
find_hauling_slot_range
Finds range of empty slots to fit the number of extra hands
game/simulation/src/item/inventory/component.rs:126
↓ 3 callers
Method
find_job
(&self, handle: SocietyJobHandle)
game/simulation/src/society/job/list.rs:229
↓ 3 callers
Method
find_path_with_goal
( &self, from: WorldPosition, to: WorldPosition, goal: SearchGoal, )
game/world/src/world.rs:191
↓ 3 callers
Function
flatten_coords
(block: SliceBlock)
game/world/src/chunk/slice.rs:213
↓ 3 callers
Function
for_tests
()
shared/logging/src/tests.rs:12
↓ 3 callers
Method
force_activity
(&mut self, slave: Entity, action: AiAction)
game/simulation/src/dev.rs:291
↓ 3 callers
Method
forwards
(&self)
game/simulation/src/transform.rs:122
↓ 3 callers
Function
get_edge
(graph: &AreaGraph, from: WorldArea, to: WorldArea)
game/world/src/navigation/area_navigation.rs:330
↓ 3 callers
Method
get_or_create_region
(&self, region: RegionLocation)
game/procgen/src/planet.rs:373
↓ 3 callers
Method
get_slab
(&self, slab: impl Into<SlabIndex>)
shared/unit/src/world/chunk_location.rs:13
↓ 3 callers
Method
get_string
(&mut self, key: &str)
game/simulation/src/ecs/component.rs:143
↓ 3 callers
Method
handle
(&self)
game/simulation/src/society/job/job.rs:167
↓ 3 callers
Method
index_mut
(&mut self, index: I)
game/world/src/chunk/slice.rs:200
↓ 3 callers
Method
indices
(&self)
shared/grid/src/grid_impl.rs:23
↓ 3 callers
Method
insert_item
Frees up enough equip slots by pushing them into containers, then fills equip slots with the given item, returning true if it worked on_move: callbac
game/simulation/src/item/inventory/component.rs:300
↓ 3 callers
Method
into_block
(self, z: GlobalSliceIndex)
game/procgen/src/region/unit.rs:149
↓ 3 callers
Method
into_world_area
(self, chunk_pos: ChunkLocation)
game/world/src/navigation/mod.rs:76
↓ 3 callers
Method
is_boundary_empty
(&self)
game/procgen/src/region/feature.rs:275
↓ 3 callers
Method
is_destructive_for
doer is the living entity interesting in this one, e.g. the hauler, the eater
game/simulation/src/event/subscription.rs:163
↓ 3 callers
Method
iter
(&self)
game/simulation/src/ecs/component.rs:155
↓ 3 callers
Method
iter
(&self)
shared/grid/src/dynamic.rs:88
↓ 3 callers
Method
iter_coords_with_z_range_mut
( &mut self, z_range: CoordRange, )
shared/grid/src/dynamic.rs:109
↓ 3 callers
Method
iter_individual_layers_mut
Each land layer followed by high air
game/procgen/src/climate.rs:76
↓ 3 callers
Method
iter_layer
(&self, layer: AirLayer)
game/procgen/src/climate.rs:67
↓ 3 callers
Method
iter_layer_mut
(&mut self, layer: AirLayer)
game/procgen/src/climate.rs:71
↓ 3 callers
Method
keys
(&self)
game/simulation/src/ecs/component.rs:147
↓ 3 callers
Method
load
(&self)
shared/config/src/load.rs:144
↓ 3 callers
Method
load_notifications
(&self)
game/world/src/world.rs:362
↓ 3 callers
Method
maintain
(&mut self, current: Tick)
game/simulation/src/event/timer.rs:42
↓ 3 callers
Function
make_collision_mesh
Based off this[0] and its insane javascript implementation[1]. An attempt was made to make it more idiomatic and less dense but it stops working in su
game/world/src/mesh.rs:182
↓ 3 callers
Method
max_dimension
(&self)
game/simulation/src/transform.rs:145
↓ 3 callers
Method
modify_y
Panics if new value is not finite
shared/unit/src/world/world_point.rs:130
↓ 3 callers
Method
name
(&self)
game/simulation/src/society/society.rs:31
↓ 3 callers
Method
new_human
(&self, pos: EntityPosition)
testing/src/helpers.rs:12
↓ 3 callers
Method
parent
(&self)
game/simulation/src/definitions/loader/step1_deserialization.rs:59
↓ 3 callers
Function
random_walkable_pos
(world: &InnerWorldRef)
renderer/main/src/scenarios.rs:345
↓ 3 callers
Method
range
Inclusive range
game/world/src/chunk/double_sided_vec.rs:126
↓ 3 callers
Method
range
(&self)
game/simulation/src/input/system.rs:472
↓ 3 callers
Method
raw_terrain
(&self)
game/world/src/chunk/terrain.rs:147
↓ 3 callers
Method
raw_terrain_mut
(&mut self)
game/world/src/chunk/terrain.rs:151
↓ 3 callers
Method
remove
(&mut self, entity: Entity)
game/simulation/src/item/inventory/container.rs:108
↓ 3 callers
Method
request_slabs_with_count
TODO add more efficient version that takes chunk+multiple slabs Must be sorted by chunk then by ascending slab (debug asserted). All slabs are loaded
game/world/src/loader/loading.rs:86
↓ 3 callers
Method
resolve_and_cast
( self, societies: &Societies, do_this: impl FnOnce(&J) -> R, )
game/simulation/src/society/job/list.rs:64
↓ 3 callers
Method
round
(&self)
shared/unit/src/world/world_point.rs:78
↓ 3 callers
Method
sample_wrapped_normalized
Produces seamlessly wrapping noise scaled from 0-1 by limits of this generator
game/procgen/src/biome.rs:361
↓ 3 callers
Method
search
(&self, filter: &ItemFilter, world: &W)
game/simulation/src/item/inventory/component.rs:353
↓ 3 callers
Method
set
(&mut self, proportion: NormalizedFloat)
game/simulation/src/item/condition.rs:34
↓ 3 callers
Method
set_block
Panics if block position is invalid for the chunk. Will create slabs as necessary
game/world/src/chunk/builder.rs:37
↓ 3 callers
Method
single_tile
(&self)
game/simulation/src/input/system.rs:476
↓ 3 callers
Method
size
(self)
renderer/engine/src/render/sdl/gl/vertex.rs:69
↓ 3 callers
Method
slab_mut
Cow-copies the slab if not already the exclusive holder
game/world/src/chunk/terrain.rs:191
↓ 3 callers
Method
slice_unsigned
(&self)
shared/unit/src/world/slice_index.rs:123
↓ 3 callers
Method
slices_from_bottom
(&self)
game/world/src/chunk/terrain.rs:225
↓ 3 callers
Method
terrain
(&mut self)
game/world/src/chunk/builder.rs:26
↓ 3 callers
Function
test_world_timeout
()
game/world/src/world.rs:1130
↓ 3 callers
Method
to_world_point
(self, chunk_pos: P)
shared/unit/src/world/block_position.rs:38
↓ 3 callers
Method
ui
(&self)
renderer/engine/src/render/sdl/ui/context.rs:62
↓ 3 callers
Method
unflatten_index
(&self, index: usize)
shared/grid/src/dynamic.rs:35
↓ 3 callers
Function
unreachable_debug
()
game/procgen/src/region/feature.rs:631
↓ 3 callers
Method
unsubscribe
(&mut self, subscriber: Entity, unsubscription: EntityEventSubscription)
game/simulation/src/event/queue.rs:95
↓ 3 callers
Method
unsubscribe_all
(&mut self, subscriber: Entity)
game/simulation/src/event/queue.rs:76
↓ 3 callers
Method
update_makeup
(&mut self, world: &InnerWorldRef)
game/simulation/src/input/system.rs:454
↓ 3 callers
Method
update_value
(&mut self)
shared/common/src/newtype.rs:165
↓ 3 callers
Method
value
(&self)
shared/common/src/newtype.rs:44
↓ 3 callers
Method
vertex_attribs
(&self)
renderer/engine/src/render/sdl/gl/vertex.rs:106
↓ 3 callers
Method
visible_chunks
(&self)
game/world/src/viewer.rs:215
↓ 3 callers
Method
weight
(&self)
game/ai/src/decision.rs:219
↓ 3 callers
Method
weight
(self)
game/world/src/navigation/cost.rs:14
↓ 3 callers
Function
world_update
( from: (i32, i32, i32), to: (i32, i32, i32), )
game/world/src/loader/update.rs:233
↓ 3 callers
Method
wrapping_neighbours
( &self, coord: impl GridCoord<T>, )
shared/grid/src/dynamic.rs:226
↓ 3 callers
Method
write_interest
(&mut self, direction: Rad, value: f32)
game/simulation/src/steer/context.rs:170
↓ 3 callers
Method
x
(&self)
game/simulation/src/transform.rs:74
↓ 3 callers
Method
y
(&self)
game/simulation/src/transform.rs:77
↓ 2 callers
Method
aabb
(&self)
game/procgen/src/biome.rs:499
↓ 2 callers
Method
add
(&mut self, c: T)
game/ai/src/decision.rs:147
↓ 2 callers
Method
add_all
(&mut self, subscriptions: impl Iterator<Item = EventSubscription>)
game/simulation/src/event/queue.rs:236
↓ 2 callers
Method
add_entity
( &mut self, pos: WorldPoint, shape: Shape2d, color: Color, size: Leng
renderer/engine/src/render/sdl/render/entity.rs:118
↓ 2 callers
Method
add_internal
Capacity and homogeneity must have been checked. Only fails on overflow
game/simulation/src/item/stack.rs:190
↓ 2 callers
Method
add_regions
(&self, regions: impl Iterator<Item = RegionLocation<SIZE>> + Clone)
game/procgen/src/region/feature.rs:283
↓ 2 callers
Method
add_to_stack
Item is checked for homogeneity with the stack
game/simulation/src/item/containers.rs:243
↓ 2 callers
Method
apply
continuations=Some: first time running this on the root slab, will propagate subfeature to neighbouring slabs continuations=None: applying after being
game/procgen/src/region/subfeature.rs:195
↓ 2 callers
Method
apply_sunlight
Gently heat up air directly above the planet surface. Land heats up faster than water, and the equator heats up more than the poles.
game/procgen/src/climate.rs:454
↓ 2 callers
Method
area_index
(self)
game/world/src/block.rs:112
↓ 2 callers
Method
areas
(&self)
game/world/src/chunk/chunk.rs:110
↓ 2 callers
Method
as_f64
(self)
shared/unit/src/dim.rs:36
↓ 2 callers
Method
as_i16
(self)
shared/unit/src/dim.rs:24
↓ 2 callers
Method
as_interactive
(&self)
game/simulation/src/ecs/world.rs:600
↓ 2 callers
Function
astar
Doesnt include goal node
game/world/src/navigation/astar.rs:12
↓ 2 callers
Method
biome
(&self)
game/procgen/src/region/region.rs:660
↓ 2 callers
Method
block
(&self, block: SliceBlock)
game/procgen/src/region/region.rs:640
← previous
next →
301–400 of 2,421, ranked by callers