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

PocketQuake Launcher


Re: PocketQuake Launcher

Postby RwGast » Dec 1, 2001 @ 4:22pm

No, not really, using file streams is a harder concept than simply shelling an app with an api function.
http://www.angelfire.com/ego/esoteric if you like to play quake3 keep your eye on this site
User avatar
RwGast
pm Member
 
Posts: 1123
Joined: Jun 28, 2001 @ 7:36pm
Location: California, USA


Re: PocketQuake Launcher

Postby Dan East » Dec 1, 2001 @ 4:46pm

I'll write the code right now to load / save settings:<br>[fixed]<br>struct MySettings {<br>  int  nSomeValue;<br>  char sSomeString[64];<br>  char sBlahBlahBlah[32];<br>};<br><br>int SaveSettings( MySettings *pSettings ) {<br>  FILE *f=fopen( "MySettingsFile.cfg", "wb" );<br>  if (!f)<br>    return 0;  //Unable to create file<br>  if ( !fwrite( pSettings, sizeof( MySettings ), 1, f ) ) {<br>    fclose( f );<br>    return 0;  //Error writing - Disk Full?<br>  }<br>  fclose( f );<br>  return 1;  //Success<br>}<br><br>int LoadSettings( MySettings *pSettings ) {<br>  FILE *f=fopen( "MySettingsFile.cfg", "rb" );<br>  if ( !f )<br>    return 0;  //Unable to open file Does Not Exist?<br>  if ( !fread( pSettings, sizeof( MySettings ), 1, f ) {<br>    fclose( f );<br>    return 0;  //Error reading - truncated file?<br>  }<br>  fclose( f );<br>  return 1;  //Success<br>}<br>[/fixed]<br><br>You can use wide-char versions of fopen to pass UNICODE filenames, or use Windows API CreateFile to support CE 2.11 as well.  Just define struct to store whatever you want - EXCEPT POINTERS. This is off the top of my head, and may have syntax errors.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: PocketQuake Launcher

Postby Matt Keys » Dec 1, 2001 @ 4:51pm

wow, not even one smiley, nice.
Matt Keys
Co-Founder
PocketMatrix.com
User avatar
Matt Keys
Site Co-Founder
 
Posts: 3243
Joined: Jan 24, 2001 @ 7:29pm
Location: Michigan, USA


Re: PocketQuake Launcher

Postby gamefreaks » Dec 3, 2001 @ 5:27am

Saving to a CFG was something I was going to do for ages now. I've not been working on PQL because I have to revise for exams!<br>Chemistry is a pain in the ass. I hate equilibrium calculations!<br><br>Enlgish Lit is OK. Just sick of Chaucer!<br><br>AVCE ICT: Too much work!!!<br><br>Anyway, since Dan has been good enough to post some code for us, the least I can do is implement it. Please be patient though!<br><br>PS: Congrat's on getting Wolfie to work, Dan.
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Re: PocketQuake Launcher

Postby Robby » Dec 3, 2001 @ 2:37pm

equilibrium equations are a cunt. have u got a module exam after christmas too?<br>i got one.  its a bitch
Why?
User avatar
Robby
pm Member
 
Posts: 418
Joined: Jul 30, 2001 @ 2:26pm
Location: Edenbridge


Re: PocketQuake Launcher

Postby gamefreaks » Dec 3, 2001 @ 3:58pm

Yup...Gotta do module 4 on the 21st Jan.<br><br>Equilibrium is not that hard, it's all the stages and farting around with irrational numbers in the middle.<br><br>Rate equations are harder, but theres less work involved. I like that!<br><br>Good Luck anyway!
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Re: PocketQuake Launcher

Postby Diego Cueva » Dec 4, 2001 @ 12:48pm

Chemistry? pff.. I am on vacation!!!! :D <br>yahhhhhh
--------------------------

Last modification: Diego Cueva - 04/31/03 at 17:32:04
I´m currently listening to my PC´s fan
SMRF founder
Peace
User avatar
Diego Cueva
pm Insider
 
Posts: 2582
Joined: Mar 28, 2001 @ 9:06pm
Location: D.I.G. Secret Headquarters, Brazil


Re: PocketQuake Launcher

Postby gamefreaks » Dec 4, 2001 @ 2:54pm

Oh...It's okay for some...<br><br>PQL will be updated soon. Im working on a Feasibility Study and System Specification at the moment. Got the 15 Hour exam next week. All ICT lessons canceled so I will have lots of time...
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Re: PocketQuake Launcher

Postby Robby » Dec 5, 2001 @ 2:48pm

mines on the 11th - the 21st is the day before my birthday so i'd rather not have it then.  anyway, after the module we can kick back for a few months.
Why?
User avatar
Robby
pm Member
 
Posts: 418
Joined: Jul 30, 2001 @ 2:26pm
Location: Edenbridge


Re: PocketQuake Launcher

Postby Robby » Dec 12, 2001 @ 12:49pm

are there any more updates on the way? its holidays now.
Why?
User avatar
Robby
pm Member
 
Posts: 418
Joined: Jul 30, 2001 @ 2:26pm
Location: Edenbridge


Re: PocketQuake Launcher

Postby gamefreaks » Dec 14, 2001 @ 4:39pm

Huh? Holidays? Not for me...I dont finnish until the 21st.<br>Still my exam is done, so I can relax a bit now. Feel a bit shitty tonight, flu I think, so I wont add to PQL tonight, Maybe tommorow and definatly before xmas (promise).
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Re: PocketQuake Launcher

Postby Paul » Dec 14, 2001 @ 4:46pm

hey gamefreaks, you got any replies from ucas yet? i got one from aston so far...
Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


Re: PocketQuake Launcher

Postby gamefreaks » Dec 15, 2001 @ 8:44am

Yeah, Got loads of stuff from UCAS.<br><br>Got replies from;<br>Birmingham (Aston)<br>Lincoln<br>Leicester<br>Stafforshire<br><br>The only guys I havent got a reply from yet is Nottingham.<br><br>What grades do astom want from you & what course did you apply for? They want 4 B's from me.
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Re: PocketQuake Launcher

Postby gamefreaks » Dec 15, 2001 @ 8:48am

Oh yeah, Couple of questions...<br><br>Do anyone wanta J720 port of PQL?<br><br>Is it possible to get a J680 and a Siemans SL45 to communicate?
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Re: PocketQuake Launcher

Postby Paul » Dec 15, 2001 @ 9:16am

FOUR B's? what are you applying for? they want bcc for computer science, i think. i'm predicted abc/abb so i should be okay. <br><br>i dont want to go there anyway.
Paul
pm Insider
 
Posts: 9835
Joined: Apr 2, 2001 @ 3:15pm
Location: California


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