![]() |
#11 |
Knight
Join Date: Jan 2017
Posts: 919
![]() |
I upgraded to g++ 11 and it compiled...
|
![]() |
![]() |
![]() |
#12 |
Swordsman
Join Date: Aug 2019
Posts: 273
![]() |
Perhaps replace std::reduce with std::accumulate? std::reduce was introduced in C++-17. std::accumulate should give the same result in this case (though perhaps be less efficient in compute time) and appears to be supported in older versions of the C++ standard.
|
![]() |
![]() |
![]() |
#13 |
Knight
Join Date: Jan 2017
Posts: 919
![]() |
3.0.0Alpha51 is up on angband.live but they're missing a few fixes, like support for a main window larger than 80x24 in the curses frontend. I'll see what I can do to fix it in the coming days.
|
![]() |
![]() |
![]() |
#14 |
Adept
Join Date: Oct 2021
Location: WA
Posts: 211
![]() |
Nice! : )
The map size happened to fit nicely on my 1080p screen with a size 19 Droid Sans Mono in Cygwin, so I hadn't stopped to wonder about what was setting its parameters. Hm, the loose cursor blipping around the subwindows is more pronounced in live, I suppose just standing out more due to the latency. It's something I reported to them, but they don't play in Curses over there due to language support--I think--so it doesn't sound like Curses-specific bugs will be a priority for them. https://github.com/hengband/hengband/issues/2014 I tried comparing the cursor-handling bits I could spot in their main-gcu.cpp with Angband's main-gcu.c, buuut it was just "Greek" with minor variations to my non-coder self.
__________________
My roguelike gameplay videos |
![]() |
![]() |
![]() |
#15 |
Adept
Join Date: Oct 2021
Location: WA
Posts: 211
![]() |
(Aside from making the 00 00 FF TERM_BLUE color a slightly lighter 00 40 FF in src/term/gameterm.cpp so it isn't painfully dark to try to see, the other change I've made locally is to comment out the two "You failed to pick the lock" outcomes in src/action/open-close-execution.cpp, because bonking my face against random locked doors up to 69x so far just to open them was a bit much.)
__________________
My roguelike gameplay videos |
![]() |
![]() |
![]() |
#16 |
Adept
Join Date: Oct 2021
Location: WA
Posts: 211
![]() |
__________________
My roguelike gameplay videos |
![]() |
![]() |
![]() |
#17 | |
Adept
Join Date: Oct 2021
Location: WA
Posts: 211
![]() |
Quote:
EDIT: Hah that's funny, Google Translate could handle it on the fly but not from a direct link, I guess. The original is https://github.com/hengband/hengband/pull/2024/files
__________________
My roguelike gameplay videos Last edited by smbhax; January 28, 2022 at 22:40. |
|
![]() |
![]() |
![]() |
#18 |
Adept
Join Date: Oct 2021
Location: WA
Posts: 211
![]() |
(And so it appears that they do have a team member who knows their way around Curses, which is awesome. Since Hourier said in their Discord developers channel that only Becky42 maintains main-g(c)u, I take it Discord Becky42 = Habu1010 on GitHub.)
__________________
My roguelike gameplay videos |
![]() |
![]() |
![]() |
#19 |
Knight
Join Date: Jan 2017
Posts: 919
![]() |
I remember having fixed cursor issues in other variants, it was a small one liner iirc but I don't remember which version it came from.
Anyway I'm working my way up fixing the curses frontend in ancestral versions, angband 2.8.3 is done, next up is zangband 2.2.8. I'll have to stop at a version of hengband prior to their C++ rewrite but maybe one of their devs will be able to check what I've done and take it from there. |
![]() |
![]() |
![]() |
#20 | |
Adept
Join Date: Oct 2021
Location: WA
Posts: 211
![]() |
Quote:
I'm attaching my hacked main-gcu.cpp to this post. Here's a screenshot running in Cygwin (click thumbnail for the full size 1080p screen)--that map size you see there, 130x42 I think, is as big as it gets, even if you run with no subwindows: ![]() The game also no longer assumes four subwindows from launch, instead requiring the usual command line parameters (like "-- -n4" or "-- -right 40x25,* -bottom *x7"). I don't know C *or* C++ so there are probably all kinds of horrible things going on here...but it compiles and runs, and *seems* to work in extremely limited testing. Maybe some person who actually knows things can work out what I've screwed up to prevent the map window from using the full area. EDIT: As I found later in this thread, this actually is showing the viewport at full size; it happened to look smaller size because the "Yeek cave" beginner dungeon levels I was using for testing were smaller than the viewport size. ; ) So, this version **is** full screen, with -nN and PosChengband-style subwindow support, native Hengband colors, and habu's cursor fix.
__________________
My roguelike gameplay videos Last edited by smbhax; February 5, 2022 at 04:49. |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting "error!! is this really character dump?" | TheQuest | Variants | 4 | July 20, 2017 11:31 |
3.5 key map error "x" | Ingwe Ingweron | Development | 1 | January 4, 2014 02:29 |
Compiling a "Windows Console" version | Dean Anderson | Development | 34 | December 3, 2010 22:00 |
Lua "obsolete file error", blargh | Therem Harth | ToME | 4 | July 4, 2010 14:02 |
help with compile error (and "const") | will_asher | Development | 4 | August 3, 2009 23:35 |