Skip to main content

Crate sm64_binds

Crate sm64_binds 

Source

Re-exports§

pub use wasmer;

Modules§

buttons
N64 controller button masks, as in OSContPad (the bits of GamePad::button).
mupen
Mupen64 savestates (.st): see mupen::MupenState. Mupen64 savestates (.st): parsing them (MupenState, st.rs) and loading the game state they hold into a port game (load.rs).
portable
Portable save states, loadable in both the headless and the rendering build. Portable save states: the game’s state in a form either build can load.

Structs§

GamePad
GameState
PortableLoadReport
What SM64Game::load_portable did.
SM64Game
A single playable instance of the game, made by SM64GameGenerator::create_game (sm64/generator.rs).
SM64GameGenerator
Compiles the WASM module once so that every SM64Game it creates is a cheap instantiation of shared, immutable code.
SaveState
A game’s state, made by SM64Game::save_state and loaded by SM64Game::load_state. Turn it into bytes with SaveState::as_bytes to store or send it, and back with SaveState::from_bytes.

Enums§

Backend
How a generator’s games run the game’s code.
FreezeMode
How SM64Game::set_object_freeze freezes objects.