-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved config settings into new ConfigSystem namespace
- Loading branch information
1 parent
0150cc6
commit 825036c
Showing
20 changed files
with
124 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "configsystem.h" | ||
|
||
#include <algorithm> | ||
|
||
namespace Impacto { | ||
namespace ConfigSystem { | ||
|
||
void Init() { | ||
std::fill_n(VoiceMuted, VoiceCount, false); | ||
std::fill_n(VoiceVolume, VoiceCount, 1.0f); | ||
} | ||
|
||
} // namespace ConfigSystem | ||
} // namespace Impacto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#include <algorithm> | ||
#include <glm/glm.hpp> | ||
|
||
namespace Impacto { | ||
namespace ConfigSystem { | ||
|
||
void Init(); | ||
|
||
// Add new tips to the tips notification rendering queue | ||
inline bool ShowTipsNotification = true; | ||
|
||
// Advance text on L/R stick, arrow keys, etc. | ||
inline bool AdvanceTextOnDirectionalInput = false; | ||
|
||
// Interact with trigger using left and right input in addition | ||
// to their regular counterparts | ||
inline bool DirectionalInputForTrigger = false; | ||
|
||
// Stop skip mode when reaching a trigger | ||
// (e.g. delusion trigger, phone trigger, etc.) | ||
inline bool TriggerStopSkip = true; | ||
|
||
// Typewriter animation speed | ||
inline float TextSpeed = 768.0f / 60.0f; | ||
constexpr inline glm::vec2 TextSpeedBounds = glm::vec2(256.0f, 4096.0f) / 60.0f; | ||
|
||
// Speed to skip in auto mode (MessWaitSpeed) | ||
inline float AutoSpeed = 768.0f / 60.0f; | ||
// Menu is essentially auto *time* as opposed to auto *speed* | ||
constexpr inline glm::vec2 AutoSpeedBounds = glm::vec2(2048.0f, 256.0f) / 60.0f; | ||
|
||
// Only skip read text | ||
inline bool SkipRead = true; | ||
|
||
// Sync text speed with voice line duration | ||
inline bool SyncVoice = true; | ||
|
||
// Stop voice line after dialogue progression | ||
inline bool SkipVoice = false; | ||
|
||
// Individual character mute/volume settings | ||
constexpr int VoiceCount = 33; | ||
inline bool VoiceMuted[VoiceCount]; | ||
inline float VoiceVolume[VoiceCount]; | ||
|
||
} // namespace ConfigSystem | ||
} // namespace Impacto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.