Search found 7 matches

by jarroddavis
Sun May 23, 2004 10:54 pm
Forum: Game Programming
Topic: GameVision SDK
Replies: 6
Views: 3009

I've manage to convert the TestBed demo in the SDK to PB. You can find it here:

http://www.jarroddavis.com/priv/gv_pb_testbed.rar

I still have a fair amount of the API to convert, but this demo should show what you can do with GV and PB. The source is included.

For info here:
http://forums ...
by jarroddavis
Sun May 23, 2004 10:21 pm
Forum: Coding Questions
Topic: PB Bindings for GameVision SDK
Replies: 8
Views: 2863

Hi,

I just converted the TestBed demo in the GVSDK to PureBasic. It seems to run good. You can download it here:

http://www.jarroddavis.com/priv/gv_pb_testbed.rar

The TestBed demo shows:
* Rendering (textures, Primitives)
* Audio (One shot & Looping Samples, Streaming music)
* Archive (Loading ...
by jarroddavis
Sun May 23, 2004 2:23 pm
Forum: Coding Questions
Topic: PB Bindings for GameVision SDK
Replies: 8
Views: 2863

Ok, thanks man.
by jarroddavis
Sun May 23, 2004 4:29 am
Forum: Coding Questions
Topic: PB Bindings for GameVision SDK
Replies: 8
Views: 2863

I see.

I've started using the CallFunctionFast and begun the painful task of wrapping the 200+ exported routines. :cry:

Can I use LongWords in PB? I need it to pass a window handle that is returned from GV_AppWindow_Handle. Also, GV_Make_Color uses unsigned ints too.
by jarroddavis
Sat May 22, 2004 4:29 pm
Forum: Coding Questions
Topic: PB Bindings for GameVision SDK
Replies: 8
Views: 2863

Seems to be something going on with the dll import tool.

If I import:
GV_App_ProcessMessages 0

and then call this in PB, all is fine. But as soon as I add:
GV_AppWindow_Open 4

to the import list, then any routine that is named GV_App_XXX no longer is avail. What is going on?
by jarroddavis
Sat May 22, 2004 2:35 pm
Forum: Coding Questions
Topic: PB Bindings for GameVision SDK
Replies: 8
Views: 2863

Hi,

I used the Dll Importer tool. From what I understand you have to add the "_" to the end of imported routines when used in PB.

All of the routines in the GV.DLL are STDCALL and exported like such:
GV_App_ProcessMessages
GV_LogFile_Write

not like
_GV_App_ProcessMessages@0
_GV_LogFile_Write@1 ...
by jarroddavis
Sat May 22, 2004 1:59 pm
Forum: Coding Questions
Topic: PB Bindings for GameVision SDK
Replies: 8
Views: 2863

PB Bindings for GameVision SDK

Hi,

I've been getting some requests to provide PB bindings for my 2D rendering API, GameVision SDK. I'm in the process of doing this, but I'm having some problems.

Some of the routines are recognized and some are not. For example, I can call GV_LogFile_Write_(...), but not GV_App_ProcessMessages ...