Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0008515 [DCSS] Patches minor N/A 2014-05-08 08:08 2014-05-09 20:51
Reporter qoala View Status public  
Assigned To Reaver
Priority normal Resolution done Local or Remote Both
Status resolved   Operating System All
Projection none   Console or Tiles Both
ETA none Fixed in Branch 0.15 ancient branch Product Branch 0.15 ancient branch
  Product Version 9218e2d
Summary 0008515: Recalculate cache of equipped unrands and bitset improvements
Description (3 patches incoming)
Currently the cache of which equip slots have unrands with world_reacts hooks is stored in the save. Recalculate it on file load instead, so that we don't break games if we add or remove a hook on an existing unrand (adding would require re-equipping to pick up functionality; removing would crash on dereferencing a null pointer)

Also adjust it so that adding a world_reacts hook to a ring doesn't crash anything, and since I was exposing bitset functions through our FixedBitVector anyways, simplify some rune-counting checks.
Steps To Reproduce
Additional Information
Tags No tags attached.
Attached Files ? file icon 8515-0001-Expose-bitset-s-count-function-through-FixedBitVecto.patch [^] (2,142 bytes) 2014-05-08 08:09 [Show Content]
? file icon 8515-0002-Recalculate-cache-of-equipped-unrands-with-world_rea.patch [^] (6,277 bytes) 2014-05-08 08:09 [Show Content]
? file icon 8515-0003-Pass-equipment-slot-to-artefact-equip-unequip-effect.patch [^] (8,022 bytes) 2014-05-08 08:09 [Show Content]

- Relationships

-  Notes
(0026098)
Reaver (developer)
2014-05-08 18:22

I added a minor tag to remove diet mutation, I'll probably just merge and push this myself some time in the next couple days.
(0026110)
Reaver (developer)
2014-05-09 18:30

Looking at this now, Ideally these all would have been in one patch, it makes them much easier to handle.
(0026112)
Reaver (developer)
2014-05-09 20:51

Pushed, Thank you.

- Issue History
Date Modified Username Field Change
2014-05-08 08:08 qoala New Issue
2014-05-08 08:09 qoala File Added: 8515-0001-Expose-bitset-s-count-function-through-FixedBitVecto.patch
2014-05-08 08:09 qoala File Added: 8515-0002-Recalculate-cache-of-equipped-unrands-with-world_rea.patch
2014-05-08 08:09 qoala File Added: 8515-0003-Pass-equipment-slot-to-artefact-equip-unequip-effect.patch
2014-05-08 18:22 Reaver Note Added: 0026098
2014-05-09 18:30 Reaver Note Added: 0026110
2014-05-09 20:51 Reaver Note Added: 0026112
2014-05-09 20:51 Reaver Status new => resolved
2014-05-09 20:51 Reaver Fixed in Branch => 0.15 development branch
2014-05-09 20:51 Reaver Resolution open => done
2014-05-09 20:51 Reaver Assigned To => Reaver


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker