From: Christoph P. <fir...@we...> - 2005-02-12 09:17:37
|
Hi, its me again. Because of a constructor change in CPlayer (needed for isLocalPlayer in CUnitManager) I have to change the constructor of CPlayerAI too (the constructors of CPlayerHuman and CPlayerNet are only fixed). CPlayerAI needs now a 4th argument from type bool which indicates whether the AI is a local AI or a remote (true for local, false for remote). And I have given the POINT struct in map.?pp a constructor, which accepts zero, one or two arguments. If none is specified the variables are initialised with the value 0. The struct also got two new operators, both for addition. The first accepts an other point, the second accepts an single integer. (Hope that is what you want arne ;D ) cya Kris --=20 Christoph Peltz <fir...@we...> |