Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Macros | Functions | Variables
BlueprintEditorStandaloneMain.cpp File Reference
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h>
#include "../third_party/imgui/imgui.h"
#include "../third_party/imgui/backends/imgui_impl_sdl3.h"
#include "../third_party/imgui/backends/imgui_impl_sdlrenderer3.h"
#include "../BlueprintEditor/blueprinteditor.h"
#include "../BlueprintEditor/BlueprintEditorGUI.h"
#include <iostream>
#include <SDL3/SDL_main_impl.h>
+ Include dependency graph for BlueprintEditorStandaloneMain.cpp:

Go to the source code of this file.

Macros

#define SDL_MAIN_USE_CALLBACKS
 

Functions

SDL_AppResult SDL_AppInit (void **appstate, int argc, char *argv[])
 
SDL_AppResult SDL_AppEvent (void *appstate, SDL_Event *event)
 
SDL_AppResult SDL_AppIterate (void *appstate)
 
void SDL_AppQuit (void *appstate, SDL_AppResult result)
 

Variables

static SDL_Windowg_BlueprintEditorWindow = nullptr
 
static SDL_Rendererg_BlueprintEditorRenderer = nullptr
 
static Olympe::BlueprintEditorGUIg_BlueprintEditorGUI = nullptr
 
static Uint64 g_LastFrameTime = 0
 

Macro Definition Documentation

◆ SDL_MAIN_USE_CALLBACKS

#define SDL_MAIN_USE_CALLBACKS

Definition at line 9 of file BlueprintEditorStandaloneMain.cpp.

Function Documentation

◆ SDL_AppEvent()

SDL_AppResult SDL_AppEvent ( void appstate,
SDL_Event event 
)

Definition at line 97 of file BlueprintEditorStandaloneMain.cpp.

References Olympe::BlueprintEditor::Get(), and GetComponentTypeID_Static().

+ Here is the call graph for this function:

◆ SDL_AppInit()

SDL_AppResult SDL_AppInit ( void **  appstate,
int  argc,
char argv[] 
)

◆ SDL_AppIterate()

SDL_AppResult SDL_AppIterate ( void appstate)

◆ SDL_AppQuit()

void SDL_AppQuit ( void appstate,
SDL_AppResult  result 
)

Variable Documentation

◆ g_BlueprintEditorGUI

Olympe::BlueprintEditorGUI* g_BlueprintEditorGUI = nullptr
static

Definition at line 24 of file BlueprintEditorStandaloneMain.cpp.

Referenced by SDL_AppInit(), SDL_AppIterate(), and SDL_AppQuit().

◆ g_BlueprintEditorRenderer

SDL_Renderer* g_BlueprintEditorRenderer = nullptr
static

Definition at line 23 of file BlueprintEditorStandaloneMain.cpp.

Referenced by SDL_AppInit(), SDL_AppIterate(), and SDL_AppQuit().

◆ g_BlueprintEditorWindow

SDL_Window* g_BlueprintEditorWindow = nullptr
static

Definition at line 22 of file BlueprintEditorStandaloneMain.cpp.

Referenced by SDL_AppInit(), and SDL_AppQuit().

◆ g_LastFrameTime

Uint64 g_LastFrameTime = 0
static

Definition at line 25 of file BlueprintEditorStandaloneMain.cpp.

Referenced by SDL_AppInit(), and SDL_AppIterate().