New thread - it's gone well beyond X11 tile support
Unfortunately, my term rework came about as a consequence of the X11 rework, but ultimately I plan to separate the two.
The concepts are pretty well summed up in takkaria's NextUI.
The idea is that each 'term' will be a proper 'virtual terminal', each encompassing a specific game function (message bar, status bar, player info bar, cave area, mini-map, etc). These 'virtual terminal' can then be mapped to physical 'displays' at will - So you could have virtual terminals mapped to individual windows, or you might map basic and extra player stats to the same window (using a y-offset for one to keep them separate, or maybe toggle between them)
The upshot is all about the 'cave' term - the end-goal is that the grid sizes of the cave tile and the text tiles are completely separate.
My work so far has focused on ditching the global 'Term' variable - all term related functions now take a term * argument.
There have been some 'collateral damage'
What I'm doing isn't going to break existing front ends - It will completely shatter them. And I'm sorry, but X11 is the only front end I'm keen to work on at the moment. I can't do Windows or Mac, and I have no idea about the ncurses API - so X11 it is.
I'll TRY to push stuff into my x11-rework branch as often as possible. Once things have stabilised, I'll create a new branch focused on UI
EDIT: I'm just going to dump a todo list here
Unfortunately, my term rework came about as a consequence of the X11 rework, but ultimately I plan to separate the two.
The concepts are pretty well summed up in takkaria's NextUI.
The idea is that each 'term' will be a proper 'virtual terminal', each encompassing a specific game function (message bar, status bar, player info bar, cave area, mini-map, etc). These 'virtual terminal' can then be mapped to physical 'displays' at will - So you could have virtual terminals mapped to individual windows, or you might map basic and extra player stats to the same window (using a y-offset for one to keep them separate, or maybe toggle between them)
The upshot is all about the 'cave' term - the end-goal is that the grid sizes of the cave tile and the text tiles are completely separate.
My work so far has focused on ditching the global 'Term' variable - all term related functions now take a term * argument.
There have been some 'collateral damage'
- The screen save and load code has been axed - I think it best to trash this and create a better mechanism
- text_out_to_file() - The global text_out_hook is a horrible hack, so sorry, but out she goes. It's ONLY used for creating the artifact spoiler files anyway
- There's probably going to be more - we'll see
What I'm doing isn't going to break existing front ends - It will completely shatter them. And I'm sorry, but X11 is the only front end I'm keen to work on at the moment. I can't do Windows or Mac, and I have no idea about the ncurses API - so X11 it is.
I'll TRY to push stuff into my x11-rework branch as often as possible. Once things have stabilised, I'll create a new branch focused on UI
EDIT: I'm just going to dump a todo list here
- Monster and object tile support in text block
Comment