Function game_logic::entrypoint [−][src]
pub async fn entrypoint(force_recreate_savefiles: bool)
Expand description
This is the game logic entrypoint. Despite being async, +
Function game_logic::entrypoint [−][src]
pub async fn entrypoint(force_recreate_savefiles: bool)
Expand description
This is the game logic entrypoint. Despite being async, this is expected to block the main thread for rendering and stuff.
Setting force_recreate_savefiles
will cause the game to recreate its settings and savestate files.
Crate game_logic[−][src]
Expand description
This file is the main entry point for the game logic.
+Crate game_logic
Version 0.1.0
Crate game_logic[−][src]
Expand description
This file is the main entry point for the game logic.
Overview
The main function in this module is entrypoint()
. This is called from desktop_wrapper
to start the game.
This module also includes all the other sub-modules of the game. If you are viewing this document from the web, click on the modules below to see more info.
diff --git a/rustdoc/src/game_logic/lib.rs.html b/rustdoc/src/game_logic/lib.rs.html index 41b8122e..db3c25ee 100644 --- a/rustdoc/src/game_logic/lib.rs.html +++ b/rustdoc/src/game_logic/lib.rs.html @@ -97,6 +97,7 @@ 95 96 97 +98//! This file is the main entry point for the game logic.
//!
//! ## Overview
@@ -174,6 +175,7 @@
|builder| {
builder
.msaa_4x()
+ .resizable()
// .vsync()
.title(project_constants.game_name.as_str())
.height(project_constants.base_window_size.1 as i32)