Skip to content

Commit

Permalink
Move and reorganize more testapp stuff into adera_app
Browse files Browse the repository at this point in the history
  • Loading branch information
Capital-Asterisk committed Aug 18, 2024
1 parent e59be0a commit 7bc1090
Show file tree
Hide file tree
Showing 46 changed files with 2,407 additions and 2,165 deletions.
20 changes: 14 additions & 6 deletions src/adera/application.h → src/adera_app/application.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,36 @@
namespace adera
{



struct MainLoopControl
{
bool doUpdate;
};

struct WindowAppLoopControl
{
bool doResync;

bool doSync;

bool doRender;
};

struct AppContexts
{
osp::fw::ContextId main;
osp::fw::ContextId window;
osp::fw::ContextId universe;
osp::fw::ContextId scenes;
osp::fw::ContextId scene;
};

struct FrameworkModify
{
struct Command
{
using Func_t = void(*)(entt::any);
entt::any userData;
Func_t func;
using Func_t = void(*)(osp::fw::Framework &rFW, osp::fw::ContextId ctx, entt::any userData);
entt::any userData;
osp::fw::ContextId ctx;
Func_t func;
};

std::vector<Command> commands;
Expand Down
Loading

0 comments on commit 7bc1090

Please sign in to comment.