Giter Club home page Giter Club logo

Comments (6)

ilyakurdyukov avatar ilyakurdyukov commented on July 26, 2024 1

Why does such a simple program needs CMake?

DECOMPILED mode will recompile the ROM code into C code. For those who want to understand how the game works. There is a partially rewritten and commented version of the raw decompiled code. I didn't finish because I lost interest in it.

from brickgame-4bit.

AndreiCherniaev avatar AndreiCherniaev commented on July 26, 2024

So you make two different applications?

  1. brick game application
  2. machine code to C code convertor application

Correct? If true then I think it's better to devide: make two Makefile or CMakeLists.txt

Ещё раз спасибо за ваш труд!

from brickgame-4bit.

ilyakurdyukov avatar ilyakurdyukov commented on July 26, 2024

Can you explain why having two paths in one 30 line makefile is bad? So this mode is enabled with DECOMPILED=1, otherwise there will be two smaller makefiles, but you will need to call one with the -f option. Why would this be better? The next thing you suggest is to split brickgame.c into ten separate sources, because 1000 lines is a lot for one source?

These changes don't make anything better, it's a matter of style, you like a different style.

from brickgame-4bit.

ilyakurdyukov avatar ilyakurdyukov commented on July 26, 2024

I can admit that I don't like it when people start changing my code to suit their style. But nothing prevents you from rewriting my project to suit your style and developing it as you like, I just don't want to accept such changes. I don't think I'll be developing this project any further myself, so consider it a vanilla version to start from (if you have any ideas on what to do next).

For example, I don’t like the way 7-zip is written. This is a great tool, but the source style is not good.

from brickgame-4bit.

AndreiCherniaev avatar AndreiCherniaev commented on July 26, 2024

you make two different applications?

  1. brick game application
  2. machine code to C code convertor application

Correct?

from brickgame-4bit.

ilyakurdyukov avatar ilyakurdyukov commented on July 26, 2024

This is a HELPER/GENERATOR that is used to build the GAME application. As found in many complex projects (for example OpenJDK, Qt6, LLVM). Nobody calls generators a different application.

from brickgame-4bit.

Related Issues (1)

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.