MCPcopy Create free account

hub / github.com/Thinkofname/UniverCity / functions

Functions1,740 in github.com/Thinkofname/UniverCity

↓ 1 callersFunctionget_pathable_edges
Helper for handling bounds checks
server/src/entity/pathfind.rs:680
↓ 1 callersFunctionget_pause_fn
(log: &Logger)
src/main.rs:314
↓ 1 callersMethodget_placement_bounds
Returns the bounds of the object being placed or none if no object is being placed
server/src/level/room.rs:833
↓ 1 callersMethodget_placement_position
(&self)
server/src/level/virt.rs:338
↓ 1 callersMethodget_possible_textures
Returns all possible textures this tile could use. Used for preloading
server/src/level/tile.rs:153
↓ 1 callersMethodget_rating
(&self)
server/src/player/handle.rs:1519
↓ 1 callersMethodget_remove_target
(&self, loc: Location)
server/src/level/virt.rs:404
↓ 1 callersMethodget_render_bounds
(&self, frustum: &Frustum)
src/render/terrain/mod.rs:852
↓ 1 callersMethodget_section_cost
Returns an estimated cost of moving through the area
server/src/level/mod.rs:1832
↓ 1 callersMethodget_stat
(&self, stat: Stat)
server/src/choice/component.rs:194
↓ 1 callersMethodget_texture_for
Returns the texture for the given location by matching the rules defined for this type.
server/src/level/tile.rs:161
↓ 1 callersMethodget_type
(&self, name: &str)
server/src/choice/component.rs:188
↓ 1 callersMethodget_uid
(&self)
src/instance/mod.rs:1063
↓ 1 callersMethodget_window
(&self, id: u8)
server/src/level/mod.rs:169
↓ 1 callersMethodglobal_loc
(&mut self, _ty: Type, _name: &str)
server/src/choice/rule.rs:316
↓ 1 callersMethodglobal_ty
(&mut self, _name: &str)
server/src/choice/rule.rs:326
↓ 1 callersMethodhandle_packets
(&mut self)
src/main.rs:689
↓ 1 callersMethodhandle_packets
( &mut self, server_state: &mut ServerState, asset_manager: &AssetManager, fs:
server/src/player/handle.rs:107
↓ 1 callersMethodhandle_packets_err
( &mut self, server_state: &mut ServerState, asset_manager: &AssetManager, fs:
server/src/player/handle.rs:127
↓ 1 callersMethodhandle_spawning
( &mut self, assets: &AssetManager, player_info: &crate::PlayerInfoMap, level:
server/src/spawning.rs:35
↓ 1 callersMethodhandle_textures
(&mut self)
src/render/mod.rs:1364
↓ 1 callersMethodhandle_ui_event
Attempts to handle the passed event
src/instance/mod.rs:515
↓ 1 callersMethodhash
(&self, state: &mut H)
server/src/assets/arcstr.rs:80
↓ 1 callersMethodhidden
Hidden actions don't show on the UI
src/config/keybinds.rs:190
↓ 1 callersMethodhost
Returns the host (if any) of the listener
server/src/network/mod.rs:290
↓ 1 callersMethodimage
(&mut self, position: (f32, f32), width: f32, height: f32, tint: (u8, u8, u8, u8), img: ResourceKey<'_
src/render/ui/mod.rs:908
↓ 1 callersMethodinactive_req
(&mut self, _req: &mut CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameState)
src/state.rs:470
↓ 1 callersFunctioninfer_types
(valloc: &mut impl VariableAllocator, expr: &mut parse::Expr<'_>, expected: Option<Type>)
server/src/choice/rule.rs:688
↓ 1 callersMethodinit
(&mut self, manager: &mut Manager<UniverCityUI>)
src/render/ui/mod.rs:116
↓ 1 callersMethodinit
Calls the init function for the mission
server/src/mission.rs:44
↓ 1 callersMethodinit
(_assets: &assets::Store)
server/src/level/room.rs:24
↓ 1 callersFunctioninit_audiolib
Sets up a interface for scripts to interface with audio playback
src/audio.rs:408
↓ 1 callersFunctioninit_gl_model
( log: &Logger, asset_manager: &assets::AssetManager, global_atlas: &mut super::Global
src/render/animated_model.rs:452
↓ 1 callersFunctioninit_missionlib
Sets up a interface for scripts to interface with
server/src/mission.rs:118
↓ 1 callersFunctioninit_model
( log: &Logger, asset_manager: &assets::AssetManager, val: VacantEntry<'a, ResourceKey
src/render/animated_model.rs:420
↓ 1 callersMethodinit_pack
Loads and inits the named pack's scripts. Currently panics when it fails to load
server/src/script/mod.rs:269
↓ 1 callersFunctioninit_rule_vars
Loads rules and optionally setups storage for them
server/src/lib.rs:220
↓ 1 callersFunctioninit_serialize
(lua: &lua::Lua)
server/src/script/mod.rs:314
↓ 1 callersMethodinit_ui
Initializes the user interface
src/render/mod.rs:963
↓ 1 callersFunctioninit_uilib
Sets up a interface for scripts to interface with the ui
src/ui/mod.rs:1566
↓ 1 callersMethodinset
(mut self, amount: i32)
util/src/location.rs:93
↓ 1 callersMethodinto_buffer
(mut self)
audio/src/lib.rs:46
↓ 1 callersMethodinto_system
(self, scheduler: &mut internal::Scheduler)
ecs/src/lib.rs:1315
↓ 1 callersMethodis_idle
(self)
server/src/entity/mod.rs:617
↓ 1 callersMethodis_lesson_type
Returns if this course entry is for the lesson with the given key
server/src/entity/course/mod.rs:404
↓ 1 callersFunctionis_owned
(_: ResourceKey<'static>)
server/src/assets/mod.rs:893
↓ 1 callersMethodis_room
(self)
server/src/entity/mod.rs:625
↓ 1 callersMethodis_virt_placeable_scaled
Returns whether the scaled (* 4) coordinates collide with an object's placement bound checking the virtual room if any
server/src/level/room.rs:820
↓ 1 callersMethoditer_rooms
Iterates over rooms in placement order
server/src/level/mod.rs:1867
↓ 1 callersMethodkey_action_req
( &mut self, _req: &mut CaptureRequester, instance: &mut Option<GameInstance>, state: &mut cra
src/state.rs:509
↓ 1 callersMethodlessons_in_group
(&'a self, group: &'a str)
server/src/entity/course/mod.rs:118
↓ 1 callersMethodlink
(&self)
src/render/gl.rs:443
↓ 1 callersFunctionload_dir
(assets: &AssetManager, dir: &Path)
server/src/entity/info.rs:528
↓ 1 callersFunctionload_dir
(assets: &AssetManager, dir: &Path)
server/src/level/object.rs:579
↓ 1 callersFunctionload_game
Loads the game's state with the given name from the default location
server/src/saving/mod.rs:590
↓ 1 callersFunctionload_game_generic
( log: &Logger, mut sf: impl Iterator<Item=UResult<SaveData>>, players: &mut crate::PlayerInfoMap,
server/src/saving/mod.rs:651
↓ 1 callersFunctionload_game_impl
( fs: &F, log: &Logger, path: &str, ty: SaveType, players: &mut crate::PlayerInfoMap,
server/src/saving/mod.rs:609
↓ 1 callersFunctionload_players
Loads just the players from the save file.
server/src/saving/mod.rs:542
↓ 1 callersMethodmark_text_input
Marks a region as taking text input this frame. Should be called every frame as required
src/render/mod.rs:1091
↓ 1 callersMethodmat_index
(&self)
model/src/main.rs:206
↓ 1 callersMethodmetatable
(t: &TypeBuilder)
lua/src/lib.rs:1285
↓ 1 callersMethodmouse_move
(&mut self, instance: &mut Option<GameInstance>, state: &mut crate::GameState, mouse_pos: (i32, i32))
src/instance/build.rs:203
↓ 1 callersMethodmouse_move_event
Handles the mouse moving Special due to the event spam it would cause
src/instance/mod.rs:504
↓ 1 callersMethodmouse_move_req
(&mut self, _req: &mut CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameState, mo
src/state.rs:488
↓ 1 callersMethodmouse_move_req
(&mut self, req: &mut state::CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameSta
src/instance/build.rs:445
↓ 1 callersMethodmouse_move_ui_req
(&mut self, _req: &mut CaptureRequester, instance: &mut Option<GameInstance>, state: &mut crate::GameState, mo
src/state.rs:501
↓ 1 callersMethodmove_selection
Move the selection position
src/render/mod.rs:1189
↓ 1 callersMethodnew
Creates a new audio manager. This creates an audio device in sdl for output
src/audio.rs:41
↓ 1 callersMethodnew
()
src/main_menu.rs:113
↓ 1 callersMethodnew
Creates a standard lua scripting engine
src/script/mod.rs:53
↓ 1 callersMethodnew
()
src/render/gl.rs:295
↓ 1 callersMethodnew
(error: Option<String>)
src/multiplayer/mod.rs:35
↓ 1 callersMethodnew
()
server/src/network/udp.rs:414
↓ 1 callersMethodnew
Creates a new network manager that listens for connections on the passed address
server/src/network/mod.rs:40
↓ 1 callersMethodnew
Creates a module key that references the named module.
server/src/assets/mod.rs:68
↓ 1 callersMethodnew
(r: R)
server/src/saving/mod.rs:966
↓ 1 callersMethodnew
Creates a door component with the initial state
server/src/entity/mod.rs:308
↓ 1 callersMethodnew
(size: usize)
util/src/bit.rs:23
↓ 1 callersMethodnext_frame_id
(&mut self)
server/src/entity/snapshot.rs:931
↓ 1 callersMethodnext_sample
(&mut self)
audio/src/lib.rs:234
↓ 1 callersMethodoffset
Offsets the location by the given values
util/src/location.rs:35
↓ 1 callersMethodoffset_matrix
(&self)
model/src/main.rs:389
↓ 1 callersMethodopen
(&self, module: ModuleKey<'_>, name: &str)
server/src/assets/mod.rs:800
↓ 1 callersFunctionopen_url
(url: &url::Url)
src/main.rs:783
↓ 1 callersFunctionoptimize_expr
Tries to optimize away constant expressions
server/src/choice/rule.rs:787
↓ 1 callersMethodor
(a: u8, b: u8)
server/src/choice/instruction.rs:130
↓ 1 callersMethodpar_iter
(&'b mut self, mask: &'b EntityMask)
ecs/src/lib.rs:1125
↓ 1 callersMethodparse
Parses a list of rules into a single list of instructions
server/src/choice/rule.rs:17
↓ 1 callersFunctionparse_color
Parses hex and decimal color codes
src/render/ui/color.rs:165
↓ 1 callersFunctionplace_font_atlas
(font_atlases: &mut Vec<atlas::TextureAtlas>, font_texture: &gl::Texture, c: CharData)
src/render/ui/mod.rs:212
↓ 1 callersMethodplace_object
(&mut self, placement: TempObjectPlacement)
server/src/level/virt.rs:363
↓ 1 callersFunctionplacement_invalid_def
()
src/config/mod.rs:87
↓ 1 callersFunctionplacement_valid_def
()
src/config/mod.rs:86
↓ 1 callersMethodplay_later
(&self, audio: A, delay: f32)
audio/src/lib.rs:156
↓ 1 callersMethodplay_sound_at
Plays the named sound file at the target position
src/audio.rs:319
↓ 1 callersMethodpop_all
Removes all states from the state list
src/state.rs:369
↓ 1 callersMethodposition
(&'a self)
model/src/main.rs:326
↓ 1 callersFunctionpreload_room_textures
Attempts to preload all textures the room could use excluding models. This does not cover the case where rooms use scripts to style the floor.
src/instance/build.rs:71
↓ 1 callersMethodprint_tooltip
Prints a formatted version of this requirement
server/src/level/room.rs:285
↓ 1 callersMethodqueue_animation
Queues the animation to play next
src/entity/mod.rs:176
← previousnext →601–700 of 1,740, ranked by callers