Bump
The first significant milestone has been achieved - Angband now can be compiled with the new UI.
That by itself maybe doesn't mean much. Nothing works yet, in particular, there is no frontend that can work with it.
Still... 30000 lines of C were refactored. All the ui-* files (except ui-signals.c) were converted to the new Term API. The changes are big... It was a lot of work.
I did cut some corners. The signals stuff was excluded, and I'm not at all sure the UI should handle them (btw, I wrote in the commit that handler functions don't do anything, but I just didn't notice the ifdef soup ). Signals probably should be handled by main-gcu.c. I don't see why anything else should care...
There are also "wizard" files (wiz-debug.c and friends). I disabled them for now. They should either call themselves ui-debug etc, or they shouldn't call into Text UI directly.
Tile picker, glyph picker, the '/' command and a couple other things that I don't remember are all casualities of the refactoring.
Step two is to actually adapt one of Angband's frontends to the new UI. I think I'll use the best one available
The first significant milestone has been achieved - Angband now can be compiled with the new UI.
That by itself maybe doesn't mean much. Nothing works yet, in particular, there is no frontend that can work with it.
Still... 30000 lines of C were refactored. All the ui-* files (except ui-signals.c) were converted to the new Term API. The changes are big... It was a lot of work.
I did cut some corners. The signals stuff was excluded, and I'm not at all sure the UI should handle them (btw, I wrote in the commit that handler functions don't do anything, but I just didn't notice the ifdef soup ). Signals probably should be handled by main-gcu.c. I don't see why anything else should care...
There are also "wizard" files (wiz-debug.c and friends). I disabled them for now. They should either call themselves ui-debug etc, or they shouldn't call into Text UI directly.
Tile picker, glyph picker, the '/' command and a couple other things that I don't remember are all casualities of the refactoring.
Step two is to actually adapt one of Angband's frontends to the new UI. I think I'll use the best one available
Comment