Brad Allred
Brad Allred
> Does mac still support static builds? it does and thats always a fine option for distribution. > There's also the bundle generator for cpack yes, and we should probably...
all of this is because the symbols exist in multiple locations, and which location is used is undefined. As long as all the locations are identical (eg built at the...
It's worth checking what the originals did, as well as what the EEs do.
you could try this patch: [shared_ptr.patch](https://github.com/gemrb/gemrb/files/12680605/shared_ptr.patch)
Yeah, the `DecRef` is now integrated into the scope. The patch is two commits if you just want to try the cache changes without the `Action` changes.
hmmmm, actually that commit isn't quite right after rereviewing it. Let me try again.
ok, it looks like `GameScript::Unusable` and `Inventory::BreakItemSlot` were the only "free" callers passing `true` for `DecRef`. I don't understand why, however. Is there a reason we have to purge the...
Yeah, LRU would make sense IMO. As for refcounting, It's most only useful in this case because we have no idea who has a reference and when it will get...
currently, we have `Scriptable::SpellCast` and `Scriptable::CreateProjectile` modifying the `Spell` returned from the cache.
right, its unraveling into quite a bit of cleanup, but it should make things much more clear.