Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old May 9, 2019, 11:26   #1
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,104
wobbly is on a distinguished road
Finding old commits?

Hi I'm looking for the old commit where lava was added into the game. Is there an easy way to find this?
wobbly is offline   Reply With Quote
Old May 9, 2019, 11:36   #2
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,414
Donated: $40
Pete Mack is on a distinguished road
git history if terrain.txt.
https://github.com/angband/angband/c...ta/terrain.txt
Pete Mack is offline   Reply With Quote
Old May 9, 2019, 12:58   #3
wobbly
Veteran
 
Join Date: May 2012
Location: Adelaide, Australia
Posts: 2,104
wobbly is on a distinguished road
Thanks, though I can't find it there. Presumably lava is older then the branch? I can see it's there already in 4.0

Found what was stuffing me up anyway, this line in cave-map.c

Code:
assert((int) g->f_idx <= FEAT_PASS_RUBBLE);
seems to mean any new terrain has to go before passable rubble in terrain.txt
wobbly is offline   Reply With Quote
Old May 9, 2019, 13:22   #4
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,860
Donated: $60
Nick will become famous soon enough
Quote:
Originally Posted by wobbly View Post
Thanks, though I can't find it there. Presumably lava is older then the branch? I can see it's there already in 4.0

Found what was stuffing me up anyway, this line in cave-map.c

Code:
assert((int) g->f_idx <= FEAT_PASS_RUBBLE);
seems to mean any new terrain has to go before passable rubble in terrain.txt
Thanks, that's really poor coding; I'll file it as a bug.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
why do i keep finding Slings of Buckland ? Sky Vanilla 8 March 29, 2019 20:07
Upon finding a PDSM on DL12... Grotug AAR 19 October 8, 2018 20:01
Monster path finding in 4.0.5 Pondlife Vanilla 62 May 1, 2017 23:34
Finding a solution to ID Nick Vanilla 51 April 3, 2014 03:18
Notes on latest commits jens Development 3 June 1, 2011 15:08


All times are GMT +1. The time now is 08:37.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.