Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emulate MDA monocromatic attributes like underline #11

Open
MestreLion opened this issue Mar 31, 2015 · 0 comments
Open

Emulate MDA monocromatic attributes like underline #11

MestreLion opened this issue Mar 31, 2015 · 0 comments

Comments

@MestreLion
Copy link
Owner

Currently scr_type is hardcoded via #define ROGUE_SCR_TYPE 3, meaning a color, 80x25 adapter. Forcing bw mode in rogue.opt env file screen option works fine, but a bw mode on color hardware is not the same as a "true" mono adapter, and the game distinguishes both cases, as seen by many if scr_type == 7 in the original source. Such "hardware" should be user-selectable at run-time, preferably using a new option in rogue.opt (video_mode perhaps? or, even better, mono_adapter boolean, so columns can be an independent parameter)

On this mode, curses terminal attributes such as A_UNDERLINE should be used, just as seen on true MDA adapters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant