yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
main.cc File Reference
#include <cstdlib>
#include <set>
#include <string>
#include "app/editor/layout/layout_manager.h"
#include "app/editor/system/panel_manager.h"
#include "app/gfx/backend/renderer_factory.h"
#include "app/platform/iwindow.h"
#include "app/platform/sdl_compat.h"
#include "app/gui/core/icons.h"
#include "lab/layout_designer/layout_designer_window.h"
#include "imgui/imgui.h"
#include "util/log.h"

Go to the source code of this file.

Classes

struct  anonymous_namespace{main.cc}::LabPanelSeed
 

Namespaces

namespace  anonymous_namespace{main.cc}
 

Functions

void anonymous_namespace{main.cc}::RegisterLabPanels (yaze::editor::PanelManager *panel_manager)
 
void anonymous_namespace{main.cc}::DrawDockspace ()
 
void anonymous_namespace{main.cc}::DrawLabPanels (const yaze::editor::PanelManager &panel_manager)
 
int main (int argc, char **argv)
 

Variables

constexpr size_t anonymous_namespace{main.cc}::kLabSessionId = 0
 
constexpr LabPanelSeed anonymous_namespace{main.cc}::kLabPanels []
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )
Todo
Use factory or detect backend
Todo
Use proper aspect ratio handling

Definition at line 284 of file main.cc.

References yaze::emu::Snes::apu(), yaze::emu::audio::AudioConfig::buffer_frames, yaze::emu::audio::AudioConfig::channels, yaze::platform::Close, yaze::util::LogManager::configure(), yaze::emu::Snes::cpu(), yaze::emu::audio::AudioBackendFactory::Create(), yaze::gfx::RendererFactory::Create(), yaze::platform::WindowBackendFactory::Create(), yaze::editor::layout_designer::LayoutDesignerWindow::Draw(), anonymous_namespace{main.cc}::DrawDockspace(), anonymous_namespace{main.cc}::DrawLabPanels(), yaze::platform::DropFile, yaze::platform::WindowEvent::dropped_file, yaze::emu::audio::AudioConfig::format, yaze::platform::WindowBackendFactory::GetDefaultType(), yaze::platform::WindowConfig::height, yaze::platform::WindowConfig::high_dpi, yaze::util::INFO, yaze::emu::Snes::Init(), yaze::emu::input::InputManager::Initialize(), yaze::editor::layout_designer::LayoutDesignerWindow::Initialize(), yaze::util::LogManager::instance(), yaze::emu::audio::INT16, yaze::Rom::is_loaded(), yaze::Rom::LoadFromFile(), yaze::emu::Snes::loadState(), yaze::emu::Snes::memory(), yaze::editor::layout_designer::LayoutDesignerWindow::Open(), yaze::emu::input::InputManager::Poll(), yaze::platform::Quit, anonymous_namespace{main.cc}::RegisterLabPanels(), yaze::platform::WindowConfig::resizable, yaze::emu::Snes::RunFrame(), yaze::emu::audio::AudioConfig::sample_rate, yaze::emu::Snes::saveState(), yaze::emu::audio::AudioBackendFactory::SDL2, yaze::emu::input::InputBackendFactory::SDL2, yaze::editor::LayoutManager::SetPanelManager(), yaze::emu::Snes::SetPixels(), yaze::emu::Snes::SetSamples(), yaze::Rom::size(), yaze::platform::WindowConfig::title, yaze::platform::WindowEvent::type, yaze::Rom::vector(), and yaze::platform::WindowConfig::width.

Referenced by yaze::zelda3::OverworldMap::LoadPalette(), and yaze::zelda3::palette_internal::SetColorsPalette().