Search results

  1. P

    Development Setup Under Linux

    Hey all, I am completely lost when trying to compile for the gp2x on linux. I made a few games for the GP2X a couple years ago using DevkitPro on Windows. However that was like 3 formats ago and I primarily use linux now. What I need is a downloadable SDL toolchain and a makefile to make the...
  2. P

    GP2X Sdl - Getting Raw Pixel Data From A Bitmap

    Hi, What i want to do is to load in a bitmap, then check the colour value of each pixel in the bitmap. I know that a SDL_Surface can return a void pointer to the pixel data, but after that i'm kinda lost :huh: My question is how would i go about getting the pixel colour data from a bitmap...
  3. P

    Screen Flicker Problem

    Hi guys, When i use: m_screen = SDL_SetVideoMode(screenWidth, screenHeight, screenDepth, SDL_HWSURFACE | SDL_DOUBLEBUF); and run my game the screen flickers, when i pass in SDL_SWSURFACE i dont get this problem. I did a search but couldnt find anything that fixed my problem (maybe i missed...
  4. P

    Shell Scripts And File Visibility

    Hi guys, What i want to do is start my game using a shell script, and to have it so that all files/folders apart from the shell script are hidden. From searching the forum i know that: ./the_executable cd /usr/gp2x exec ./gp2xmenu would restart the menu app after the game exits. What i need...
  5. P

    Linking With Sdl_ttf, And Sdl_image In Vis Studio

    Hi guys, here again with a few questions. I'm using Visual Studio with SDL. I'm trying to use SDL_ttf, and SDL_image, i'm getting an "Undefined refrence" for every function call i make to SDL_image and SDL_ttf. I have given the paths to visual studio for the header file and the lib file...
  6. P

    Setting Up #ifdef In Visual Studio

    Hi guys, I'm trying to set up my Visual Studio project so that it works for the GP2X and Win32, I have the projects set up properly, but cant figure out how to set it up so that i can wrap platform specific code in #ifdefs like this: #ifdef _GP2X printf("Exiting back to the main menu")...
  7. P

    GP2X Gp2x Development With Vis Studio 2005 And Sdl

    Hey guys, i've been trying to set up my GP2X for development using the wiki and some notes from my university site but have run into a problem. I have tried unsucsessfully to set up a project a few times and have found a test project on my university site but still get an error. The error is as...
Back
Top