This site is no longer active and is available for archival purposes only. Registration and login is disabled.

A Jornada 720 version using the new GAPI


Re: A Jornada 720 version using the new GAPI

Postby roadkilldave » Jul 7, 2001 @ 10:35am

Does anyone know how to gzip the pak files? What is gzip and where do you get it?<br><br>Thanks!
roadkilldave
pm Member
 
Posts: 40
Joined: Jul 6, 2001 @ 2:26pm


Re: A Jornada 720 version using the new GAPI

Postby Dan East » Jul 7, 2001 @ 10:40am

<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: A Jornada 720 version using the new GAPI

Postby Jim » Jul 7, 2001 @ 1:36pm

David, if all you need is the un-gzipped version of the demo PAK file (17 MB) you can just pull that from my site: <a href="http://burtcom.com/quake720/">http://burtcom.com/quake720/</a>
Jim
 


Re: A Jornada 720 version using the new GAPI

Postby roadkilldave » Jul 7, 2001 @ 1:41pm

I found a version that runs from the dos prompt. I wanted to gzip my pak1.pak file because it is 18 meg.
roadkilldave
pm Member
 
Posts: 40
Joined: Jul 6, 2001 @ 2:26pm


Re: A Jornada 720 version using the new GAPI

Postby randall » Jul 7, 2001 @ 2:57pm

You don't need to run it from the DOS prompt. It supports drag-n-drop. a VERY handy feature.
User avatar
randall
pm Insider
 
Posts: 3426
Joined: Feb 23, 2001 @ 4:02pm
Location: Schnoogie


Re: A Jornada 720 version using the new GAPI

Postby roadkilldave » Jul 7, 2001 @ 3:11pm

Question for Dan or Rob or other C++ guru<br><br>What do the following lines do in gx.h? How do I fix this error?<br><br>GXDLL_API int GXOpenDisplay(HANDLE, DWORD); // HWND hWnd, DWORD dwFlags);<br>GXDLL_API int GXCloseDisplay();<br>GXDLL_API void * GXBeginDraw();<br>GXDLL_API int GXEndDraw();<br>GXDLL_API int GXOpenInput();<br>GXDLL_API int GXCloseInput();<br>GXDLL_API GXDisplayProperties GXGetDisplayProperties();<br>GXDLL_API GXKeyList GXGetDefaultKeys(int iOptions);<br>GXDLL_API int GXSuspend();<br>GXDLL_API int GXResume();<br>GXDLL_API int GXSetViewport( DWORD dwTop, DWORD dwHeight, DWORD dwReserved1, DWORD dwReserved2 );<br>GXDLL_API BOOL GXIsDisplayDRAMBuffer();<br><br>I am getting the following compile errors compiling Pocket Quake using Larry's gamex.cpp wrapper file and the gx.h that came with Dan's source for Pocket Quake:<br><br>Compiling...<br>sys_win.c<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2061: syntax error : identifier 'GXGetDisplayProperties'<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2059: syntax error : ';'<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2059: syntax error : ')'<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2061: syntax error : identifier 'GXGetDefaultKeys'<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2059: syntax error : ';'<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2059: syntax error : 'type'<br>vid_ppc.c<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2061: syntax error : identifier 'GXGetDisplayProperties'<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2059: syntax error : ';'<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(59) : error C2059: syntax error : ')'<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2061: syntax error : identifier 'GXGetDefaultKeys'<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2059: syntax error : ';'<br>D:\Projects\Quake\PocketQuake\WinQuake\gx.h(60) : error C2059: syntax error : 'type'<br>Generating Code...<br>Error executing clarm.exe.<br><br>PocketQuake.exe - 12 error(s), 0 warning(s)<br>
roadkilldave
pm Member
 
Posts: 40
Joined: Jul 6, 2001 @ 2:26pm


Re: A Jornada 720 version using the new GAPI

Postby R0B » Jul 7, 2001 @ 6:28pm

That problem should be answered if you look at the gx.h file included with the PQ source.  You have two place a struct def in each of those two commands because this is C.
"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Re: A Jornada 720 version using the new GAPI

Postby roadkilldave » Jul 7, 2001 @ 6:33pm

I dropped back to the gapidemo that Larry has and am trying to get that to compile using the gamex.cpp<br><br>I got lost when I got to the section of code that was dynamically linking the dll and did not know what I needed to change there to get it working.<br><br>Thanks for the help!<br><br>PS When do you think you might have the 640 x 240 working?
roadkilldave
pm Member
 
Posts: 40
Joined: Jul 6, 2001 @ 2:26pm


Re: A Jornada 720 version using the new GAPI

Postby roadkilldave » Jul 7, 2001 @ 6:36pm

Rob did you end up using the gamex.cpp file that Larry sent you?<br>
roadkilldave
pm Member
 
Posts: 40
Joined: Jul 6, 2001 @ 2:26pm


Re: A Jornada 720 version using the new GAPI

Postby R0B » Jul 7, 2001 @ 6:39pm

Kind of, I used it as an outline, but the way he declared the functions wasn't compatible with PQ, so I rewrote all of those.
"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Re: A Jornada 720 version using the new GAPI

Postby roadkilldave » Jul 7, 2001 @ 6:44pm

Any chance you could email me your gx.h and also what you did to redefine those gamex.cpp externs. I am trying real hard to get the gapidemo working and am apparently too much of a newbie to figure out how to call the C stuff from C++.<br><br>Thanks!
roadkilldave
pm Member
 
Posts: 40
Joined: Jul 6, 2001 @ 2:26pm


Re: A Jornada 720 version using the new GAPI

Postby R0B » Jul 7, 2001 @ 8:55pm

You're trying too hard.  GAPI is a C++ lib and you don't need to worry about using C calls to work gapidemo.  In fact, that will probably mess you up.
"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Re: A Jornada 720 version using the new GAPI

Postby roadkilldave » Jul 7, 2001 @ 9:13pm

Well I got the demo going on my HP720 compiled with the HPC2000 SDK. I do have gamex.cpp in there, but I can see from your post I didn't need it. For some reason I was thinking that GAPI was in C and that I needed the gamex.cpp to use it in C++. It's appears it was needed by PocketQuake because PocketQuake is in C and it needs to call the C++ GAPI library. Well i've learned a lot but not enough to get PocketQuake compiled like you did, but I am going to keep working on it. YOU ARE THE MAN!
roadkilldave
pm Member
 
Posts: 40
Joined: Jul 6, 2001 @ 2:26pm


Re: A Jornada 720 version using the new GAPI

Postby Moose or Chuck » Jul 7, 2001 @ 9:45pm

just add "struct" infront of the two pertinent function prototypes in gx.h to make it PQ compile. Or was I not following the conversation long enough?
Moose or Chuck
 


Re: A Jornada 720 version using the new GAPI

Postby Larry Bank » Jul 7, 2001 @ 11:36pm

Nice of you guys to tell me that you got it working...<br><br>I'm glad you did it.  Now maybe MS and HP will pull their heads out of their butts and see that the HPC platform is valid for gaming.<br><br>I have all of my arcade emulators running on the 720 - just waiting for MS to say it's OK to distribute :)<br><br>Larry B.
Larry Bank
 


PreviousNext

Return to Pocket Quake 1 and 2


Sort


Forum Description

Discuss Pocket Quake 1 and 2 by Dan East

Moderators:

Dan East, sponge, James S

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron