Merge CB_SHIPCHANGE and CB_FREQCHANGE

Issue #3 resolved
Former user created an issue

Currently, both CB_SHIPCHANGE and CB_FREQCHANGE must be monitored to ensure that a module will be notified of a player's frequency change.

Instead, a new callback should be added, to merge both of these callbacks into one.

My proposed solution is to replace these with:

CB_SHIPFREQCHANGE typedef void (ShipFreqChangeFunc)(Player p, int newship, int newfreq, int oldship, int oldfreq);

Comments (3)

  1. Log in to comment