MCPcopy Create free account

hub / github.com/cormac-obrien/richter / functions

Functions1,212 in github.com/cormac-obrien/richter

↓ 192 callersMethodpush
(&mut self, chars: C, timestamp: Option<i64>)
src/common/console/mod.rs:495
↓ 98 callersMethodinto
(self)
src/client/render/mod.rs:238
↓ 87 callersMethodlen
Return the number of stored values.
src/common/alloc.rs:41
↓ 67 callersMethoditer
Return an iterator over the active lights.
src/client/entity/mod.rs:313
↓ 65 callersMethodlen
(&self)
src/client/menu/item.rs:238
↓ 61 callersMethodget
(&self)
src/client/menu/item.rs:69
↓ 41 callersMethodput_float
Stores an `f32` at the given virtual address.
src/server/progs/globals.rs:355
↓ 40 callersMethodentity
(&self, entity_id: EntityId)
src/server/world/mod.rs:485
↓ 39 callersMethodget_float
Loads an `f32` from the given virtual address.
src/server/progs/globals.rs:349
↓ 35 callersMethodseek
(&mut self, pos: SeekFrom)
src/common/vfs.rs:166
↓ 33 callersMethodto_string
(&self)
src/client/input/game.rs:301
↓ 32 callersMethodstore
(&self, ent: &mut Entity, value: Self::Value)
src/server/world/entity.rs:202
↓ 31 callersMethodcontains
(&self, name: S)
src/common/console/mod.rs:157
↓ 30 callersMethodentity_mut
(&mut self, entity_id: EntityId)
src/server/world/mod.rs:509
↓ 29 callersMethodcvar_value
(&self, name: S)
src/client/mod.rs:1038
↓ 29 callersMethodregister
Register a new `Cvar` with the given name.
src/common/console/mod.rs:241
↓ 28 callersMethodset
(&mut self, bit: u64)
src/common/bitset.rs:42
↓ 26 callersMethodcontains
Return `true` if a value is associated with the given key.
src/common/alloc.rs:91
↓ 26 callersMethodserialize
(&self, writer: &mut W)
src/common/net/mod.rs:1459
↓ 25 callersFunctionduration_to_f32
(d: Duration)
src/common/engine.rs:56
↓ 24 callersMethodinsert
(&self, c: char)
src/client/menu/item.rs:272
↓ 23 callersMethoditer
(&self)
src/common/pak.rs:148
↓ 22 callersMethodload
(&self, ent: &Entity)
src/server/world/entity.rs:197
↓ 22 callersMethodopen
Opens a file in the file tree for reading. # Examples ```no_run # extern crate richter; use richter::common::pak::Pak; # fn main() { let mut pak = P
src/common/pak.rs:137
↓ 21 callersMethodbind
Bind a `BindInput` to a `BindTarget`.
src/client/input/game.rs:531
↓ 21 callersMethoddevice
(&self)
src/client/render/mod.rs:554
↓ 20 callersMethodaction_state
(&self, action: Action)
src/client/input/game.rs:610
↓ 19 callersFunctionread_cstring
Read a null-terminated sequence of bytes and convert it into a `String`. The zero byte is consumed. ## Panics - If the end of the input is reached b
src/common/util.rs:42
↓ 18 callersMethodget_float
Loads an `f32` from the given virtual address.
src/server/world/entity.rs:592
↓ 18 callersMethodset_focus
(&mut self, new_focus: InputFocus)
src/client/input/mod.rs:96
↓ 17 callersMethodget_vector
Loads an `[f32; 3]` from the given virtual address.
src/server/progs/globals.rs:362
↓ 17 callersMethodget_vector
Loads an `[f32; 3]` from the given virtual address.
src/server/world/entity.rs:605
↓ 17 callersMethodinsert_or_replace
Registers a new command with the given name, or replaces one if the name is in use.
src/common/console/mod.rs:104
↓ 17 callersMethodput_float
Stores an `f32` at the given virtual address.
src/server/world/entity.rs:598
↓ 16 callersMethodentity_id
Loads an `EntityId` from the given virtual address.
src/server/world/entity.rs:647
↓ 16 callersMethodsection
(&self, section_id: BspFileSectionId)
src/common/bsp/load.rs:207
↓ 15 callersMethodget
Returns a reference to the client in a slot. If the slot is unoccupied, or if `id` is greater than `self.limit()`, returns `None`.
src/server/mod.rs:114
↓ 14 callersMethodcreate_texture
( &self, label: Option<&'a str>, width: u32, height: u32, data: &Textu
src/client/render/mod.rs:467
↓ 14 callersFunctionread_angle
(reader: &mut R)
src/common/net/mod.rs:2351
↓ 13 callersMethodbits
(&self)
src/common/net/mod.rs:235
↓ 13 callersMethodinsert
Registers a new command with the given name. Returns an error if a command with the specified name already exists.
src/common/console/mod.rs:83
↓ 13 callersMethodmax
Returns the minimum extent of this keyframe relative to the model origin.
src/common/mdl.rs:176
↓ 13 callersMethodquad_pipeline
(&self)
src/client/render/mod.rs:640
↓ 12 callersMethodbuild
(self, view: MenuView)
src/client/menu/mod.rs:276
↓ 12 callersMethodcheck_end_position
( &self, seeker: &mut S, section_id: BspFileSectionId, )
src/common/bsp/load.rs:211
↓ 12 callersMethodheight
(&self)
src/client/render/ui/quad.rs:316
↓ 12 callersMethoditer
(&self)
src/server/progs/string_table.rs:112
↓ 12 callersFunctionload
(data: R)
src/common/mdl.rs:303
↓ 12 callersMethodput_vector
Stores an `[f32; 3]` at the given virtual address.
src/server/world/entity.rs:618
↓ 12 callersMethodremove
Remove and return the value associated with the given key. The key is then released and may be associated with future stored values. Note that this
src/common/alloc.rs:85
↓ 12 callersMethodtype_check
Performs a type check at `addr` with type `type_`. The type check allows checking `QFloat` against `QVector` and vice-versa, since vectors have overl
src/server/progs/globals.rs:256
↓ 11 callersFunctionduration_from_f32
(f: f32)
src/common/engine.rs:61
↓ 11 callersFunctionread_coord
(reader: &mut R)
src/common/net/mod.rs:2314
↓ 11 callersFunctionread_f32_3
Read a `[f32; 3]` in little-endian byte order.
src/common/util.rs:27
↓ 11 callersMethodrebuild
( &mut self, device: &wgpu::Device, compiler: &mut shaderc::Compiler, input: &
src/client/render/blit.rs:65
↓ 11 callersMethodstring_id
Loads a `StringId` from the given virtual address.
src/server/world/entity.rs:629
↓ 10 callersMethodcreate_bind_group
( state: &GraphicsState, color_buffer: &wgpu::TextureView, )
src/client/render/world/postprocess.rs:157
↓ 10 callersMethodentity_id
(&self)
src/client/view.rs:63
↓ 10 callersMethodto_bytes
Generates the byte representation of this packet for transmission.
src/common/net/connect.rs:73
↓ 10 callersMethodtype_check
(&self, addr: usize, type_: Type)
src/server/world/entity.rs:468
↓ 10 callersMethodwidth
(&self)
src/client/render/ui/quad.rs:312
↓ 9 callersFunctionany_as_bytes
(t: &T)
src/common/util.rs:52
↓ 9 callersMethodget_value
(&self, name: S)
src/common/console/mod.rs:299
↓ 9 callersMethodinsert
Allocate a value, returning the key assigned to the value. This operation is O(1).
src/common/alloc.rs:74
↓ 9 callersMethodis_empty
Return `true` if there are no values allocated.
src/common/alloc.rs:46
↓ 9 callersMethodpacket_len
Returns the total length in bytes of this packet, including the header.
src/common/net/connect.rs:53
↓ 9 callersMethodprintln
(&self, s: S)
src/common/console/mod.rs:675
↓ 9 callersMethodput_entity_id
Stores an `EntityId` at the given virtual address.
src/server/world/entity.rs:657
↓ 9 callersMethodput_vector
Stores an `[f32; 3]` at the given virtual address.
src/server/progs/globals.rs:375
↓ 9 callersFunctionread_coord_vector3
(reader: &mut R)
src/common/net/mod.rs:2321
↓ 9 callersMethodstuff_text
(&self, text: S)
src/common/console/mod.rs:808
↓ 8 callersMethodadd_action
(mut self, name: S, action: Box<dyn Fn()>)
src/client/menu/mod.rs:300
↓ 8 callersMethodget
(&self, name: S)
src/common/console/mod.rs:286
↓ 8 callersMethodget_addr
Returns a reference to the memory at the given address.
src/server/progs/globals.rs:274
↓ 8 callersMethodget_addr_mut
Returns a mutable reference to the memory at the given address.
src/server/progs/globals.rs:289
↓ 8 callersMethodhas_flag
(&self, flag: ModelFlags)
src/common/model.rs:197
↓ 8 callersMethodread
(&mut self, buf: &mut [u8])
src/common/vfs.rs:157
↓ 8 callersFunctionread_vertex
( reader: &mut R, scale: Vector3<f32>, translate: Vector3<f32>, )
src/common/mdl.rs:588
↓ 8 callersMethodregister_archive
Register a new archived `Cvar` with the given name. The value of this `Cvar` should be written to `vars.rc` whenever the game is closed or `host_writ
src/common/console/mod.rs:252
↓ 8 callersMethodtranslate
TODO: this will not render console characters correctly, as they use index 0 (black) to indicate transparency. Translates a set of indices into a list
src/client/render/palette.rs:50
↓ 7 callersMethodactive_submenu
Return a reference to the active submenu of this menu
src/client/menu/mod.rs:101
↓ 7 callersMethodadd_submenu
(mut self, name: S, submenu: Menu)
src/client/menu/mod.rs:291
↓ 7 callersMethodclear
Removes all allocations from the underlying buffer. Returns an error if the buffer is currently mapped or there are outstanding allocated blocks.
src/client/render/uniform.rs:142
↓ 7 callersMethodentity_id
Loads an `EntityId` from the given virtual address.
src/server/progs/globals.rs:404
↓ 7 callersMethodexecute_program
Execute a QuakeC function in the VM.
src/server/mod.rs:418
↓ 7 callersMethodget_field_addr
Loads a `FieldAddr` from the given virtual address.
src/server/progs/globals.rs:426
↓ 7 callersMethodinsert
Insert a particle into the live list. TODO: come up with a better eviction policy the original engine ignores new particles if at capacity, but it's n
src/client/entity/particle.rs:266
↓ 7 callersMethodinsert
(&mut self, s: S)
src/server/progs/string_table.rs:88
↓ 7 callersMethodmin
Returns the minimum extent of this keyframe relative to the model origin.
src/common/mdl.rs:171
↓ 7 callersMethodprecache
Adds an item to the precache. If the item already exists in the precache, this has no effect.
src/server/precache.rs:59
↓ 7 callersMethodput_string_id
Stores a `StringId` at the given virtual address.
src/server/world/entity.rs:638
↓ 7 callersMethodqueue
(&self)
src/client/render/mod.rs:558
↓ 7 callersMethodsolid
(&self)
src/server/world/entity.rs:721
↓ 7 callersMethodview
(&self)
src/client/render/world/mod.rs:247
↓ 6 callersMethodadd_slider
( mut self, name: S, min: f32, max: f32, steps: usize, init: u
src/client/menu/mod.rs:332
↓ 6 callersFunctionany_slice_as_bytes
(t: &[T])
src/common/util.rs:59
↓ 6 callersMethodcmd_intermission_number
Draw a number on the intermission overlay. `x_ofs` and `y_ofs` are specified relative to the top-left corner of the overlay.
src/client/render/ui/hud.rs:577
↓ 6 callersMethodend_point
Returns the point at which the trace ended.
src/server/world/phys.rs:319
↓ 6 callersMethodfind
Returns the index of the target value if it exists.
src/server/precache.rs:45
↓ 6 callersMethodfunction_id
Loads a `FunctionId` from the given virtual address.
src/server/progs/globals.rs:447
next →1–100 of 1,212, ranked by callers