Skip to main content
Home Documents Game Manuals Dev Kitchen2008
Dev Kitchen2008

Dev Kitchen2008

Game Manuals · 2008 · PDF
FilenameDevKitchen2008.pdf
Size0.46 MB
Year2008
Subsection Dev Kitchen2008
Downloads0
Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute metadata corrections, and join the community chat.
Reader
Dev Kitchen2008
/
Loading…
OCR / Text contents
Summary Changes in Release 11 • C4D application folder can‘t be modified anymore (with the exception of „plugins“) Changes in Release 11 • User settings and preferences are stored in a different location Changes in Release 11 Changes in Release 11 • Save plugin preferences using GeGetStartupWritePath() • Data can’t be written into your plugin directory anymore (Vista/Leopard changes) • C4D installation into application folder is not recommended for developers API Changes in Release 11 • Updated project settings for XCode 3.1 on OS X • OS X 10.5 necessary for development (Executable will run under OS X 10.4 as well) • Support for 64 Bit on OS X (C4D defaults to 32 Bit for now - this will change soon) API Changes in Release 11 • If your project is based on the C4D API settings, no modifications are necessary API Changes in Release 11 • Datatype WORD renamed to SWORD (due to conflicts with Windows API) Advantage of using C4D‘s datatypes: under all compiler systems on all platforms you get the same exactly defined behaviour (e.g. datatype ‚long‘ different on PC and MAC 64-Bit) • No more support for Visual Studio 6 API Changes in Release 11 • STL overloads for delete added • For future releases, new / delete overloads will be removed • Make sure to use gNew/gDelete for C4D Datatypes API Changes in Release 11 • Access to new Render Settings • Render Setting based on Descriptions • PLUGINFLAG_VIDEOPOST_ISRENDERER Licensing Changes • New Savable Demo version • New License Server Savable Demo version • GeGetVersionType() returns VERSION_SAVABLEDEMO and VERSION_SAVABLEDEMO_ACTIVE • Runtime is 42 days • No limitations except for render resolution restricted to 640x400 and no NET • No serial number available License Server License Server • GeGetSerialInfo(SERIAL_MULTILICENSE) returns multi-license or empty string (regular C4D version) • Multi-License Structure 20110000519-ABCDEF Number of purchased licenses Stability and Testing • c4d_debug.txt to find memory leaks (place in user directory) • C4D SDK Memory Statistics Dialog to see realtime use of memory Stability and Testing • Use of constants to avoid compatibility problems BaseContainer *bc = obj->GetDataInstance(); if (!bc) goto error; Wrong! bc->SetLong(1001,1.0); #include "../../advanced render/res/description/Xsss.h“ BaseContainer *bc = obj->GetDataInstance(); if (!bc) goto error; Right! bc->SetLong(SSSSHADER_STRENGTH,1.0); Stability and Testing • Crashes due to use of global static classes AutoAlloc<String> my_global_string1; String my_global_string2; Wrong! Filename my_global_filename; • Crashes happen randomly and are …

Showing first 3,000 characters of 8,383 total. Open the full document →

mp.ls