Search found 6 matches

by BigDaddy
Sat Nov 20, 2004 10:38 pm
Forum: Announcement
Topic: PureBasic Bindings for GameVision SDK 2
Replies: 12
Views: 4207

Hi,

Yes I understand, but what I am wondering however is that when I define a function in PB does it use STDCALL by default? Once I set the callback, the dll itself will call the routine automatically, which will expect it to be in STDCALL form.

In C/C++ or Delph I can do this:

// c/c++
void ...
by BigDaddy
Sat Nov 20, 2004 1:58 pm
Forum: Announcement
Topic: PureBasic Bindings for GameVision SDK 2
Replies: 12
Views: 4207

Hi,

The dll will call a routine that you have defined in PB. For example:

SV_SetErrorProc(@MyErrorProc);

The dll expects this routine to use STDCALL and will be called on an error in script.

Thanks

Jarrod
by BigDaddy
Sat Nov 20, 2004 4:03 am
Forum: Announcement
Topic: PureBasic Bindings for GameVision SDK 2
Replies: 12
Views: 4207

Hi,

In GVSDK2, all exported routines use the STDCALL calling convention including all callback types. For example, I am currently working on making PB bindings for our ScriptVision SDK 2 (complete scripting using a modified version of lua wrapped in an easy to use API) and it defines a few ...
by BigDaddy
Thu Nov 18, 2004 2:57 pm
Forum: Announcement
Topic: PureBasic Bindings for GameVision SDK 2
Replies: 12
Views: 4207

Coolness.

Thanks

Jarrod
by BigDaddy
Thu Nov 18, 2004 3:38 am
Forum: Announcement
Topic: PureBasic Bindings for GameVision SDK 2
Replies: 12
Views: 4207

How can I represent this type of structure in PB?

/* GV_Vector - C/C++*/
typedef struct GV_Vector {
union {
struct { int iX, iY, iZ; };
struct { unsigned int cX, cY, cZ; };
struct { float sX, sY, sZ; };
struct { double dX, dY, dZ; };
};
} GV_Vector, *GV_pVector;

Thanks.

Jarrod
by BigDaddy
Wed Nov 17, 2004 7:09 am
Forum: Announcement
Topic: PureBasic Bindings for GameVision SDK 2
Replies: 12
Views: 4207

PureBasic Bindings for GameVision SDK 2

Hello,

We made PB bindings for the GameVision SDK 2 , a 2D rendering API for PC's running Microsoft Windows. This release is aimed specifically at Direct3D with 3D hardware. The GameVision SDK is feature complete and can easily create any type of 2D game with D3D for rendering. GameVision 1.x ...