Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cormac-obrien/richter
/ functions
Functions
1,212 in github.com/cormac-obrien/richter
⨍
Functions
1,212
◇
Types & classes
351
↓ 192 callers
Method
push
(&mut self, chars: C, timestamp: Option<i64>)
src/common/console/mod.rs:495
↓ 98 callers
Method
into
(self)
src/client/render/mod.rs:238
↓ 87 callers
Method
len
Return the number of stored values.
src/common/alloc.rs:41
↓ 67 callers
Method
iter
Return an iterator over the active lights.
src/client/entity/mod.rs:313
↓ 65 callers
Method
len
(&self)
src/client/menu/item.rs:238
↓ 61 callers
Method
get
(&self)
src/client/menu/item.rs:69
↓ 41 callers
Method
put_float
Stores an `f32` at the given virtual address.
src/server/progs/globals.rs:355
↓ 40 callers
Method
entity
(&self, entity_id: EntityId)
src/server/world/mod.rs:485
↓ 39 callers
Method
get_float
Loads an `f32` from the given virtual address.
src/server/progs/globals.rs:349
↓ 35 callers
Method
seek
(&mut self, pos: SeekFrom)
src/common/vfs.rs:166
↓ 33 callers
Method
to_string
(&self)
src/client/input/game.rs:301
↓ 32 callers
Method
store
(&self, ent: &mut Entity, value: Self::Value)
src/server/world/entity.rs:202
↓ 31 callers
Method
contains
(&self, name: S)
src/common/console/mod.rs:157
↓ 30 callers
Method
entity_mut
(&mut self, entity_id: EntityId)
src/server/world/mod.rs:509
↓ 29 callers
Method
cvar_value
(&self, name: S)
src/client/mod.rs:1038
↓ 29 callers
Method
register
Register a new `Cvar` with the given name.
src/common/console/mod.rs:241
↓ 28 callers
Method
set
(&mut self, bit: u64)
src/common/bitset.rs:42
↓ 26 callers
Method
contains
Return `true` if a value is associated with the given key.
src/common/alloc.rs:91
↓ 26 callers
Method
serialize
(&self, writer: &mut W)
src/common/net/mod.rs:1459
↓ 25 callers
Function
duration_to_f32
(d: Duration)
src/common/engine.rs:56
↓ 24 callers
Method
insert
(&self, c: char)
src/client/menu/item.rs:272
↓ 23 callers
Method
iter
(&self)
src/common/pak.rs:148
↓ 22 callers
Method
load
(&self, ent: &Entity)
src/server/world/entity.rs:197
↓ 22 callers
Method
open
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 callers
Method
bind
Bind a `BindInput` to a `BindTarget`.
src/client/input/game.rs:531
↓ 21 callers
Method
device
(&self)
src/client/render/mod.rs:554
↓ 20 callers
Method
action_state
(&self, action: Action)
src/client/input/game.rs:610
↓ 19 callers
Function
read_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 callers
Method
get_float
Loads an `f32` from the given virtual address.
src/server/world/entity.rs:592
↓ 18 callers
Method
set_focus
(&mut self, new_focus: InputFocus)
src/client/input/mod.rs:96
↓ 17 callers
Method
get_vector
Loads an `[f32; 3]` from the given virtual address.
src/server/progs/globals.rs:362
↓ 17 callers
Method
get_vector
Loads an `[f32; 3]` from the given virtual address.
src/server/world/entity.rs:605
↓ 17 callers
Method
insert_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 callers
Method
put_float
Stores an `f32` at the given virtual address.
src/server/world/entity.rs:598
↓ 16 callers
Method
entity_id
Loads an `EntityId` from the given virtual address.
src/server/world/entity.rs:647
↓ 16 callers
Method
section
(&self, section_id: BspFileSectionId)
src/common/bsp/load.rs:207
↓ 15 callers
Method
get
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 callers
Method
create_texture
( &self, label: Option<&'a str>, width: u32, height: u32, data: &Textu
src/client/render/mod.rs:467
↓ 14 callers
Function
read_angle
(reader: &mut R)
src/common/net/mod.rs:2351
↓ 13 callers
Method
bits
(&self)
src/common/net/mod.rs:235
↓ 13 callers
Method
insert
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 callers
Method
max
Returns the minimum extent of this keyframe relative to the model origin.
src/common/mdl.rs:176
↓ 13 callers
Method
quad_pipeline
(&self)
src/client/render/mod.rs:640
↓ 12 callers
Method
build
(self, view: MenuView)
src/client/menu/mod.rs:276
↓ 12 callers
Method
check_end_position
( &self, seeker: &mut S, section_id: BspFileSectionId, )
src/common/bsp/load.rs:211
↓ 12 callers
Method
height
(&self)
src/client/render/ui/quad.rs:316
↓ 12 callers
Method
iter
(&self)
src/server/progs/string_table.rs:112
↓ 12 callers
Function
load
(data: R)
src/common/mdl.rs:303
↓ 12 callers
Method
put_vector
Stores an `[f32; 3]` at the given virtual address.
src/server/world/entity.rs:618
↓ 12 callers
Method
remove
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 callers
Method
type_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 callers
Function
duration_from_f32
(f: f32)
src/common/engine.rs:61
↓ 11 callers
Function
read_coord
(reader: &mut R)
src/common/net/mod.rs:2314
↓ 11 callers
Function
read_f32_3
Read a `[f32; 3]` in little-endian byte order.
src/common/util.rs:27
↓ 11 callers
Method
rebuild
( &mut self, device: &wgpu::Device, compiler: &mut shaderc::Compiler, input: &
src/client/render/blit.rs:65
↓ 11 callers
Method
string_id
Loads a `StringId` from the given virtual address.
src/server/world/entity.rs:629
↓ 10 callers
Method
create_bind_group
( state: &GraphicsState, color_buffer: &wgpu::TextureView, )
src/client/render/world/postprocess.rs:157
↓ 10 callers
Method
entity_id
(&self)
src/client/view.rs:63
↓ 10 callers
Method
to_bytes
Generates the byte representation of this packet for transmission.
src/common/net/connect.rs:73
↓ 10 callers
Method
type_check
(&self, addr: usize, type_: Type)
src/server/world/entity.rs:468
↓ 10 callers
Method
width
(&self)
src/client/render/ui/quad.rs:312
↓ 9 callers
Function
any_as_bytes
(t: &T)
src/common/util.rs:52
↓ 9 callers
Method
get_value
(&self, name: S)
src/common/console/mod.rs:299
↓ 9 callers
Method
insert
Allocate a value, returning the key assigned to the value. This operation is O(1).
src/common/alloc.rs:74
↓ 9 callers
Method
is_empty
Return `true` if there are no values allocated.
src/common/alloc.rs:46
↓ 9 callers
Method
packet_len
Returns the total length in bytes of this packet, including the header.
src/common/net/connect.rs:53
↓ 9 callers
Method
println
(&self, s: S)
src/common/console/mod.rs:675
↓ 9 callers
Method
put_entity_id
Stores an `EntityId` at the given virtual address.
src/server/world/entity.rs:657
↓ 9 callers
Method
put_vector
Stores an `[f32; 3]` at the given virtual address.
src/server/progs/globals.rs:375
↓ 9 callers
Function
read_coord_vector3
(reader: &mut R)
src/common/net/mod.rs:2321
↓ 9 callers
Method
stuff_text
(&self, text: S)
src/common/console/mod.rs:808
↓ 8 callers
Method
add_action
(mut self, name: S, action: Box<dyn Fn()>)
src/client/menu/mod.rs:300
↓ 8 callers
Method
get
(&self, name: S)
src/common/console/mod.rs:286
↓ 8 callers
Method
get_addr
Returns a reference to the memory at the given address.
src/server/progs/globals.rs:274
↓ 8 callers
Method
get_addr_mut
Returns a mutable reference to the memory at the given address.
src/server/progs/globals.rs:289
↓ 8 callers
Method
has_flag
(&self, flag: ModelFlags)
src/common/model.rs:197
↓ 8 callers
Method
read
(&mut self, buf: &mut [u8])
src/common/vfs.rs:157
↓ 8 callers
Function
read_vertex
( reader: &mut R, scale: Vector3<f32>, translate: Vector3<f32>, )
src/common/mdl.rs:588
↓ 8 callers
Method
register_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 callers
Method
translate
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 callers
Method
active_submenu
Return a reference to the active submenu of this menu
src/client/menu/mod.rs:101
↓ 7 callers
Method
add_submenu
(mut self, name: S, submenu: Menu)
src/client/menu/mod.rs:291
↓ 7 callers
Method
clear
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 callers
Method
entity_id
Loads an `EntityId` from the given virtual address.
src/server/progs/globals.rs:404
↓ 7 callers
Method
execute_program
Execute a QuakeC function in the VM.
src/server/mod.rs:418
↓ 7 callers
Method
get_field_addr
Loads a `FieldAddr` from the given virtual address.
src/server/progs/globals.rs:426
↓ 7 callers
Method
insert
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 callers
Method
insert
(&mut self, s: S)
src/server/progs/string_table.rs:88
↓ 7 callers
Method
min
Returns the minimum extent of this keyframe relative to the model origin.
src/common/mdl.rs:171
↓ 7 callers
Method
precache
Adds an item to the precache. If the item already exists in the precache, this has no effect.
src/server/precache.rs:59
↓ 7 callers
Method
put_string_id
Stores a `StringId` at the given virtual address.
src/server/world/entity.rs:638
↓ 7 callers
Method
queue
(&self)
src/client/render/mod.rs:558
↓ 7 callers
Method
solid
(&self)
src/server/world/entity.rs:721
↓ 7 callers
Method
view
(&self)
src/client/render/world/mod.rs:247
↓ 6 callers
Method
add_slider
( mut self, name: S, min: f32, max: f32, steps: usize, init: u
src/client/menu/mod.rs:332
↓ 6 callers
Function
any_slice_as_bytes
(t: &[T])
src/common/util.rs:59
↓ 6 callers
Method
cmd_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 callers
Method
end_point
Returns the point at which the trace ended.
src/server/world/phys.rs:319
↓ 6 callers
Method
find
Returns the index of the target value if it exists.
src/server/precache.rs:45
↓ 6 callers
Method
function_id
Loads a `FunctionId` from the given virtual address.
src/server/progs/globals.rs:447
next →
1–100 of 1,212, ranked by callers