Restructure update
Collapse
X
-
A(3.1.0b) CWS "Fyren_V" NEW L:50 DL:127 A++ R+++ Sp+ w:The Great Axe of Eonwe
A/FA W H- D c-- !f PV+++ s? d P++ M+
C- S+ I- !So B ac++ GHB? SQ? !RQ V F:Comment
-
-
We have broad aims of making the code more readable, more general and more easily modifiable; all of these with a view of making it easier to make gameplay changes when the time comes.
Given that, I think it's just a matter of looking at a bit of the code you're interested in, and see if it can be improved along those general lines. Stuff gets discussed a bit in the #angband-dev channel on irc.freenode.net, or you can just fork the restruct branch on github and make pull requests.
Same goes for anyone who can abide my brutal and autocratic management style.One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
How save files are working in current version ?
It refuses to save and I cannot fix it yet.
Not that bad, it works if I manually create ~/angband/Angaband/save
Seems like bug to me.Last edited by LostTemplar; October 9, 2014, 23:40.Comment
-
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
That's odd. Could that have been a permissions issue?
"cannot create" I can understand, but why it doesn't even try to create dirs at first.Comment
-
Not likely, at first it simply was unable to save, then I did something and it started giving "cannot create /home/lt//.angband" message and quit, and then eventually it got magically fixed and now create required dirs if I delete them.
"cannot create" I can understand, but why it doesn't even try to create dirs at first.One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
Init.c line 215, message is from there.
Btw this function create_needed_dirs () is only called from main () if UNIX is defined, is it intended behaviour ?
Also it is called from main_crb, but nowhere else.
So it seems that it never create any dirs unless unix or OS X is used.
Also on unix it behave incorrectly if defines are incorrect, and I got this at first somehow (I cannot understand how autoconf works).
One more strange thing, it defines in autoconf.h a full path to angband, so it only can run from the same place, where it was compiled, IMHO not the best behaviour.Last edited by LostTemplar; October 10, 2014, 11:08.Comment
-
Init.c line 215, message is from there.
Btw this function create_needed_dirs () is only called from main () if UNIX is defined, is it intended behaviour ?
Also it is called from main_crb, but nowhere else.
So it seems that it never create any dirs unless unix or OS X is used.
Also on unix it behave incorrectly if defines are incorrect, and I got this at first somehow (I cannot understand how autoconf works).
One more strange thing, it defines in autoconf.h a full path to angband, so it only can run from the same place, where it was compiled, IMHO not the best behaviour.
I think you have master branch; you probably want restruct.
UNIX is defined for everything except Windows.
The best way to build from the github source is
Code:./autogen.sh ./configure (you may want options here like --with-no-install to run out of the source directory; --help gives an exhaustive list) make
Code:make install (or maybe sudo make install)
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
Last Friday (or Saturday, or both, depending where you live) we had a devteam meeting; this seems a good time to do an update.
Main stuff since last update:- Effect unification is complete
- A lot of duplicate spell code has been removed
- More work on the core-UI split.
- Terrain types have been drastically simplified, and door locks are now handled in the trap layer instead of the terrain layer
- Monster memory is now in a separate file in the user directory instead of in savefiles
- The monster movement and attack code has been reorganised and cleaned up
- Many of the game constants have been put in an edit file rather than being compiled in, so they are user alterable
- Edit file format has been standardised, and edit files made (hopefully) more readable
- Lots of other code simplification.
Looking forward, we are hoping to get the code to a playable state probably fairly early next year, and do some form of pre-release so that people can shoot holes in it all. Once we actually have a real release, I believe we should be able to do actual new stuff at a fairly rapid rate.
Thanks to everyone for your patience, and to everyone who is contributing to this process; also especial thanks to the devteam for at least trying to keep some sort of check on my insanity.One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
Just curious: Is it semi-playable, or is it too buggy/crashy for that ATM? (I don't mind starting new games if there are savefile compat changes or if the game eats a character.)Comment
Comment