Git Product home page Git Product logo

Comments (4)

nhurde avatar nhurde commented on May 14, 2024

With Phase 1 of separating GUI into separate library the current line count change for gpe_editor.cpp has changed from
33,031 to 19,322 lines. A 41.50% reduction of the file's original size.

Almost done with many more functions, global and classes to place into different/new files.

from game-pencil-engine-editor.

nhurde avatar nhurde commented on May 14, 2024

Current reduced gpe_editor.cpp is now 16069 lines. Thats 51.35% of code moved to other files.

I feel there is still more, but for now the GUI is its own library that is now independent of GPE making room for a divide and conquer approach to GUI, Editor, Engine and run times.

from game-pencil-engine-editor.

nhurde avatar nhurde commented on May 14, 2024

After more digging it is now 11,251 lines with a debate on where to put the classes GPE_LogManager, GPE_DropDown_Resouce_Menu, GPE_TextAnchor and GPE_ResourceContainer and GPE_ResourceManagementBar as they are more in line with actual Game Pencil than just random people needing a gui for their own projects.

from game-pencil-engine-editor.

nhurde avatar nhurde commented on May 14, 2024

Transferred StatusBar, Log Manager and a few more GPE_Main_Gui settings away to lower level gui to make gui stand on its own without need for gpe_editor.h or the other "higher level" classes and functions that uses it for the Editor. This resulted into 10,395 lines of code remaining in gpe_editor.cpp pending 2 functions to tell synthax highlighter of current project keywords and functions.

text_editor.cpp is now 6,329 lines of code and does not depend on gpe_editor.h to run anymore. A great win for helping to establish multiple programming language parsing in the editor for future versions.

from game-pencil-engine-editor.

Related Issues (20)

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.