include/SDL.h
changeset 7191 75360622e65f
parent 7022 d9f3d2e3bd07
child 7360 b86947ea2749
     1.1 --- a/include/SDL.h	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/include/SDL.h	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -21,42 +21,42 @@
     1.4  
     1.5  /**
     1.6   *  \file SDL.h
     1.7 - *  
     1.8 + *
     1.9   *  Main include header for the SDL library
    1.10   */
    1.11  
    1.12  /**
    1.13   *  \mainpage Simple DirectMedia Layer (SDL)
    1.14 - *  
    1.15 + *
    1.16   *  http://www.libsdl.org/
    1.17 - *  
    1.18 + *
    1.19   *  \section intro_sec Introduction
    1.20 - *  
    1.21 + *
    1.22   *  This is the Simple DirectMedia Layer, a general API that provides low
    1.23   *  level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL,
    1.24   *  and 2D framebuffer across multiple platforms.
    1.25 - *  
    1.26 + *
    1.27   *  SDL is written in C, but works with C++ natively, and has bindings to
    1.28   *  several other languages, including Ada, C#, Eiffel, Erlang, Euphoria,
    1.29   *  Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP,
    1.30   *  Pike, Pliant, Python, Ruby, and Smalltalk.
    1.31 - *  
    1.32 + *
    1.33   *  This library is distributed under the zlib license, which can be
    1.34   *  found in the file  "COPYING".  This license allows you to use SDL
    1.35   *  freely for any purpose as long as you retain the copyright notice.
    1.36 - *  
    1.37 + *
    1.38   *  The best way to learn how to use SDL is to check out the header files in
    1.39   *  the "include" subdirectory and the programs in the "test" subdirectory.
    1.40   *  The header files and test programs are well commented and always up to date.
    1.41   *  More documentation and FAQs are available online at:
    1.42 - *  	http://wiki.libsdl.org/
    1.43 - *  
    1.44 + *      http://wiki.libsdl.org/
    1.45 + *
    1.46   *  If you need help with the library, or just want to discuss SDL related
    1.47   *  issues, you can join the developers mailing list:
    1.48 - *  	http://www.libsdl.org/mailing-list.php
    1.49 - *  
    1.50 + *      http://www.libsdl.org/mailing-list.php
    1.51 + *
    1.52   *  Enjoy!
    1.53 - *  	Sam Lantinga				(slouken@libsdl.org)
    1.54 + *      Sam Lantinga                (slouken@libsdl.org)
    1.55   */
    1.56  
    1.57  #ifndef _SDL_H
    1.58 @@ -92,16 +92,14 @@
    1.59  #include "begin_code.h"
    1.60  /* Set up for C function definitions, even when using C++ */
    1.61  #ifdef __cplusplus
    1.62 -/* *INDENT-OFF* */
    1.63  extern "C" {
    1.64 -/* *INDENT-ON* */
    1.65  #endif
    1.66  
    1.67  /* As of version 0.5, SDL is loaded dynamically into the application */
    1.68  
    1.69  /**
    1.70   *  \name SDL_INIT_*
    1.71 - *  
    1.72 + *
    1.73   *  These are the flags which may be passed to SDL_Init().  You should
    1.74   *  specify the subsystems which you will be using in your application.
    1.75   */
    1.76 @@ -111,7 +109,7 @@
    1.77  #define SDL_INIT_VIDEO          0x00000020
    1.78  #define SDL_INIT_JOYSTICK       0x00000200
    1.79  #define SDL_INIT_HAPTIC         0x00001000
    1.80 -#define SDL_INIT_GAMECONTROLLER 0x00002000		/**< turn on game controller also implicitly does JOYSTICK */
    1.81 +#define SDL_INIT_GAMECONTROLLER 0x00002000      /**< turn on game controller also implicitly does JOYSTICK */
    1.82  #define SDL_INIT_NOPARACHUTE    0x00100000      /**< Don't catch fatal signals */
    1.83  #define SDL_INIT_EVERYTHING ( \
    1.84                  SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | \
    1.85 @@ -139,7 +137,7 @@
    1.86  /**
    1.87   *  This function returns a mask of the specified subsystems which have
    1.88   *  previously been initialized.
    1.89 - *  
    1.90 + *
    1.91   *  If \c flags is 0, it returns a mask of all initialized subsystems.
    1.92   */
    1.93  extern DECLSPEC Uint32 SDLCALL SDL_WasInit(Uint32 flags);
    1.94 @@ -152,9 +150,7 @@
    1.95  
    1.96  /* Ends C function definitions when using C++ */
    1.97  #ifdef __cplusplus
    1.98 -/* *INDENT-OFF* */
    1.99  }
   1.100 -/* *INDENT-ON* */
   1.101  #endif
   1.102  #include "close_code.h"
   1.103