Opened 7 years ago
Last modified 2 years ago
#1499 new task
Replace indices in function calls with pointers
Reported by: | GabeCunningham | Owned by: | |
---|---|---|---|
Milestone: | Future | Keywords: | cleanup |
Cc: |
Description
For many functions, we pass around r_idx, and then right away get the monster race pointer from it. In such a case, we should just pass the pointer around instead. Same for item kinds, artifacts, etc.
Change History (6)
comment:1 Changed 7 years ago by magnate
comment:2 Changed 6 years ago by magnate
- Milestone changed from 4.0 to 3.5.0
These are all underlying or uncontroversial issues, unconnected with the experimental nature of v4 - therefore re-setting to V milestone.
comment:3 Changed 6 years ago by magnate
Stage two (midx to m_ptr) was merged in [rceba01016]. Are there any more to do?
comment:4 Changed 6 years ago by takkaria
Loads!
comment:5 Changed 5 years ago by takkaria
- Milestone changed from 3.5.0 to Future
Punting to post 3.5.
comment:6 Changed 2 years ago by nckmccnnll
A lot of these have been done
Note: See
TracTickets for help on using
tickets.
http://github.com/angband/angband/pull/88 for stage one.