From 12f084fff8b2ac584b68d39d976fd75a01a0d4dc Mon Sep 17 00:00:00 2001 From: Evan Pratten <ewpratten@gmail.com> Date: Sat, 19 Mar 2022 11:54:52 -0400 Subject: [PATCH] add new files --- docs/SUMMARY.md | 4 +++- game/dist/project-constants.json | 9 +++++++++ game/game_logic/src/asset_manager/mod.rs | 0 game/game_logic/src/lib.rs | 7 ++++--- 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 game/dist/project-constants.json create mode 100644 game/game_logic/src/asset_manager/mod.rs diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 4b4bf82a..b11cbabd 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -4,4 +4,6 @@ 2. [Getting Started](getting-started.md) 1. [Development Environment](development-environment.md) 2. [Artist Information](artist-information.md) - 3. [Infrastructure Overview](infrastructure-overview.md) \ No newline at end of file + 3. [Infrastructure Overview](infrastructure-overview.md) + 4. [Software Design](software-design.md) + 1. [Asset Manager](design-asset-manager.md) \ No newline at end of file diff --git a/game/dist/project-constants.json b/game/dist/project-constants.json new file mode 100644 index 00000000..1ddcdee6 --- /dev/null +++ b/game/dist/project-constants.json @@ -0,0 +1,9 @@ +{ + "game_name": "Ludum Dare 50", + "base_window_size": [ + 1080, + 720 + ], + "discord_app_id": 954413081918857276, + "target_fps": 60 +} \ No newline at end of file diff --git a/game/game_logic/src/asset_manager/mod.rs b/game/game_logic/src/asset_manager/mod.rs new file mode 100644 index 00000000..e69de29b diff --git a/game/game_logic/src/lib.rs b/game/game_logic/src/lib.rs index b1f3eb44..9030990d 100644 --- a/game/game_logic/src/lib.rs +++ b/game/game_logic/src/lib.rs @@ -2,9 +2,10 @@ use std::borrow::Borrow; -mod persistent; -mod rendering; -mod discord; +pub mod persistent; +pub mod rendering; +pub mod discord; +pub mod asset_manager; /// This is the game logic entrypoint. Despite being async, /// this is expected to block the main thread for rendering and stuff.