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


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