SYMBOL INDEX (1986 symbols across 77 files) FILE: src/bin/quake-client/capture.rs constant BYTES_PER_PIXEL (line 14) | const BYTES_PER_PIXEL: u32 = 4; function cmd_screenshot (line 20) | pub fn cmd_screenshot( type Capture (line 39) | pub struct Capture { method new (line 51) | pub fn new(device: &wgpu::Device, capture_size: Extent2d) -> Capture { method copy_from_texture (line 70) | pub fn copy_from_texture( method write_to_file (line 89) | pub fn write_to_file

(&self, device: &wgpu::Device, path: P) FILE: src/bin/quake-client/game.rs type Game (line 45) | pub struct Game { method new (line 59) | pub fn new( method frame (line 94) | pub fn frame(&mut self, gfx_state: &GraphicsState, frame_duration: Dur... method render (line 138) | pub fn render( method drop (line 203) | fn drop(&mut self) { FILE: src/bin/quake-client/main.rs type ClientProgram (line 63) | struct ClientProgram { method new (line 83) | pub async fn new(window: Window, base_dir: Option, trace: boo... method recreate_swap_chain (line 222) | fn recreate_swap_chain(&self, present_mode: wgpu::PresentMode) { method render (line 237) | fn render(&mut self) { method handle_event (line 252) | fn handle_event( method frame (line 270) | fn frame(&mut self, frame_duration: Duration) { method shutdown (line 318) | fn shutdown(&mut self) { method cvars (line 322) | fn cvars(&self) -> Ref { method cvars_mut (line 326) | fn cvars_mut(&self) -> RefMut { type Opt (line 332) | struct Opt { function main (line 349) | fn main() { FILE: src/bin/quake-client/menu.rs function build_main_menu (line 25) | pub fn build_main_menu() -> Result { function build_menu_sp (line 41) | fn build_menu_sp() -> Result { function build_menu_mp (line 55) | fn build_menu_mp() -> Result { function build_menu_mp_join (line 69) | fn build_menu_mp_join() -> Result { function build_menu_mp_join_tcp (line 82) | fn build_menu_mp_join_tcp() -> Result { function build_menu_options (line 103) | fn build_menu_options() -> Result { FILE: src/bin/quake-client/trace.rs constant DEFAULT_TRACE_PATH (line 5) | const DEFAULT_TRACE_PATH: &'static str = "richter-trace.json"; function cmd_trace_begin (line 8) | pub fn cmd_trace_begin(trace: Rc>>>) -> B... function cmd_trace_end (line 22) | pub fn cmd_trace_end( FILE: src/bin/unpak.rs type Opt (line 33) | struct Opt { constant VERSION (line 47) | const VERSION: &'static str = " function main (line 53) | fn main() { FILE: src/client/cvars.rs function register_cvars (line 23) | pub fn register_cvars(cvars: &CvarRegistry) -> Result<(), ConsoleError> { FILE: src/client/demo.rs type DemoServerError (line 17) | pub enum DemoServerError { type DemoMessage (line 30) | struct DemoMessage { type DemoMessageView (line 36) | pub struct DemoMessageView<'a> { function view_angles (line 43) | pub fn view_angles(&self) -> Vector3> { function message (line 48) | pub fn message(&self) -> &[u8] { type DemoServer (line 54) | pub struct DemoServer { method new (line 68) | pub fn new(file: &mut VirtualFile) -> Result Option { method track_override (line 163) | pub fn track_override(&self) -> Option { FILE: src/client/entity/mod.rs constant MAX_LIGHTS (line 33) | pub const MAX_LIGHTS: usize = 32; constant MAX_BEAMS (line 34) | pub const MAX_BEAMS: usize = 24; constant MAX_TEMP_ENTITIES (line 35) | pub const MAX_TEMP_ENTITIES: usize = 64; constant MAX_STATIC_ENTITIES (line 36) | pub const MAX_STATIC_ENTITIES: usize = 128; type ClientEntity (line 39) | pub struct ClientEntity { method from_baseline (line 59) | pub fn from_baseline(baseline: EntityState) -> ClientEntity { method uninitialized (line 82) | pub fn uninitialized() -> ClientEntity { method update (line 109) | pub fn update(&mut self, msg_times: [Duration; 2], update: EntityUpdat... method update_angles (line 149) | pub fn update_angles(&mut self, angles: Vector3>) { method set_angles (line 158) | pub fn set_angles(&mut self, angles: Vector3>) { method msg_time (line 165) | pub fn msg_time(&self) -> Duration { method model_changed (line 170) | pub fn model_changed(&self) -> bool { method colormap (line 174) | pub fn colormap(&self) -> Option { method get_origin (line 178) | pub fn get_origin(&self) -> Vector3 { method get_angles (line 182) | pub fn get_angles(&self) -> Vector3> { method model_id (line 186) | pub fn model_id(&self) -> usize { method frame_id (line 190) | pub fn frame_id(&self) -> usize { method skin_id (line 194) | pub fn skin_id(&self) -> usize { type LightDesc (line 201) | pub struct LightDesc { type Light (line 220) | pub struct Light { method from_desc (line 231) | pub fn from_desc(time: Duration, desc: LightDesc) -> Light { method origin (line 243) | pub fn origin(&self) -> Vector3 { method radius (line 250) | pub fn radius(&self, time: Duration) -> f32 { method retain (line 265) | pub fn retain(&mut self, time: Duration) -> bool { type Lights (line 271) | pub struct Lights { method with_capacity (line 277) | pub fn with_capacity(capacity: usize) -> Lights { method get (line 285) | pub fn get(&self, key: usize) -> Option<&Light> { method get_mut (line 291) | pub fn get_mut(&mut self, key: usize) -> Option<&mut Light> { method insert (line 301) | pub fn insert(&mut self, time: Duration, desc: LightDesc, key: Option<... method iter (line 313) | pub fn iter(&self) -> impl Iterator { method update (line 320) | pub fn update(&mut self, time: Duration) { type Beam (line 326) | pub struct Beam { FILE: src/client/entity/particle.rs constant MIN_PARTICLES (line 58) | pub const MIN_PARTICLES: usize = 512; constant MAX_PARTICLES (line 61) | pub const MAX_PARTICLES: usize = 16384; type ColorRamp (line 68) | pub struct ColorRamp { method color (line 80) | pub fn color(&self, elapsed: Duration, frame_skip: usize) -> Option { type ParticleKind (line 91) | pub enum ParticleKind { constant PARTICLE_GRAVITY_FACTOR (line 126) | pub const PARTICLE_GRAVITY_FACTOR: f32 = 0.05; type Particle (line 130) | pub struct Particle { method update (line 147) | pub fn update(&mut self, time: Duration, frame_time: Duration, sv_grav... method origin (line 202) | pub fn origin(&self) -> Vector3 { method color (line 206) | pub fn color(&self) -> u8 { type TrailKind (line 211) | pub enum TrailKind { type Particles (line 225) | pub struct Particles { method with_capacity (line 240) | pub fn with_capacity(capacity: usize) -> Particles { method insert (line 266) | pub fn insert(&mut self, particle: Particle) -> bool { method clear (line 278) | pub fn clear(&mut self) { method iter (line 282) | pub fn iter(&self) -> impl Iterator { method update (line 291) | pub fn update(&mut self, time: Duration, frame_time: Duration, sv_grav... method scatter (line 296) | fn scatter(&mut self, origin: Vector3, scatter_distr: &Uniform) -> Vector3... method create_entity_field (line 314) | pub fn create_entity_field(&mut self, time: Duration, entity: &ClientE... method create_random_cloud (line 356) | pub fn create_random_cloud( method create_explosion (line 388) | pub fn create_explosion(&mut self, time: Duration, origin: Vector3 bool { function test_particle_list_update (line 685) | fn test_particle_list_update() { FILE: src/client/input/console.rs type ConsoleInput (line 25) | pub struct ConsoleInput { method new (line 30) | pub fn new(console: Rc>) -> ConsoleInput { method handle_event (line 34) | pub fn handle_event(&self, event: Event) -> Result<(), Error> { FILE: src/client/input/game.rs constant ACTION_COUNT (line 42) | const ACTION_COUNT: usize = 19; type Action (line 210) | pub enum Action { type Err (line 270) | type Err = Error; method from_str (line 272) | fn from_str(s: &str) -> Result { method to_string (line 301) | fn to_string(&self) -> String { type MouseWheel (line 330) | pub enum MouseWheel { method from (line 337) | fn from(src: MouseScrollDelta) -> MouseWheel { type BindInput (line 360) | pub enum BindInput { method from (line 372) | fn from(src: Key) -> BindInput { method from (line 378) | fn from(src: MouseButton) -> BindInput { method from (line 384) | fn from(src: MouseWheel) -> BindInput { method from (line 390) | fn from(src: MouseScrollDelta) -> BindInput { type Err (line 396) | type Err = Error; method from_str (line 398) | fn from_str(src: &str) -> Result { method to_string (line 412) | fn to_string(&self) -> String { type BindTarget (line 426) | pub enum BindTarget { type Err (line 440) | type Err = Error; method from_str (line 442) | fn from_str(s: &str) -> Result { method to_string (line 461) | fn to_string(&self) -> String { type GameInput (line 478) | pub struct GameInput { method new (line 487) | pub fn new(console: Rc>) -> GameInput { method mouse_delta (line 497) | pub fn mouse_delta(&self) -> (f64, f64) { method impulse (line 501) | pub fn impulse(&self) -> u8 { method bind_defaults (line 506) | pub fn bind_defaults(&mut self) { method bind (line 531) | pub fn bind(&mut self, input: I, target: T) -> Option method binding (line 542) | pub fn binding(&self, input: I) -> Option method handle_event (line 549) | pub fn handle_event(&mut self, outer_event: Event) { method handle_input (line 583) | pub fn handle_input(&mut self, input: I, state: ElementState) method action_state (line 610) | pub fn action_state(&self, action: Action) -> bool { method register_cmds (line 615) | pub fn register_cmds(&self, cmds: &mut CmdRegistry) { method refresh (line 708) | pub fn refresh(&mut self) { method clear_mouse (line 713) | fn clear_mouse(&mut self) { method clear_impulse (line 719) | fn clear_impulse(&mut self) { function test_action_to_string (line 729) | fn test_action_to_string() { function test_bind_target_action_to_string (line 735) | fn test_bind_target_action_to_string() { FILE: src/client/input/menu.rs type MenuInput (line 25) | pub struct MenuInput { method new (line 31) | pub fn new(menu: Rc>, console: Rc>) -> ... method handle_event (line 35) | pub fn handle_event(&self, event: Event) -> Result<(), Error> { FILE: src/client/input/mod.rs type InputFocus (line 39) | pub enum InputFocus { type Input (line 45) | pub struct Input { method new (line 55) | pub fn new( method handle_event (line 70) | pub fn handle_event(&mut self, event: Event) -> Result<(), Error> { method focus (line 92) | pub fn focus(&self) -> InputFocus { method set_focus (line 96) | pub fn set_focus(&mut self, new_focus: InputFocus) { method bind (line 101) | pub fn bind(&mut self, input: I, target: T) -> Option method bind_defaults (line 109) | pub fn bind_defaults(&mut self) { method game_input (line 113) | pub fn game_input(&self) -> Option<&GameInput> { method game_input_mut (line 121) | pub fn game_input_mut(&mut self) -> Option<&mut GameInput> { method register_cmds (line 129) | pub fn register_cmds(&self, cmds: &mut CmdRegistry) { FILE: src/client/menu/item.rs type Item (line 27) | pub enum Item { type Toggle (line 36) | pub struct Toggle { method new (line 42) | pub fn new(init: bool, on_toggle: Box) -> Toggle { method set_false (line 54) | pub fn set_false(&self) { method set_true (line 59) | pub fn set_true(&self) { method toggle (line 64) | pub fn toggle(&self) { method get (line 69) | pub fn get(&self) -> bool { type Enum (line 76) | pub struct Enum { method new (line 82) | pub fn new(init: usize, items: Vec) -> Result { method selected_name (line 97) | pub fn selected_name(&self) -> &str { method select_next (line 101) | pub fn select_next(&self) { method select_prev (line 111) | pub fn select_prev(&self) { type EnumItem (line 122) | pub struct EnumItem { method new (line 128) | pub fn new(name: S, on_select: Box) -> Result f32 { type TextField (line 199) | pub struct TextField { method new (line 207) | pub fn new( method is_empty (line 230) | pub fn is_empty(&self) -> bool { method text (line 234) | pub fn text(&self) -> String { method len (line 238) | pub fn len(&self) -> usize { method set_cursor (line 242) | pub fn set_cursor(&self, cursor: usize) -> Result<(), Error> { method home (line 250) | pub fn home(&self) { method end (line 254) | pub fn end(&self) { method cursor_right (line 258) | pub fn cursor_right(&self) { method cursor_left (line 265) | pub fn cursor_left(&self) { method insert (line 272) | pub fn insert(&self, c: char) { method backspace (line 283) | pub fn backspace(&self) { method delete (line 290) | pub fn delete(&self) { function test_toggle (line 304) | fn test_toggle() { function test_enum (line 320) | fn test_enum() { function test_slider (line 355) | fn test_slider() { function test_textfield (line 385) | fn test_textfield() { FILE: src/client/menu/mod.rs type MenuState (line 30) | pub enum MenuState { type MenuBodyView (line 42) | pub enum MenuBodyView { type MenuView (line 52) | pub struct MenuView { method draw_plaque (line 60) | pub fn draw_plaque(&self) -> bool { method title_path (line 65) | pub fn title_path(&self) -> &str { method body (line 70) | pub fn body(&self) -> &MenuBodyView { type Menu (line 75) | pub struct Menu { method active_submenu_and_parent (line 83) | fn active_submenu_and_parent(&self) -> Result<(&Menu, Option<&Menu>), ... method active_submenu (line 101) | pub fn active_submenu(&self) -> Result<&Menu, Error> { method active_submenu_parent (line 109) | fn active_submenu_parent(&self) -> Result, Error> { method next (line 115) | pub fn next(&self) -> Result<(), Error> { method prev (line 131) | pub fn prev(&self) -> Result<(), Error> { method selected (line 147) | pub fn selected(&self) -> Result<&Item, Error> { method activate (line 167) | pub fn activate(&self) -> Result<(), Error> { method left (line 186) | pub fn left(&self) -> Result<(), Error> { method right (line 202) | pub fn right(&self) -> Result<(), Error> { method at_root (line 219) | pub fn at_root(&self) -> bool { method back (line 227) | pub fn back(&self) -> Result<(), Error> { method items (line 250) | pub fn items(&self) -> &[NamedMenuItem] { method state (line 254) | pub fn state(&self) -> MenuState { method view (line 258) | pub fn view(&self) -> &MenuView { type MenuBuilder (line 263) | pub struct MenuBuilder { method new (line 269) | pub fn new() -> MenuBuilder { method build (line 276) | pub fn build(self, view: MenuView) -> Menu { method add_submenu (line 291) | pub fn add_submenu(mut self, name: S, submenu: Menu) -> MenuBuilder method add_action (line 300) | pub fn add_action(mut self, name: S, action: Box) -> Menu... method add_toggle (line 309) | pub fn add_toggle(mut self, name: S, init: bool, on_toggle: Box(mut self, name: S, items: E, init: usize) -> Res... method add_slider (line 332) | pub fn add_slider( method add_text_field (line 351) | pub fn add_text_field( type NamedMenuItem (line 369) | pub struct NamedMenuItem { method new (line 375) | fn new(name: S, item: Item) -> NamedMenuItem method name (line 385) | pub fn name(&self) -> &str { method item (line 389) | pub fn item(&self) -> &Item { function view (line 399) | fn view() -> MenuView { function is_inactive (line 407) | fn is_inactive(state: &MenuState) -> bool { function is_active (line 414) | fn is_active(state: &MenuState) -> bool { function is_insubmenu (line 421) | fn is_insubmenu(state: &MenuState) -> bool { function test_menu_builder (line 429) | fn test_menu_builder() { function test_menu_active_submenu (line 441) | fn test_menu_active_submenu() { FILE: src/client/mod.rs constant MAX_CONNECT_ATTEMPTS (line 78) | const MAX_CONNECT_ATTEMPTS: usize = 3; constant MAX_STATS (line 79) | const MAX_STATS: usize = 32; constant DEFAULT_SOUND_PACKET_VOLUME (line 81) | const DEFAULT_SOUND_PACKET_VOLUME: u8 = 255; constant DEFAULT_SOUND_PACKET_ATTENUATION (line 82) | const DEFAULT_SOUND_PACKET_ATTENUATION: f32 = 1.0; constant CONSOLE_DIVIDER (line 84) | const CONSOLE_DIVIDER: &'static str = "\ type ClientError (line 93) | pub enum ClientError { type MoveVars (line 143) | pub struct MoveVars { type ColorShiftCode (line 155) | enum ColorShiftCode { type ServerInfo (line 162) | struct ServerInfo { type IntermissionKind (line 168) | pub enum IntermissionKind { type ConnectionStatus (line 176) | enum ConnectionStatus { type ConnectionState (line 188) | enum ConnectionState { type ConnectionKind (line 197) | enum ConnectionKind { type Connection (line 214) | pub struct Connection { method handle_signon (line 221) | fn handle_signon( method parse_server_msg (line 297) | fn parse_server_msg( method frame (line 735) | fn frame( type Client (line 809) | pub struct Client { method new (line 824) | pub fn new( method disconnect (line 917) | pub fn disconnect(&mut self) { method frame (line 922) | pub fn frame( method render (line 1009) | pub fn render( method cvar_value (line 1038) | pub fn cvar_value(&self, name: S) -> Result method handle_input (line 1048) | pub fn handle_input( method move_vars (line 1078) | fn move_vars(&self) -> Result { method idle_vars (line 1091) | fn idle_vars(&self) -> Result { method kick_vars (line 1103) | fn kick_vars(&self) -> Result { method mouse_vars (line 1111) | fn mouse_vars(&self) -> Result { method roll_vars (line 1119) | fn roll_vars(&self) -> Result { method bob_vars (line 1126) | fn bob_vars(&self) -> Result { method view_entity_id (line 1134) | pub fn view_entity_id(&self) -> Option { method trace (line 1141) | pub fn trace<'a, I>(&self, entity_ids: I) -> Result(server_addrs: A, stream: OutputStreamHandle) -> Result>) -> Box>) -> Box>) -> Box>) -> Box Ordering { type TextureData (line 21) | pub struct TextureData { method empty (line 28) | fn empty(width: u32, height: u32) -> TextureData { method subtexture (line 40) | fn subtexture(&mut self, other: &TextureData, xy: [u32; 2]) -> Result<... type TextureAtlasBuilder (line 56) | pub struct TextureAtlasBuilder { method new (line 61) | pub fn new() -> TextureAtlasBuilder { method add (line 67) | pub fn add(&mut self, texture: TextureData) -> Result { method build (line 82) | pub fn build( type TextureAtlasSubtexture (line 306) | struct TextureAtlasSubtexture { method convert_texcoords (line 319) | fn convert_texcoords(&self, st: [f32; 2]) -> [f32; 2] { type TextureAtlas (line 327) | pub struct TextureAtlas { method convert_texcoords (line 338) | pub fn convert_texcoords(&self, id: usize, st: [f32; 2]) -> [f32; 2] { function test_texture_data_subtexture (line 348) | fn test_texture_data_subtexture() { FILE: src/client/render/blit.rs type BlitPipeline (line 3) | pub struct BlitPipeline { method create_bind_group (line 11) | pub fn create_bind_group( method new (line 33) | pub fn new( method rebuild (line 65) | pub fn rebuild( method pipeline (line 78) | pub fn pipeline(&self) -> &wgpu::RenderPipeline { method bind_group_layouts (line 82) | pub fn bind_group_layouts(&self) -> &[wgpu::BindGroupLayout] { method blit (line 86) | pub fn blit<'a>(&'a self, state: &'a GraphicsState, pass: &mut wgpu::R... type VertexPushConstants (line 95) | type VertexPushConstants = (); type SharedPushConstants (line 96) | type SharedPushConstants = (); type FragmentPushConstants (line 97) | type FragmentPushConstants = (); method name (line 99) | fn name() -> &'static str { method bind_group_layout_descriptors (line 103) | fn bind_group_layout_descriptors() -> Vec &'static str { method fragment_shader (line 136) | fn fragment_shader() -> &'static str { method primitive_state (line 140) | fn primitive_state() -> wgpu::PrimitiveState { method color_target_states (line 144) | fn color_target_states() -> Vec { method depth_stencil_state (line 148) | fn depth_stencil_state() -> Option { method vertex_buffer_layouts (line 152) | fn vertex_buffer_layouts() -> Vec> { FILE: src/client/render/cvars.rs function register_cvars (line 23) | pub fn register_cvars(cvars: &CvarRegistry) { FILE: src/client/render/error.rs type RenderError (line 12) | pub struct RenderError { method kind (line 17) | pub fn kind(&self) -> RenderErrorKind { method from (line 23) | fn from(kind: RenderErrorKind) -> Self { method from (line 31) | fn from(vfs_error: VfsError) -> Self { method from (line 42) | fn from(wad_error: WadError) -> Self { method from (line 48) | fn from(inner: Context) -> Self { method cause (line 54) | fn cause(&self) -> Option<&dyn Fail> { method backtrace (line 58) | fn backtrace(&self) -> Option<&Backtrace> { method fmt (line 64) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type RenderErrorKind (line 70) | pub enum RenderErrorKind { FILE: src/client/render/mod.rs constant DEPTH_ATTACHMENT_FORMAT (line 115) | const DEPTH_ATTACHMENT_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat... constant DIFFUSE_ATTACHMENT_FORMAT (line 116) | pub const DIFFUSE_ATTACHMENT_FORMAT: wgpu::TextureFormat = wgpu::Texture... constant NORMAL_ATTACHMENT_FORMAT (line 117) | const NORMAL_ATTACHMENT_FORMAT: wgpu::TextureFormat = wgpu::TextureForma... constant LIGHT_ATTACHMENT_FORMAT (line 118) | const LIGHT_ATTACHMENT_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat... constant DIFFUSE_TEXTURE_FORMAT (line 120) | const DIFFUSE_TEXTURE_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat:... constant FULLBRIGHT_TEXTURE_FORMAT (line 121) | const FULLBRIGHT_TEXTURE_FORMAT: wgpu::TextureFormat = wgpu::TextureForm... constant LIGHTMAP_TEXTURE_FORMAT (line 122) | const LIGHTMAP_TEXTURE_FORMAT: wgpu::TextureFormat = wgpu::TextureFormat... function texture_descriptor (line 125) | pub fn texture_descriptor<'a>( function create_texture (line 146) | pub fn create_texture<'a>( type DiffuseData (line 183) | pub struct DiffuseData<'a> { type FullbrightData (line 187) | pub struct FullbrightData<'a> { type LightmapData (line 191) | pub struct LightmapData<'a> { type TextureData (line 195) | pub enum TextureData<'a> { function format (line 202) | pub fn format(&self) -> wgpu::TextureFormat { function data (line 210) | pub fn data(&self) -> &[u8] { function stride (line 218) | pub fn stride(&self) -> u32 { function size (line 226) | pub fn size(&self) -> wgpu::BufferAddress { type Extent2d (line 232) | pub struct Extent2d { method into (line 238) | fn into(self) -> wgpu::Extent3d { method from (line 248) | fn from(other: winit::dpi::PhysicalSize) -> Extent2d { type GraphicsState (line 254) | pub struct GraphicsState { method new (line 293) | pub fn new( method create_texture (line 467) | pub fn create_texture<'a>( method update (line 483) | pub fn update(&mut self, size: Extent2d, sample_count: u32) { method recreate_pipelines (line 517) | fn recreate_pipelines(&mut self, sample_count: u32) { method device (line 554) | pub fn device(&self) -> &wgpu::Device { method queue (line 558) | pub fn queue(&self) -> &wgpu::Queue { method initial_pass_target (line 562) | pub fn initial_pass_target(&self) -> &InitialPassTarget { method deferred_pass_target (line 566) | pub fn deferred_pass_target(&self) -> &DeferredPassTarget { method final_pass_target (line 570) | pub fn final_pass_target(&self) -> &FinalPassTarget { method frame_uniform_buffer (line 574) | pub fn frame_uniform_buffer(&self) -> &wgpu::Buffer { method entity_uniform_buffer (line 578) | pub fn entity_uniform_buffer(&self) -> Ref RefMut &wgpu::Sampler { method default_lightmap (line 590) | pub fn default_lightmap(&self) -> &wgpu::Texture { method default_lightmap_view (line 594) | pub fn default_lightmap_view(&self) -> &wgpu::TextureView { method lightmap_sampler (line 598) | pub fn lightmap_sampler(&self) -> &wgpu::Sampler { method world_bind_group_layouts (line 602) | pub fn world_bind_group_layouts(&self) -> &[wgpu::BindGroupLayout] { method world_bind_groups (line 606) | pub fn world_bind_groups(&self) -> &[wgpu::BindGroup] { method alias_pipeline (line 612) | pub fn alias_pipeline(&self) -> &AliasPipeline { method brush_pipeline (line 616) | pub fn brush_pipeline(&self) -> &BrushPipeline { method sprite_pipeline (line 620) | pub fn sprite_pipeline(&self) -> &SpritePipeline { method deferred_pipeline (line 624) | pub fn deferred_pipeline(&self) -> &DeferredPipeline { method particle_pipeline (line 628) | pub fn particle_pipeline(&self) -> &ParticlePipeline { method postprocess_pipeline (line 632) | pub fn postprocess_pipeline(&self) -> &PostProcessPipeline { method glyph_pipeline (line 636) | pub fn glyph_pipeline(&self) -> &GlyphPipeline { method quad_pipeline (line 640) | pub fn quad_pipeline(&self) -> &QuadPipeline { method blit_pipeline (line 644) | pub fn blit_pipeline(&self) -> &BlitPipeline { method vfs (line 648) | pub fn vfs(&self) -> &Vfs { method palette (line 652) | pub fn palette(&self) -> &Palette { method gfx_wad (line 656) | pub fn gfx_wad(&self) -> &Wad { type ClientRenderer (line 661) | pub struct ClientRenderer { method new (line 670) | pub fn new(state: &GraphicsState, menu: &Menu) -> ClientRenderer { method render (line 689) | pub fn render( FILE: src/client/render/palette.rs type Palette (line 10) | pub struct Palette { method new (line 15) | pub fn new(data: &[u8]) -> Palette { method load (line 30) | pub fn load(vfs: &Vfs, path: S) -> Palette method translate (line 50) | pub fn translate(&self, indices: &[u8]) -> (DiffuseData, FullbrightDat... FILE: src/client/render/pipeline.rs function create_shader (line 27) | fn create_shader( type PushConstantUpdate (line 48) | pub enum PushConstantUpdate { type Pipeline (line 61) | pub trait Pipeline { method name (line 72) | fn name() -> &'static str; method bind_group_layout_descriptors (line 75) | fn bind_group_layout_descriptors() -> Vec &'static str; method fragment_shader (line 81) | fn fragment_shader() -> &'static str; method primitive_state (line 84) | fn primitive_state() -> wgpu::PrimitiveState; method color_target_states (line 87) | fn color_target_states() -> Vec; method depth_stencil_state (line 90) | fn depth_stencil_state() -> Option; method vertex_buffer_layouts (line 93) | fn vertex_buffer_layouts() -> Vec>; method vertex_push_constant_range (line 95) | fn vertex_push_constant_range() -> wgpu::PushConstantRange { method fragment_push_constant_range (line 105) | fn fragment_push_constant_range() -> wgpu::PushConstantRange { method push_constant_ranges (line 117) | fn push_constant_ranges() -> Vec { method validate_push_constant_types (line 135) | fn validate_push_constant_types(limits: wgpu::Limits) { method create (line 171) | fn create( method recreate (line 251) | fn recreate( method set_push_constants (line 311) | fn set_push_constants<'a>( FILE: src/client/render/target.rs function create_color_attachment (line 31) | pub fn create_color_attachment( function create_normal_attachment (line 52) | pub fn create_normal_attachment( function create_light_attachment (line 73) | pub fn create_light_attachment( function create_depth_attachment (line 94) | pub fn create_depth_attachment( type RenderPassBuilder (line 112) | pub struct RenderPassBuilder<'a> { function descriptor (line 118) | pub fn descriptor(&self) -> wgpu::RenderPassDescriptor { type RenderTarget (line 131) | pub trait RenderTarget { method render_pass_builder (line 132) | fn render_pass_builder<'a>(&'a self) -> RenderPassBuilder<'a>; method render_pass_builder (line 230) | fn render_pass_builder<'a>(&'a self) -> RenderPassBuilder { method render_pass_builder (line 309) | fn render_pass_builder<'a>(&'a self) -> RenderPassBuilder { method render_pass_builder (line 368) | fn render_pass_builder<'a>(&'a self) -> RenderPassBuilder { method render_pass_builder (line 404) | fn render_pass_builder(&self) -> RenderPassBuilder { type RenderTargetResolve (line 136) | pub trait RenderTargetResolve: RenderTarget { method resolve_attachment (line 137) | fn resolve_attachment(&self) -> &wgpu::Texture; method resolve_view (line 138) | fn resolve_view(&self) -> &wgpu::TextureView; method resolve_attachment (line 384) | fn resolve_attachment(&self) -> &wgpu::Texture { method resolve_view (line 388) | fn resolve_view(&self) -> &wgpu::TextureView { type InitialPassTarget (line 145) | pub struct InitialPassTarget { method new (line 159) | pub fn new(device: &wgpu::Device, size: Extent2d, sample_count: u32) -... method size (line 188) | pub fn size(&self) -> Extent2d { method sample_count (line 192) | pub fn sample_count(&self) -> u32 { method diffuse_attachment (line 196) | pub fn diffuse_attachment(&self) -> &wgpu::Texture { method diffuse_view (line 200) | pub fn diffuse_view(&self) -> &wgpu::TextureView { method normal_attachment (line 204) | pub fn normal_attachment(&self) -> &wgpu::Texture { method normal_view (line 208) | pub fn normal_view(&self) -> &wgpu::TextureView { method light_attachment (line 212) | pub fn light_attachment(&self) -> &wgpu::Texture { method light_view (line 216) | pub fn light_view(&self) -> &wgpu::TextureView { method depth_attachment (line 220) | pub fn depth_attachment(&self) -> &wgpu::Texture { method depth_view (line 224) | pub fn depth_view(&self) -> &wgpu::TextureView { type DeferredPassTarget (line 270) | pub struct DeferredPassTarget { method new (line 278) | pub fn new(device: &wgpu::Device, size: Extent2d, sample_count: u32) -... method size (line 291) | pub fn size(&self) -> Extent2d { method sample_count (line 295) | pub fn sample_count(&self) -> u32 { method color_attachment (line 299) | pub fn color_attachment(&self) -> &wgpu::Texture { method color_view (line 303) | pub fn color_view(&self) -> &wgpu::TextureView { type FinalPassTarget (line 324) | pub struct FinalPassTarget { method new (line 334) | pub fn new(device: &wgpu::Device, size: Extent2d, sample_count: u32) -... method size (line 358) | pub fn size(&self) -> Extent2d { method sample_count (line 362) | pub fn sample_count(&self) -> u32 { type SwapChainTarget (line 393) | pub struct SwapChainTarget<'a> { function with_swap_chain_view (line 398) | pub fn with_swap_chain_view(swap_chain_view: &'a wgpu::TextureView) -> S... FILE: src/client/render/ui/console.rs constant PAD_LEFT (line 15) | const PAD_LEFT: i32 = GLYPH_WIDTH as i32; type ConsoleRenderer (line 17) | pub struct ConsoleRenderer { method new (line 22) | pub fn new(state: &GraphicsState) -> ConsoleRenderer { method generate_commands (line 31) | pub fn generate_commands<'a>( FILE: src/client/render/ui/glyph.rs constant GLYPH_WIDTH (line 17) | pub const GLYPH_WIDTH: usize = 8; constant GLYPH_HEIGHT (line 18) | pub const GLYPH_HEIGHT: usize = 8; constant GLYPH_COLS (line 19) | const GLYPH_COLS: usize = 16; constant GLYPH_ROWS (line 20) | const GLYPH_ROWS: usize = 16; constant GLYPH_COUNT (line 21) | const GLYPH_COUNT: usize = GLYPH_ROWS * GLYPH_COLS; constant GLYPH_TEXTURE_WIDTH (line 22) | const GLYPH_TEXTURE_WIDTH: usize = GLYPH_WIDTH * GLYPH_COLS; constant MAX_INSTANCES (line 25) | pub const MAX_INSTANCES: usize = 65536; type GlyphPipeline (line 41) | pub struct GlyphPipeline { method new (line 48) | pub fn new( method rebuild (line 70) | pub fn rebuild( method pipeline (line 80) | pub fn pipeline(&self) -> &wgpu::RenderPipeline { method bind_group_layouts (line 84) | pub fn bind_group_layouts(&self) -> &[wgpu::BindGroupLayout] { method instance_buffer (line 88) | pub fn instance_buffer(&self) -> &wgpu::Buffer { constant BIND_GROUP_LAYOUT_ENTRIES (line 93) | const BIND_GROUP_LAYOUT_ENTRIES: &[wgpu::BindGroupLayoutEntry] = &[ type VertexPushConstants (line 118) | type VertexPushConstants = (); type SharedPushConstants (line 119) | type SharedPushConstants = (); type FragmentPushConstants (line 120) | type FragmentPushConstants = (); method name (line 122) | fn name() -> &'static str { method vertex_shader (line 126) | fn vertex_shader() -> &'static str { method fragment_shader (line 130) | fn fragment_shader() -> &'static str { method primitive_state (line 134) | fn primitive_state() -> wgpu::PrimitiveState { method bind_group_layout_descriptors (line 138) | fn bind_group_layout_descriptors() -> Vec Vec { method depth_stencil_state (line 149) | fn depth_stencil_state() -> Option { method vertex_buffer_layouts (line 153) | fn vertex_buffer_layouts() -> Vec> { type GlyphInstance (line 171) | pub struct GlyphInstance { type GlyphRendererCommand (line 177) | pub enum GlyphRendererCommand { type GlyphRenderer (line 192) | pub struct GlyphRenderer { method new (line 201) | pub fn new(state: &GraphicsState) -> GlyphRenderer { method generate_instances (line 268) | pub fn generate_instances( method record_draw (line 357) | pub fn record_draw<'a>( FILE: src/client/render/ui/hud.rs constant OVERLAY_WIDTH (line 29) | const OVERLAY_WIDTH: i32 = 320; constant OVERLAY_HEIGHT (line 30) | const OVERLAY_HEIGHT: i32 = 200; constant OVERLAY_X_OFS (line 32) | const OVERLAY_X_OFS: i32 = -OVERLAY_WIDTH / 2; constant OVERLAY_Y_OFS (line 33) | const OVERLAY_Y_OFS: i32 = -OVERLAY_HEIGHT / 2; constant OVERLAY_ANCHOR (line 35) | const OVERLAY_ANCHOR: Anchor = Anchor::CENTER; type HudState (line 37) | pub enum HudState<'a> { type HudTextureId (line 54) | enum HudTextureId { method fmt (line 75) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { constant WEAPON_ID_NAMES (line 99) | const WEAPON_ID_NAMES: [&'static str; 7] = [ type WeaponId (line 103) | enum WeaponId { method fmt (line 114) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type WeaponFrame (line 120) | enum WeaponFrame { method fmt (line 127) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { constant AMMO_ID_NAMES (line 136) | const AMMO_ID_NAMES: [&'static str; 4] = ["SHELLS", "NAILS", "ROCKET", "... type AmmoId (line 138) | enum AmmoId { method fmt (line 146) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { constant ITEM_ID_NAMES (line 151) | const ITEM_ID_NAMES: [&'static str; 6] = ["KEY1", "KEY2", "INVIS", "INVU... type ItemId (line 153) | enum ItemId { method fmt (line 163) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type FaceId (line 169) | enum FaceId { method fmt (line 178) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type HudRenderer (line 192) | pub struct HudRenderer { method new (line 198) | pub fn new(state: &GraphicsState) -> HudRenderer { method cmd_number (line 269) | fn cmd_number<'a>( method cmd_sbar_quad (line 323) | fn cmd_sbar_quad<'a>( method cmd_sbar_number (line 349) | fn cmd_sbar_number<'a>( method cmd_sbar (line 373) | fn cmd_sbar<'a>( method cmd_intermission_quad (line 551) | fn cmd_intermission_quad<'a>( method cmd_intermission_number (line 577) | fn cmd_intermission_number<'a>( method cmd_intermission_overlay (line 600) | fn cmd_intermission_overlay<'a>( method generate_commands (line 641) | pub fn generate_commands<'state, 'a>( FILE: src/client/render/ui/layout.rs type Layout (line 2) | pub struct Layout { type AnchorCoord (line 15) | pub enum AnchorCoord { method to_value (line 33) | pub fn to_value(&self, max: u32) -> i32 { type Anchor (line 49) | pub struct Anchor { constant BOTTOM_LEFT (line 58) | pub const BOTTOM_LEFT: Anchor = Anchor { constant CENTER_LEFT (line 62) | pub const CENTER_LEFT: Anchor = Anchor { constant TOP_LEFT (line 66) | pub const TOP_LEFT: Anchor = Anchor { constant BOTTOM_CENTER (line 70) | pub const BOTTOM_CENTER: Anchor = Anchor { constant CENTER (line 74) | pub const CENTER: Anchor = Anchor { constant TOP_CENTER (line 78) | pub const TOP_CENTER: Anchor = Anchor { constant BOTTOM_RIGHT (line 82) | pub const BOTTOM_RIGHT: Anchor = Anchor { constant CENTER_RIGHT (line 86) | pub const CENTER_RIGHT: Anchor = Anchor { constant TOP_RIGHT (line 90) | pub const TOP_RIGHT: Anchor = Anchor { method absolute_xy (line 95) | pub fn absolute_xy(x: i32, y: i32) -> Anchor { method to_xy (line 102) | pub fn to_xy(&self, width: u32, height: u32) -> (i32, i32) { type ScreenPosition (line 109) | pub enum ScreenPosition { method to_xy (line 126) | pub fn to_xy(&self, display_width: u32, display_height: u32, scale: f3... type Size (line 153) | pub enum Size { method to_wh (line 177) | pub fn to_wh( function test_anchor_to_xy (line 203) | fn test_anchor_to_xy() { FILE: src/client/render/ui/menu.rs constant MENU_WIDTH (line 21) | const MENU_WIDTH: i32 = 320; constant MENU_HEIGHT (line 22) | const MENU_HEIGHT: i32 = 200; constant SLIDER_LEFT (line 24) | const SLIDER_LEFT: u8 = 128; constant SLIDER_MIDDLE (line 25) | const SLIDER_MIDDLE: u8 = 129; constant SLIDER_RIGHT (line 26) | const SLIDER_RIGHT: u8 = 130; constant SLIDER_HANDLE (line 27) | const SLIDER_HANDLE: u8 = 131; constant SLIDER_WIDTH (line 28) | const SLIDER_WIDTH: i32 = 10; type Align (line 31) | enum Align { method x_ofs (line 37) | pub fn x_ofs(&self) -> i32 { method anchor (line 44) | pub fn anchor(&self) -> Anchor { type MenuRenderer (line 52) | pub struct MenuRenderer { method new (line 57) | pub fn new(state: &GraphicsState, menu: &Menu) -> MenuRenderer { method texture (line 94) | fn texture(&self, name: S) -> &QuadTexture method cmd_draw_quad (line 102) | fn cmd_draw_quad<'state>( method cmd_draw_glyph (line 125) | fn cmd_draw_glyph( method cmd_draw_plaque (line 145) | fn cmd_draw_plaque<'a>(&'a self, scale: f32, quad_cmds: &mut Vec( method cmd_draw_body_predef (line 162) | fn cmd_draw_body_predef<'a, S>( method cmd_draw_item_name (line 186) | fn cmd_draw_item_name( method cmd_draw_item_text (line 208) | fn cmd_draw_item_text( method cmd_draw_slider (line 230) | fn cmd_draw_slider( method cmd_draw_body_dynamic (line 247) | fn cmd_draw_body_dynamic( method generate_commands (line 290) | pub fn generate_commands<'a>( FILE: src/client/render/ui/mod.rs function screen_space_vertex_translate (line 31) | pub fn screen_space_vertex_translate( function screen_space_vertex_scale (line 44) | pub fn screen_space_vertex_scale( function screen_space_vertex_transform (line 56) | pub fn screen_space_vertex_transform( type UiOverlay (line 76) | pub enum UiOverlay<'a> { type UiState (line 81) | pub enum UiState<'a> { type UiRenderer (line 91) | pub struct UiRenderer { method new (line 100) | pub fn new(state: &GraphicsState, menu: &Menu) -> UiRenderer { method render_pass (line 110) | pub fn render_pass<'pass>( FILE: src/client/render/ui/quad.rs constant VERTICES (line 21) | pub const VERTICES: [QuadVertex; 6] = [ type Position (line 49) | pub type Position = [f32; 2]; type Texcoord (line 50) | pub type Texcoord = [f32; 2]; type QuadVertex (line 54) | pub struct QuadVertex { type QuadPipeline (line 76) | pub struct QuadPipeline { method new (line 85) | pub fn new( method rebuild (line 112) | pub fn rebuild( method pipeline (line 122) | pub fn pipeline(&self) -> &wgpu::RenderPipeline { method bind_group_layouts (line 126) | pub fn bind_group_layouts(&self) -> &[wgpu::BindGroupLayout] { method vertex_buffer (line 130) | pub fn vertex_buffer(&self) -> &wgpu::Buffer { method uniform_buffer (line 134) | pub fn uniform_buffer(&self) -> Ref> { method uniform_buffer_mut (line 138) | pub fn uniform_buffer_mut(&self) -> RefMut Ref &'static str { method bind_group_layout_descriptors (line 204) | fn bind_group_layout_descriptors() -> Vec &'static str { method fragment_shader (line 228) | fn fragment_shader() -> &'static str { method primitive_state (line 232) | fn primitive_state() -> wgpu::PrimitiveState { method color_target_states (line 244) | fn color_target_states() -> Vec { method depth_stencil_state (line 252) | fn depth_stencil_state() -> Option { method vertex_buffer_layouts (line 257) | fn vertex_buffer_layouts() -> Vec> { type QuadUniforms (line 268) | pub struct QuadUniforms { type QuadTexture (line 272) | pub struct QuadTexture { method from_qpic (line 283) | pub fn from_qpic(state: &GraphicsState, qpic: &QPic) -> QuadTexture { method width (line 312) | pub fn width(&self) -> u32 { method height (line 316) | pub fn height(&self) -> u32 { method scale_width (line 320) | pub fn scale_width(&self, scale: f32) -> u32 { method scale_height (line 324) | pub fn scale_height(&self, scale: f32) -> u32 { type QuadRendererCommand (line 330) | pub struct QuadRendererCommand<'a> { type QuadRenderer (line 338) | pub struct QuadRenderer { method new (line 344) | pub fn new(state: &GraphicsState) -> QuadRenderer { method generate_uniforms (line 376) | fn generate_uniforms<'cmds>( method record_draw (line 426) | pub fn record_draw<'pass, 'cmds>( FILE: src/client/render/uniform.rs constant DYNAMIC_UNIFORM_BUFFER_SIZE (line 16) | const DYNAMIC_UNIFORM_BUFFER_SIZE: wgpu::BufferAddress = 65536; constant DYNAMIC_UNIFORM_BUFFER_ALIGNMENT (line 19) | pub const DYNAMIC_UNIFORM_BUFFER_ALIGNMENT: usize = 256; type UniformBool (line 23) | pub struct UniformBool { method new (line 28) | pub fn new(value: bool) -> UniformBool { type UniformArrayFloat (line 38) | pub struct UniformArrayFloat { method new (line 43) | pub fn new(value: f32) -> UniformArrayFloat { type DynamicUniformBuffer (line 51) | pub struct DynamicUniformBuffer function new (line 71) | pub fn new<'b>(device: &'b wgpu::Device) -> DynamicUniformBuffer { function block_size (line 94) | pub fn block_size(&self) -> wgpu::BufferSize { function allocate (line 104) | pub fn allocate(&mut self, val: T) -> DynamicUniformBufferBlock { function write_block (line 131) | pub fn write_block(&mut self, block: &DynamicUniformBufferBlock, val:... function clear (line 142) | pub fn clear(&self) -> Result<(), Error> { function flush (line 157) | pub fn flush(&self, queue: &wgpu::Queue) { function buffer (line 161) | pub fn buffer(&self) -> &wgpu::Buffer { type DynamicUniformBufferBlock (line 168) | pub struct DynamicUniformBufferBlock { function offset (line 176) | pub fn offset(&self) -> wgpu::DynamicOffset { function clear_and_rewrite (line 181) | pub fn clear_and_rewrite( FILE: src/client/render/warp.rs constant SUBDIVIDE_SIZE (line 8) | const SUBDIVIDE_SIZE: f32 = 32.0; function subdivide (line 22) | pub fn subdivide(verts: Vec>) -> Vec> { function subdivide_impl (line 28) | fn subdivide_impl(mut verts: Vec>, output: &mut Vec &wgpu::RenderPipeline { method bind_group_layouts (line 57) | pub fn bind_group_layouts(&self) -> &[wgpu::BindGroupLayout] { type VertexPushConstants (line 64) | pub struct VertexPushConstants { type VertexPushConstants (line 84) | type VertexPushConstants = VertexPushConstants; type SharedPushConstants (line 85) | type SharedPushConstants = (); type FragmentPushConstants (line 86) | type FragmentPushConstants = (); method name (line 88) | fn name() -> &'static str { method vertex_shader (line 92) | fn vertex_shader() -> &'static str { method fragment_shader (line 96) | fn fragment_shader() -> &'static str { method bind_group_layout_descriptors (line 100) | fn bind_group_layout_descriptors() -> Vec wgpu::PrimitiveState { method color_target_states (line 126) | fn color_target_states() -> Vec { method depth_stencil_state (line 130) | fn depth_stencil_state() -> Option { method vertex_buffer_layouts (line 135) | fn vertex_buffer_layouts() -> Vec> { type Position (line 145) | type Position = [f32; 3]; type Normal (line 146) | type Normal = [f32; 3]; type DiffuseTexcoord (line 147) | type DiffuseTexcoord = [f32; 2]; type AliasVertex (line 151) | struct AliasVertex { type Keyframe (line 157) | enum Keyframe { method animate (line 169) | fn animate(&self, time: Duration) -> Range { type Texture (line 192) | enum Texture { method animate (line 208) | fn animate(&self, time: Duration) -> &wgpu::BindGroup { type AliasRenderer (line 233) | pub struct AliasRenderer { method new (line 240) | pub fn new(state: &GraphicsState, alias_model: &AliasModel) -> Result<... method record_draw (line 418) | pub fn record_draw<'a>( FILE: src/client/render/world/brush.rs type BrushPipeline (line 53) | pub struct BrushPipeline { method new (line 59) | pub fn new( method rebuild (line 76) | pub fn rebuild( method pipeline (line 90) | pub fn pipeline(&self) -> &wgpu::RenderPipeline { method bind_group_layouts (line 94) | pub fn bind_group_layouts(&self) -> &[wgpu::BindGroupLayout] { method bind_group_layout (line 98) | pub fn bind_group_layout(&self, id: BindGroupLayoutId) -> &wgpu::BindG... type VertexPushConstants (line 106) | pub struct VertexPushConstants { type SharedPushConstants (line 113) | pub struct SharedPushConstants { constant BIND_GROUP_LAYOUT_ENTRIES (line 117) | const BIND_GROUP_LAYOUT_ENTRIES: &[&[wgpu::BindGroupLayoutEntry]] = &[ type VertexPushConstants (line 174) | type VertexPushConstants = VertexPushConstants; type SharedPushConstants (line 175) | type SharedPushConstants = SharedPushConstants; type FragmentPushConstants (line 176) | type FragmentPushConstants = (); method name (line 178) | fn name() -> &'static str { method vertex_shader (line 182) | fn vertex_shader() -> &'static str { method fragment_shader (line 186) | fn fragment_shader() -> &'static str { method bind_group_layout_descriptors (line 192) | fn bind_group_layout_descriptors() -> Vec wgpu::PrimitiveState { method color_target_states (line 211) | fn color_target_states() -> Vec { method depth_stencil_state (line 215) | fn depth_stencil_state() -> Option { method vertex_buffer_layouts (line 220) | fn vertex_buffer_layouts() -> Vec> { function calculate_lightmap_texcoords (line 229) | fn calculate_lightmap_texcoords( type Position (line 246) | type Position = [f32; 3]; type Normal (line 247) | type Normal = [f32; 3]; type DiffuseTexcoord (line 248) | type DiffuseTexcoord = [f32; 2]; type LightmapTexcoord (line 249) | type LightmapTexcoord = [f32; 2]; type LightmapAnim (line 250) | type LightmapAnim = [u8; 4]; type BrushVertex (line 254) | struct BrushVertex { type TextureKind (line 264) | pub enum TextureKind { type BrushTextureFrame (line 271) | pub struct BrushTextureFrame { type BrushTexture (line 281) | pub enum BrushTexture { method kind (line 296) | fn kind(&self) -> TextureKind { type BrushFace (line 305) | struct BrushFace { type BrushLeaf (line 323) | struct BrushLeaf { method from (line 331) | fn from(bsp_leaf: B) -> Self { type BrushRendererBuilder (line 339) | pub struct BrushRendererBuilder { method new (line 357) | pub fn new(bsp_model: &BspModel, worldmodel: bool) -> BrushRendererBui... method create_face (line 382) | fn create_face(&mut self, state: &GraphicsState, face_id: usize) -> Br... method create_per_texture_bind_group (line 491) | fn create_per_texture_bind_group( method create_per_face_bind_group (line 516) | fn create_per_face_bind_group(&self, state: &GraphicsState, face_id: u... method create_brush_texture_frame (line 542) | fn create_brush_texture_frame( method create_brush_texture (line 596) | pub fn create_brush_texture(&self, state: &GraphicsState, tex: &BspTex... method build (line 648) | pub fn build(mut self, state: &GraphicsState) -> Result( FILE: src/client/render/world/deferred.rs type PointLight (line 15) | pub struct PointLight { type DeferredUniforms (line 22) | pub struct DeferredUniforms { type DeferredPipeline (line 29) | pub struct DeferredPipeline { method new (line 36) | pub fn new( method rebuild (line 68) | pub fn rebuild( method pipeline (line 79) | pub fn pipeline(&self) -> &wgpu::RenderPipeline { method bind_group_layouts (line 83) | pub fn bind_group_layouts(&self) -> &[wgpu::BindGroupLayout] { method uniform_buffer (line 87) | pub fn uniform_buffer(&self) -> &wgpu::Buffer { constant BIND_GROUP_LAYOUT_ENTRIES (line 92) | const BIND_GROUP_LAYOUT_ENTRIES: &[wgpu::BindGroupLayoutEntry] = &[ type VertexPushConstants (line 161) | type VertexPushConstants = (); type SharedPushConstants (line 162) | type SharedPushConstants = (); type FragmentPushConstants (line 163) | type FragmentPushConstants = (); method name (line 165) | fn name() -> &'static str { method bind_group_layout_descriptors (line 169) | fn bind_group_layout_descriptors() -> Vec &'static str { method fragment_shader (line 183) | fn fragment_shader() -> &'static str { method primitive_state (line 190) | fn primitive_state() -> wgpu::PrimitiveState { method color_target_states (line 194) | fn color_target_states() -> Vec { method depth_stencil_state (line 198) | fn depth_stencil_state() -> Option { method vertex_buffer_layouts (line 202) | fn vertex_buffer_layouts() -> Vec> { type DeferredRenderer (line 207) | pub struct DeferredRenderer { method create_bind_group (line 212) | fn create_bind_group( method new (line 263) | pub fn new( method rebuild (line 281) | pub fn rebuild( method update_uniform_buffers (line 298) | pub fn update_uniform_buffers(&self, state: &GraphicsState, uniforms: ... method record_draw (line 307) | pub fn record_draw<'pass>( FILE: src/client/render/world/mod.rs type WorldPipelineBase (line 100) | struct WorldPipelineBase; type VertexPushConstants (line 103) | type VertexPushConstants = (); type SharedPushConstants (line 104) | type SharedPushConstants = (); type FragmentPushConstants (line 105) | type FragmentPushConstants = (); method name (line 107) | fn name() -> &'static str { method vertex_shader (line 111) | fn vertex_shader() -> &'static str { method fragment_shader (line 115) | fn fragment_shader() -> &'static str { method bind_group_layout_descriptors (line 119) | fn bind_group_layout_descriptors() -> Vec wgpu::PrimitiveState { method color_target_states (line 136) | fn color_target_states() -> Vec { method depth_stencil_state (line 159) | fn depth_stencil_state() -> Option { method vertex_buffer_layouts (line 178) | fn vertex_buffer_layouts() -> Vec> { type BindGroupLayoutId (line 184) | pub enum BindGroupLayoutId { type Camera (line 191) | pub struct Camera { method new (line 202) | pub fn new(origin: Vector3, angles: Angles, projection: Matrix4 Vector3 { method angles (line 243) | pub fn angles(&self) -> Angles { method view (line 247) | pub fn view(&self) -> Matrix4 { method view_projection (line 251) | pub fn view_projection(&self) -> Matrix4 { method projection (line 255) | pub fn projection(&self) -> Matrix4 { method inverse_projection (line 259) | pub fn inverse_projection(&self) -> Matrix4 { method cull_point (line 265) | pub fn cull_point(&self, p: Vector3) -> bool { type FrameUniforms (line 279) | pub struct FrameUniforms { type EntityUniforms (line 291) | pub struct EntityUniforms { type EntityRenderer (line 299) | enum EntityRenderer { type WorldRenderer (line 307) | pub struct WorldRenderer { method new (line 316) | pub fn new(state: &GraphicsState, models: &[Model], worldmodel_id: usi... method update_uniform_buffers (line 372) | pub fn update_uniform_buffers<'a, I>( method render_pass (line 430) | pub fn render_pass<'a, E, P>( method renderer_for_entity (line 562) | fn renderer_for_entity(&self, ent: &ClientEntity) -> &EntityRenderer { method calculate_mvp_transform (line 567) | fn calculate_mvp_transform(&self, camera: &Camera, entity: &ClientEnti... method calculate_mv_transform (line 573) | fn calculate_mv_transform(&self, camera: &Camera, entity: &ClientEntit... method calculate_model_transform (line 579) | fn calculate_model_transform(&self, camera: &Camera, entity: &ClientEn... FILE: src/client/render/world/particle.rs constant PARTICLE_TEXTURE_PIXELS (line 34) | const PARTICLE_TEXTURE_PIXELS: [u8; 64] = [ type ParticlePipeline (line 45) | pub struct ParticlePipeline { method new (line 56) | pub fn new( method rebuild (line 145) | pub fn rebuild( method pipeline (line 155) | pub fn pipeline(&self) -> &wgpu::RenderPipeline { method bind_group_layouts (line 159) | pub fn bind_group_layouts(&self) -> &[wgpu::BindGroupLayout] { method vertex_buffer (line 163) | pub fn vertex_buffer(&self) -> &wgpu::Buffer { method record_draw (line 167) | pub fn record_draw<'a, 'b, P>( type VertexPushConstants (line 212) | pub struct VertexPushConstants { type FragmentPushConstants (line 217) | pub struct FragmentPushConstants { constant BIND_GROUP_LAYOUT_ENTRIES (line 221) | const BIND_GROUP_LAYOUT_ENTRIES: &[wgpu::BindGroupLayoutEntry] = &[ type VertexPushConstants (line 262) | type VertexPushConstants = VertexPushConstants; type SharedPushConstants (line 263) | type SharedPushConstants = (); type FragmentPushConstants (line 264) | type FragmentPushConstants = FragmentPushConstants; method name (line 266) | fn name() -> &'static str { method vertex_shader (line 270) | fn vertex_shader() -> &'static str { method fragment_shader (line 277) | fn fragment_shader() -> &'static str { method bind_group_layout_descriptors (line 286) | fn bind_group_layout_descriptors() -> Vec wgpu::PrimitiveState { method color_target_states (line 300) | fn color_target_states() -> Vec { method depth_stencil_state (line 304) | fn depth_stencil_state() -> Option { method vertex_buffer_layouts (line 311) | fn vertex_buffer_layouts() -> Vec> { type ParticleVertex (line 322) | pub struct ParticleVertex { constant VERTICES (line 327) | pub const VERTICES: [ParticleVertex; 6] = [ type ParticleInstance (line 355) | pub struct ParticleInstance { FILE: src/client/render/world/postprocess.rs type PostProcessUniforms (line 10) | pub struct PostProcessUniforms { type PostProcessPipeline (line 14) | pub struct PostProcessPipeline { method new (line 21) | pub fn new( method rebuild (line 46) | pub fn rebuild( method pipeline (line 57) | pub fn pipeline(&self) -> &wgpu::RenderPipeline { method bind_group_layouts (line 61) | pub fn bind_group_layouts(&self) -> &[wgpu::BindGroupLayout] { method uniform_buffer (line 65) | pub fn uniform_buffer(&self) -> &wgpu::Buffer { constant BIND_GROUP_LAYOUT_ENTRIES (line 70) | const BIND_GROUP_LAYOUT_ENTRIES: &[wgpu::BindGroupLayoutEntry] = &[ type VertexPushConstants (line 106) | type VertexPushConstants = (); type SharedPushConstants (line 107) | type SharedPushConstants = (); type FragmentPushConstants (line 108) | type FragmentPushConstants = (); method name (line 110) | fn name() -> &'static str { method bind_group_layout_descriptors (line 114) | fn bind_group_layout_descriptors() -> Vec &'static str { method fragment_shader (line 128) | fn fragment_shader() -> &'static str { method primitive_state (line 135) | fn primitive_state() -> wgpu::PrimitiveState { method color_target_states (line 139) | fn color_target_states() -> Vec { method depth_stencil_state (line 143) | fn depth_stencil_state() -> Option { method vertex_buffer_layouts (line 147) | fn vertex_buffer_layouts() -> Vec> { type PostProcessRenderer (line 152) | pub struct PostProcessRenderer { method create_bind_group (line 157) | pub fn create_bind_group( method new (line 191) | pub fn new(state: &GraphicsState, color_buffer: &wgpu::TextureView) ->... method rebuild (line 197) | pub fn rebuild(&mut self, state: &GraphicsState, color_buffer: &wgpu::... method update_uniform_buffers (line 201) | pub fn update_uniform_buffers(&self, state: &GraphicsState, color_shif... method record_draw (line 210) | pub fn record_draw<'pass>( FILE: src/client/render/world/sprite.rs type SpritePipeline (line 16) | pub struct SpritePipeline { method new (line 23) | pub fn new( method rebuild (line 46) | pub fn rebuild( method pipeline (line 60) | pub fn pipeline(&self) -> &wgpu::RenderPipeline { method bind_group_layouts (line 64) | pub fn bind_group_layouts(&self) -> &[wgpu::BindGroupLayout] { method vertex_buffer (line 68) | pub fn vertex_buffer(&self) -> &wgpu::Buffer { type VertexPushConstants (line 86) | type VertexPushConstants = (); type SharedPushConstants (line 87) | type SharedPushConstants = (); type FragmentPushConstants (line 88) | type FragmentPushConstants = (); method name (line 90) | fn name() -> &'static str { method vertex_shader (line 94) | fn vertex_shader() -> &'static str { method fragment_shader (line 98) | fn fragment_shader() -> &'static str { method bind_group_layout_descriptors (line 104) | fn bind_group_layout_descriptors() -> Vec wgpu::PrimitiveState { method color_target_states (line 130) | fn color_target_states() -> Vec { method depth_stencil_state (line 134) | fn depth_stencil_state() -> Option { method vertex_buffer_layouts (line 139) | fn vertex_buffer_layouts() -> Vec> { type Position (line 149) | type Position = [f32; 3]; type Normal (line 150) | type Normal = [f32; 3]; type DiffuseTexcoord (line 151) | type DiffuseTexcoord = [f32; 2]; type SpriteVertex (line 155) | pub struct SpriteVertex { constant VERTICES (line 161) | pub const VERTICES: [SpriteVertex; 6] = [ type Frame (line 194) | enum Frame { method new (line 210) | fn new(state: &GraphicsState, sframe: &SpriteFrame) -> Frame { method animate (line 279) | fn animate(&self, time: Duration) -> &wgpu::BindGroup { type SpriteRenderer (line 302) | pub struct SpriteRenderer { method new (line 308) | pub fn new(state: &GraphicsState, sprite: &SpriteModel) -> SpriteRende... method record_draw (line 321) | pub fn record_draw<'a>( method kind (line 338) | pub fn kind(&self) -> SpriteKind { FILE: src/client/sound/mod.rs constant DISTANCE_ATTENUATION_FACTOR (line 39) | pub const DISTANCE_ATTENUATION_FACTOR: f32 = 0.001; constant MAX_ENTITY_CHANNELS (line 40) | const MAX_ENTITY_CHANNELS: usize = 128; type SoundError (line 43) | pub enum SoundError { type Listener (line 58) | pub struct Listener { method new (line 65) | pub fn new() -> Listener { method origin (line 73) | pub fn origin(&self) -> Vector3 { method left_ear (line 77) | pub fn left_ear(&self) -> Vector3 { method right_ear (line 81) | pub fn right_ear(&self) -> Vector3 { method set_origin (line 85) | pub fn set_origin(&self, new_origin: Vector3) { method set_left_ear (line 89) | pub fn set_left_ear(&self, new_origin: Vector3) { method set_right_ear (line 93) | pub fn set_right_ear(&self, new_origin: Vector3) { method attenuate (line 97) | pub fn attenuate( type AudioSource (line 112) | pub struct AudioSource(Buffered>... method load (line 115) | pub fn load(vfs: &Vfs, name: S) -> Result type StaticSound (line 133) | pub struct StaticSound { method new (line 141) | pub fn new( method update (line 163) | pub fn update(&self, listener: &Listener) { type Channel (line 171) | pub struct Channel { method new (line 180) | pub fn new(stream: OutputStreamHandle) -> Channel { method play (line 190) | pub fn play( method update (line 216) | pub fn update(&self, ent_pos: Vector3, listener: &Listener) { method stop (line 228) | pub fn stop(&self) { method in_use (line 233) | pub fn in_use(&self) -> bool { type EntityChannel (line 250) | pub struct EntityChannel { method channel (line 259) | pub fn channel(&self) -> &Channel { method entity_id (line 263) | pub fn entity_id(&self) -> Option { type EntityMixer (line 268) | pub struct EntityMixer { method new (line 275) | pub fn new(stream: OutputStreamHandle) -> EntityMixer { method find_free_channel (line 288) | fn find_free_channel(&self, ent_id: Option, ent_channel: i8) ->... method start_sound (line 328) | pub fn start_sound( method iter_entity_channels (line 357) | pub fn iter_entity_channels(&self) -> impl Iterator OutputStreamHandle { FILE: src/client/sound/music.rs type MusicPlayer (line 11) | pub struct MusicPlayer { method new (line 19) | pub fn new(vfs: Rc, stream: OutputStreamHandle) -> MusicPlayer { method play_named (line 36) | pub fn play_named(&mut self, name: S) -> Result<(), SoundError> method play_track (line 83) | pub fn play_track(&mut self, track_id: usize) -> Result<(), SoundError> { method stop (line 93) | pub fn stop(&mut self) { method pause (line 102) | pub fn pause(&mut self) { method resume (line 112) | pub fn resume(&mut self) { FILE: src/client/state.rs constant CACHED_SOUND_NAMES (line 38) | const CACHED_SOUND_NAMES: &[&'static str] = &[ type PlayerInfo (line 48) | pub struct PlayerInfo { type ClientState (line 56) | pub struct ClientState { method new (line 123) | pub fn new(stream: OutputStreamHandle) -> ClientState { method from_server_info (line 179) | pub fn from_server_info( method advance_time (line 237) | pub fn advance_time(&mut self, frame_time: Duration) { method update_interp_ratio (line 245) | pub fn update_interp_ratio(&mut self, cl_nolerp: f32) { method update_entities (line 307) | pub fn update_entities(&mut self) -> Result<(), ClientError> { method update_temp_entities (line 514) | pub fn update_temp_entities(&mut self) -> Result<(), ClientError> { method update_player (line 559) | pub fn update_player(&mut self, update: PlayerData) { method handle_input (line 607) | pub fn handle_input( method handle_damage (line 683) | pub fn handle_damage( method calc_final_view (line 724) | pub fn calc_final_view( method spawn_entities (line 752) | pub fn spawn_entities(&mut self, id: usize, baseline: EntityState) -> ... method update_entity (line 773) | pub fn update_entity(&mut self, id: usize, update: EntityUpdate) -> Re... method spawn_temp_entity (line 824) | pub fn spawn_temp_entity(&mut self, temp_entity: &TempEntity) { method spawn_beam (line 1002) | pub fn spawn_beam( method update_listener (line 1039) | pub fn update_listener(&self) { method update_sound_spatialization (line 1057) | pub fn update_sound_spatialization(&self) { method view_leaf_contents (line 1077) | fn view_leaf_contents(&self) -> Result Result<... method set_view_angles (line 1159) | pub fn set_view_angles(&mut self, angles: Vector3>) { method update_view_angles (line 1174) | pub fn update_view_angles(&mut self, angles: Vector3>) { method set_view_entity (line 1188) | pub fn set_view_entity(&mut self, entity_id: usize) -> Result<(), Clie... method models (line 1199) | pub fn models(&self) -> &[Model] { method viewmodel_id (line 1203) | pub fn viewmodel_id(&self) -> usize { method iter_visible_entities (line 1210) | pub fn iter_visible_entities(&self) -> impl Iterator impl Iterator { method iter_lights (line 1222) | pub fn iter_lights(&self) -> impl Iterator { method time (line 1226) | pub fn time(&self) -> Duration { method view_entity_id (line 1230) | pub fn view_entity_id(&self) -> usize { method camera (line 1234) | pub fn camera(&self, aspect: f32, fov: Deg) -> Camera { method demo_camera (line 1243) | pub fn demo_camera(&self, aspect: f32, fov: Deg) -> Camera { method lightstyle_values (line 1257) | pub fn lightstyle_values(&self) -> Result, ClientErr... method intermission (line 1284) | pub fn intermission(&self) -> Option<&IntermissionKind> { method start_time (line 1288) | pub fn start_time(&self) -> Duration { method completion_time (line 1292) | pub fn completion_time(&self) -> Option { method stats (line 1296) | pub fn stats(&self) -> &[i32] { method items (line 1300) | pub fn items(&self) -> ItemFlags { method item_pickup_times (line 1304) | pub fn item_pickup_times(&self) -> &[Duration] { method face_anim_time (line 1308) | pub fn face_anim_time(&self) -> Duration { method color_shift (line 1312) | pub fn color_shift(&self) -> [f32; 4] { method check_entity_id (line 1332) | pub fn check_entity_id(&self, id: usize) -> Result<(), ClientError> { method check_player_id (line 1340) | pub fn check_player_id(&self, id: usize) -> Result<(), ClientError> { FILE: src/client/trace.rs type TraceEntity (line 28) | pub struct TraceEntity { type TraceFrame (line 35) | pub struct TraceFrame { FILE: src/client/view.rs type View (line 15) | pub struct View { method new (line 48) | pub fn new() -> View { method entity_id (line 63) | pub fn entity_id(&self) -> usize { method set_entity_id (line 67) | pub fn set_entity_id(&mut self, id: usize) { method view_height (line 71) | pub fn view_height(&self) -> f32 { method set_view_height (line 75) | pub fn set_view_height(&mut self, view_height: f32) { method ideal_pitch (line 79) | pub fn ideal_pitch(&self) -> Deg { method set_ideal_pitch (line 83) | pub fn set_ideal_pitch(&mut self, ideal_pitch: Deg) { method punch_angles (line 87) | pub fn punch_angles(&self) -> Angles { method set_punch_angles (line 91) | pub fn set_punch_angles(&mut self, punch_angles: Angles) { method input_angles (line 95) | pub fn input_angles(&self) -> Angles { method update_input_angles (line 100) | pub fn update_input_angles(&mut self, input_angles: Angles) { method handle_input (line 104) | pub fn handle_input( method handle_damage (line 154) | pub fn handle_damage( method calc_final_angles (line 178) | pub fn calc_final_angles( method final_angles (line 206) | pub fn final_angles(&self) -> Angles { method calc_final_origin (line 210) | pub fn calc_final_origin( method final_origin (line 224) | pub fn final_origin(&self) -> Vector3 { method viewmodel_angle (line 228) | pub fn viewmodel_angle(&self) -> Angles { type MouseVars (line 235) | pub struct MouseVars { type KickVars (line 242) | pub struct KickVars { type BobVars (line 249) | pub struct BobVars { function bob (line 255) | pub fn bob(time: Duration, velocity: Vector3, vars: BobVars) -> f32 { type RollVars (line 272) | pub struct RollVars { function roll (line 277) | pub fn roll(angles: Angles, velocity: Vector3, vars: RollVars) -> D... type IdleVars (line 293) | pub struct IdleVars { function idle (line 303) | pub fn idle(time: Duration, vars: IdleVars) -> Angles { FILE: src/common/alloc.rs type LinkedSlab (line 12) | pub struct LinkedSlab { function with_capacity (line 22) | pub fn with_capacity(capacity: usize) -> LinkedSlab { function capacity (line 30) | pub fn capacity(&self) -> usize { function clear (line 35) | pub fn clear(&mut self) { function len (line 41) | pub fn len(&self) -> usize { function is_empty (line 46) | pub fn is_empty(&self) -> bool { function iter (line 51) | pub fn iter(&self) -> impl Iterator { function get (line 60) | pub fn get(&self, key: usize) -> Option<&T> { function get_mut (line 67) | pub fn get_mut(&mut self, key: usize) -> Option<&mut T> { function insert (line 74) | pub fn insert(&mut self, val: T) -> usize { function remove (line 85) | pub fn remove(&mut self, key: usize) -> T { function contains (line 91) | pub fn contains(&self, key: usize) -> bool { function retain (line 100) | pub fn retain(&mut self, mut f: F) function test_iter (line 136) | fn test_iter() { function test_retain (line 156) | fn test_retain() { FILE: src/common/bitset.rs type BitSet (line 1) | pub struct BitSet { function new (line 6) | pub fn new() -> Self { function all_set (line 10) | pub fn all_set() -> Self { function bit_location (line 17) | fn bit_location(bit: u64) -> (u64, u64) { function count (line 25) | pub fn count(&self) -> usize { function contains (line 36) | pub fn contains(&self, bit: u64) -> bool { function set (line 42) | pub fn set(&mut self, bit: u64) { function clear (line 48) | pub fn clear(&mut self, bit: u64) { function toggle (line 54) | pub fn toggle(&mut self, bit: u64) { function iter (line 60) | pub fn iter(&self) -> BitSetIter<'_, N_64> { type BitSetIter (line 65) | pub struct BitSetIter<'a, const N_64: usize> { function new (line 72) | fn new(blocks: &'a [u64; N_64]) -> BitSetIter<'_, N_64> { type Item (line 82) | type Item = u64; method next (line 84) | fn next(&mut self) -> Option { function test_set_bit (line 116) | fn test_set_bit() { function test_clear_bit (line 128) | fn test_clear_bit() { function test_iter (line 140) | fn test_iter() { FILE: src/common/bsp/load.rs constant VERSION (line 45) | const VERSION: i32 = 29; constant MAX_MODELS (line 47) | pub const MAX_MODELS: usize = 256; constant MAX_LEAVES (line 48) | const MAX_LEAVES: usize = 32767; constant MAX_ENTSTRING (line 50) | const MAX_ENTSTRING: usize = 65536; constant MAX_PLANES (line 51) | const MAX_PLANES: usize = 8192; constant MAX_RENDER_NODES (line 52) | const MAX_RENDER_NODES: usize = 32767; constant MAX_COLLISION_NODES (line 53) | const MAX_COLLISION_NODES: usize = 32767; constant MAX_VERTICES (line 54) | const MAX_VERTICES: usize = 65535; constant MAX_FACES (line 55) | const MAX_FACES: usize = 65535; constant _MAX_MARKTEXINFO (line 56) | const _MAX_MARKTEXINFO: usize = 65535; constant _MAX_TEXINFO (line 57) | const _MAX_TEXINFO: usize = 4096; constant MAX_EDGES (line 58) | const MAX_EDGES: usize = 256000; constant MAX_EDGELIST (line 59) | const MAX_EDGELIST: usize = 512000; constant MAX_TEXTURES (line 60) | const MAX_TEXTURES: usize = 0x200000; constant _MAX_LIGHTMAP (line 61) | const _MAX_LIGHTMAP: usize = 0x100000; constant MAX_VISLIST (line 62) | const MAX_VISLIST: usize = 0x100000; constant TEX_NAME_MAX (line 64) | const TEX_NAME_MAX: usize = 16; constant NUM_AMBIENTS (line 66) | const NUM_AMBIENTS: usize = 4; constant MAX_TEXTURE_FRAMES (line 67) | const MAX_TEXTURE_FRAMES: usize = 10; constant TEXTURE_FRAME_LEN_MS (line 68) | const TEXTURE_FRAME_LEN_MS: i64 = 200; constant ASCII_0 (line 70) | const ASCII_0: usize = '0' as usize; constant ASCII_9 (line 71) | const ASCII_9: usize = '9' as usize; constant ASCII_CAPITAL_A (line 72) | const ASCII_CAPITAL_A: usize = 'A' as usize; constant ASCII_CAPITAL_J (line 73) | const ASCII_CAPITAL_J: usize = 'J' as usize; constant ASCII_SMALL_A (line 74) | const ASCII_SMALL_A: usize = 'a' as usize; constant ASCII_SMALL_J (line 75) | const ASCII_SMALL_J: usize = 'j' as usize; type BspFileError (line 78) | pub enum BspFileError { type BspFileSection (line 102) | struct BspFileSection { method read_from (line 108) | fn read_from(reader: &mut R) -> Result constant SECTION_COUNT (line 126) | const SECTION_COUNT: usize = 15; type BspFileSectionId (line 128) | pub enum BspFileSectionId { method element_size (line 160) | fn element_size(&self) -> usize { constant PLANE_SIZE (line 146) | const PLANE_SIZE: usize = 20; constant RENDER_NODE_SIZE (line 147) | const RENDER_NODE_SIZE: usize = 24; constant LEAF_SIZE (line 148) | const LEAF_SIZE: usize = 28; constant TEXTURE_INFO_SIZE (line 149) | const TEXTURE_INFO_SIZE: usize = 40; constant FACE_SIZE (line 150) | const FACE_SIZE: usize = 20; constant COLLISION_NODE_SIZE (line 151) | const COLLISION_NODE_SIZE: usize = 8; constant FACELIST_SIZE (line 152) | const FACELIST_SIZE: usize = 2; constant EDGE_SIZE (line 153) | const EDGE_SIZE: usize = 4; constant EDGELIST_SIZE (line 154) | const EDGELIST_SIZE: usize = 4; constant MODEL_SIZE (line 155) | const MODEL_SIZE: usize = 64; constant VERTEX_SIZE (line 156) | const VERTEX_SIZE: usize = 12; type BspFileTable (line 182) | struct BspFileTable { method read_from (line 187) | fn read_from(reader: &mut R) -> Result method section (line 207) | fn section(&self, section_id: BspFileSectionId) -> BspFileSection { method check_end_position (line 211) | fn check_end_position( function read_hyperplane (line 230) | fn read_hyperplane(reader: &mut R) -> Result type BspFileTexture (line 249) | struct BspFileTexture { function load_texture (line 260) | fn load_texture( function load_render_node (line 306) | fn load_render_node(reader: &mut R) -> Result(reader: &mut R, texture_count: usize) -> Result(data: R) -> Result<(Vec, String), failure::Error> function read_i16_3 (line 1112) | fn read_i16_3(reader: &mut R) -> Result<[i16; 3], std::io::Error> FILE: src/common/bsp/mod.rs constant MAX_HULLS (line 134) | const MAX_HULLS: usize = 3; constant MAX_LIGHTMAPS (line 136) | pub const MAX_LIGHTMAPS: usize = 64; constant MAX_LIGHTSTYLES (line 137) | pub const MAX_LIGHTSTYLES: usize = 4; constant MAX_SOUNDS (line 138) | pub const MAX_SOUNDS: usize = 4; constant MIPLEVELS (line 139) | pub const MIPLEVELS: usize = 4; constant DIST_EPSILON (line 140) | const DIST_EPSILON: f32 = 0.03125; function frame_duration (line 142) | pub fn frame_duration() -> Duration { type BspError (line 147) | pub enum BspError { method with_msg (line 153) | fn with_msg(msg: S) -> Self method fmt (line 162) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 180) | fn from(error: ::std::io::Error) -> Self { method description (line 171) | fn description(&self) -> &str { type BspTextureMipmap (line 186) | pub enum BspTextureMipmap { type BspTextureFrame (line 194) | pub struct BspTextureFrame { method mipmap (line 199) | pub fn mipmap(&self, level: BspTextureMipmap) -> &[u8] { type BspTextureKind (line 205) | pub enum BspTextureKind { type BspTexture (line 214) | pub struct BspTexture { method name (line 223) | pub fn name(&self) -> &str { method width (line 227) | pub fn width(&self) -> u32 { method height (line 231) | pub fn height(&self) -> u32 { method dimensions (line 236) | pub fn dimensions(&self) -> (u32, u32) { method kind (line 241) | pub fn kind(&self) -> &BspTextureKind { type BspRenderNodeChild (line 247) | pub enum BspRenderNodeChild { type BspRenderNode (line 253) | pub struct BspRenderNode { type BspTexInfo (line 263) | pub struct BspTexInfo { type BspFaceSide (line 273) | pub enum BspFaceSide { type BspFace (line 279) | pub struct BspFace { type BspLeafContents (line 294) | pub enum BspLeafContents { type BspCollisionNodeChild (line 347) | pub enum BspCollisionNodeChild { type BspCollisionNode (line 353) | pub struct BspCollisionNode { type BspCollisionHull (line 359) | pub struct BspCollisionHull { method for_bounds (line 374) | pub fn for_bounds( method min (line 460) | pub fn min(&self) -> Vector3 { method max (line 464) | pub fn max(&self) -> Vector3 { method contents_at_point (line 469) | pub fn contents_at_point(&self, point: Vector3) -> Result, end: Vector3) -> Result<... method recursive_trace (line 494) | fn recursive_trace( method gen_dot_graph (line 584) | pub fn gen_dot_graph(&self) -> String { method gen_dot_graph_recursive (line 618) | fn gen_dot_graph_recursive( type BspLeaf (line 653) | pub struct BspLeaf { type BspEdge (line 664) | pub struct BspEdge { type BspEdgeDirection (line 669) | pub enum BspEdgeDirection { type BspEdgeIndex (line 675) | pub struct BspEdgeIndex { type BspLightmap (line 681) | pub struct BspLightmap<'a> { function width (line 688) | pub fn width(&self) -> u32 { function height (line 692) | pub fn height(&self) -> u32 { function data (line 696) | pub fn data(&self) -> &[u8] { type BspData (line 702) | pub struct BspData { method planes (line 719) | pub fn planes(&self) -> &[Hyperplane] { method textures (line 723) | pub fn textures(&self) -> &[BspTexture] { method vertices (line 727) | pub fn vertices(&self) -> &[Vector3] { method render_nodes (line 731) | pub fn render_nodes(&self) -> &[BspRenderNode] { method texinfo (line 735) | pub fn texinfo(&self) -> &[BspTexInfo] { method face (line 739) | pub fn face(&self, face_id: usize) -> &BspFace { method face_iter_vertices (line 743) | pub fn face_iter_vertices(&self, face_id: usize) -> impl Iterator &BspTexInfo { method face_lightmaps (line 756) | pub fn face_lightmaps(&self, face_id: usize) -> Vec { method faces (line 783) | pub fn faces(&self) -> &[BspFace] { method lightmaps (line 787) | pub fn lightmaps(&self) -> &[u8] { method leaves (line 791) | pub fn leaves(&self) -> &[BspLeaf] { method facelist (line 795) | pub fn facelist(&self) -> &[usize] { method edges (line 799) | pub fn edges(&self) -> &[BspEdge] { method edgelist (line 803) | pub fn edgelist(&self) -> &[BspEdgeIndex] { method hulls (line 807) | pub fn hulls(&self) -> &[BspCollisionHull] { method find_leaf (line 812) | pub fn find_leaf(&self, pos: V) -> usize method get_pvs (line 831) | pub fn get_pvs(&self, leaf_id: usize, leaf_count: usize) -> Vec { method gen_dot_graph (line 868) | pub fn gen_dot_graph(&self) -> String { method gen_dot_graph_recursive (line 901) | fn gen_dot_graph_recursive( type BspModel (line 939) | pub struct BspModel { method bsp_data (line 953) | pub fn bsp_data(&self) -> Rc { method min (line 958) | pub fn min(&self) -> Vector3 { method max (line 963) | pub fn max(&self) -> Vector3 { method size (line 968) | pub fn size(&self) -> Vector3 { method origin (line 973) | pub fn origin(&self) -> Vector3 { method iter_leaves (line 977) | pub fn iter_leaves(&self) -> impl Iterator { method iter_faces (line 982) | pub fn iter_faces(&self) -> impl Iterator { method face_list (line 988) | pub fn face_list(&self) -> &[usize] { method hull (line 992) | pub fn hull(&self, index: usize) -> Result { function test_hull_for_bounds (line 1020) | fn test_hull_for_bounds() { FILE: src/common/console/mod.rs type ConsoleError (line 35) | pub enum ConsoleError { type Cmd (line 50) | type Cmd = Box String>; function insert_name (line 52) | fn insert_name(names: &mut Vec, name: S) -> Result type CmdRegistry (line 67) | pub struct CmdRegistry { method new (line 73) | pub fn new(names: Rc>>) -> CmdRegistry { method insert (line 83) | pub fn insert(&mut self, name: S, cmd: Cmd) -> Result<(), ConsoleEr... method insert_or_replace (line 104) | pub fn insert_or_replace(&mut self, name: S, cmd: Cmd) -> Result<()... method remove (line 125) | pub fn remove(&mut self, name: S) -> Result<(), ConsoleError> method exec (line 145) | pub fn exec(&mut self, name: S, args: &[&str]) -> Result(&self, name: S) -> bool method names (line 164) | pub fn names(&self) -> Rc>> { type Cvar (line 173) | struct Cvar { type CvarRegistry (line 190) | pub struct CvarRegistry { method new (line 197) | pub fn new(names: Rc>>) -> CvarRegistry { method register_impl (line 204) | fn register_impl( method register (line 241) | pub fn register(&self, name: S, default: S) -> Result<(), ConsoleEr... method register_archive (line 252) | pub fn register_archive(&self, name: S, default: S) -> Result<(), C... method register_notify (line 264) | pub fn register_notify(&self, name: S, default: S) -> Result<(), Co... method register_archive_notify (line 279) | pub fn register_archive_notify(&mut self, name: S, default: S) -> R... method get (line 286) | pub fn get(&self, name: S) -> Result method get_value (line 299) | pub fn get_value(&self, name: S) -> Result method set (line 327) | pub fn set(&self, name: S, value: S) -> Result<(), ConsoleError> method contains (line 345) | pub fn contains(&self, name: S) -> bool type ConsoleInput (line 354) | pub struct ConsoleInput { method new (line 363) | pub fn new() -> ConsoleInput { method get_text (line 371) | pub fn get_text(&self) -> Vec { method set_text (line 378) | pub fn set_text(&mut self, text: &Vec) { method insert (line 386) | pub fn insert(&mut self, c: char) { method cursor_right (line 394) | pub fn cursor_right(&mut self) { method cursor_left (line 403) | pub fn cursor_left(&mut self) { method delete (line 412) | pub fn delete(&mut self) { method backspace (line 421) | pub fn backspace(&mut self) { method clear (line 431) | pub fn clear(&mut self) { type History (line 437) | pub struct History { method new (line 443) | pub fn new() -> History { method add_line (line 450) | pub fn add_line(&mut self, line: Vec) { method line_up (line 456) | pub fn line_up(&mut self) -> Option> { method line_down (line 465) | pub fn line_down(&mut self) -> Option> { type ConsoleOutput (line 478) | pub struct ConsoleOutput { method new (line 489) | pub fn new() -> ConsoleOutput { method push (line 495) | fn push(&mut self, chars: C, timestamp: Option) method lines (line 504) | pub fn lines(&self) -> impl Iterator { method recent_lines (line 516) | pub fn recent_lines( type Console (line 537) | pub struct Console { method new (line 551) | pub fn new(cmds: Rc>, cvars: Rc(&self, s: S, timestamp: Option) method print (line 661) | pub fn print(&self, s: S) method print_alert (line 668) | pub fn print_alert(&self, s: S) method println (line 675) | pub fn println(&self, s: S) method println_alert (line 683) | pub fn println_alert(&self, s: S) method send_char (line 692) | pub fn send_char(&mut self, c: char) { method cursor (line 725) | pub fn cursor(&self) -> usize { method cursor_right (line 729) | pub fn cursor_right(&mut self) { method cursor_left (line 733) | pub fn cursor_left(&mut self) { method history_up (line 737) | pub fn history_up(&mut self) { method history_down (line 743) | pub fn history_down(&mut self) { method execute (line 750) | pub fn execute(&self) { method get_string (line 804) | pub fn get_string(&self) -> String { method stuff_text (line 808) | pub fn stuff_text(&self, text: S) method output (line 819) | pub fn output(&self) -> Ref { FILE: src/common/engine.rs function indexed_to_rgba (line 37) | pub fn indexed_to_rgba(indices: &[u8]) -> Vec { function duration_to_f32 (line 56) | pub fn duration_to_f32(d: Duration) -> f32 { function duration_from_f32 (line 61) | pub fn duration_from_f32(f: f32) -> Duration { function deg_vector_to_f32_vector (line 66) | pub fn deg_vector_to_f32_vector(av: Vector3>) -> Vector3 { function deg_vector_from_f32_vector (line 71) | pub fn deg_vector_from_f32_vector(v: Vector3) -> Vector3> { FILE: src/common/host.rs type Program (line 31) | pub trait Program: Sized { method handle_event (line 32) | fn handle_event( method frame (line 39) | fn frame(&mut self, frame_duration: Duration); method shutdown (line 40) | fn shutdown(&mut self); method cvars (line 41) | fn cvars(&self) -> Ref; method cvars_mut (line 42) | fn cvars_mut(&self) -> RefMut; type Host (line 45) | pub struct Host

function new (line 60) | pub fn new(program: P) -> Host

{ function handle_event (line 75) | pub fn handle_event( function frame (line 102) | pub fn frame(&mut self) { function check_frame_duration (line 122) | fn check_frame_duration(&mut self, frame_duration: Duration) -> bool { function uptime (line 132) | pub fn uptime(&self) -> Duration { FILE: src/common/math.rs type CoordSys (line 25) | trait CoordSys {} type Quake (line 27) | struct Quake; type Wgpu (line 30) | struct Wgpu; constant VERTEX_NORMAL_COUNT (line 33) | pub const VERTEX_NORMAL_COUNT: usize = 162; type Angles (line 203) | pub struct Angles { method zero (line 210) | pub fn zero() -> Angles { method mat3_quake (line 218) | pub fn mat3_quake(&self) -> Matrix3 { method mat4_quake (line 224) | pub fn mat4_quake(&self) -> Matrix4 { method mat3_wgpu (line 230) | pub fn mat3_wgpu(&self) -> Matrix3 { method mat4_wgpu (line 236) | pub fn mat4_wgpu(&self) -> Matrix4 { type Output (line 244) | type Output = Self; method add (line 246) | fn add(self, other: Self) -> Self { type Output (line 256) | type Output = Self; method mul (line 258) | fn mul(self, other: f32) -> Self { function clamp_deg (line 267) | pub fn clamp_deg(val: Deg, min: Deg, max: Deg) -> Deg { type HyperplaneSide (line 280) | pub enum HyperplaneSide { method from_dist (line 298) | pub fn from_dist(dist: f32) -> HyperplaneSide { type Output (line 286) | type Output = HyperplaneSide; method neg (line 288) | fn neg(self) -> Self::Output { type PointIntersection (line 309) | pub struct PointIntersection { method ratio (line 321) | pub fn ratio(&self) -> f32 { method point (line 325) | pub fn point(&self) -> Vector3 { method plane (line 329) | pub fn plane(&self) -> &Hyperplane { type LinePlaneIntersect (line 340) | pub enum LinePlaneIntersect { type Axis (line 349) | pub enum Axis { type Alignment (line 356) | enum Alignment { type Hyperplane (line 362) | pub struct Hyperplane { method new (line 389) | pub fn new(normal: Vector3, dist: f32) -> Hyperplane { method axis_x (line 401) | pub fn axis_x(dist: f32) -> Hyperplane { method axis_y (line 411) | pub fn axis_y(dist: f32) -> Hyperplane { method axis_z (line 421) | pub fn axis_z(dist: f32) -> Hyperplane { method from_normal (line 432) | pub fn from_normal(normal: Vector3, dist: f32) -> Hyperplane { method normal (line 440) | pub fn normal(&self) -> Vector3 { method point_dist (line 452) | pub fn point_dist(&self, point: Vector3) -> f32 { method point_side (line 462) | pub fn point_side(&self, point: Vector3) -> HyperplaneSide { method line_segment_intersection (line 475) | pub fn line_segment_intersection( type Output (line 368) | type Output = Self; method neg (line 370) | fn neg(self) -> Self::Output { function fov_x_to_fov_y (line 514) | pub fn fov_x_to_fov_y(fov_x: Deg, aspect: f32) -> Option> { constant COLLINEAR_EPSILON (line 528) | const COLLINEAR_EPSILON: f32 = 0.001; function collinear (line 541) | pub fn collinear(vs: &[Vector3]) -> bool { function remove_collinear (line 562) | pub fn remove_collinear(vs: Vec>) -> Vec> { function bounds (line 590) | pub fn bounds<'a, I>(points: I) -> (Vector3, Vector3) function vec2_extend_n (line 605) | pub fn vec2_extend_n(v: Vector2, n: usize, val: f32) -> Vector3 { function vec3_truncate_n (line 618) | pub fn vec3_truncate_n(v: Vector3, n: usize) -> Vector2 { function test_hyperplane_side_x (line 635) | fn test_hyperplane_side_x() { function test_hyperplane_side_y (line 648) | fn test_hyperplane_side_y() { function test_hyperplane_side_z (line 661) | fn test_hyperplane_side_z() { function test_hyperplane_side_arbitrary (line 674) | fn test_hyperplane_side_arbitrary() { function test_hyperplane_point_dist_x (line 705) | fn test_hyperplane_point_dist_x() { function test_hyperplane_point_dist_y (line 712) | fn test_hyperplane_point_dist_y() { function test_hyperplane_point_dist_z (line 719) | fn test_hyperplane_point_dist_z() { function test_hyperplane_point_dist_x_no_axis (line 726) | fn test_hyperplane_point_dist_x_no_axis() { function test_hyperplane_point_dist_y_no_axis (line 733) | fn test_hyperplane_point_dist_y_no_axis() { function test_hyperplane_point_dist_z_no_axis (line 740) | fn test_hyperplane_point_dist_z_no_axis() { function test_hyperplane_line_segment_intersection_x (line 747) | fn test_hyperplane_line_segment_intersection_x() { function test_hyperplane_line_segment_intersection_y (line 762) | fn test_hyperplane_line_segment_intersection_y() { function test_hyperplane_line_segment_intersection_z (line 777) | fn test_hyperplane_line_segment_intersection_z() { function test_collinear (line 792) | fn test_collinear() { function test_remove_collinear (line 826) | fn test_remove_collinear() { FILE: src/common/mdl.rs constant MAGIC (line 32) | pub const MAGIC: i32 = constant VERSION (line 34) | pub const VERSION: i32 = 6; constant HEADER_SIZE (line 36) | const HEADER_SIZE: u64 = 84; type MdlFileError (line 39) | pub enum MdlFileError { type StaticTexture (line 73) | pub struct StaticTexture { method indices (line 79) | pub fn indices(&self) -> &[u8] { type AnimatedTextureFrame (line 85) | pub struct AnimatedTextureFrame { method duration (line 92) | pub fn duration(&self) -> Duration { method indices (line 97) | pub fn indices(&self) -> &[u8] { type AnimatedTexture (line 103) | pub struct AnimatedTexture { method frames (line 108) | pub fn frames(&self) -> &[AnimatedTextureFrame] { type Texture (line 114) | pub enum Texture { type Texcoord (line 120) | pub struct Texcoord { method is_on_seam (line 127) | pub fn is_on_seam(&self) -> bool { method s (line 131) | pub fn s(&self) -> u32 { method t (line 135) | pub fn t(&self) -> u32 { type IndexedPolygon (line 141) | pub struct IndexedPolygon { method faces_front (line 147) | pub fn faces_front(&self) -> bool { method indices (line 151) | pub fn indices(&self) -> &[u32; 3] { type StaticKeyframe (line 157) | pub struct StaticKeyframe { method name (line 166) | pub fn name(&self) -> &str { method min (line 171) | pub fn min(&self) -> Vector3 { method max (line 176) | pub fn max(&self) -> Vector3 { method vertices (line 181) | pub fn vertices(&self) -> &[Vector3] { type AnimatedKeyframeFrame (line 187) | pub struct AnimatedKeyframeFrame { method name (line 197) | pub fn name(&self) -> &str { method min (line 202) | pub fn min(&self) -> Vector3 { method max (line 207) | pub fn max(&self) -> Vector3 { method duration (line 212) | pub fn duration(&self) -> Duration { method vertices (line 217) | pub fn vertices(&self) -> &[Vector3] { type AnimatedKeyframe (line 223) | pub struct AnimatedKeyframe { method min (line 231) | pub fn min(&self) -> Vector3 { method max (line 236) | pub fn max(&self) -> Vector3 { method frames (line 241) | pub fn frames(&self) -> &[AnimatedKeyframeFrame] { type Keyframe (line 247) | pub enum Keyframe { type AliasModel (line 253) | pub struct AliasModel { method origin (line 266) | pub fn origin(&self) -> Vector3 { method radius (line 270) | pub fn radius(&self) -> f32 { method texture_width (line 274) | pub fn texture_width(&self) -> u32 { method texture_height (line 278) | pub fn texture_height(&self) -> u32 { method textures (line 282) | pub fn textures(&self) -> &[Texture] { method texcoords (line 286) | pub fn texcoords(&self) -> &[Texcoord] { method polygons (line 290) | pub fn polygons(&self) -> &[IndexedPolygon] { method keyframes (line 294) | pub fn keyframes(&self) -> &[Keyframe] { method flags (line 298) | pub fn flags(&self) -> ModelFlags { function load (line 303) | pub fn load(data: R) -> Result function read_vertex (line 588) | fn read_vertex( FILE: src/common/mod.rs function default_base_dir (line 40) | pub fn default_base_dir() -> std::path::PathBuf { constant MAX_LIGHTSTYLES (line 50) | pub const MAX_LIGHTSTYLES: usize = 64; constant MAX_PAKFILES (line 55) | pub const MAX_PAKFILES: usize = 32; FILE: src/common/model.rs type ModelError (line 29) | pub enum ModelError { type SyncType (line 41) | pub enum SyncType { type Model (line 60) | pub struct Model { method none (line 76) | pub fn none() -> Model { method kind (line 84) | pub fn kind(&self) -> &ModelKind { method load (line 88) | pub fn load(vfs: &Vfs, name: S) -> Result method from_brush_model (line 112) | pub fn from_brush_model(name: S, brush_model: BspModel) -> Model method from_alias_model (line 124) | pub fn from_alias_model(name: S, alias_model: AliasModel) -> Model method from_sprite_model (line 138) | pub fn from_sprite_model(name: S, sprite_model: SpriteModel) -> Model method name (line 150) | pub fn name(&self) -> &str { method min (line 155) | pub fn min(&self) -> Vector3 { method max (line 169) | pub fn max(&self) -> Vector3 { method sync_type (line 182) | pub fn sync_type(&self) -> SyncType { method flags (line 193) | pub fn flags(&self) -> ModelFlags { method has_flag (line 197) | pub fn has_flag(&self, flag: ModelFlags) -> bool { type ModelKind (line 67) | pub enum ModelKind { FILE: src/common/net/connect.rs constant CONNECT_PROTOCOL_VERSION (line 36) | pub const CONNECT_PROTOCOL_VERSION: u8 = 3; constant CONNECT_CONTROL (line 37) | const CONNECT_CONTROL: i32 = 1 << 31; constant CONNECT_LENGTH_MASK (line 38) | const CONNECT_LENGTH_MASK: i32 = 0x0000FFFF; type ConnectPacket (line 40) | pub trait ConnectPacket { method code (line 42) | fn code(&self) -> u8; method content_len (line 45) | fn content_len(&self) -> usize; method write_content (line 48) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> method packet_len (line 53) | fn packet_len(&self) -> i32 { method control_header (line 68) | fn control_header(&self) -> i32 { method to_bytes (line 73) | fn to_bytes(&self) -> Result, NetError> { method code (line 98) | fn code(&self) -> u8 { method content_len (line 102) | fn content_len(&self) -> usize { method write_content (line 114) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> method code (line 131) | fn code(&self) -> u8 { method content_len (line 135) | fn content_len(&self) -> usize { method write_content (line 140) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> method code (line 156) | fn code(&self) -> u8 { method content_len (line 160) | fn content_len(&self) -> usize { method write_content (line 165) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> method code (line 180) | fn code(&self) -> u8 { method content_len (line 184) | fn content_len(&self) -> usize { method write_content (line 189) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> method code (line 243) | fn code(&self) -> u8 { method content_len (line 253) | fn content_len(&self) -> usize { method write_content (line 263) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> method code (line 292) | fn code(&self) -> u8 { method content_len (line 296) | fn content_len(&self) -> usize { method write_content (line 301) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> method code (line 316) | fn code(&self) -> u8 { method content_len (line 320) | fn content_len(&self) -> usize { method write_content (line 325) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> method code (line 346) | fn code(&self) -> u8 { method content_len (line 350) | fn content_len(&self) -> usize { method write_content (line 374) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> method code (line 402) | fn code(&self) -> u8 { method content_len (line 406) | fn content_len(&self) -> usize { method write_content (line 430) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> method code (line 453) | fn code(&self) -> u8 { method content_len (line 457) | fn content_len(&self) -> usize { method write_content (line 469) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> method code (line 491) | fn code(&self) -> u8 { method content_len (line 502) | fn content_len(&self) -> usize { method write_content (line 513) | fn write_content(&self, writer: &mut W) -> Result<(), NetError> type RequestCode (line 84) | pub enum RequestCode { type RequestConnect (line 92) | pub struct RequestConnect { type RequestServerInfo (line 126) | pub struct RequestServerInfo { type RequestPlayerInfo (line 151) | pub struct RequestPlayerInfo { type RequestRuleInfo (line 175) | pub struct RequestRuleInfo { type Request (line 201) | pub enum Request { method connect (line 209) | pub fn connect(game_name: S, proto_ver: u8) -> Request method server_info (line 219) | pub fn server_info(game_name: S) -> Request method player_info (line 228) | pub fn player_info(player_id: u8) -> Request { method rule_info (line 232) | pub fn rule_info(prev_cvar: S) -> Request type ResponseCode (line 278) | pub enum ResponseCode { type ResponseAccept (line 287) | pub struct ResponseAccept { type ResponseReject (line 311) | pub struct ResponseReject { type ResponseServerInfo (line 336) | pub struct ResponseServerInfo { type ResponsePlayerInfo (line 392) | pub struct ResponsePlayerInfo { type ResponseRuleInfo (line 447) | pub struct ResponseRuleInfo { type Response (line 482) | pub enum Response { type ConnectListener (line 529) | pub struct ConnectListener { method bind (line 535) | pub fn bind(addr: A) -> Result method recv_request (line 545) | pub fn recv_request(&self) -> Result<(Request, SocketAddr), NetError> { method send_response (line 617) | pub fn send_response(&self, response: Response, remote: SocketAddr) ->... type ConnectSocket (line 623) | pub struct ConnectSocket { method bind (line 628) | pub fn bind(local: A) -> Result method into_qsocket (line 637) | pub fn into_qsocket(self, remote: SocketAddr) -> QSocket { method send_request (line 642) | pub fn send_request(&mut self, request: Request, remote: SocketAddr) -... method recv_response (line 651) | pub fn recv_response( function test_request_connect_packet_len (line 752) | fn test_request_connect_packet_len() { function test_request_server_info_packet_len (line 764) | fn test_request_server_info_packet_len() { function test_request_player_info_packet_len (line 774) | fn test_request_player_info_packet_len() { function test_request_rule_info_packet_len (line 782) | fn test_request_rule_info_packet_len() { function test_response_accept_packet_len (line 792) | fn test_response_accept_packet_len() { function test_response_reject_packet_len (line 800) | fn test_response_reject_packet_len() { function test_response_server_info_packet_len (line 810) | fn test_response_server_info_packet_len() { function test_response_player_info_packet_len (line 825) | fn test_response_player_info_packet_len() { function test_connect_listener_bind (line 840) | fn test_connect_listener_bind() { FILE: src/common/net/mod.rs constant MAX_MESSAGE (line 40) | pub const MAX_MESSAGE: usize = 8192; constant MAX_DATAGRAM (line 41) | const MAX_DATAGRAM: usize = 1024; constant HEADER_SIZE (line 42) | const HEADER_SIZE: usize = 8; constant MAX_PACKET (line 43) | const MAX_PACKET: usize = HEADER_SIZE + MAX_DATAGRAM; constant PROTOCOL_VERSION (line 45) | pub const PROTOCOL_VERSION: u8 = 15; constant NAME_LEN (line 47) | const NAME_LEN: usize = 64; constant FAST_UPDATE_FLAG (line 49) | const FAST_UPDATE_FLAG: u8 = 0x80; constant VELOCITY_READ_FACTOR (line 51) | const VELOCITY_READ_FACTOR: f32 = 16.0; constant VELOCITY_WRITE_FACTOR (line 52) | const VELOCITY_WRITE_FACTOR: f32 = 1.0 / VELOCITY_READ_FACTOR; constant PARTICLE_DIRECTION_READ_FACTOR (line 54) | const PARTICLE_DIRECTION_READ_FACTOR: f32 = 1.0 / 16.0; constant PARTICLE_DIRECTION_WRITE_FACTOR (line 55) | const PARTICLE_DIRECTION_WRITE_FACTOR: f32 = 1.0 / PARTICLE_DIRECTION_RE... constant SOUND_ATTENUATION_WRITE_FACTOR (line 57) | const SOUND_ATTENUATION_WRITE_FACTOR: u8 = 64; constant SOUND_ATTENUATION_READ_FACTOR (line 58) | const SOUND_ATTENUATION_READ_FACTOR: f32 = 1.0 / SOUND_ATTENUATION_WRITE... constant MAX_CLIENTS (line 61) | pub const MAX_CLIENTS: usize = 16; constant MAX_ITEMS (line 62) | pub const MAX_ITEMS: usize = 32; constant DEFAULT_VIEWHEIGHT (line 64) | pub const DEFAULT_VIEWHEIGHT: f32 = 22.0; type NetError (line 67) | pub enum NetError { method with_msg (line 74) | pub fn with_msg(msg: S) -> Self method fmt (line 83) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 106) | fn from(error: ::std::io::Error) -> Self { method description (line 96) | fn description(&self) -> &str { type MsgKind (line 114) | pub enum MsgKind { type PlayerColor (line 210) | pub struct PlayerColor { method new (line 216) | pub fn new(top: u8, bottom: u8) -> PlayerColor { method from_bits (line 228) | pub fn from_bits(bits: u8) -> PlayerColor { method bits (line 235) | pub fn bits(&self) -> u8 { method from (line 241) | fn from(src: u8) -> PlayerColor { type ColorShift (line 250) | pub struct ColorShift { type ClientStat (line 256) | pub enum ClientStat { type TempEntityCode (line 276) | pub enum TempEntityCode { type PointEntityKind (line 294) | pub enum PointEntityKind { type BeamEntityKind (line 308) | pub enum BeamEntityKind { type TempEntity (line 319) | pub enum TempEntity { method read_temp_entity (line 333) | pub fn read_temp_entity(reader: &mut R) -> Result(&self, writer: &mut W) -> Result<(), NetEr... type SignOnStage (line 487) | pub enum SignOnStage { type EntityState (line 505) | pub struct EntityState { method uninitialized (line 518) | pub fn uninitialized() -> EntityState { type EntityUpdate (line 532) | pub struct EntityUpdate { method to_entity_state (line 576) | pub fn to_entity_state(&self, baseline: &EntityState) -> EntityState { type PlayerData (line 549) | pub struct PlayerData { type Cmd (line 598) | pub trait Cmd: Sized { method code (line 600) | fn code(&self) -> u8; method deserialize (line 603) | fn deserialize(reader: &mut R) -> Result method serialize (line 608) | fn serialize(&self, writer: &mut W) -> Result<(), NetError> type ServerCmdCode (line 615) | pub enum ServerCmdCode { type GameType (line 654) | pub enum GameType { type ServerCmd (line 660) | pub enum ServerCmd { method code (line 788) | pub fn code(&self) -> u8 { method deserialize (line 831) | pub fn deserialize(reader: &mut R) -> Result, Net... method serialize (line 1459) | pub fn serialize(&self, writer: &mut W) -> Result<(), NetError> type ClientCmdCode (line 1844) | pub enum ClientCmdCode { type ClientCmd (line 1853) | pub enum ClientCmd { method code (line 1872) | pub fn code(&self) -> u8 { method deserialize (line 1882) | pub fn deserialize(reader: &mut R) -> Result method serialize (line 1941) | pub fn serialize(&self, writer: &mut W) -> Result<(), NetError> type BlockingMode (line 1979) | pub enum BlockingMode { type QSocket (line 1985) | pub struct QSocket { method new (line 2006) | pub fn new(socket: UdpSocket, remote: SocketAddr) -> QSocket { method can_send (line 2028) | pub fn can_send(&self) -> bool { method begin_send_msg (line 2033) | pub fn begin_send_msg(&mut self, msg: &[u8]) -> Result<(), NetError> { method resend_msg (line 2068) | pub fn resend_msg(&mut self) -> Result<(), NetError> { method send_msg_next (line 2080) | pub fn send_msg_next(&mut self) -> Result<(), NetError> { method send_msg_unreliable (line 2119) | pub fn send_msg_unreliable(&mut self, content: &[u8]) -> Result<(), Ne... method recv_msg (line 2153) | pub fn recv_msg(&mut self, block: BlockingMode) -> Result, Net... function read_coord (line 2314) | fn read_coord(reader: &mut R) -> Result function read_coord_vector3 (line 2321) | fn read_coord_vector3(reader: &mut R) -> Result, NetError> function write_coord (line 2332) | fn write_coord(writer: &mut W, coord: f32) -> Result<(), NetError> function write_coord_vector3 (line 2340) | fn write_coord_vector3(writer: &mut W, coords: Vector3) -> Resul... function read_angle (line 2351) | fn read_angle(reader: &mut R) -> Result, NetError> function read_angle_vector3 (line 2358) | fn read_angle_vector3(reader: &mut R) -> Result>, Ne... function write_angle (line 2369) | fn write_angle(writer: &mut W, angle: Deg) -> Result<(), NetError> function write_angle_vector3 (line 2377) | fn write_angle_vector3(writer: &mut W, angles: Vector3>) -> ... function test_server_cmd_update_stat_read_write_eq (line 2395) | fn test_server_cmd_update_stat_read_write_eq() { function test_server_cmd_version_read_write_eq (line 2410) | fn test_server_cmd_version_read_write_eq() { function test_server_cmd_set_view_read_write_eq (line 2422) | fn test_server_cmd_set_view_read_write_eq() { function test_server_cmd_time_read_write_eq (line 2434) | fn test_server_cmd_time_read_write_eq() { function test_server_cmd_print_read_write_eq (line 2446) | fn test_server_cmd_print_read_write_eq() { function test_server_cmd_stuff_text_read_write_eq (line 2460) | fn test_server_cmd_stuff_text_read_write_eq() { function test_server_cmd_server_info_read_write_eq (line 2474) | fn test_server_cmd_server_info_read_write_eq() { function test_server_cmd_light_style_read_write_eq (line 2493) | fn test_server_cmd_light_style_read_write_eq() { function test_server_cmd_update_name_read_write_eq (line 2508) | fn test_server_cmd_update_name_read_write_eq() { function test_server_cmd_update_frags_read_write_eq (line 2523) | fn test_server_cmd_update_frags_read_write_eq() { function test_server_cmd_stop_sound_read_write_eq (line 2538) | fn test_server_cmd_stop_sound_read_write_eq() { function test_server_cmd_update_colors_read_write_eq (line 2553) | fn test_server_cmd_update_colors_read_write_eq() { function test_server_cmd_set_pause_read_write_eq (line 2568) | fn test_server_cmd_set_pause_read_write_eq() { function test_server_cmd_sign_on_stage_read_write_eq (line 2579) | fn test_server_cmd_sign_on_stage_read_write_eq() { function test_server_cmd_center_print_read_write_eq (line 2592) | fn test_server_cmd_center_print_read_write_eq() { function test_server_cmd_finale_read_write_eq (line 2605) | fn test_server_cmd_finale_read_write_eq() { function test_server_cmd_cd_track_read_write_eq (line 2618) | fn test_server_cmd_cd_track_read_write_eq() { function test_server_cmd_cutscene_read_write_eq (line 2629) | fn test_server_cmd_cutscene_read_write_eq() { function test_client_cmd_string_cmd_read_write_eq (line 2642) | fn test_client_cmd_string_cmd_read_write_eq() { function test_client_cmd_move_read_write_eq (line 2655) | fn test_client_cmd_move_read_write_eq() { function gen_qsocket_pair (line 2675) | fn gen_qsocket_pair() -> (QSocket, QSocket) { function test_qsocket_send_msg_short (line 2689) | fn test_qsocket_send_msg_short() { function test_qsocket_send_msg_unreliable_recv_msg_eq (line 2701) | fn test_qsocket_send_msg_unreliable_recv_msg_eq() { function test_qsocket_send_msg_unreliable_zero_length_fails (line 2712) | fn test_qsocket_send_msg_unreliable_zero_length_fails() { function test_qsocket_send_msg_unreliable_exceeds_max_length_fails (line 2721) | fn test_qsocket_send_msg_unreliable_exceeds_max_length_fails() { FILE: src/common/pak.rs constant PAK_MAGIC (line 30) | const PAK_MAGIC: [u8; 4] = [b'P', b'A', b'C', b'K']; constant PAK_ENTRY_SIZE (line 31) | const PAK_ENTRY_SIZE: usize = 64; type PakError (line 34) | pub enum PakError { type Pak (line 57) | pub struct Pak(HashMap>); method new (line 61) | pub fn new

(path: P) -> Result method open (line 137) | pub fn open(&self, path: S) -> Result<&[u8], PakError> method iter (line 148) | pub fn iter<'a>(&self) -> Iter> { FILE: src/common/parse/console.rs function line_comment (line 34) | pub fn line_comment(input: &str) -> nom::IResult<&str, &str> { function empty_line (line 44) | pub fn empty_line(input: &str) -> nom::IResult<&str, &str> { function basic_arg_terminator (line 55) | pub fn basic_arg_terminator(input: &str) -> nom::IResult<&str, &str> { function basic_arg (line 61) | pub fn basic_arg(input: &str) -> nom::IResult<&str, &str> { function arg (line 98) | pub fn arg(input: &str) -> nom::IResult<&str, &str> { function command_terminator (line 107) | pub fn command_terminator(input: &str) -> nom::IResult<&str, &str> { function command (line 117) | pub fn command(input: &str) -> nom::IResult<&str, Vec<&str>> { function commands (line 121) | pub fn commands(input: &str) -> nom::IResult<&str, Vec>> { function test_line_comment (line 134) | fn test_line_comment() { function test_empty_line (line 140) | fn test_empty_line() { function test_basic_arg_space_terminated (line 146) | fn test_basic_arg_space_terminated() { function test_basic_arg_newline_terminated (line 152) | fn test_basic_arg_newline_terminated() { function test_basic_arg_semicolon_terminated (line 158) | fn test_basic_arg_semicolon_terminated() { function test_arg_basic (line 164) | fn test_arg_basic() { function test_quoted_arg (line 170) | fn test_quoted_arg() { function test_command_basic (line 176) | fn test_command_basic() { function test_command_quoted (line 182) | fn test_command_quoted() { function test_command_comment (line 188) | fn test_command_comment() { function test_commands_quake_rc (line 194) | fn test_commands_quake_rc() { FILE: src/common/parse/map.rs function entity_attribute (line 31) | pub fn entity_attribute(input: &str) -> nom::IResult<&str, (&str, &str)> { function entity (line 40) | pub fn entity(input: &str) -> nom::IResult<&str, HashMap<&str, &str>> { function entities (line 48) | pub fn entities(input: &str) -> Result>, failure... FILE: src/common/parse/mod.rs function non_newline_spaces (line 33) | pub fn non_newline_spaces(input: &str) -> nom::IResult<&str, &str> { function string_contents (line 37) | fn string_contents(input: &str) -> nom::IResult<&str, &str> { function quoted (line 41) | pub fn quoted(input: &str) -> nom::IResult<&str, &str> { function action (line 45) | pub fn action(input: &str) -> nom::IResult<&str, (ElementState, &str)> { function newline (line 56) | pub fn newline(input: &str) -> nom::IResult<&str, &str> { function line_ending (line 61) | pub fn line_ending(input: &str) -> nom::IResult<&str, &str> { function vector3_components (line 65) | pub fn vector3_components(src: S) -> Option<[f32; 3]> function vector3 (line 94) | pub fn vector3(src: S) -> Option> function test_quoted (line 128) | fn test_quoted() { function test_action (line 134) | fn test_action() { FILE: src/common/sprite.rs constant MAGIC (line 27) | const MAGIC: u32 = ('I' as u32) << 0 | ('D' as u32) << 8 | ('S' as u32) ... constant VERSION (line 28) | const VERSION: u32 = 1; type SpriteKind (line 31) | pub enum SpriteKind { type SpriteModel (line 40) | pub struct SpriteModel { method min (line 49) | pub fn min(&self) -> Vector3 { method max (line 57) | pub fn max(&self) -> Vector3 { method radius (line 65) | pub fn radius(&self) -> f32 { method kind (line 69) | pub fn kind(&self) -> SpriteKind { method frames (line 73) | pub fn frames(&self) -> &[SpriteFrame] { type SpriteFrame (line 79) | pub enum SpriteFrame { type SpriteSubframe (line 90) | pub struct SpriteSubframe { method width (line 101) | pub fn width(&self) -> u32 { method height (line 105) | pub fn height(&self) -> u32 { method indexed (line 109) | pub fn indexed(&self) -> &[u8] { function load (line 114) | pub fn load(data: R) -> SpriteModel FILE: src/common/util.rs type Pod (line 23) | pub trait Pod: 'static + Copy + Sized + Send + Sync {} function read_f32_3 (line 27) | pub fn read_f32_3(reader: &mut R) -> Result<[f32; 3], std::io::Error> function read_cstring (line 42) | pub fn read_cstring(src: &mut R) -> Result(t: &T) -> &[u8] function any_slice_as_bytes (line 59) | pub unsafe fn any_slice_as_bytes(t: &[T]) -> &[u8] function bytes_as_any (line 66) | pub unsafe fn bytes_as_any(bytes: &[u8]) -> T function any_as_u32_slice (line 74) | pub unsafe fn any_as_u32_slice(t: &T) -> &[u32] FILE: src/common/vfs.rs type VfsError (line 29) | pub enum VfsError { type VfsComponent (line 37) | enum VfsComponent { type Vfs (line 43) | pub struct Vfs { method new (line 48) | pub fn new() -> Vfs { method with_base_dir (line 55) | pub fn with_base_dir(base_dir: PathBuf) -> Vfs { method add_pakfile (line 103) | pub fn add_pakfile

(&mut self, path: P) -> Result<(), VfsError> method add_directory (line 112) | pub fn add_directory

(&mut self, path: P) -> Result<(), VfsError> method open (line 121) | pub fn open(&self, virtual_path: S) -> Result type VirtualFile (line 151) | pub enum VirtualFile<'a> { method read (line 157) | fn read(&mut self, buf: &mut [u8]) -> io::Result { method seek (line 166) | fn seek(&mut self, pos: SeekFrom) -> io::Result { FILE: src/common/wad.rs constant LUMPINFO_SIZE (line 35) | const LUMPINFO_SIZE: usize = 32; constant MAGIC (line 36) | const MAGIC: u32 = 'W' as u32 | ('A' as u32) << 8 | ('D' as u32) << 16 |... type WadError (line 39) | pub struct WadError { method kind (line 44) | pub fn kind(&self) -> WadErrorKind { method from (line 50) | fn from(kind: WadErrorKind) -> Self { method from (line 58) | fn from(inner: Context) -> Self { method from (line 64) | fn from(io_error: io::Error) -> Self { method cause (line 74) | fn cause(&self) -> Option<&dyn Fail> { method backtrace (line 78) | fn backtrace(&self) -> Option<&Backtrace> { method fmt (line 84) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { type WadErrorKind (line 90) | pub enum WadErrorKind { type QPic (line 105) | pub struct QPic { method load (line 112) | pub fn load(data: R) -> Result method width (line 133) | pub fn width(&self) -> u32 { method height (line 137) | pub fn height(&self) -> u32 { method indices (line 141) | pub fn indices(&self) -> &[u8] { type LumpInfo (line 146) | struct LumpInfo { type Wad (line 152) | pub struct Wad { method load (line 157) | pub fn load(data: R) -> Result method open_conchars (line 206) | pub fn open_conchars(&self) -> Result { method open_qpic (line 224) | pub fn open_qpic(&self, name: S) -> Result FILE: src/server/mod.rs constant MAX_DATAGRAM (line 63) | const MAX_DATAGRAM: usize = 1024; constant MAX_LIGHTSTYLES (line 64) | const MAX_LIGHTSTYLES: usize = 64; type ClientState (line 67) | pub enum ClientState { type ClientActive (line 75) | pub struct ClientActive { type ClientSlots (line 96) | pub struct ClientSlots { method new (line 103) | pub fn new(limit: usize) -> ClientSlots { method get (line 114) | pub fn get(&self, id: usize) -> Option<&ClientState> { method limit (line 119) | pub fn limit(&self) -> usize { method find_available (line 124) | pub fn find_available(&mut self) -> Option<&mut ClientState> { type SessionPersistent (line 131) | pub struct SessionPersistent { method new (line 137) | pub fn new(max_clients: usize) -> SessionPersistent { method client (line 144) | pub fn client(&self, slot: usize) -> Option<&ClientState> { type SessionState (line 150) | pub enum SessionState { type SessionLoading (line 162) | pub struct SessionLoading { method new (line 167) | pub fn new( method precache_sound (line 183) | pub fn precache_sound(&mut self, name_id: StringId) { method precache_model (line 191) | pub fn precache_model(&mut self, name_id: StringId) { method finish (line 198) | pub fn finish(self) -> SessionActive { type SessionActive (line 204) | pub struct SessionActive { type Session (line 209) | pub struct Session { method new (line 215) | pub fn new( method max_clients (line 232) | pub fn max_clients(&self) -> usize { method client (line 237) | pub fn client(&self, slot: usize) -> Option<&ClientState> { method precache_sound (line 241) | pub fn precache_sound(&mut self, name_id: StringId) { method precache_model (line 249) | pub fn precache_model(&mut self, name_id: StringId) { method level (line 258) | fn level(&self) -> &LevelState { method level_mut (line 266) | fn level_mut(&mut self) -> &mut LevelState { method sound_id (line 274) | pub fn sound_id(&self, name_id: StringId) -> Option { method model_id (line 279) | pub fn model_id(&self, name_id: StringId) -> Option { method set_lightstyle (line 284) | pub fn set_lightstyle(&mut self, index: usize, val: StringId) { method time (line 290) | pub fn time(&self) -> Option { type LevelState (line 300) | pub struct LevelState { method new (line 329) | pub fn new( method precache_sound (line 381) | pub fn precache_sound(&mut self, name_id: StringId) { method precache_model (line 389) | pub fn precache_model(&mut self, name_id: StringId) { method sound_id (line 397) | pub fn sound_id(&self, name_id: StringId) -> Option { method model_id (line 405) | pub fn model_id(&self, name_id: StringId) -> Option { method set_lightstyle (line 413) | pub fn set_lightstyle(&mut self, index: usize, val: StringId) { method execute_program (line 418) | pub fn execute_program(&mut self, f: FunctionId) -> Result<(), ProgsEr... method execute_program_by_name (line 630) | pub fn execute_program_by_name(&mut self, name: S) -> Result<(), Pr... method link_entity (line 643) | pub fn link_entity( method spawn_entity (line 657) | pub fn spawn_entity(&mut self) -> Result { method spawn_entity_from_map (line 665) | pub fn spawn_entity_from_map( method set_entity_origin (line 689) | pub fn set_entity_origin( method set_entity_model (line 702) | pub fn set_entity_model( method think (line 730) | pub fn think(&mut self, ent_id: EntityId, frame_time: Duration) -> Res... method physics (line 753) | pub fn physics( method physics_player (line 820) | pub fn physics_player( method physics_push (line 839) | pub fn physics_push( method physics_noclip (line 884) | pub fn physics_noclip( method physics_step (line 909) | pub fn physics_step( method move_push (line 959) | pub fn move_push( constant MAX_BALLISTIC_COLLISIONS (line 982) | const MAX_BALLISTIC_COLLISIONS: usize = 4; method move_ballistic (line 985) | pub fn move_ballistic( constant DROP_TO_FLOOR_DIST (line 1118) | const DROP_TO_FLOOR_DIST: f32 = 256.0; method drop_entity_to_floor (line 1127) | pub fn drop_entity_to_floor(&mut self, ent_id: EntityId) -> Result Result<(), Progs... method impact_entities (line 1192) | pub fn impact_entities(&mut self, ent_a: EntityId, ent_b: EntityId) ->... method op_return (line 1225) | pub fn op_return(&mut self, a: i16, b: i16, c: i16) -> Result<(), Prog... method op_load_f (line 1242) | pub fn op_load_f(&mut self, e_ofs: i16, e_f: i16, dest_ofs: i16) -> Re... method op_load_v (line 1254) | pub fn op_load_v( method op_load_s (line 1268) | pub fn op_load_s( method op_load_ent (line 1285) | pub fn op_load_ent( method op_load_fnc (line 1302) | pub fn op_load_fnc( method op_address (line 1319) | pub fn op_address( method op_storep_f (line 1338) | pub fn op_storep_f( method op_storep_v (line 1359) | pub fn op_storep_v( method op_storep_s (line 1380) | pub fn op_storep_s( method op_storep_ent (line 1401) | pub fn op_storep_ent( method op_storep_fnc (line 1422) | pub fn op_storep_fnc( method op_state (line 1443) | pub fn op_state( method builtin_set_origin (line 1469) | pub fn builtin_set_origin(&mut self) -> Result<(), ProgsError> { method builtin_set_model (line 1477) | pub fn builtin_set_model(&mut self) -> Result<(), ProgsError> { method builtin_set_size (line 1485) | pub fn builtin_set_size(&mut self) -> Result<(), ProgsError> { method builtin_random (line 1495) | pub fn builtin_random(&mut self) -> Result<(), ProgsError> { method builtin_spawn (line 1502) | pub fn builtin_spawn(&mut self) -> Result<(), ProgsError> { method builtin_remove (line 1510) | pub fn builtin_remove(&mut self) -> Result<(), ProgsError> { method builtin_precache_sound (line 1517) | pub fn builtin_precache_sound(&mut self) -> Result<(), ProgsError> { method builtin_precache_model (line 1528) | pub fn builtin_precache_model(&mut self) -> Result<(), ProgsError> { method builtin_dprint (line 1543) | pub fn builtin_dprint(&mut self) -> Result<(), ProgsError> { method builtin_drop_to_floor (line 1552) | pub fn builtin_drop_to_floor(&mut self) -> Result<(), ProgsError> { method builtin_light_style (line 1561) | pub fn builtin_light_style(&mut self) -> Result<(), ProgsError> { method builtin_cvar (line 1572) | pub fn builtin_cvar(&mut self) -> Result<(), ProgsError> { method builtin_cvar_set (line 1582) | pub fn builtin_cvar_set(&mut self) -> Result<(), ProgsError> { method builtin_ambient_sound (line 1595) | pub fn builtin_ambient_sound(&mut self) -> Result<(), ProgsError> { FILE: src/server/precache.rs constant MAX_PRECACHE_PATH (line 6) | const MAX_PRECACHE_PATH: usize = 64; constant MAX_PRECACHE_ENTRIES (line 8) | const MAX_PRECACHE_ENTRIES: usize = 256; type Precache (line 20) | pub struct Precache { method new (line 27) | pub fn new() -> Precache { method get (line 35) | pub fn get(&self, index: usize) -> Option<&str> { method find (line 45) | pub fn find(&self, target: S) -> Option method precache (line 59) | pub fn precache(&mut self, item: S) method iter (line 85) | pub fn iter(&self) -> impl Iterator { function test_precache_one (line 98) | fn test_precache_one() { function test_precache_several (line 106) | fn test_precache_several() { FILE: src/server/progs/functions.rs constant MAX_ARGS (line 24) | pub const MAX_ARGS: usize = 8; type Statement (line 28) | pub struct Statement { method new (line 36) | pub fn new(op: i16, arg1: i16, arg2: i16, arg3: i16) -> Result Result { type FunctionKind (line 68) | pub enum FunctionKind { type BuiltinFunctionId (line 74) | pub enum BuiltinFunctionId { type FunctionDef (line 151) | pub struct FunctionDef { type Functions (line 162) | pub struct Functions { method id_from_i32 (line 169) | pub fn id_from_i32(&self, value: i32) -> Result { method get_def (line 184) | pub fn get_def(&self, id: FunctionId) -> Result<&FunctionDef, ProgsErr... method find_function_by_name (line 195) | pub fn find_function_by_name(&self, name: S) -> Result(msg: S) -> Self method fmt (line 65) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 80) | fn from(error: ::std::io::Error) -> Self { type GlobalAddr (line 85) | pub trait GlobalAddr { method load (line 90) | fn load(&self, globals: &Globals) -> Result; method store (line 93) | fn store(&self, globals: &mut Globals, value: Self::Value) -> Result<(... type Value (line 149) | type Value = f32; method load (line 152) | fn load(&self, globals: &Globals) -> Result { method store (line 157) | fn store(&self, globals: &mut Globals, value: Self::Value) -> Result<(... type Value (line 172) | type Value = [f32; 3]; method load (line 175) | fn load(&self, globals: &Globals) -> Result { method store (line 180) | fn store(&self, globals: &mut Globals, value: Self::Value) -> Result<(... type Value (line 200) | type Value = EntityId; method load (line 203) | fn load(&self, globals: &Globals) -> Result { method store (line 208) | fn store(&self, globals: &mut Globals, value: Self::Value) -> Result<(... type GlobalAddrFloat (line 97) | pub enum GlobalAddrFloat { type GlobalAddrVector (line 163) | pub enum GlobalAddrVector { type GlobalAddrString (line 186) | pub enum GlobalAddrString { type GlobalAddrEntity (line 191) | pub enum GlobalAddrEntity { type GlobalAddrField (line 214) | pub enum GlobalAddrField {} type GlobalAddrFunction (line 217) | pub enum GlobalAddrFunction { type Globals (line 231) | pub struct Globals { method new (line 239) | pub fn new( method type_check (line 256) | pub fn type_check(&self, addr: usize, type_: Type) -> Result<(), Globa... method get_addr (line 274) | pub fn get_addr(&self, addr: i16) -> Result<&[u8], GlobalsError> { method get_addr_mut (line 289) | pub fn get_addr_mut(&mut self, addr: i16) -> Result<&mut [u8], Globals... method get_bytes (line 304) | pub fn get_bytes(&self, addr: i16) -> Result<[u8; 4], GlobalsError> { method put_bytes (line 322) | pub fn put_bytes(&mut self, val: [u8; 4], addr: i16) -> Result<(), Glo... method get_int (line 338) | pub fn get_int(&self, addr: i16) -> Result { method put_int (line 343) | pub fn put_int(&mut self, val: i32, addr: i16) -> Result<(), GlobalsEr... method get_float (line 349) | pub fn get_float(&self, addr: i16) -> Result { method put_float (line 355) | pub fn put_float(&mut self, val: f32, addr: i16) -> Result<(), Globals... method get_vector (line 362) | pub fn get_vector(&self, addr: i16) -> Result<[f32; 3], GlobalsError> { method put_vector (line 375) | pub fn put_vector(&mut self, val: [f32; 3], addr: i16) -> Result<(), G... method string_id (line 386) | pub fn string_id(&self, addr: i16) -> Result { method put_string_id (line 395) | pub fn put_string_id(&mut self, val: StringId, addr: i16) -> Result<()... method entity_id (line 404) | pub fn entity_id(&self, addr: i16) -> Result { method put_entity_id (line 417) | pub fn put_entity_id(&mut self, val: EntityId, addr: i16) -> Result<()... method get_field_addr (line 426) | pub fn get_field_addr(&self, addr: i16) -> Result Result<... method function_id (line 447) | pub fn function_id(&self, addr: i16) -> Result Resul... method get_entity_field (line 464) | pub fn get_entity_field(&self, addr: i16) -> Result { method put_entity_field (line 468) | pub fn put_entity_field(&mut self, val: i32, addr: i16) -> Result<(), ... method load (line 473) | pub fn load(&self, addr: A) -> Result(&mut self, addr: A, value: A::Value) -> Re... method untyped_copy (line 482) | pub fn untyped_copy(&mut self, src_addr: i16, dst_addr: i16) -> Result... method op_mul_f (line 495) | pub fn op_mul_f(&mut self, f1_id: i16, f2_id: i16, prod_id: i16) -> Re... method op_mul_v (line 504) | pub fn op_mul_v(&mut self, v1_id: i16, v2_id: i16, dot_id: i16) -> Res... method op_mul_fv (line 519) | pub fn op_mul_fv(&mut self, f_id: i16, v_id: i16, prod_id: i16) -> Res... method op_mul_vf (line 534) | pub fn op_mul_vf(&mut self, v_id: i16, f_id: i16, prod_id: i16) -> Res... method op_div (line 549) | pub fn op_div(&mut self, f1_id: i16, f2_id: i16, quot_id: i16) -> Resu... method op_add_f (line 558) | pub fn op_add_f(&mut self, f1_ofs: i16, f2_ofs: i16, sum_ofs: i16) -> ... method op_add_v (line 567) | pub fn op_add_v(&mut self, v1_id: i16, v2_id: i16, sum_id: i16) -> Res... method op_sub_f (line 582) | pub fn op_sub_f(&mut self, f1_id: i16, f2_id: i16, diff_id: i16) -> Re... method op_sub_v (line 591) | pub fn op_sub_v(&mut self, v1_id: i16, v2_id: i16, diff_id: i16) -> Re... method op_eq_f (line 606) | pub fn op_eq_f(&mut self, f1_id: i16, f2_id: i16, eq_id: i16) -> Resul... method op_eq_v (line 621) | pub fn op_eq_v(&mut self, v1_id: i16, v2_id: i16, eq_id: i16) -> Resul... method op_eq_s (line 636) | pub fn op_eq_s(&mut self, s1_ofs: i16, s2_ofs: i16, eq_ofs: i16) -> Re... method op_eq_ent (line 651) | pub fn op_eq_ent(&mut self, e1_ofs: i16, e2_ofs: i16, eq_ofs: i16) -> ... method op_eq_fnc (line 667) | pub fn op_eq_fnc(&mut self, f1_ofs: i16, f2_ofs: i16, eq_ofs: i16) -> ... method op_ne_f (line 683) | pub fn op_ne_f(&mut self, f1_ofs: i16, f2_ofs: i16, ne_ofs: i16) -> Re... method op_ne_v (line 698) | pub fn op_ne_v(&mut self, v1_ofs: i16, v2_ofs: i16, ne_ofs: i16) -> Re... method op_ne_s (line 713) | pub fn op_ne_s(&mut self, s1_ofs: i16, s2_ofs: i16, ne_ofs: i16) -> Re... method op_ne_ent (line 727) | pub fn op_ne_ent(&mut self, e1_ofs: i16, e2_ofs: i16, ne_ofs: i16) -> ... method op_ne_fnc (line 742) | pub fn op_ne_fnc(&mut self, f1_ofs: i16, f2_ofs: i16, ne_ofs: i16) -> ... method op_le (line 758) | pub fn op_le(&mut self, f1_ofs: i16, f2_ofs: i16, le_ofs: i16) -> Resu... method op_ge (line 773) | pub fn op_ge(&mut self, f1_ofs: i16, f2_ofs: i16, ge_ofs: i16) -> Resu... method op_lt (line 788) | pub fn op_lt(&mut self, f1_ofs: i16, f2_ofs: i16, lt_ofs: i16) -> Resu... method op_gt (line 803) | pub fn op_gt(&mut self, f1_ofs: i16, f2_ofs: i16, gt_ofs: i16) -> Resu... method op_store_f (line 818) | pub fn op_store_f( method op_store_v (line 835) | pub fn op_store_v( method op_store_s (line 863) | pub fn op_store_s( method op_store_ent (line 879) | pub fn op_store_ent( method op_store_fld (line 895) | pub fn op_store_fld( method op_store_fnc (line 911) | pub fn op_store_fnc( method op_not_f (line 928) | pub fn op_not_f(&mut self, f_id: i16, unused: i16, not_id: i16) -> Res... method op_not_v (line 946) | pub fn op_not_v(&mut self, v_id: i16, unused: i16, not_id: i16) -> Res... method op_not_s (line 965) | pub fn op_not_s(&mut self, s_ofs: i16, unused: i16, not_ofs: i16) -> R... method op_not_fnc (line 986) | pub fn op_not_fnc( method op_not_ent (line 1009) | pub fn op_not_ent( method op_and (line 1032) | pub fn op_and(&mut self, f1_id: i16, f2_id: i16, and_id: i16) -> Resul... method op_or (line 1047) | pub fn op_or(&mut self, f1_id: i16, f2_id: i16, or_id: i16) -> Result<... method op_bit_and (line 1062) | pub fn op_bit_and( method op_bit_or (line 1077) | pub fn op_bit_or( method builtin_random (line 1094) | pub fn builtin_random(&mut self) -> Result<(), GlobalsError> { method make_vectors (line 1106) | pub fn make_vectors(&mut self) -> Result<(), GlobalsError> { method builtin_v_len (line 1122) | pub fn builtin_v_len(&mut self) -> Result<(), GlobalsError> { method builtin_vec_to_yaw (line 1132) | pub fn builtin_vec_to_yaw(&mut self) -> Result<(), GlobalsError> { method builtin_r_int (line 1153) | pub fn builtin_r_int(&mut self) -> Result<(), GlobalsError> { method builtin_floor (line 1163) | pub fn builtin_floor(&mut self) -> Result<(), GlobalsError> { method builtin_ceil (line 1173) | pub fn builtin_ceil(&mut self) -> Result<(), GlobalsError> { method builtin_f_abs (line 1183) | pub fn builtin_f_abs(&mut self) -> Result<(), GlobalsError> { function make_vectors (line 1190) | pub fn make_vectors(angles: [f32; 3]) -> Matrix3 { function test_make_vectors_no_rotation (line 1205) | fn test_make_vectors_no_rotation() { function test_make_vectors_pitch (line 1212) | fn test_make_vectors_pitch() { function test_make_vectors_yaw (line 1219) | fn test_make_vectors_yaw() { function test_make_vectors_roll (line 1226) | fn test_make_vectors_roll() { FILE: src/server/progs/mod.rs constant VERSION (line 129) | const VERSION: i32 = 6; constant CRC (line 130) | const CRC: i32 = 5927; constant MAX_CALL_STACK_DEPTH (line 131) | const MAX_CALL_STACK_DEPTH: usize = 32; constant MAX_LOCAL_STACK_DEPTH (line 132) | const MAX_LOCAL_STACK_DEPTH: usize = 2048; constant LUMP_COUNT (line 133) | const LUMP_COUNT: usize = 6; constant SAVE_GLOBAL (line 134) | const SAVE_GLOBAL: u16 = 1 << 15; constant STATEMENT_SIZE (line 137) | const STATEMENT_SIZE: usize = 8; constant FUNCTION_SIZE (line 140) | const FUNCTION_SIZE: usize = 36; constant DEF_SIZE (line 143) | const DEF_SIZE: usize = 8; type ProgsError (line 146) | pub enum ProgsError { method with_msg (line 156) | pub fn with_msg(msg: S) -> Self method fmt (line 165) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 190) | fn from(error: ::std::io::Error) -> Self { method from (line 196) | fn from(error: GlobalsError) -> Self { method from (line 202) | fn from(error: EntityError) -> Self { type StringId (line 209) | pub struct StringId(pub usize); type Error (line 212) | type Error = ProgsError; method try_into (line 214) | fn try_into(self) -> Result { method new (line 224) | pub fn new() -> StringId { type EntityId (line 231) | pub struct EntityId(pub usize); type FieldAddr (line 235) | pub struct FieldAddr(pub usize); type EntityFieldAddr (line 239) | pub struct EntityFieldAddr { type LumpId (line 244) | enum LumpId { type Type (line 255) | pub enum Type { type Lump (line 267) | struct Lump { type GlobalDef (line 273) | pub struct GlobalDef { type FieldDef (line 286) | pub struct FieldDef { type LoadProgs (line 293) | pub struct LoadProgs { function load (line 303) | pub fn load(mut src: R) -> Result type StackFrame (line 533) | struct StackFrame { type ExecutionContext (line 540) | pub struct ExecutionContext { method create (line 550) | pub fn create( method call_stack_depth (line 564) | pub fn call_stack_depth(&self) -> usize { method find_function_by_name (line 568) | pub fn find_function_by_name>( method function_def (line 575) | pub fn function_def(&self, id: FunctionId) -> Result<&FunctionDef, Pro... method enter_function (line 579) | pub fn enter_function( method leave_function (line 631) | pub fn leave_function(&mut self, globals: &mut Globals) -> Result<(), ... method load_statement (line 653) | pub fn load_statement(&self) -> Statement { method jump_relative (line 658) | pub fn jump_relative(&mut self, rel: i16) { FILE: src/server/progs/ops.rs type Opcode (line 20) | pub enum Opcode { FILE: src/server/progs/string_table.rs type StringTable (line 6) | pub struct StringTable { method new (line 15) | pub fn new(data: Vec) -> StringTable { method id_from_i32 (line 22) | pub fn id_from_i32(&self, value: i32) -> Result { method find (line 36) | pub fn find(&self, target: S) -> Option method get (line 61) | pub fn get(&self, id: StringId) -> Option<&str> { method insert (line 88) | pub fn insert(&mut self, s: S) -> StringId method find_or_insert (line 102) | pub fn find_or_insert(&mut self, target: S) -> StringId method iter (line 112) | pub fn iter(&self) -> impl Iterator { FILE: src/server/world/entity.rs constant MAX_ENT_LEAVES (line 35) | pub const MAX_ENT_LEAVES: usize = 16; constant STATIC_ADDRESS_COUNT (line 37) | pub const STATIC_ADDRESS_COUNT: usize = 105; type EntityError (line 40) | pub enum EntityError { method with_msg (line 47) | pub fn with_msg(msg: S) -> Self method fmt (line 56) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method from (line 71) | fn from(error: ::std::io::Error) -> Self { type FieldAddr (line 77) | pub trait FieldAddr { method load (line 82) | fn load(&self, ent: &Entity) -> Result; method store (line 85) | fn store(&self, ent: &mut Entity, value: Self::Value) -> Result<(), En... type Value (line 194) | type Value = f32; method load (line 197) | fn load(&self, ent: &Entity) -> Result { method store (line 202) | fn store(&self, ent: &mut Entity, value: Self::Value) -> Result<(), En... type Value (line 226) | type Value = [f32; 3]; method load (line 229) | fn load(&self, ent: &Entity) -> Result { method store (line 234) | fn store(&self, ent: &mut Entity, value: Self::Value) -> Result<(), En... type Value (line 255) | type Value = StringId; method load (line 257) | fn load(&self, ent: &Entity) -> Result { method store (line 262) | fn store(&self, ent: &mut Entity, value: Self::Value) -> Result<(), En... type Value (line 280) | type Value = EntityId; method load (line 282) | fn load(&self, ent: &Entity) -> Result { method store (line 286) | fn store(&self, ent: &mut Entity, value: Self::Value) -> Result<(), En... type Value (line 300) | type Value = FunctionId; method load (line 303) | fn load(&self, ent: &Entity) -> Result { method store (line 308) | fn store(&self, ent: &mut Entity, value: Self::Value) -> Result<(), En... type FieldAddrFloat (line 89) | pub enum FieldAddrFloat { type FieldAddrVector (line 208) | pub enum FieldAddrVector { type FieldAddrStringId (line 240) | pub enum FieldAddrStringId { type FieldAddrEntityId (line 268) | pub enum FieldAddrEntityId { type FieldAddrFunctionId (line 292) | pub enum FieldAddrFunctionId { function float_addr (line 333) | fn float_addr(addr: usize) -> Result { function vector_addr (line 345) | fn vector_addr(addr: usize) -> Result { type FieldDefCacheEntry (line 356) | struct FieldDefCacheEntry { type EntityTypeDef (line 362) | pub struct EntityTypeDef { method new (line 371) | pub fn new( method addr_count (line 391) | pub fn addr_count(&self) -> usize { method field_defs (line 395) | pub fn field_defs(&self) -> &[FieldDef] { method find (line 400) | pub fn find(&self, name: S) -> Option<&FieldDef> type EntitySolid (line 432) | pub enum EntitySolid { type Entity (line 441) | pub struct Entity { method new (line 452) | pub fn new(string_table: Rc>, type_def: Rc Result<(), Entit... method field_def (line 493) | pub fn field_def(&self, name: S) -> Option<&FieldDef> method get_addr (line 501) | pub fn get_addr(&self, addr: i16) -> Result<&[u8], EntityError> { method get_addr_mut (line 516) | pub fn get_addr_mut(&mut self, addr: i16) -> Result<&mut [u8], EntityE... method get_bytes (line 531) | pub fn get_bytes(&self, addr: i16) -> Result<[u8; 4], EntityError> { method put_bytes (line 549) | pub fn put_bytes(&mut self, val: [u8; 4], addr: i16) -> Result<(), Ent... method load (line 565) | pub fn load(&self, field: F) -> Result method store (line 573) | pub fn store(&mut self, field: F, value: F::Value) -> Result<(), En... method get_int (line 581) | pub fn get_int(&self, addr: i16) -> Result { method put_int (line 586) | pub fn put_int(&mut self, val: i32, addr: i16) -> Result<(), EntityErr... method get_float (line 592) | pub fn get_float(&self, addr: i16) -> Result { method put_float (line 598) | pub fn put_float(&mut self, val: f32, addr: i16) -> Result<(), EntityE... method get_vector (line 605) | pub fn get_vector(&self, addr: i16) -> Result<[f32; 3], EntityError> { method put_vector (line 618) | pub fn put_vector(&mut self, val: [f32; 3], addr: i16) -> Result<(), E... method string_id (line 629) | pub fn string_id(&self, addr: i16) -> Result { method put_string_id (line 638) | pub fn put_string_id(&mut self, val: StringId, addr: i16) -> Result<()... method entity_id (line 647) | pub fn entity_id(&self, addr: i16) -> Result { method put_entity_id (line 657) | pub fn put_entity_id(&mut self, val: EntityId, addr: i16) -> Result<()... method function_id (line 666) | pub fn function_id(&self, addr: i16) -> Result { method put_function_id (line 674) | pub fn put_function_id(&mut self, val: FunctionId, addr: i16) -> Resul... method set_min_max_size (line 682) | pub fn set_min_max_size(&mut self, min: V, max: V) -> Result<(), En... method model_index (line 701) | pub fn model_index(&self) -> Result { method abs_min (line 713) | pub fn abs_min(&self) -> Result, EntityError> { method abs_max (line 717) | pub fn abs_max(&self) -> Result, EntityError> { method solid (line 721) | pub fn solid(&self) -> Result { method origin (line 732) | pub fn origin(&self) -> Result, EntityError> { method min (line 736) | pub fn min(&self) -> Result, EntityError> { method max (line 740) | pub fn max(&self) -> Result, EntityError> { method size (line 744) | pub fn size(&self) -> Result, EntityError> { method velocity (line 748) | pub fn velocity(&self) -> Result, EntityError> { method apply_gravity (line 757) | pub fn apply_gravity( method limit_velocity (line 776) | pub fn limit_velocity(&mut self, sv_maxvelocity: f32) -> Result<(), En... method move_kind (line 786) | pub fn move_kind(&self) -> Result { method flags (line 798) | pub fn flags(&self) -> Result { method add_flags (line 809) | pub fn add_flags(&mut self, flags: EntityFlags) -> Result<(), EntityEr... method owner (line 815) | pub fn owner(&self) -> Result { FILE: src/server/world/mod.rs constant AREA_DEPTH (line 57) | const AREA_DEPTH: usize = 4; constant NUM_AREA_NODES (line 58) | const NUM_AREA_NODES: usize = 2usize.pow(AREA_DEPTH as u32 + 1) - 1; constant MAX_ENTITIES (line 59) | const MAX_ENTITIES: usize = 600; type AreaNodeKind (line 62) | enum AreaNodeKind { type AreaNode (line 68) | struct AreaNode { method generate (line 106) | pub fn generate(mins: Vector3, maxs: Vector3) -> ArrayVec Result<()... method find_def (line 302) | fn find_def(&self, name: S) -> Result<&FieldDef, ProgsError> method ent_fld_addr_to_i32 (line 322) | pub fn ent_fld_addr_to_i32(&self, ent_fld_addr: EntityFieldAddr) -> i32 { method ent_fld_addr_from_i32 (line 334) | pub fn ent_fld_addr_from_i32(&self, val: i32) -> EntityFieldAddr { method find_vacant_slot (line 350) | fn find_vacant_slot(&self) -> Result { method alloc_uninitialized (line 360) | pub fn alloc_uninitialized(&mut self) -> Result { method alloc_from_map (line 384) | pub fn alloc_from_map(&mut self, map: HashMap<&str, &str>) -> Result Result<(), ProgsError> { method entity (line 485) | pub fn entity(&self, entity_id: EntityId) -> &Entity { method try_entity (line 492) | pub fn try_entity(&self, entity_id: EntityId) -> Result<&Entity, Progs... method entity_mut (line 509) | pub fn entity_mut(&mut self, entity_id: EntityId) -> Result<&mut Entit... method entity_exists (line 526) | pub fn entity_exists(&mut self, entity_id: EntityId) -> bool { method list_entities (line 533) | pub fn list_entities(&self, list: &mut Vec) { method area_entity (line 541) | fn area_entity(&self, entity_id: EntityId) -> Result<&AreaEntity, Prog... method area_entity_mut (line 558) | fn area_entity_mut(&mut self, entity_id: EntityId) -> Result<&mut Area... method list_touched_triggers (line 578) | pub fn list_touched_triggers( method unlink_entity (line 620) | pub fn unlink_entity(&mut self, e_id: EntityId) -> Result<(), ProgsErr... method link_entity (line 644) | pub fn link_entity(&mut self, e_id: EntityId) -> Result<(), ProgsError> { method set_entity_model (line 740) | pub fn set_entity_model(&mut self, e_id: EntityId, model_id: usize) ->... method set_entity_size (line 752) | pub fn set_entity_size( method remove_entity (line 764) | pub fn remove_entity(&mut self, e_id: EntityId) -> Result<(), ProgsErr... method hull_for_entity (line 771) | pub fn hull_for_entity( method move_entity (line 832) | pub fn move_entity( method collide (line 891) | pub fn collide(&self, collide: &Collide) -> Result<(Trace, Option, ratio: f32) -> TraceStart { type TraceEndBoundary (line 181) | pub struct TraceEndBoundary { type TraceEndKind (line 188) | pub enum TraceEndKind { type TraceEnd (line 198) | pub struct TraceEnd { method terminal (line 204) | pub fn terminal(point: Vector3) -> TraceEnd { method boundary (line 211) | pub fn boundary(point: Vector3, ratio: f32, plane: Hyperplane) ->... method kind (line 218) | pub fn kind(&self) -> &TraceEndKind { type Trace (line 224) | pub struct Trace { method new (line 232) | pub fn new(start: TraceStart, end: TraceEnd, contents: BspLeafContents... method join (line 254) | pub fn join(self, other: Trace) -> Trace { method adjust (line 293) | pub fn adjust(self, offset: Vector3) -> Trace { method start_point (line 309) | pub fn start_point(&self) -> Vector3 { method end (line 314) | pub fn end(&self) -> &TraceEnd { method end_point (line 319) | pub fn end_point(&self) -> Vector3 { method all_solid (line 324) | pub fn all_solid(&self) -> bool { method start_solid (line 329) | pub fn start_solid(&self) -> bool { method in_open (line 333) | pub fn in_open(&self) -> bool { method in_water (line 337) | pub fn in_water(&self) -> bool { method is_terminal (line 342) | pub fn is_terminal(&self) -> bool { method ratio (line 354) | pub fn ratio(&self) -> f32 { function bounds_for_move (line 370) | pub fn bounds_for_move(