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
level
(mut self, s: Level)
shared/logging/src/init.rs:32
↓ 1 callers
Method
limits
(&self)
game/simulation/src/item/inventory/container.rs:138
↓ 1 callers
Function
load_from_str
(definitions: &str)
game/simulation/src/definitions/loader/load.rs:21
↓ 1 callers
Function
load_initial_world
( world_loader: &mut WorldLoader<simulation::WorldContext>, )
renderer/main/src/main.rs:337
↓ 1 callers
Method
load_slab
(&self, slab: SlabLocation)
game/world/src/loader/terrain_source/mod.rs:86
↓ 1 callers
Method
local_chunk_to_global
(&self, local_chunk: ChunkLocation)
game/procgen/src/region/unit.rs:82
↓ 1 callers
Method
log
used for debugging
game/simulation/src/event/queue.rs:197
↓ 1 callers
Function
log_block
(pos: WorldPosition)
game/world/src/loader/loading.rs:690
↓ 1 callers
Method
log_event
(&mut self, event: impl TryInto<LoggedEntityEvent>)
game/simulation/src/activity/event_logging.rs:102
↓ 1 callers
Method
log_events
Same as [log_event] but only fetches the current tick once
game/simulation/src/activity/event_logging.rs:93
↓ 1 callers
Method
log_metric
(&self, _: &str, _: f32)
game/ai/src/consideration.rs:34
↓ 1 callers
Method
maintain
(&mut self)
game/simulation/src/event/queue.rs:106
↓ 1 callers
Method
make_communal
Must be kept in sync with society
game/simulation/src/item/inventory/component.rs:661
↓ 1 callers
Method
make_container_communal
( &mut self, container_pos: WorldPosition, society: Option<SocietyHandle>, )
game/simulation/src/dev.rs:111
↓ 1 callers
Function
make_corners
(block_pos: SliceBlock, color: Color, slice_index: f32)
game/world/src/mesh.rs:139
↓ 1 callers
Function
make_corners_with_ao
( block_pos: SliceBlock, color: Color, occlusion: &BlockOcclusion, slice_index: f32, )
game/world/src/mesh.rs:102
↓ 1 callers
Method
make_progress
Returns new progress
game/simulation/src/society/job/jobs/build.rs:279
↓ 1 callers
Function
make_simple_render_mesh
( chunk: &Chunk<C>, slice_range: SliceRange, )
game/world/src/mesh.rs:25
↓ 1 callers
Method
make_stack
(&mut self)
game/simulation/src/ecs/name.rs:330
↓ 1 callers
Method
make_wind
Calculate wind velocities based on air pressure differences
game/procgen/src/climate.rs:355
↓ 1 callers
Method
map_color
(&self)
game/procgen/src/biome.rs:467
↓ 1 callers
Function
map_sdl_keycode
can't use TryInto/TryFrom for now ----- error[E0119]: conflicting implementations of trait `std::convert::TryInto<common::input::Key>` for type `sdl2:
renderer/engine/src/render/sdl/backend.rs:506
↓ 1 callers
Method
map_write_only
(&self)
renderer/engine/src/render/sdl/gl/vertex.rs:345
↓ 1 callers
Method
mark_dirty
(&mut self, slab: SlabLocation)
game/world/src/viewer.rs:279
↓ 1 callers
Method
mark_slab_requested
(&self, slab: SlabIndex)
game/world/src/chunk/chunk.rs:176
↓ 1 callers
Method
mark_slabs_complete
(&self, slabs: impl Iterator<Item = SlabIndex> + Clone)
game/world/src/chunk/chunk.rs:189
↓ 1 callers
Method
max_radius
(&self)
game/simulation/src/senses/system.rs:120
↓ 1 callers
Method
merge
Merges the other into this via union
game/procgen/src/region/feature.rs:407
↓ 1 callers
Method
merge_with
(&mut self, other: &mut dyn Feature)
game/procgen/src/region/features/forest.rs:97
↓ 1 callers
Method
merge_with_other
`self` and `other` must not be the same feature, because feature mutex is not reentrant. Guts `other`. Returns vec of regions that reference the `othe
game/procgen/src/region/feature.rs:170
↓ 1 callers
Function
min_const
Compile time `min`...
game/world/src/mesh.rs:173
↓ 1 callers
Method
min_distance_2_from_others
(&self, pos: (i32, i32))
game/procgen/src/continent.rs:626
↓ 1 callers
Function
mk_chunks
(block_off: bool)
game/world/src/chunk/terrain.rs:1341
↓ 1 callers
Function
mk_stat
(context: &UiContext, what: &'static str, value: f64, danger_limit: f64)
renderer/engine/src/render/sdl/ui/windows/perf.rs:10
↓ 1 callers
Function
mk_title_for
(e: Entity, world: &EcsWorld)
game/simulation/src/input/popup.rs:466
↓ 1 callers
Method
mod_state
(&self)
renderer/engine/src/render/sdl/backend.rs:480
↓ 1 callers
Method
modify
(&mut self, modification: SelectionModification, world: &WorldRef)
game/simulation/src/input/system.rs:388
↓ 1 callers
Method
moisture
(&self, pos: PlanetPoint, coastline_proximity: f64)
game/procgen/src/biome.rs:237
↓ 1 callers
Method
mouse_down
(&mut self, select: SelectType, _pos: WorldColumn)
renderer/engine/src/render/sdl/selection.rs:19
↓ 1 callers
Method
mouse_move
( &mut self, select: SelectType, pos: WorldColumn, modifiers: Mod, )
renderer/engine/src/render/sdl/selection.rs:61
↓ 1 callers
Method
mouse_state
(&self)
renderer/engine/src/render/sdl/backend.rs:486
↓ 1 callers
Method
mouse_up
( &mut self, select: SelectType, pos: WorldColumn, modifiers: Mod, )
renderer/engine/src/render/sdl/selection.rs:26
↓ 1 callers
Method
move_air_vertically
Warm surface air rises, so surface pressure decreases.
game/procgen/src/climate.rs:423
↓ 1 callers
Method
move_by
(&self, delta: (f32, f32, f32))
game/simulation/src/physics/bounds.rs:42
↓ 1 callers
Method
move_by_multiple
(&mut self, delta: i32)
game/world/src/viewer.rs:210
↓ 1 callers
Function
multi_chunk_wonder
Multiple flat chunks with a big deep one
game/world/src/presets.rs:25
↓ 1 callers
Method
name
(&self)
game/ai/src/decision.rs:211
↓ 1 callers
Method
name
(&self)
game/simulation/src/render/debug.rs:160
↓ 1 callers
Method
neighbouring_regions
( &self, centre: RegionLocation<SIZE>, )
game/procgen/src/region/regions.rs:529
↓ 1 callers
Method
next_event
(&self)
game/simulation/src/activity/context.rs:311
↓ 1 callers
Method
next_task_handle
(&mut self)
game/simulation/src/runtime/runtime.rs:192
↓ 1 callers
Method
next_waypoint
(&mut self)
game/simulation/src/path/follow.rs:43
↓ 1 callers
Method
non_air_blocks
(&self)
game/world/src/chunk/slice.rs:40
↓ 1 callers
Method
notify_completion
(&mut self, task: SocietyTask, result: SocietyTaskResult)
game/simulation/src/society/job/job.rs:153
↓ 1 callers
Method
offset
None if new slab is out of range of the absolute world limits (not planet)
game/procgen/src/region/subfeature.rs:163
↓ 1 callers
Method
on_close
(&mut self)
game/simulation/src/input/popup.rs:41
↓ 1 callers
Method
on_exit
Persist to file. Any returned error is not treated as fatal
renderer/engine/src/render/sdl/ui/render.rs:139
↓ 1 callers
Method
on_start
Called each time the game (re)starts
renderer/engine/src/render/sdl/ui/render.rs:89
↓ 1 callers
Method
on_unhandled_event
(&self, event: EntityEvent, me: Entity)
game/simulation/src/activity/activity/go_haul.rs:95
↓ 1 callers
Method
on_world_change
(&mut self, world: &WorldRef)
game/simulation/src/input/system.rs:400
↓ 1 callers
Method
on_world_changes
(&mut self, events: &[WorldChangeEvent])
game/simulation/src/simulation.rs:576
↓ 1 callers
Function
one_block_wonder
A single block in a single chunk
game/world/src/presets.rs:111
↓ 1 callers
Function
one_chunk_wonder
1 chunk with some epic terrain
game/world/src/presets.rs:64
↓ 1 callers
Method
opacities
Reduce to `[0 = transparent/unknown, 1 = solid]`
game/world/src/occlusion.rs:48
↓ 1 callers
Method
opposite
(self)
game/procgen/src/region/row_scanning.rs:233
↓ 1 callers
Method
ord
For simple sorting
game/simulation/src/render/shape.rs:14
↓ 1 callers
Method
override_with
(&mut self, other: &Self)
game/simulation/src/definitions/loader/step2_preprocessing.rs:84
↓ 1 callers
Method
parameter
(&self)
game/ai/src/lib.rs:108
↓ 1 callers
Method
params
(&self)
game/procgen/src/region/regions.rs:466
↓ 1 callers
Method
park_until_triggered
Only wakes up when the runtime manually wakes it up via event
game/simulation/src/runtime/runtime.rs:246
↓ 1 callers
Method
parse_mouse_event
( &self, button: MouseButton, x: i32, y: i32, )
renderer/engine/src/render/sdl/backend.rs:463
↓ 1 callers
Method
path_exists
Cheap check if an area path exists between the areas of the 2 blocks
game/world/src/world.rs:282
↓ 1 callers
Method
perf
(&self)
renderer/engine/src/render/sdl/ui/context.rs:70
↓ 1 callers
Method
pick_up
Checks if close enough to pick up
game/simulation/src/activity/subactivity/equip.rs:48
↓ 1 callers
Method
place_blobs
(&mut self, rando: &mut dyn RngCore)
game/procgen/src/continent.rs:454
↓ 1 callers
Method
place_block
(&mut self, pos: WorldPosition, block: impl Into<GeneratedBlock>)
game/procgen/src/region/subfeature.rs:72
↓ 1 callers
Method
place_new_continent
( &self, radius: i32, parent_start_idx: usize, rando: &mut dyn
game/procgen/src/continent.rs:537
↓ 1 callers
Method
planet_dims
(&self, height: usize)
game/procgen/src/params.rs:323
↓ 1 callers
Method
points
(&self)
renderer/engine/src/render/debug.rs:24
↓ 1 callers
Method
poll
(mut self: Pin<&mut Self>, _: &mut Context<'_>)
game/simulation/src/runtime/futures.rs:32
↓ 1 callers
Method
poll_task
(self)
game/simulation/src/runtime/runtime.rs:271
↓ 1 callers
Function
poly
(coefficients: &[f32], x: f32)
game/procgen/src/render.rs:494
↓ 1 callers
Method
pop_event
(&self)
game/simulation/src/runtime/runtime.rs:299
↓ 1 callers
Method
pop_request
(&mut self)
game/simulation/src/path/system.rs:202
↓ 1 callers
Method
populate_chunk_with_slabs
Panics if chunk doesn't exist. Does not update slab progress in chunk
game/world/src/world.rs:483
↓ 1 callers
Method
populate_initial_tasks
( &mut self, _: &EcsWorld, out: &mut Vec<SocietyTask>, _: SocietyJobHandle,
game/simulation/src/society/job/jobs/haul.rs:62
↓ 1 callers
Method
pos
(self)
game/procgen/src/render.rs:573
↓ 1 callers
Function
position_hauled_item
(ty: HaulType, hauler_pos: &WorldPoint, hauler_fwd: Vector2)
game/simulation/src/item/haul.rs:99
↓ 1 callers
Function
position_of
TODO explicit access side for container, e.g. front of chest
game/simulation/src/activity/subactivity/haul.rs:393
↓ 1 callers
Method
position_on_boundary
(self, other_coord: BlockCoord)
game/world/src/neighbour.rs:219
↓ 1 callers
Method
post_events
(&self, events: impl Iterator<Item = EntityEvent>)
game/simulation/src/runtime/runtime.rs:174
↓ 1 callers
Method
post_multiple
(&mut self, events: impl Iterator<Item = EntityEvent>)
game/simulation/src/event/queue.rs:68
↓ 1 callers
Method
prepare_for_chunks
(&self, range: (ChunkLocation, ChunkLocation))
game/world/src/loader/terrain_source/mod.rs:78
↓ 1 callers
Function
prepare_popup
(ty: PopupContentType, world: &EcsWorld)
game/simulation/src/input/popup.rs:252
↓ 1 callers
Function
preprocess
(defs: &mut Vec<DeserializedDefinition>)
game/simulation/src/definitions/loader/step2_preprocessing.rs:240
↓ 1 callers
Method
prev
(self)
game/simulation/src/steer/context.rs:36
↓ 1 callers
Method
process_ui_commands
(&mut self, commands: impl Iterator<Item = UiCommand>)
game/simulation/src/simulation.rs:358
↓ 1 callers
Method
processed_components_mut
(&self)
game/simulation/src/definitions/loader/step1_deserialization.rs:110
↓ 1 callers
Method
projection_matrix
(&self)
renderer/engine/src/render/sdl/camera.rs:163
↓ 1 callers
Method
propagate_wind
(&mut self)
game/procgen/src/climate.rs:267
← previous
next →
1,001–1,100 of 2,421, ranked by callers