Re-exports§
pub use wasmer;
Modules§
- buttons
- N64 controller button masks, as in
OSContPad(the bits ofGamePad::button). - mupen
- Mupen64 savestates (
.st): seemupen::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
- Game
State - Portable
Load Report - What
SM64Game::load_portabledid. - SM64
Game - A single playable instance of the game, made by
SM64GameGenerator::create_game(sm64/generator.rs). - SM64
Game Generator - Compiles the WASM module once so that every
SM64Gameit creates is a cheap instantiation of shared, immutable code. - Save
State - A game’s state, made by
SM64Game::save_stateand loaded bySM64Game::load_state. Turn it into bytes withSaveState::as_bytesto store or send it, and back withSaveState::from_bytes.
Enums§
- Backend
- How a generator’s games run the game’s code.
- Freeze
Mode - How
SM64Game::set_object_freezefreezes objects.