![]() |
#11 |
Prophet
Join Date: Dec 2009
Posts: 9,022
![]() |
You can freely resize all of the windows in Vanilla and they'll make use of the extra space (or try to fit themselves in tighter).
|
![]() |
![]() |
![]() |
#12 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,726
Donated: $40
![]() |
@jeff --
check out the make include files. (Makefile.src, Makefile.inc) This is a much better model for maintaining dependencies. Also, V does support small screen mode, but not to the extent that FA does. One well-known player (Psi) plays FA on a small screen almost exclusively. Also, the various ui fixes (menus, cmd0.c, cmd-know.c, etc) are supposed to make porting easier, not harder. If this is not the case, we've done something wrong. Last edited by Pete Mack; June 2, 2010 at 16:40. |
![]() |
![]() |
![]() |
#13 |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Pete - I am sure it will be easier, once I understand it. You all have done a fine job. Everything I know about C and programming I learned from reading & working with the Angband source code, so all the code cleanup you all have done are completely new concepts to me. My NPP co-developer Diego is the true programmer who usually does the heavy lifting when it comes to new ideas. I usually work on incorporating ideas from other variants, where I have somebody else's written code as a starting point. So I will spend a couple weeks poking around the new Angband source, RTFM, and ask questions and then hopefully I will understand it enough to fully incorporate it into NPP.
But the quests, 4gai and Unangband terrain projects required a re-write of more than half the source code. I will definitely be quicker and easier to put the Angband ui improvements into NPP and then gradually change the code so that it is current with the latest Vanilla releases. |
![]() |
![]() |
![]() |
#14 |
Prophet
Join Date: Mar 2008
Posts: 2,729
![]() |
I usually resize my window to cover most of the screen. Others leave room for secondary windows for monster lists etc. Ever since the detection spells were changed to areas independent of the screen size, it is not abusive, so it seems like the obvious thing to do.
|
![]() |
![]() |
![]() |
#15 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
I want Angband to always be playable on the Linux console in GCU mode, so I would oppose any change that makes an 80x24 main screen unplayable (or really, worse than it currently is). Beyond that I'm not invested in what the default sizes are--if main-win (or main-sdl or main-x11) had other defaults it wouldn't bother me.
|
![]() |
![]() |
![]() |
#16 | |
Angband Devteam member
|
Quote:
|
|
![]() |
![]() |
![]() |
#17 | |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
Quote:
I also a couple other long-standing Angband coding conventions for the sake of very old operating systems that might have been removed for the sake of progress....such as the 16 color limit, and I think I saw some #includes that C uses to calculate non-integer math, which about 10 years ago still was not done in Angband due to the problems with the earliest pentium chips). I was wondering if the standard screen size may have been increased as well. The Angband community remains one of the most helpful and mature groups on the internet. Thanks all. |
|
![]() |
![]() |
![]() |
#18 | |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
Quote:
I think I know which C code you mean... it's code to be used by developers in debug mode, but isn't used by the actual game. I think Angband is still playable on systems without floating point. |
|
![]() |
![]() |
![]() |
#19 |
NPPAngband Maintainer
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
![]() |
I have made good progress in making all the changes from 3.06 to 3.2.2, but now I have some code from Angband 3.1.2 that simply won't compile for me (using LCC-win-32).
It is in util.c, in the function next_section (which is called only once, by text_out_e). ABout 10 lines into the function there is this stretch of code: const char *close = strstr(s, "{/}"); I get multiple errors, which are making no sense...first off this line: const char *close = strstr(s, "{/}"); It says I don't have a prototype for strstr, but string.h is included, and it gives no warning for the many other times in the source this function is called. it also gives an error for having an operand with 'pointer to char' and 'int' Does anyone have any suggestions? My compiler also hates this line in inkey_aux, giving the message "incorrec char constant". /* End "macro action" */ if ((ch == 30) || (ch == '\xff')) What compilers take the Angband source cleanly? I am getting an awful lot of errors and compiler warnings from lcc-win. It doesn't seem to like the revised Angband source at all. Thanks for any help or sugestions anyone may have. |
![]() |
![]() |
![]() |
#20 |
Prophet
Join Date: Mar 2008
Posts: 2,729
![]() |
Most likely I can't help, but would you try temporarily changing that line to
const char *close = strstr("", ""); and see what error you get? Also, double check that there are only variable declarations from the start of the function to that point. |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trying to understand Ranger playing mechanics | dormouse | Vanilla | 5 | December 15, 2009 11:43 |
Angband Code Interface to GUI | meeshoo | Vanilla | 50 | February 3, 2009 17:18 |
I finally understand how diving quicker can be "safer" | Wraitheist | Vanilla | 13 | September 19, 2008 17:25 |
strange C code in Angband (am I reading this right?) | will_asher | Idle chatter | 3 | February 4, 2008 09:07 |
Angband source branches vs trac | ctate | Vanilla | 1 | July 14, 2007 11:43 |