Spale69 wrote: Thu Aug 15, 2024 11:38 am
I would not hurry with conclusions… All viable solutions.
Of course, this is just computer science. I have no personal problems with any solution.
The based code is from 1998. This is great it was ported to Windows. But, as you said, this is another layer:
I am afraid, other ways you just add complexity on top of old layers - recipe for catastrophe and time/resource waste.
TOAW4 is a new layer of TOAW3 with a brand new UI yes BUT, on my computer, I have still few UI glitches linked to code or linked to the low OS layers used? That’s my question.
When I see the amount of lines of coded written by Bob, I can’t imagine the difficulties he is facing to add new features.
You highlight the scenario database. Yes, this is important. But, does insuring retro compatibility of all scenario is not what is making the code so complicated? Look at the number of options possible when you start a scenario, the rule for supply, advanced supply, or I don’t even remember. There are options I am never using. And I even wonder if some are used.
Another thing, TOAW4 was advertised as a big UI refresh. But look at the 3D view. It is the same than the one of 1998. I think nobody is using it. Well remove it,
simplify the code to maintain.
If the coder is tied with plenty of options to support, an equipment database that is not evolving, scenario not to break, … I can’t imagine the number of conditions to implement.
As I said, and that is my personal opinion, I am not interested in debugging 239000 lines of C++ to maintain the game alive whereas one day a driver update will stop the game to run.
Using a game engine like Godot will prevent things like this. When I say starting from scratch, this is more do a list of what is really used in the game options and what’s not.
What’s not is what could be removed, and when I say this, I am not even sure this is simple to perform in the 239000 lines of code.
Meanwhile, I have just coded a minimap for my hexagon map game experiment. Guess how many lines of code it took me in Godot?