GithubHelp home page GithubHelp logo

dorito's Introduction

💥Boom, hi there! 💥

Twitter Linkedin medium GitHub followers

  • 🔭 I’m currently working on software to make government more transparant and efficient.
  • 🌱 I’m currently learning Haskell, Vue 3, lots more.
  • 👯 I’m looking to collaborate on roguelike game projects.

Les Harris's github stats

dorito's People

Contributors

lesharris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

chip-8

dorito's Issues

Insulate Dorito from Platform Path Perils

Create a resource class to abstract over the details of getting the right paths to assets, configuration directories, etc in a cross platform way.

Will prevent platform specific #ifdef spam from being sprinkled throughout the codebase.

Improve Zep Editor Integration

Improve Dorito's integration with Zep:

  • Make pasting behave like a sane text editor instead of the current behavior.
  • Leverage the built-in Zep file handling more.
  • Drop the 'one open file' policy currently in place and leverage Zep's tab support, etc for multiple file support.
  • Add source level debugging into the editor. At the very least the currently executing line should be highlighted along with the current address, the current compiled bytes for the line, and probably the disassembly label.
  • Explore using either Zep Line Widgets or some other mechanism to allow setting breakpoints by clicking on a line - possibly in the gutter.

Dorito fails to build on Debian 11

I've confirmed I followed the steps in the README & installed ninja beforehand.

Platform Info

$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
$ ninja --version
1.10.1

Output

$ ninja
[1/73] Building CXX object CMakeFiles/Dorito.dir/src/cpu/Memory.cpp.o
FAILED: CMakeFiles/Dorito.dir/src/cpu/Memory.cpp.o 
/usr/bin/c++ -DGRAPHICS_API_OPENGL_33 -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DPLATFORM_DESKTOP -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -I../src -Isrc/common -I../src/external -I../src/external/imgui -I../src/external/imgui/backends -I_deps/zep-src/include -I_deps/raylib-src/src -I_deps/raylib-src/src/external/glfw/include -isystem vcpkg_installed/x64-linux/include -Wall -Wextra -pthread -std=gnu++2a -MD -MT CMakeFiles/Dorito.dir/src/cpu/Memory.cpp.o -MF CMakeFiles/Dorito.dir/src/cpu/Memory.cpp.o.d -o CMakeFiles/Dorito.dir/src/cpu/Memory.cpp.o -c ../src/cpu/Memory.cpp
../src/cpu/Memory.cpp: In member function ‘void dorito::Memory::Reset()’:
../src/cpu/Memory.cpp:55:5: error: ‘memset’ was not declared in this scope
   55 |     memset(&m_Ram[0], 0, m_MemorySize);
      |     ^~~~~~
../src/cpu/Memory.cpp:6:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
    5 | #include "core/events/EventManager.h"
  +++ |+#include <cstring>
    6 | 
[2/73] Building CXX object CMakeFiles/Dorito.dir/src/display/Display.cpp.o
FAILED: CMakeFiles/Dorito.dir/src/display/Display.cpp.o 
/usr/bin/c++ -DGRAPHICS_API_OPENGL_33 -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DPLATFORM_DESKTOP -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -I../src -Isrc/common -I../src/external -I../src/external/imgui -I../src/external/imgui/backends -I_deps/zep-src/include -I_deps/raylib-src/src -I_deps/raylib-src/src/external/glfw/include -isystem vcpkg_installed/x64-linux/include -Wall -Wextra -pthread -std=gnu++2a -MD -MT CMakeFiles/Dorito.dir/src/display/Display.cpp.o -MF CMakeFiles/Dorito.dir/src/display/Display.cpp.o.d -o CMakeFiles/Dorito.dir/src/display/Display.cpp.o -c ../src/display/Display.cpp
../src/display/Display.cpp: In member function ‘void dorito::Display::Reset()’:
../src/display/Display.cpp:27:5: error: ‘memset’ was not declared in this scope
   27 |     memset(&m_Buffer[0][0], 0, 128 * 64);
      |     ^~~~~~
../src/display/Display.cpp:4:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
    3 | #include <iostream>
  +++ |+#include <cstring>
    4 | 
../src/display/Display.cpp: In member function ‘void dorito::Display::Clear()’:
../src/display/Display.cpp:45:7: error: ‘memset’ was not declared in this scope
   45 |       memset(&m_Buffer[layer][0], 0, 128 * 64);
      |       ^~~~~~
../src/display/Display.cpp:45:7: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
[4/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/AudioWidget.cpp.o
In file included from ../src/core/layers/GameLayerStack.h:6,
                 from ../src/core/Dorito.h:12,
                 from ../src/layers/UI.h:8,
                 from ../src/widgets/AudioWidget.cpp:3:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
   27 |     virtual void Update(double timestep) {}
      |                         ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
                 from ../src/external/zep/ZepEditor.h:7,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/AudioWidget.cpp:3:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
  161 |     virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/AudioWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
   44 |         const float font_size = m_pFont->FontSize;
      |                     ^~~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/AudioWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
   22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
      |                ^~~~~~~~~~~
[5/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/DisassemblyWidget.cpp.o
In file included from ../src/core/layers/GameLayerStack.h:6,
                 from ../src/core/Dorito.h:12,
                 from ../src/layers/UI.h:8,
                 from ../src/widgets/DisassemblyWidget.cpp:3:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
   27 |     virtual void Update(double timestep) {}
      |                         ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
                 from ../src/external/zep/ZepEditor.h:7,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/DisassemblyWidget.cpp:3:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
  161 |     virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/DisassemblyWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
   44 |         const float font_size = m_pFont->FontSize;
      |                     ^~~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/DisassemblyWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
   22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
      |                ^~~~~~~~~~~
[6/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/ColorEditorWidget.cpp.o
In file included from ../src/core/layers/GameLayerStack.h:6,
                 from ../src/core/Dorito.h:12,
                 from ../src/layers/UI.h:8,
                 from ../src/widgets/ColorEditorWidget.cpp:3:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
   27 |     virtual void Update(double timestep) {}
      |                         ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
                 from ../src/external/zep/ZepEditor.h:7,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/ColorEditorWidget.cpp:3:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
  161 |     virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/ColorEditorWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
   44 |         const float font_size = m_pFont->FontSize;
      |                     ^~~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/ColorEditorWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
   22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
      |                ^~~~~~~~~~~
[7/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/RegistersWidget.cpp.o
In file included from ../src/core/layers/GameLayerStack.h:6,
                 from ../src/core/Dorito.h:12,
                 from ../src/layers/UI.h:8,
                 from ../src/widgets/RegistersWidget.cpp:3:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
   27 |     virtual void Update(double timestep) {}
      |                         ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
                 from ../src/external/zep/ZepEditor.h:7,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/RegistersWidget.cpp:3:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
  161 |     virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/RegistersWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
   44 |         const float font_size = m_pFont->FontSize;
      |                     ^~~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/RegistersWidget.cpp:3:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
   22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
      |                ^~~~~~~~~~~
[8/73] Building CXX object CMakeFiles/Dorito.dir/src/system/Bus.cpp.o
FAILED: CMakeFiles/Dorito.dir/src/system/Bus.cpp.o 
/usr/bin/c++ -DGRAPHICS_API_OPENGL_33 -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DPLATFORM_DESKTOP -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -I../src -Isrc/common -I../src/external -I../src/external/imgui -I../src/external/imgui/backends -I_deps/zep-src/include -I_deps/raylib-src/src -I_deps/raylib-src/src/external/glfw/include -isystem vcpkg_installed/x64-linux/include -Wall -Wextra -pthread -std=gnu++2a -MD -MT CMakeFiles/Dorito.dir/src/system/Bus.cpp.o -MF CMakeFiles/Dorito.dir/src/system/Bus.cpp.o.d -o CMakeFiles/Dorito.dir/src/system/Bus.cpp.o -c ../src/system/Bus.cpp
In file included from ../src/core/layers/GameLayerStack.h:6,
                 from ../src/core/Dorito.h:12,
                 from ../src/system/Bus.cpp:6:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
   27 |     virtual void Update(double timestep) {}
      |                         ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
                 from ../src/external/zep/ZepEditor.h:7,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/system/Bus.cpp:8:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
  161 |     virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/system/Bus.cpp:8:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
   44 |         const float font_size = m_pFont->FontSize;
      |                     ^~~~~~~~~
../src/system/Bus.cpp: In member function ‘void dorito::Bus::HandleClearRecentSources(const dorito::Events::UIClearRecentSources&)’:
../src/system/Bus.cpp:586:74: warning: unused parameter ‘event’ [-Wunused-parameter]
  586 |   void Bus::HandleClearRecentSources(const Events::UIClearRecentSources &event) {
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../src/system/Bus.cpp: In static member function ‘static void dorito::Bus::LowpassFilterCallback(void*, uint32_t)’:
../src/system/Bus.cpp:647:20: error: ‘cosf’ is not a member of ‘std’; did you mean ‘cosh’?
  647 |     float c = std::cosf(2 * pi * cutoff);
      |                    ^~~~
      |                    cosh
../src/system/Bus.cpp:648:34: error: ‘sqrtf’ is not a member of ‘std’; did you mean ‘sqrt’?
  648 |     const float k = c - 1 + std::sqrtf(c * c - 4 * c + 3);
      |                                  ^~~~~
      |                                  sqrt
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/system/Bus.cpp:8:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
   22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
      |                ^~~~~~~~~~~
[9/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/EditorWidget.cpp.o
In file included from ../src/external/zep/mode_repl.h:3,
                 from ../src/external/zep/ZepEditor.h:7,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/widgets/EditorWidget.cpp:1:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
  161 |     virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/widgets/EditorWidget.cpp:1:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
   44 |         const float font_size = m_pFont->FontSize;
      |                     ^~~~~~~~~
In file included from ../src/core/layers/GameLayerStack.h:6,
                 from ../src/core/Dorito.h:12,
                 from ../src/layers/UI.h:8,
                 from ../src/widgets/EditorWidget.cpp:6:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
   27 |     virtual void Update(double timestep) {}
      |                         ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/widgets/EditorWidget.cpp:1:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
   22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
      |                ^~~~~~~~~~~
[10/73] Building CXX object CMakeFiles/Dorito.dir/src/widgets/MainMenuWidget.cpp.o
In file included from ../src/core/layers/GameLayerStack.h:6,
                 from ../src/core/Dorito.h:12,
                 from ../src/layers/UI.h:8,
                 from ../src/widgets/MainMenuWidget.cpp:5:
../src/core/layers/GameLayer.h: In member function ‘virtual void dorito::GameLayer::Update(double)’:
../src/core/layers/GameLayer.h:27:32: warning: unused parameter ‘timestep’ [-Wunused-parameter]
   27 |     virtual void Update(double timestep) {}
      |                         ~~~~~~~^~~~~~~~
In file included from ../src/external/zep/mode_repl.h:3,
                 from ../src/external/zep/ZepEditor.h:7,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/MainMenuWidget.cpp:5:
_deps/zep-src/include/zep/mode.h: In member function ‘virtual void Zep::ZepMode::Notify(std::shared_ptr<Zep::ZepMessage>)’:
_deps/zep-src/include/zep/mode.h:161:53: warning: unused parameter ‘message’ [-Wunused-parameter]
  161 |     virtual void Notify(std::shared_ptr<ZepMessage> message) override {}
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/MainMenuWidget.cpp:5:
_deps/zep-src/include/zep/imgui/display_imgui.h: In member function ‘virtual Zep::NVec2f Zep::ZepFont_ImGui::GetTextSize(const uint8_t*, const uint8_t*) const’:
_deps/zep-src/include/zep/imgui/display_imgui.h:44:21: warning: unused variable ‘font_size’ [-Wunused-variable]
   44 |         const float font_size = m_pFont->FontSize;
      |                     ^~~~~~~~~
In file included from ../src/external/zep/ZepEditor.h:10,
                 from ../src/widgets/EditorWidget.h:6,
                 from ../src/layers/UI.h:24,
                 from ../src/widgets/MainMenuWidget.cpp:5:
_deps/zep-src/include/zep/imgui/display_imgui.h: At global scope:
_deps/zep-src/include/zep/imgui/display_imgui.h:22:16: warning: ‘Zep::greek_range’ defined but not used [-Wunused-variable]
   22 | static ImWchar greek_range[] = { 0x300, 0x52F, 0x1f00, 0x1fff, 0, 0 };
      |                ^~~~~~~~~~~
ninja: build stopped: subcommand failed.

Octo Compiler Compilation Error

Every now and then the Octo compiler seems to give spurious errors. My current thinking is that this is memory related and there is some issue between freeing the existing program, loading the text for the new program, and then compiling the new program.

That said it is sporadic and I haven't tracked it down yet.

Improve Zep Octo Syntax Handling

I'm not super happy with the current state of ZepSyntaxOcto. Rewrite the parser to be less flakey, more robust, and more accurate.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.