Search results

  1. U

    Memory And Pointer Troubles (mallocing Bytes !/4)

    Hey all, think I am getting a bit out of my depth here but I am struggling to understand the reason why the code below does not work correctly - What I am trying to do is 1. Allocate a certain amount of bytes + (amount of bytes needed for a list) at the same time so I can access either one...
  2. U

    Creating Simple Sounds For Homebrew

    I know it sounds like a stupid question, but how do you create some simple sounds for your game/program such as beeps for menus? Do you just record something in a mic then edit the wav using something like audacity until it sounds right or is there a more sophisticated approach? :P
  3. U

    Question On Malloc And Free.

    Hi, I am try to allocate memory for two objects at the same time. This is so that I can quickly reference to the second object by pointer arithmetic. For example CODE void *memory = malloc(sizeof(int) + sizeof(char)); int *firstPart; char *secondPart; char *pointArith...
  4. U

    Acceleration Independent Of Frame Rate

    I cant seem to get Acceleration or deceleration of a unit to move the same regardless of the frame rate. If a key is pressed then a constant amount of force is added to xForce (or yForce) and then a force in the opposite direction is added to xForce based on the velocity (xVel/6). The xForce...
  5. U

    Freeing Memory From A Function?

    Hi I am not sure how i can properly pass a pointer that has been allocated memory to another function and then free it. What i am doing currently is this struct bullet *plasmaStart = NULL; struct bullet *plasmaCurrent = NULL; struct bullet *plasmaNew = NULL; struct bullet *plasmaTemp = NULL...
  6. U

    Nintendo Virtual Console Games On The Gp2x

    I was wondering if it would be legal to play the games you buy from the virtual console on the gp2x? As far as i understand you buy the game and it downloads straight to your sd card so you don't modify the file in any way, just put the sd card in the gp2x and load up the rom. The emulators are...
  7. U

    Marfitude

    Hi would anyone be interested in porting Marfitude to the gp2x? It is SDL and has the source code, the website is here http://www.erestar.net/games/marfitude/ its a great rythem game based off Amplitude for the Playstation 2.
Back
Top