|
|
|
|
|
|
|
|
|
|
DOWNLOADS >> Richard Burns Rally >> Utilities
|
|
|
File Name: |
RBR Plugin Interface v. 1.0
|
|
If the download does not start automatically in 5 seconds, click here.
|
|
All our files are compressed with ZIP or RAR archiver.
|
|
Description: |
Plugin interface for RBR
========================
Authors
=======
Per Dervall & Tobias Johansson
Warthog Studio, Sweden
Please note that there is no official support for this unofficial plugin.
Description
===========
This archive contains the source code needed to create plugins for RBR. The main purpose is to provide players with functionality to conduct online championships and other custom modes of play. Also provided is an example plugin that enables players to choose a stage and drive it, logging the results to a text file.
How to use the compiled plugin
==============================
When compiling the solution you will end up with a dll file called RBRTestPlugin.dll. This file needs to be placed in a folder called Plugins which needs to be created under the game root folder ( e.g. C:Program FilesSCi GamesRichard Burns RallyPlugins ). The game should load the plugin into memory at startup.
Gameflow when using a plugin
============================
The plugins that are found under the are listed under OptionsPlugins menu in RBR. The plugin will, when selected, display its own menu page, from which a stage can be started. After the stage is completed the plugin may display a results page. Once the user skips this he is returned to the front-end page displayed by the plugin.
Making a plugin
===============
This archive should contain the following files:
- IPlugin.h : The plugin interface use by RBR
- IRBRGame.h : Game interface that the plugin
- PluginHelpers.h/cpp : Some helper functions for the plugin
- Gendef.h : A list of defines for the stock graphics, use for drawing.
- TestPlugin.h : Implementation of the rbr test plugin
- RBRTestPlugin.cpp : Contains DllMain and RBR_CreatePlugin
- RBRTestPlugin.def : Export definitions
- RBRTestPlugin.sln/vcproj : Visual Studio solution files for VC2003
- stdafx.h/cpp : Precomplied header files
- ReadMe.txt : This file
Making a plugin consists of building a DLL exporting a single function (RBR_CreatePlugin) which should return a pointer to a C++ class implementing the interface IPlugin. Examples of this can be found in RBRTestPlugin.def and RBRTestPlugin.cpp.
The actual plugin in this example is contained in TestPlugin.h. Plugins are based on a callback architecture, in which the plugin receives callbacks from the game at various points in the race, and in the frontend/results screen. Only the currently active plugin (the one selected from within the options screen) receives callbacks.
Each class is documented in more detail in the source code. Don't change the IPlugin.h, IRBRGame.h or Gendef.h files or your plugin will not work as intended or even at all. |
|
Date Posted: |
17-02-2005 |
|
File Size: |
23.1 KB |
|
Download Time: |
36.6K : less than 2 seconds
56K : less than 2 seconds
Cable/DSL : less than 2 seconds
|
|
Downloaded: |
7439 |
|
Average Rating: |
5.72 |
|
Total Votes: |
127 |
|
Developer: |
Warthog
|
|
|
We here at Team Blackhole Motorsports need your help. As you all know, the team puts in a great deal of effort to provide you with the latest news and downloads from the sim racing world. However, all of this hardwork comes at a steep cost. Until now we have been able to maintain ourselves but recent site popularity is making this more and more difficult. Last month alone we transferred over 1.3TBs (thats 1,300GBs) of data. The cost to provide that much bandwidth is expensive and we need your help to keep us going. We are kindly asking our patrons to use the PayPal donate button to make donations. The PayPal donation is a secure and easy way to send your donations directly to Team Blackhole Motorsports. Please help us by contributing a donation so we can continue to provide you with the latest news and downloads from the sim world. |
|
|
|
|
|
|
|
|
|
Author: |
28-10-2004 |
Yhiiiha.. Awesome support Warthog. This is a great gift to the RBR community. Keep it up. |
|
Author: |
29-10-2004 |
unbelievable support - Warthog... you have no competition, certain other rally game devs should look and learn. |
|
Author: |
29-10-2004 |
WOW! Absolutely great support! Thanks Warthog! |
|
|
|
|
|
|