Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old April 19, 2018, 14:09   #1
konijn_
Hellband maintainer
 
konijn_'s Avatar
 
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 41
Posts: 367
Donated: $120
konijn_ is on a distinguished road
Notes on the zborg 2.40

Greetings,

just some notes in case any one wants to adopt the zborg to a descendant of Z.

* compile with -Wextra, there are a few bugs out there that will show
* grep for `track_step_y[track_step_num -` and guard for negative array access
* `amt_book` and a few others are not sized with MAX_REALM, causing funky stuff if you added realms, search for '[8' in zborg1.c and zborg1.h
* grep for `stat[` in zborg1.c, size with `STAT_COUNT` instead of 6 in case you added/removed stats
* grep for `borg_grids[y][x]` and `cave[y][x]` if you allow the game to draw beyond 80*25. Or you could just run the game with gdb and have it crash everytime the game goes beyond bounds
* `byte *aa = &(Term->scr->a[dy + 1][13]);` assumes that you display stats from column 0 till column 12, things go wrong if that is not the case
* AUTO_VIEW_MAX got upgraded from 1536 to 9000, but AUTO_TEMP_MAX and AUTO_FLOW_MAX did not, causing problems in town with big screens.
__________________
* Are you ready for something else ? Hellband 0.8.8 is out! *

Last edited by konijn_; April 22, 2018 at 21:46.
konijn_ is offline   Reply With Quote
Reply

Tags
borg


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
V4: Gameplay notes Pete Mack v4 20 April 18, 2013 01:27
Notes on latest commits jens Development 3 June 1, 2011 14:08
Notes/History StephenR Vanilla 0 February 22, 2009 11:47
Comp #61 notes Donald Jonker Competition 37 November 29, 2008 18:45
Notes Patch Narvius Vanilla 12 August 8, 2008 20:50


All times are GMT +1. The time now is 10:05.


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