Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

First Steps
[Tutorial 4 - Writing a Plugin]

There are a number of housekeeping issues that must be addressed when writing a plugin. Every plugin requires very similar code. The first decision to make is what data needs to be added to the RenderWare Graphics object. In this tutorial we only require adding a single char * variable to each atomic.

As RenderWare Graphics starts up we need to inform RenderWare Graphics that every atomic that gets created must increase in size by enough bytes to store a character pointer. This is why plugins must register with RenderWare Graphics. First of all we will write a plugin API call to initialize the plugin.

Next...
Criterion Software © 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:58 2004. Send Feedback