Those files have become very unmanageable atm,because of those super long switch's,I think I need to do some clean up on them and add helper functions to make them more organized/remove the vertical breaks caused by those duplicated codes in switch cases,then fix some glitches with the target acquisition and target update(since the old code is not optimal for multi-target acquisition and stuff,so I might need to change droid/weapon struct again to make them work better).
Another thing I want to address is the mixed state of ai/effect,some effects like auto-repair is mixed/conflicted with ai's,so a droid has to stop entirely to do self-repair,which is kinda useless and stupid imo...I want to give droid one or more Uint32 flags(if we have more than 32 effects,actually we only has 2 atm(auto-repair and onfire)),so giving droid special ability and bonus from research/rank will be alot easier to be implemented with such flags.
_______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev