MCPcopy Create free account

hub / github.com/EBonura/PSoXide / functions

Functions9,778 in github.com/EBonura/PSoXide

↓ 11 callersMethodupdate_clut_if_needed
Fetch a single texel from the active texture page. Returns `None` for transparent -- PSX convention is **the resolved 16-bit colour == 0x0000**, regar
emu/crates/emulator-core/src/gpu.rs:1796
↓ 11 callersFunctionwrite_le_u32_at
(dst: &mut [u8], offset: usize, value: u32)
crates/psx-iso/src/lib.rs:351
↓ 10 callersFunctionaverage4_i32
(a: i32, b: i32, c: i32, d: i32)
engine/examples/editor-playtest/src/image_props_runtime.rs:178
↓ 10 callersMethodblend_kind
Active blend kind for the *next* primitive about to be emitted. Mono / shaded primitives always read it via this helper; textured primitives that set
emu/crates/psx-gpu-render/src/translator.rs:119
↓ 10 callersFunctionbox_prop_vertices_for_size
Build the default bottom-anchored cube vertices for a boxed prop.
editor/crates/psxed-project/src/scene_grid_types.rs:282
↓ 10 callersMethodbuffer
(&self)
emu/crates/psx-gpu-render/src/vram.rs:122
↓ 10 callersMethodcamera_ray_for_pointer
Build the camera ray in world units for the given pointer position, or `None` if the pointer's outside the viewport. Shared by `pick_3d_world` (ray vs
editor/crates/psxed-ui/src/workspace/input.rs:9
↓ 10 callersMethodcell_bounds_world
World-space X/Z bounds of cell `(sx, sz)` in editor convention. `z0` is the low-Z / south edge and `z1` is the high-Z / north edge.
editor/crates/psxed-project/src/world_types.rs:1523
↓ 10 callersFunctioncleanup_read_stream
(polls: &mut u32)
engine/examples/editor-playtest/src/cd_stream/hw.rs:336
↓ 10 callersFunctionclip_portal_polygon_against_plane
( vertices: &mut [PortalViewVertex; PORTAL_CLIP_VERTEX_CAPACITY], scratch: &mut [PortalViewVertex; POR
engine/crates/psx-level/src/portal_visibility.rs:1153
↓ 10 callersFunctionconsume_command_cycle_shortcut
(ctx: &egui::Context, key: egui::Key)
editor/crates/psxed-ui/src/editor_helpers.rs:332
↓ 10 callersFunctionconsume_command_shortcut
(ctx: &egui::Context, key: egui::Key)
editor/crates/psxed-ui/src/editor_helpers.rs:292
↓ 10 callersMethoddirection
Direction id.
engine/crates/psx-engine/src/world.rs:1241
↓ 10 callersFunctiondirs_home
()
tools/psoxide-dev/src/main.rs:2292
↓ 10 callersFunctiondither_rgb
Dither an 8-bit RGB triple to 15bpp using the PS1's signed additive 4×4 ordered-dither matrix (PSX-SPX '24bit-to-15bit dithering'). The algorithm per
emu/crates/emulator-core/src/gpu/blend.rs:34
↓ 10 callersMethoddma_write_in
Called by the bus for DMA channel 0 transfers -- CPU→MDEC. Each word becomes two halfwords in little-endian order.
emu/crates/emulator-core/src/mdec.rs:291
↓ 10 callersFunctiondraw_play_metric_line
( painter: &egui::Painter, x: f32, y: &mut f32, text: &str, color: Color32, )
editor/crates/psxed-ui/src/play_overlay.rs:1128
↓ 10 callersFunctionedge
(a: PreviewVertex, b: PreviewVertex, c: PreviewVertex)
editor/crates/psxed-ui/src/model_import_preview.rs:854
↓ 10 callersFunctionemit_bool_counter
(counter_id: u16, value: bool)
engine/crates/psx-engine/src/render3d.rs:3302
↓ 10 callersMethodenable_cmd_log
Enable cmd_log capture WITHOUT allocating the per-pixel owner buffer. The HW (wgpu render-pipeline) renderer needs the GP0 packet stream to drive its
emu/crates/emulator-core/src/gpu.rs:733
↓ 10 callersMethodextend_to_include
Ensure the world-cell `(wcx, wcz)` is addressable. Grows the grid in `+X` / `+Z` and / or shifts existing sectors (with `origin` decrementing in locks
editor/crates/psxed-project/src/world_types.rs:1662
↓ 10 callersFunctionfast_boot_disc_with_hle
Variant of [`fast_boot_disc`] that lets callers choose whether to enable HLE BIOS dispatch after loading the EXE. Set `enable_hle_bios` to `false` wh
emu/crates/emulator-core/src/fastboot.rs:52
↓ 10 callersMethodfloor_heights
Floor corner heights `[NW, NE, SE, SW]` for vertex emission.
engine/crates/psx-engine/src/world.rs:1011
↓ 10 callersMethodheights
Wall heights `[bottom-left, bottom-right, top-right, top-left]`.
engine/crates/psx-engine/src/world.rs:1256
↓ 10 callersFunctionhorizontal_depth_options
(options: WorldSurfaceOptions)
engine/crates/psx-engine/src/world_render.rs:843
↓ 10 callersFunctioninstall_identity_rotation
Install the identity rotation matrix scaled 1.0 in 1.3.12 (i.e. every diagonal = 0x1000, off-diagonal = 0). Keeps RTPS/MVMVA fixtures readable: `MAC =
sdk/crates/psx-gte-core/src/state.rs:1651
↓ 10 callersFunctionmaterial_picker
Material picker used by the sector / face inspector. `jump_to` is an out-param: clicking the `→` button writes the selected material's resource id in
editor/crates/psxed-ui/src/sector_inspector.rs:440
↓ 10 callersMethodnode_gizmo_screen_axes
(&self, rect: Rect)
editor/crates/psxed-ui/src/workspace/editing.rs:576
↓ 10 callersFunctionprim_blend_mode
(cmd_word: u32, tpage_mode: BlendMode)
emu/crates/emulator-core/src/gpu/blend.rs:89
↓ 10 callersMethodpush_color_from_mac
Pull MAC1/2/3 into a saturated RGB and push onto the colour FIFO. `code` is taken from the current RGBC.
sdk/crates/psx-gte-core/src/state.rs:1249
↓ 10 callersFunctionpush_portal_segment
( scratch: &mut PreviewScratch, a: spatial::RoomPoint, b: spatial::RoomPoint, style: FaceOutli
emu/crates/frontend/src/editor_preview/portals.rs:350
↓ 10 callersFunctionpush_unique_selection
(selections: &mut Vec<Selection>, selection: Selection)
editor/crates/psxed-ui/src/geometry.rs:187
↓ 10 callersFunctionread_optional_log
(path: &Path)
tools/psoxide-dev/src/main.rs:1504
↓ 10 callersMethodreg_read
Read-back value -- always returns the raw register the CPU wrote, not the animated current level.
emu/crates/emulator-core/src/spu.rs:449
↓ 10 callersMethodreplace_primitive_selection
(&mut self, selection: Selection)
editor/crates/psxed-ui/src/workspace/selection.rs:32
↓ 10 callersMethodresolve
Resolve what a click at `pointer` would target, through the same path the live viewport uses.
editor/crates/psxed-ui/src/tests.rs:249
↓ 10 callersFunctionrgb24_to_bgr15
Convert a 24-bit RGB value (as written by the CPU in GP0 packets) into the 15-bit BGR word VRAM stores. Matches Redux / PS1 hardware: the 3 high bits
emu/crates/emulator-core/src/gpu/blend.rs:4
↓ 10 callersMethodrun_dma_channel
Run DMA on a single channel after its CHCR was just written with the start bit set. Mirrors Redux's per-channel `dmaExec<N>` dispatch in `psxhw.cc` --
emu/crates/emulator-core/src/bus.rs:1145
↓ 10 callersMethodsector_wall
Wall record by sector-local wall index. Skip the array- decode dance the caller would otherwise do over `sector.first_wall + i`.
engine/crates/psx-engine/src/world.rs:316
↓ 10 callersMethodselected_node_id
Currently-selected scene node. The frontend reads this so the 3D preview can highlight the selected entity.
editor/crates/psxed-ui/src/workspace/viewport.rs:863
↓ 10 callersMethodservice_sio0
Advance the SIO0 byte/ACK timers to the current bus cycle, forward any newly latched controller IRQ to `I_STAT`, and (re)schedule [`EventSlot::Sio`] f
emu/crates/emulator-core/src/bus.rs:649
↓ 10 callersFunctionset_counter
(t: Timer, value: u16)
sdk/crates/psx-io/src/timers.rs:32
↓ 10 callersFunctionsigned_to_q12
(value: i32)
editor/crates/psxed-ui/src/editor_helpers.rs:625
↓ 10 callersMethodspawn_burst
Spawn `count` particles at `centre` with velocities scattered within `[-velocity_range, +velocity_range]` on each axis (Q4.4). Colour and TTL are unif
sdk/crates/psx-fx/src/particles.rs:108
↓ 10 callersFunctionspin
(count: u32)
engine/examples/hardware-tests/src/main.rs:4859
↓ 10 callersFunctionstat_cell
(ui: &mut egui::Ui, label: &str, value: usize)
editor/crates/psxed-ui/src/inspector_assets.rs:252
↓ 10 callersMethodsubmit_textured_triangle_split
( &mut self, triangles: &mut impl PrimitiveSink<TriTextured>, verts: [ProjectedTexture
engine/crates/psx-engine/src/render3d/world_pass.rs:170
↓ 10 callersMethodtick
Advance one SPU sample. Ramps `current` per the configured sweep; a no-op for fixed levels (`sweep_active == false`). Direct port of PSX-SPX `VolumeEn
emu/crates/emulator-core/src/spu.rs:405
↓ 10 callersMethodtick
Advance all three timers by `cycles` system-clock ticks. Each timer converts that to its own clock source first: - Timer 0 source 1 / 3 → dot-clock (p
emu/crates/emulator-core/src/timers.rs:172
↓ 10 callersFunctionto_physical
(virt: u32)
crates/psx-hw/src/memory.rs:30
↓ 10 callersFunctiontoolbar_group_menu
Toolbar group button showing the group's icon plus its current value (e.g. rotate icon + "Rotate"), so the active mode is readable without hovering.
editor/crates/psxed-ui/src/inspector_transform_node.rs:3054
↓ 10 callersFunctiontransform_vertex_scheduled
(v: Vec3I16)
sdk/crates/psx-gte/src/scene.rs:204
↓ 10 callersMethodupdate_primitive_resource_selection
(&mut self)
editor/crates/psxed-ui/src/workspace/selection.rs:256
↓ 10 callersMethodupload_rect
Upload a sub-rectangle. `words.len()` must be exactly `w * h`. Out-of-bounds rects are rejected (no wrap -- the rasterizer handles wrap separately on
emu/crates/psx-gpu-render/src/vram.rs:143
↓ 10 callersMethodwith_texture_window
Return a copy using `texture_window`.
sdk/crates/psx-gpu/src/material.rs:284
↓ 10 callersMethodwrite
Write a save (uncompressed), overwriting any existing file of the same name. `name` is the BIOS file name (product code + label, <= 20 ASCII); `title`
sdk/crates/psx-mc/src/fs.rs:363
↓ 10 callersFunctionwrite_byte
(addr: u32, value: u8)
sdk/crates/psx-io/src/cdrom.rs:451
↓ 9 callersFunctionadd_model_clip_requirement
( project: &ProjectDocument, out: &mut HashMap<ResourceId, BTreeSet<u16>>, model: ResourceId,
editor/crates/psxed-project/src/playtest/cook_entities.rs:312
↓ 9 callersMethodadd_option
Append a fresh [`OptionDef`] named `name` with a default [`OptionKind`], assign it a stable id that does not collide with any existing option, and ret
editor/crates/psxed-project/src/document_types.rs:647
↓ 9 callersFunctionbin_to_bcd
Convert binary `0..=99` to BCD for CD-ROM command parameters.
sdk/crates/psx-io/src/cdrom.rs:193
↓ 9 callersMethodbytes
(&mut self, count: usize)
editor/crates/psxed-project/src/tr_level.rs:865
↓ 9 callersFunctioncd_ack
(irq: u8)
engine/examples/editor-playtest/src/cd_stream/hw.rs:385
↓ 9 callersFunctioncd_ack_all
()
engine/examples/editor-playtest/src/cd_stream/hw.rs:377
↓ 9 callersFunctioncd_set_index
(index: u8)
sdk/examples/cdda-read-contention/src/main.rs:212
↓ 9 callersMethodceiling_triangle_heights
Ceiling split-triangle heights in that triangle's corner order.
engine/crates/psx-engine/src/world.rs:1046
↓ 9 callersFunctionchecked_index
(index: u32, vertex_count: usize)
editor/crates/psxed-gltf/src/lib.rs:400
↓ 9 callersMethodchunked_level
(&self)
engine/examples/editor-playtest/src/active_room_visibility.rs:4
↓ 9 callersMethodcollect_entity_bounds
Resolve the Room node that owns the current selection, if any. Order: selected face's room → climb the selected node's Walk the active scene and coll
editor/crates/psxed-ui/src/workspace/toolbars.rs:1064
↓ 9 callersMethodcommand_histogram
Histogram of step-1 command bytes (`0x42`, `0x43`, `0x44`, etc.) observed since power-on / reset.
emu/crates/emulator-core/src/pad.rs:597
↓ 9 callersMethodcomplete_dma_channel
Finalise a DMA channel's transfer: clear the start bit in CHCR and notify the DMA controller so it updates DICR and returns whether this channel's IRQ
emu/crates/emulator-core/src/bus.rs:921
↓ 9 callersFunctioncook_ui_nodes
Cook every authored UI scene into one shared node pool plus a parallel scene table, and derive the default game flow. Each scene's nodes are flattene
editor/crates/psxed-project/src/playtest/cook_ui.rs:31
↓ 9 callersFunctioncook_ui_paint
( from: [u8; 3], gradient: Option<UiGradient>, ui_paints: &mut Vec<PlaytestUiPaint>, )
editor/crates/psxed-project/src/playtest/cook_ui.rs:643
↓ 9 callersFunctioncsv_field_u64
(fields: &[&str], index: Option<usize>)
tools/psoxide-dev/src/main.rs:1217
↓ 9 callersFunctioncycle_value
(values: &[T], current: T, reverse: bool)
editor/crates/psxed-ui/src/editor_helpers.rs:366
↓ 9 callersMethoddepth_values
(self, z0: i32, z1: i32, z2: i32)
engine/crates/psx-engine/src/render3d.rs:201
↓ 9 callersFunctiondrag_u8
(ui: &mut egui::Ui, label: &str, value: &mut u8, min: u8, max: u8)
editor/crates/psxed-ui/src/inspector_character_ui.rs:1967
↓ 9 callersFunctiondraw_chunk_map_legend_item
( painter: &egui::Painter, pos: Pos2, fill: Color32, stroke: Color32, label: &str, )
editor/crates/psxed-ui/src/play_overlay.rs:1033
↓ 9 callersFunctiondraw_rect
(x: i16, y: i16, width: i16, height: i16, color: (u8, u8, u8))
engine/examples/editor-playtest/src/overlay.rs:559
↓ 9 callersFunctiondraw_ui_gradient_editor
( ui: &mut egui::Ui, label: &str, from: &[u8; 3], gradient: &mut Option<UiGradient>, )
editor/crates/psxed-ui/src/inspector_transform_node.rs:2856
↓ 9 callersMethoddrop_corner
Drop one corner -- the face becomes a visible triangle. Forces `split` to the diagonal that keeps a triangle alive (drop NE / SW → NW-SE; drop NW / SE
editor/crates/psxed-project/src/scene_grid_types.rs:1076
↓ 9 callersMethodeffective_slot_limit
(&self)
engine/examples/editor-playtest/src/active_room_streaming.rs:120
↓ 9 callersFunctionexchange_delayed
(tx: u8, interbyte_spins: u32)
sdk/crates/psx-pad/src/lib.rs:732
↓ 9 callersMethodface
(&self, i: u16)
sdk/crates/psx-asset/src/lib.rs:267
↓ 9 callersMethodface_count
(&self)
sdk/crates/psx-asset/src/lib.rs:224
↓ 9 callersFunctionfield
(line: &str, start: usize, end: usize)
emu/crates/frontend/src/burn.rs:563
↓ 9 callersFunctionfill_ascii
Fill `dst` with `s` as ASCII, space-padding (or truncating) to `dst.len()`.
crates/psx-iso/src/iso9660.rs:500
↓ 9 callersMethodfind_duplicate_room_child
( &self, room_id: NodeId, translation: [f32; 3], mut matches_placement: F,
editor/crates/psxed-ui/src/workspace/painting.rs:544
↓ 9 callersFunctionfind_vram_slot
Upload `asset_bytes` to VRAM if not already resident; return the slot record so the caller can build a TextureMaterial. Returns `None` if the texture
engine/examples/editor-playtest/src/vram_runtime.rs:700
↓ 9 callersMethodfloor_triangle_present
`true` if the floor split triangle is present.
engine/crates/psx-engine/src/world.rs:991
↓ 9 callersFunctionfont
(size: f32)
editor/crates/psxed-ui/src/icons.rs:47
↓ 9 callersMethodhas_floor
(self)
engine/crates/psx-engine/src/world.rs:658
↓ 9 callersMethodhas_geometry
True if the sector emits any geometry.
editor/crates/psxed-project/src/scene_grid_types.rs:1579
↓ 9 callersMethodindex_zero_transparent
(&self)
sdk/crates/psx-asset/src/lib.rs:1426
↓ 9 callersMethodinsert_room
Set `room`.
engine/crates/psx-level/src/lib.rs:152
↓ 9 callersMethodis_component
True for behaviour/component nodes that are intended to be children of an [`Entity`](Self::Entity) host rather than independent placed objects.
editor/crates/psxed-project/src/scene_types.rs:325
↓ 9 callersMethodlocal_to_world_q12
(&self)
sdk/crates/psx-asset/src/lib.rs:490
↓ 9 callersFunctionlog_status
(text: Option<&str>, required: &[&str])
tools/psoxide-dev/src/main.rs:1532
↓ 9 callersFunctionmodulate_tint
Modulate a 15bpp BGR texel by a 24-bit RGB tint. PSX formula: `result_channel = (tint_8bit * texel_5bit * 2) / 0x100`, which makes tint value `0x80` p
emu/crates/emulator-core/src/gpu/blend.rs:110
↓ 9 callersFunctionnormalize4
(v: [f32; 4])
editor/crates/psxed-gltf/src/math.rs:153
↓ 9 callersFunctionpack_flags
(flags: PrimFlags, mode: BlendMode)
emu/crates/psx-gpu-render/src/primitive.rs:98
← previousnext →501–600 of 9,778, ranked by callers