[size=150:1yp0qu76]Download Plugin SDK 0.99.3 now
Sorry it's late!
Changes in this SDK:
- The SDK now reflects the large codebase changes that happened in the 0.99 release. As a result, parts of the SDK have changed. Compiled plugins are binary compatible (meaning plugins built with old SDKs still work with 0.99+), but some changes may be needed for old plugins to build again in the 0.99.3 SDK. Anything that no longer works in this SDK has deprecated_ prepended to it, so the compiler will tell you that the deprecated functions no longer exist.
- The SDK includes the new templated vector math functions in use in 0.99+ (in the cr:: namespace) as well as new definitions for the new renderer. Old rendering functions in VRuntime are deprecated; rendering is now performed by a new interface (IRenderer) pointed to by the 'renderer' member of CRunObject. I don't think this affects any third party plugins because I haven't seen any that use the renderer yet.
- The object filter (colour tint + opacity) has been moved. It used to be a D3DCOLOR in info.filter (now renamed info.deprecated_filter); it is now a cr::color in info.pInfo->filter.
- There are a couple of new VRuntime functions.
I don't think existing third party plugins will suffer too much from this - they should only need small changes. If you need any help let me know and I'll try sort it out. Note that the includes in stdafx.h have changed and if you don't update these your plugin won't compile and will give a lot of errors: if you haven't changed stdafx.h, just paste in the new one from the new SDK, or look at the new headers and typedefs and paste them in.