Search results

  1. pea

    Our New Machine, Pandora

    Love to help in any way possible. Physical design of the device would be my strength. I own/manage a Flash Lite mobile game development studio, so if this device will support flash (if there is a working Flash player for Linux) we could create some games for launch also. (BTW *blatant plug* we...
  2. pea

    New Gp2x F-200

    Somebody please point me to a link/post on the graigolator/GP3X. There has been a lot of mysterious mention of this device. Is it based on the community 'Ninja' some years back? Is Graigx developing/building it, or is it GPH, or another company?
  3. pea

    GP32 A Fix For Mirko Smc Lib ?

    Let me know how it goes because I am interested in using the frodo smc lib in my project too. Good luck.
  4. pea

    GP32 A Fix For Mirko Smc Lib ?

    Also try downloading the source for Frodo (GP32) - apparently the smc code used in frodo also allows full file names etc. (not limited to 8.3)
  5. pea

    GP32 Gpstream

    Just for interest sake, is this a memory stream (i.e. load data/file into stream and then access it uisng stream functions) or some other sort of data structure?
  6. pea

    Gamepark Files Bankruptcy

    I was looking forward to the 'mini... sad
  7. pea

    Flashplayer2x V0.2

    Nmn, hats off to you. I have a half-ported version of flash for the gp32 but I abandoned it due to its heavy reliance on linux packages, especially for fonts and sound. I do remember managing to speed up the loading though, as I had exactly the same problem. Flash is somethinf dear to my...
  8. pea

    GP2X Bresenham / Any Line Drawing

    Hi guys, Sounds like you are doing ok. I have some bresenham based line drawing code with antialiasing and clipping. It uses my own graphics canvas objects and alpha look up table as it is part of my peaSDK, but it may be of use?
  9. pea

    GP32 Freeing Objects

    Yeah, but this was just a simple example - a lot of free routines are more complex than just a 'free' followed by a NULL :) For example, to free my generic double linked list class it involves stepping through items and freeing those, as well as freeing any objects attached to those items (id...
  10. pea

    GP32 Freeing Objects

    Yeah, this would be it: tGP_struct* gp_structFree( tGP_struct *struct ){ if(struct){ free(struct); } return NULL; }
  11. pea

    GP32 Freeing Objects

    Nice one, Yauster. Never thought of returning NULL. Makes it a lot simpler than: gp_structFree( &struct ); And makes it a lot easier to remember than: gp_structFree( struct ); struct=NULL;
  12. pea

    GP32 Freeing Objects

    Its not that I want to code in OO, I think that if you are coding in c, coding in this method is just good practice anyway. EDIT: Thanks Rob. I noticed an error in my code anyway. The '=NULL' bit should have been derefernced: void gp_structFree( tGP_struct **struct ){ free(*struct)...
  13. pea

    Forum User Stats

    Of the 150-ish respondents to the poll, over 50 are devs for either the GP32 and/or GP2X. That is pretty impressive.
  14. pea

    GP32 Freeing Objects

    Yes, and it is that 'setting to NULL' that I am concerned about. From my point of view, to keep the code as OO as possible (even though it isn't), being able to call the free routine and then not having to manually also set the pointer to NULL is by far better. Passing in the pointer reference...
  15. pea

    GP32 Loop Condition

    Thanks for that RTB7. Just noticed that 'b' bug in the sample code :) The second 'b' should be a 'c' c->x = someStruct->member1->member2;
  16. pea

    GP32 Loop Condition

    Hi all, When I do a loop, is the condition evaluated once at the start, or for every iteration? which of these is best: for (i=0; i<someFunction(); i++){ // Do stuff } or x = someFunction(); for (i=0; i<x; i++){ // Do stuff } Conversly, is it more expensive to reference struct members...
  17. pea

    GP32 Freeing Objects

    That's unfortunate, since I have written all my free routines this way :( Thanks
  18. pea

    GP32 Freeing Objects

    Hi all, I was getting back into c today and came across a bug which I think affects every 'free' routine I have written for the GP so far... I develop using a psuedo OO format, much like openGL does it. I have structs (objects) and I have functions which create and free those structs...
  19. pea

    I'm Back

    Hey WFUK, is it still raining at your place?
  20. pea

    User Poll - Gp2x Is On Top

    Hi guys, Just in case you missed it in the GP2X general forum, I am running a poll to see how many GP32 users and how many GP2X users there are on this site. So far GP2X is way ahead and I thought perhaps the result was skewed because the GP32 owners don't read that board :) So please complete...
Back
Top