Skip to main content

SystemSettings

Struct SystemSettings 

Source
pub struct SystemSettings {
Show 66 fields pub game_bitmap: Option<String>, pub pointers: Option<String>, pub system_font: Option<String>, pub icon_font: Option<String>, pub gui_font: Option<String>, pub gui_low_font: Option<String>, pub animation_drive: Option<String>, pub back_texture: Option<i32>, pub volume: Option<i32>, pub sound: Option<bool>, pub fast_sound: Option<bool>, pub fidelity: Option<i32>, pub redbook: Option<bool>, pub redbook_volume: Option<i32>, pub sound_distance: Option<i32>, pub post_collide_height: Option<u32>, pub hpost_collide_height: Option<i32>, pub pre_validate: Option<bool>, pub normal_frame_rate: Option<i32>, pub use_smooth_fps: Option<bool>, pub use_smooth_divisor: Option<bool>, pub min_frame_rate: Option<i32>, pub max_frame_rate: Option<i32>, pub jump_time: Option<i32>, pub jump_height: Option<i32>, pub sphere_object_scale: Option<i32>, pub standing_height: Option<i32>, pub disable_text: Option<bool>, pub disable_debug_text: Option<bool>, pub normal_ink: Option<i32>, pub slide_range: Option<i32>, pub statics_load: Option<bool>, pub flats_load: Option<bool>, pub objects_load: Option<bool>, pub lights_load: Option<bool>, pub ropes_load: Option<bool>, pub task_system: Option<bool>, pub animation_system: Option<bool>, pub floating_point_physics: Option<bool>, pub rtx_filename: Option<String>, pub world_ini: Option<String>, pub item_ini: Option<String>, pub start_fade: Option<bool>, pub compass_xco: Option<i32>, pub compass_yco: Option<i32>, pub candle_xco: Option<i32>, pub candle_yco: Option<i32>, pub logbook_xco: Option<i32>, pub logbook_yco: Option<i32>, pub pickup_xco: Option<i32>, pub pickup_yco: Option<i32>, pub pickup_text_yco: Option<i32>, pub game_xco1: Option<i32>, pub game_yco1: Option<i32>, pub game_xco2: Option<i32>, pub game_yco2: Option<i32>, pub lock_windows: Option<bool>, pub disable_drive_check: Option<bool>, pub disable_cpu_check: Option<bool>, pub disable_svga_check: Option<bool>, pub report_machine: Option<bool>, pub max_active_objects: Option<i32>, pub max_effects: Option<i32>, pub max_particles: Option<i32>, pub max_remap_objects: Option<i32>, pub disable_effects: Option<bool>,
}
Expand description

Settings from [system]. Numeric codes retain their stored values.

Fields§

§game_bitmap: Option<String>§pointers: Option<String>§system_font: Option<String>§icon_font: Option<String>§gui_font: Option<String>§gui_low_font: Option<String>§animation_drive: Option<String>§back_texture: Option<i32>§volume: Option<i32>§sound: Option<bool>§fast_sound: Option<bool>§fidelity: Option<i32>§redbook: Option<bool>§redbook_volume: Option<i32>§sound_distance: Option<i32>§post_collide_height: Option<u32>§hpost_collide_height: Option<i32>§pre_validate: Option<bool>§normal_frame_rate: Option<i32>§use_smooth_fps: Option<bool>§use_smooth_divisor: Option<bool>§min_frame_rate: Option<i32>§max_frame_rate: Option<i32>§jump_time: Option<i32>§jump_height: Option<i32>§sphere_object_scale: Option<i32>§standing_height: Option<i32>§disable_text: Option<bool>§disable_debug_text: Option<bool>§normal_ink: Option<i32>§slide_range: Option<i32>§statics_load: Option<bool>§flats_load: Option<bool>§objects_load: Option<bool>§lights_load: Option<bool>§ropes_load: Option<bool>§task_system: Option<bool>§animation_system: Option<bool>§floating_point_physics: Option<bool>§rtx_filename: Option<String>§world_ini: Option<String>§item_ini: Option<String>§start_fade: Option<bool>§compass_xco: Option<i32>§compass_yco: Option<i32>§candle_xco: Option<i32>§candle_yco: Option<i32>§logbook_xco: Option<i32>§logbook_yco: Option<i32>§pickup_xco: Option<i32>§pickup_yco: Option<i32>§pickup_text_yco: Option<i32>§game_xco1: Option<i32>§game_yco1: Option<i32>§game_xco2: Option<i32>§game_yco2: Option<i32>§lock_windows: Option<bool>§disable_drive_check: Option<bool>§disable_cpu_check: Option<bool>§disable_svga_check: Option<bool>§report_machine: Option<bool>§max_active_objects: Option<i32>§max_effects: Option<i32>§max_particles: Option<i32>§max_remap_objects: Option<i32>§disable_effects: Option<bool>

Trait Implementations§

Source§

impl Clone for SystemSettings

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SystemSettings

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SystemSettings

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for SystemSettings

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for SystemSettings

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for SystemSettings

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<U, T> ToOwnedObj<U> for T
where U: FromObjRef<T>,

Source§

fn to_owned_obj(&self, data: FontData<'_>) -> U

Convert this type into T, using the provided data to resolve any offsets.
Source§

impl<U, T> ToOwnedTable<U> for T
where U: FromTableRef<T>,

Source§

fn to_owned_table(&self) -> U

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.