All pastes #69173 Raw Edit

Mirchiss

public cpp v1 · immutable
#69173 ·published 2006-06-22 16:27 UTC
rendered paste body
//headers files#include "SDLhelpfunctions.h"#include "SDL/SDL.h"#include "SDL/SDL_image.h"#include <string>SDL_Event event;int main( int argc, char* args[] ){   bool quit = false;   init();          //game loop   while (quit = false)    {      if( SDL_Flip( screen ) == -1 )      {         return 1;          }             while( quit == false )      {         while( SDL_PollEvent( &event ) )         {            if( event.type == SDL_QUIT )            {               quit = true;            }             }      }   }return 0;}