Michael Allison wrote:
> There has been some feedback from others on the development team > around the tiles: > "The Rogue Level should ideally be text-mode. It freaks out the > tiled-version-only players when they first get there, but that > makes it a good reminder of NetHack's roots." > > The other supported tiled ports work this way too. They display > regular ASCII characters on the Rogue level, just like Rogue did. -Adds Rogue-level ascii support. -Also removes unicode support. Some other build script tweaks as well. M. Allison
This commit is contained in:
@@ -115,7 +115,8 @@ LRESULT CALLBACK StatusWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
||||
|
||||
for(i=0; i<NHSW_LINES; i++ ) {
|
||||
GetTextExtentPoint32(hdc, NH_A2W(data->window_text[i], wbuf, sizeof(wbuf)), strlen(data->window_text[i]), &sz);
|
||||
DrawText(hdc, NH_A2W(data->window_text[i], wbuf, sizeof(wbuf)), strlen(data->window_text[i]), &rt, DT_LEFT);
|
||||
OemToChar(data->window_text[i], wbuf);
|
||||
DrawText(hdc, wbuf, strlen(data->window_text[i]), &rt, DT_LEFT);
|
||||
rt.top += sz.cy;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user