OutpostUniverse / op2ext

Outpost 2 extension module loader
1 stars 0 forks source link

Update `VolList` to have `const` members #254

Closed DanRStevens closed 5 years ago

DanRStevens commented 5 years ago

This closes #239. This completes a big chunk of the background work needed to allow changing the loaded VOL list at arbitrary times.


The solution I used involved vector concatenation. It seems there is no convenient built in facility to do this, so custom operator overloads were added. For some interesting information on operator overloads, see: https://stackoverflow.com/questions/4421706/what-are-the-basic-rules-and-idioms-for-operator-overloading