Skip to content

Commit

Permalink
start prep for new core
Browse files Browse the repository at this point in the history
  • Loading branch information
GlynLeine committed Nov 19, 2024
1 parent cd02361 commit 590f331
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 1,874 deletions.
3 changes: 0 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ MaxEmptyLinesToKeep: 3
BreakBeforeBraces: Allman
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: AfterColon
BreakAdjacentStringLiterals: true
BreakAfterAttributes: Leave
BreakBeforeConceptDeclarations: Always

Expand Down Expand Up @@ -42,10 +41,8 @@ AlignTrailingComments:
OverEmptyLines: 1
AlignEscapedNewlines: Right
AllowAllArgumentsOnNextLine: true
AllowBreakBeforeNoexceptSpecifier: Always
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
Expand Down
30 changes: 0 additions & 30 deletions applications/sandbox/src/sandbox/module/examplemodule.hpp

This file was deleted.

18 changes: 4 additions & 14 deletions applications/sandbox/src/sandbox/source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,14 @@
#if defined(NDEBUG)
#define RYTHE_KEEP_CONSOLE
#endif
#include <application/application.hpp>
#include <core/core.hpp>
#include <graphics/graphics.hpp>

#include "module/examplemodule.hpp"
#include <core/core.hpp>

#ifdef RYTHE_AUDIO
#include <audio/audio.hpp>
#endif

void RYTHE_CCONV reportModules(rythe::Engine* engine)
int RYTHE_CCONV reportModules(rythe::core::Program& program)
{
using namespace rythe;
engine->reportModule<app::ApplicationModule>();
engine->reportModule<gfx::RenderingModule>();
engine->reportModule<ExampleModule>();
program.addEngineInstance

#ifdef RYTHE_AUDIO
engine->reportModule<audio::AudioModule>();
#endif
return 0;
}
Loading

0 comments on commit 590f331

Please sign in to comment.