05-14-2009, 01:12 PM
(This post was last modified: 12-10-2010, 02:02 PM by Dean Roddey.)
This thread is for official discussion of the RIVA protocol. Since it is fairly new, there are likely to be questions or issues or requests. So use this thread for such general discussion. If you are creating a product, feel free to create your own thread for discussion particular to that product.
The latest RIVA protocol header is attached. The protocol is discussed in technical detail in the Remote Viewer Protocol technical document, available via the web site. This version of the header is valid for 3.0.13 and up.
Here is the latest (V2) RIVA development guide document:
http://charmedquark.com/Web2/Downloads/D...ol_3_4.pdf
Here are the changes for Version 2 of the protocol. Everything else is the same:
The latest RIVA protocol header is attached. The protocol is discussed in technical detail in the Remote Viewer Protocol technical document, available via the web site. This version of the header is valid for 3.0.13 and up.
Here is the latest (V2) RIVA development guide document:
http://charmedquark.com/Web2/Downloads/D...ol_3_4.pdf
Here are the changes for Version 2 of the protocol. Everything else is the same:
Code:
// ---------------------------------------------------------------------------
// All of the Version 2 protocol stuff is below here. This does make things
// a little less readable than having it all together, but it makes it far
// easier to track changes, which is really the most important for sanity.
// ---------------------------------------------------------------------------
namespace kCQCRemVComm
{
// -----------------------------------------------------------------------
// New V2 opcodes
// -----------------------------------------------------------------------
const tCIDLib::TCard1 c1OpCode_DrawPBar = 21;
const tCIDLib::TCard1 c1OpCode_NewTemplate = 75;
// -----------------------------------------------------------------------
// Values for c1Dir of DrawPBar, and possible other direction
// oriented stuff in the future.
// -----------------------------------------------------------------------
const tCIDLib::TCard1 c1Dir_Left = 0;
const tCIDLib::TCard1 c1Dir_Right = 1;
const tCIDLib::TCard1 c1Dir_Up = 2;
const tCIDLib::TCard1 c1Dir_Down = 3;
};
namespace tCQCRemVComm
{
// -----------------------------------------------------------------------
// c1OpCode_DrawPBar
//
// Draw a progress bar
// -----------------------------------------------------------------------
struct TDrawPBar
{
THeader hdrInfo;
tCIDLib::TCard1 c1Opacity;
tCIDLib::TFloat4 f4Percent;
TRVArea areaSrc;
TRVArea areaTar;
tCIDLib::TCard1 c1Dir;
TRVColor clrFirst;
TRVColor clrSecond;
TRVColor clrFill;
tCIDLib::TCard4 c4ImgSerial;
};
// -----------------------------------------------------------------------
// c1OpCode_NewTemplate
//
// A new base template has been loaded. The template path is provided as
// text in the usual way.
// -----------------------------------------------------------------------
struct TNewTemplate
{
THeader hdrInfo;
tCIDLib::TCard4 c4Width;
tCIDLib::TCard4 c4Height;
};
}
Dean Roddey
Explorans limites defectum
Explorans limites defectum