But the point is the interface is backwards compatible because it's just appending an entry to the vtable.
On Saturday, 15 October 2011, Nicholas Hastings <nshasti...@gmail.com> wrote: > In this case, not really. > > It's a safety. If you compile against version 2 of something and check the version, you can safely call functions at the end that aren't in v1. If you happen to load v1, don't check version, and try to call one, badness ensues. > > On 10/15/2011 10:03 AM, Saul Rennison wrote: > > The interface version doesn't need to be bumped if the vtable hasn't changed.. does it? > > On Saturday, 15 October 2011, Nicholas Hastings <nshasti...@gmail.com> wrote: >> They did change it properly. They both added a function (to the end, to avoid breakage) and bumped the version number (to ServerGameClients004). >> >> virtual void ClientSpawned( edict_t *pEntity ) = 0; >> >> at the end, right after ClientCommandKeyValues. >> >> On 10/14/2011 11:55 PM, Ronny Schedel wrote: >>> >>> Hello, >>> >>> does anyone know what is changed in the IServergameclients interface, it does not load anymore? >>> >>> When do they learn how to change interfaces in the proper way? >>> >>> Best regards >>> >>> Ronny Schedel >>> >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list archives, please visit: >>> http://list.valvesoftware.com/mailman/listinfo/hlcoders >>> >> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > > -- > > > Kind regards, > Saul Rennison > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > -- Kind regards, *Saul Rennison*
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders