Ignore:
Timestamp:
Apr 17, 2011, 11:56:44 PM (12 years ago)
Author:
Sam Hocevar
Message:

style: remove trailing spaces, fix copyright statements.

Location:
abuse/trunk/src/sdlport
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/sdlport/event.cpp

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au>
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This program is free software; you can redistribute it and/or modify
  • abuse/trunk/src/sdlport/hmi.cpp

    r479 r494  
    6363    unsigned char c;
    6464
    65     if ((value = *buffer++) & 0x80) 
     65    if ((value = *buffer++) & 0x80)
    6666    {
    6767        value &= 0x7F;
    68         do 
     68        do
    6969        {
    7070            value = (value << 7) + ((c = *buffer++) & 0x7F);
     
    234234                    input += 6;
    235235                    break;
    236                 }         
     236                }
    237237            }
    238238            else
  • abuse/trunk/src/sdlport/jdir.cpp

    r131 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au>
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This program is free software; you can redistribute it and/or modify
  • abuse/trunk/src/sdlport/jnet.cpp

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au>
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This program is free software; you can redistribute it and/or modify
  • abuse/trunk/src/sdlport/jnet.h

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 1995 Crack dot Com
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This software was released into the Public Domain. As with most public
  • abuse/trunk/src/sdlport/joy.h

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 1995 Crack dot Com
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This software was released into the Public Domain. As with most public
  • abuse/trunk/src/sdlport/joystick.cpp

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au>
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This program is free software; you can redistribute it and/or modify
  • abuse/trunk/src/sdlport/mouse.cpp

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au>
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This program is free software; you can redistribute it and/or modify
  • abuse/trunk/src/sdlport/setup.cpp

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au>
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This program is free software; you can redistribute it and/or modify
     
    288289                scale = result;
    289290/*                flags.xres = xres * scale;
    290                 flags.yres = yres * scale;*/
     291                flags.yres = yres * scale; */
    291292            }
    292293        }
     
    356357    flags.xres = xres        = 320;            // Default window width
    357358    flags.yres = yres        = 200;            // Default window height
    358 #ifdef __APPLE__   
     359#ifdef __APPLE__
    359360    flags.gl                = 1;            // Use opengl
    360361    flags.doublebuf            = 1;            // Do double buffering
     
    423424    CFURLRef bundleurl = CFBundleCopyBundleURL(CFBundleGetMainBundle());
    424425    CFURLRef url = CFURLCreateCopyAppendingPathComponent(kCFAllocatorDefault, bundleurl, CFSTR("Contents/Resources/data"), true);
    425    
     426
    426427    if (!CFURLGetFileSystemRepresentation(url, true, buffer, 255))
    427428    {
     
    433434    set_filename_prefix( EXPDATADIR );
    434435    #endif
    435    
     436
    436437    // Load the users configuration
    437438    readRCFile();
  • abuse/trunk/src/sdlport/setup.h

    r56 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 1995 Crack dot Com
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This software was released into the Public Domain. As with most public
     
    1314struct flags_struct
    1415{
    15         short fullscreen;
    16         short doublebuf;
    17         short mono;
    18         short nosound;
    19         short grabmouse;
    20         short nosdlparachute;
    21         short xres;
    22         short yres;
    23         short overlay;
    24         short gl;
    25         int antialias;
     16    short fullscreen;
     17    short doublebuf;
     18    short mono;
     19    short nosound;
     20    short grabmouse;
     21    short nosdlparachute;
     22    short xres;
     23    short yres;
     24    short overlay;
     25    short gl;
     26    int antialias;
    2627};
    2728
    2829struct keys_struct
    2930{
    30         int left;
    31         int right;
    32         int up;
    33         int down;
    34         int b1;
    35         int b2;
    36         int b3;
    37         int b4;
     31    int left;
     32    int right;
     33    int up;
     34    int down;
     35    int b1;
     36    int b2;
     37    int b3;
     38    int b4;
    3839};
    3940
  • abuse/trunk/src/sdlport/sound.cpp

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au>
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This program is free software; you can redistribute it and/or modify
     
    223224
    224225        SDL_AudioCVT audiocvt;
    225    
     226
    226227        SDL_BuildAudioCVT( &audiocvt, AUDIO_U8, 1, 11025, audioObtained.format, audioObtained.channels, audioObtained.freq );
    227228        data = malloc( size * audiocvt.len_mult );
     
    365366    Name = strdup(filename);
    366367    song_id = 0;
    367    
     368
    368369#ifdef USE_SDL_MIXER
    369370    rw = NULL;
  • abuse/trunk/src/sdlport/sound.h

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 1995 Crack dot Com
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This software was released into the Public Domain. As with most public
  • abuse/trunk/src/sdlport/timing.cpp

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au>
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This program is free software; you can redistribute it and/or modify
  • abuse/trunk/src/sdlport/video-overlay.cpp

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au>
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This program is free software; you can redistribute it and/or modify
  • abuse/trunk/src/sdlport/video.cpp

    r481 r494  
    22 *  Abuse - dark 2D side-scrolling platform game
    33 *  Copyright (c) 2001 Anthony Kruize <trandor@labyrinth.net.au>
     4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
    45 *
    56 *  This program is free software; you can redistribute it and/or modify
Note: See TracChangeset for help on using the changeset viewer.