Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Thinkofname/UniverCity
/ functions
Functions
1,740 in github.com/Thinkofname/UniverCity
⨍
Functions
1,740
◇
Types & classes
884
↓ 1 callers
Method
raw_global_loc
(&mut self, _name: &str)
server/src/choice/rule.rs:321
↓ 1 callers
Function
read_buffer
(mode: Mode)
src/render/gl.rs:1149
↓ 1 callers
Function
read_pixels
No bounds checks here, can't be safe unless every ty+format combo is handled manually
src/render/gl.rs:134
↓ 1 callers
Function
read_string_packed
(state: &mut bitio::Reader<R>, strings: &'a [String])
server/src/level/mod.rs:1916
↓ 1 callers
Method
recompute_path_section
(&mut self, sx: usize, sy: usize)
server/src/level/mod.rs:555
↓ 1 callers
Function
register_components
Registers components required by the server and the client
server/src/entity/mod.rs:47
↓ 1 callers
Function
register_frame_systems
Registers systems required by the client that will be run every frame. The systems here should be pretty limited
src/entity/mod.rs:50
↓ 1 callers
Function
register_server_systems
Registers systems required by the server only
server/src/entity/mod.rs:122
↓ 1 callers
Function
register_systems
Registers systems required by the server and the client
server/src/entity/mod.rs:113
↓ 1 callers
Method
remove_component
(&mut self, id: u32)
ecs/src/internal.rs:372
↓ 1 callers
Method
remove_component
(&mut self, e: Entity)
ecs/src/lib.rs:320
↓ 1 callers
Method
remove_component
(&mut self, id: u32)
ecs/src/storage.rs:82
↓ 1 callers
Method
removed
Called once when removed and about to be dropped. Called at most once after `added` is called.
src/state.rs:449
↓ 1 callers
Method
removed_req
(&mut self, _req: &mut CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/state.rs:450
↓ 1 callers
Method
render_entities
( &mut self, ctx: &mut pipeline::Context<'_>, projection: &cgmath::Matrix4<f32>,
src/render/mod.rs:1518
↓ 1 callers
Method
replaces_floor
(&self)
server/src/level/placement.rs:30
↓ 1 callers
Method
request_capture
(&mut self)
src/state.rs:34
↓ 1 callers
Method
requests
An iterator over requests
server/src/network/mod.rs:472
↓ 1 callers
Method
restore
Restores the state from a captured snapshot
src/state.rs:192
↓ 1 callers
Method
rotation
(&'a self)
model/src/main.rs:340
↓ 1 callers
Method
run
(&mut self, param: &SystemParam)
ecs/src/internal.rs:59
↓ 1 callers
Method
run_system
(self, sysparam: &internal::SystemParam)
ecs/src/lib.rs:1336
↓ 1 callers
Method
save
Calls the save method for the mission
server/src/mission.rs:88
↓ 1 callers
Method
scale
(&'a self)
model/src/main.rs:354
↓ 1 callers
Function
send_sync
(v: T)
src/audio.rs:33
↓ 1 callers
Method
serialize_i64
(self, v: i64)
lua/src/serde_support.rs:493
↓ 1 callers
Function
server_tick
Ticks all free roaming entities for the server
server/src/entity/free_roam.rs:17
↓ 1 callers
Method
set
(&mut self, i: usize, v: bool)
util/src/bit.rs:28
↓ 1 callers
Method
set_animation
Changes the animation currently playing
src/entity/mod.rs:165
↓ 1 callers
Method
set_config
(&mut self, cfg: PlayerConfig)
server/src/player/handle.rs:1535
↓ 1 callers
Method
set_focused_region
Marks a region to be focused
src/render/mod.rs:1123
↓ 1 callers
Method
set_mouse_position
Sets the position of the cursor
src/render/mod.rs:1809
↓ 1 callers
Method
set_position
Updates the position of this sound
src/audio.rs:245
↓ 1 callers
Method
set_rating
(&mut self, val: i16)
server/src/player/handle.rs:1523
↓ 1 callers
Method
set_raw
(&self, name: &str, val: u32)
server/src/choice/component.rs:105
↓ 1 callers
Method
set_scale
(&mut self, scale: f32)
src/render/ui/mod.rs:106
↓ 1 callers
Method
set_stat
(&self, stat: Stat, val: f32)
server/src/choice/component.rs:202
↓ 1 callers
Method
set_tile
Sets the tile at the passed location to the provided `TileData`. If the location is out of bounds then it is ignored. Shares a tile map with the pass
server/src/level/virt.rs:88
↓ 1 callers
Method
set_tile_raw
(&mut self, loc: Location, tile: TileData)
server/src/level/virt.rs:260
↓ 1 callers
Method
set_vec3_array
(self, v: &[cgmath::Vector3<f32>])
src/render/gl.rs:636
↓ 1 callers
Method
set_verts
(&mut self, verts: Vec<V>)
src/render/model/mod.rs:78
↓ 1 callers
Method
shadows
(&mut self, position: (f32, f32), width: f32, height: f32, shadows: &[shadow::Shadow], output: &mut Vec<Shadow
src/render/ui/mod.rs:826
↓ 1 callers
Method
size
(mut self, w: u32, h: u32)
src/render/pipeline.rs:733
↓ 1 callers
Method
slice
(&self)
server/src/choice/component.rs:116
↓ 1 callers
Method
solid_box
(&mut self, position: (f32, f32), width: f32, height: f32, c: color::Color)
src/render/ui/mod.rs:780
↓ 1 callers
Method
start_selection
Begins drawing a selection area on the map
src/render/mod.rs:1154
↓ 1 callers
Method
switch_menu
(&mut self, menu: &str)
src/main.rs:703
↓ 1 callers
Method
texture_mat
(&self, idx: usize)
model/src/main.rs:96
↓ 1 callers
Method
tick
Ticks playing music
src/audio.rs:77
↓ 1 callers
Method
tick
Ticks the currently active state
src/state.rs:204
↓ 1 callers
Method
tick
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/instance/base/mod.rs:241
↓ 1 callers
Function
tick_game
( log: Logger, window: sdl2::video::Window, mut renderer: render::Renderer, audio: aud
src/main.rs:343
↓ 1 callers
Method
tick_minor
(&mut self, state: &mut crate::GameState)
src/instance/mod.rs:421
↓ 1 callers
Method
tick_req
(&mut self, _req: &mut CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/state.rs:476
↓ 1 callers
Method
to_course
(self, snapshots: &snapshot::Snapshots)
server/src/saving/mod.rs:1194
↓ 1 callers
Function
to_table
Serializes the given value to a lua table
lua/src/lib.rs:1021
↓ 1 callers
Method
transform
(&self, event: &SDLEvent)
src/config/keybinds.rs:326
↓ 1 callers
Method
try_room_info_mut
Returns the placement information of the room with the given id.
server/src/level/mod.rs:677
↓ 1 callers
Method
ui_event_req
(&mut self, _req: &mut CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameState, ev
src/state.rs:520
↓ 1 callers
Method
uniform_block
(&self, name: &str)
src/render/gl.rs:467
↓ 1 callers
Method
uniform_location
(&self, name: &str)
src/render/gl.rs:478
↓ 1 callers
Method
update
(&mut self, ctx: &mut pipeline::Context<'_>, target_atlas: &mut super::GlobalAtlas, level: &mut level::Level)
src/render/terrain/mod.rs:168
↓ 1 callers
Method
update
Handles text boxes
src/ui/mod.rs:524
↓ 1 callers
Method
update
Calls the update function for the mission
server/src/mission.rs:67
↓ 1 callers
Method
update_guides
(&mut self, ctx: &mut pipeline::Context<'_>, level: &level::Level)
src/render/terrain/mod.rs:347
↓ 1 callers
Method
update_time
Recomputes the estimate travel time
server/src/entity/pathfind.rs:1206
↓ 1 callers
Method
visit_str
(self, v: &str)
server/src/entity/info.rs:480
↓ 1 callers
Method
visit_u64
(self, val: u64)
server/src/common/money.rs:145
↓ 1 callers
Method
wait_dimensions
Blocks until the dimensions of the image have been loaded or an error occurs.
src/render/image.rs:194
↓ 1 callers
Method
weights
(&self)
model/src/main.rs:397
↓ 1 callers
Function
write_string_packed
(state: &mut bitio::Writer<W>, strings: &mut FNVMap<String, usize>, string: S)
server/src/level/mod.rs:1907
↓ 1 callers
Function
write_to
( socket: &NetUdpSocket, addr: SocketAddr, state: &Mutex<UdpSocketState>, pck: packet::Packet,
server/src/network/udp.rs:221
↓ 1 callers
Method
x_range
(self)
util/src/location.rs:109
Method
absolute_name
(lua: &lua::Lua, p: Ref<RefCell<Placer>>, res: Ref<String>)
server/src/level/placement.rs:149
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut GameState)
src/save_file.rs:46
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut GameState)
src/campaign.rs:39
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut GameState)
src/main_menu.rs:129
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut GameState)
src/credits.rs:32
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut GameState)
src/ui/prompt.rs:70
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut GameState)
src/multiplayer/mod.rs:130
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut GameState)
src/multiplayer/dedicated_server.rs:37
Method
active
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/instance/build.rs:105
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/instance/base/mod.rs:184
Method
active
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/instance/base/system_menu.rs:38
Method
active
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/instance/base/stats.rs:397
Method
active
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/instance/base/courses.rs:59
Method
active
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/instance/base/staff_list.rs:27
Method
active
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/instance/base/settings.rs:30
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/instance/base/staff.rs:75
Method
active
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/instance/base/room.rs:85
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/instance/base/edit_room.rs:69
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut GameState)
src/config/mod.rs:203
Method
active
(&mut self, _instance: &mut Option<GameInstance>, state: &mut GameState)
src/config/graphics.rs:54
Method
active_req
(&mut self, req: &mut state::CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameSta
src/instance/build.rs:936
Method
active_req
(&mut self, req: &mut state::CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameSta
src/instance/base/entity_info.rs:98
Method
add
(&mut self, system: S)
ecs/src/internal.rs:44
Method
add
(self, other: (i32, i32))
util/src/location.rs:63
Method
add_and_get_component
Add the component and returns the inserted value
ecs/src/storage.rs:48
Method
add_assign
(&mut self, rhs: Self)
server/src/common/money.rs:25
Method
add_assign
(&mut self, other: Angle)
util/src/angle.rs:137
← previous
next →
701–800 of 1,740, ranked by callers