View Single Post
Old March 3, 2010, 21:01   #4
Hellband maintainer
konijn_'s Avatar
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 42
Posts: 367
Donated: $120
konijn_ is on a distinguished road
Originally Posted by will_asher View Post
Whatever will allow me to save those random names in the savefile would be awesome.

EDIT: Oh. I just noticed there's already an wr_string() which I hadn't noticed. Would I need to declare o_ptr->randego_name as a cptr instead of a char? I don't know the difference between cptr and char. (The computer with my current DaJAngband stuff is not available at the moment or I'd go ahead and try it).
Assuming your code works, randego_name is probably char*, it should work.

* Are you ready for something else ? Hellband 0.8.8 is out! *
konijn_ is offline   Reply With Quote