Skip to content
Snippets Groups Projects
Select Git revision
  • 8f1312c6c3eeec02e5187bc5b825f937fa967a1e
  • next default protected
  • precipoptimizations
  • lightdithering
  • renderdistance
  • thinfps
  • spriteshadows
  • secbright
  • lift-freeslot-limits-2
  • lift-maxsend-limits
  • add-forth-interpreter
  • close-connection-timeout
  • lift-netxcmd-limits
  • add-textinput-hook
  • add-namechange-lua-hook
  • inline-mobjwasremoved
  • fix-bot-2pai-desync
  • avoid-double-checkmobjtrigger-call
  • remove-scale-deadcode
  • remove-duplicate-mobjthinker-call
  • master
  • SRB2_release_2.2.10
  • SRB2_release_2.2.9
  • SRB2_release_2.2.8
  • SRB2_release_2.2.7
  • SRB2_release_2.2.6
  • SRB2_release_2.2.5
  • SRB2_release_2.2.4
  • SRB2_release_2.2.3
  • SRB2_release_2.2.2
  • SRB2_release_2.2.1
  • SRB2_release_2.2.0
  • SRB2_release_2.1.25
  • SRB2_release_2.1.24
  • SRB2_release_2.1.23
  • SRB2_release_2.1.22
  • SRB2_release_2.1.21
  • SRB2_release_2.1.20
  • SRB2_release_2.1.19
  • SRB2_release_2.1.18
  • td-release-v1.0.0
41 results

lua_infolib.c

Blame
  • Forked from STJr / SRB2
    Source project has a limited visibility.
    SDL-1.2.14-gc.patch 16.37 KiB
    From 8e6ada7bc33e3cc4e1c17821ea171bf0815a505d Mon Sep 17 00:00:00 2001
    From: Alam Arias <Alam.GBC@gmail.com>
    Date: Tue, 1 Dec 2009 19:31:57 -0500
    Subject: [PATCH] SDL GC hack
    
    ---
     configure.in                  |   17 ++
     include/SDL_config.h.in       |    1 +
     src/video/fbcon/SDL_fbgc.c    |  471 +++++++++++++++++++++++++++++++++++++++++
     src/video/fbcon/SDL_fbgc.h    |   35 +++
     src/video/fbcon/SDL_fbvideo.c |   10 +
     src/video/fbcon/SDL_fbvideo.h |   11 +
     6 files changed, 545 insertions(+), 0 deletions(-)
     create mode 100644 src/video/fbcon/SDL_fbgc.c
     create mode 100644 src/video/fbcon/SDL_fbgc.h
    
    diff --git a/configure.in b/configure.in
    index a7e9b18..a8961ba 100644
    --- a/configure.in
    +++ b/configure.in
    @@ -1227,6 +1227,22 @@ AC_HELP_STRING([--enable-video-fbcon], [use framebuffer console video driver [[d
         fi
     }
     
    +dnl See if we're running on Linux for the Nintendo GameCube/Wii
    +dnl FIXME, perform a real test here...
    +CheckGC()
    +{
    +    AC_ARG_ENABLE(video-gc,
    +AC_HELP_STRING([--enable-video-gc], [enable GameCube video support in FB [[default=no]]]),
    +                  , enable_video_gc=no)
    +    if test x$enable_video = xyes -a x$enable_video_gc = xyes -a x$video_fbcon = xyes; then
    +        video_gc=yes
    +        AC_MSG_RESULT($video_gc)
    +        if test x$video_gc = xyes; then
    +            AC_DEFINE(SDL_VIDEO_DRIVER_GC)
    +        fi
    +    fi
    +}
    +
     dnl Find DirectFB
     CheckDirectFB()
     {
    @@ -2322,6 +2338,7 @@ case "$host" in
             CheckX11
             CheckNANOX
             CheckFBCON
    +        CheckGC
             CheckDirectFB
             CheckPS2GS
             CheckPS3
    diff --git a/include/SDL_config.h.in b/include/SDL_config.h.in
    index 58593ca..e523e9b 100644
    --- a/include/SDL_config.h.in
    +++ b/include/SDL_config.h.in
    @@ -262,6 +262,7 @@
     #undef SDL_VIDEO_DRIVER_DUMMY
     #undef SDL_VIDEO_DRIVER_FBCON
     #undef SDL_VIDEO_DRIVER_GAPI
    +#undef SDL_VIDEO_DRIVER_GC
     #undef SDL_VIDEO_DRIVER_GEM
     #undef SDL_VIDEO_DRIVER_GGI
     #undef SDL_VIDEO_DRIVER_IPOD
    diff --git a/src/video/fbcon/SDL_fbgc.c b/src/video/fbcon/SDL_fbgc.c
    new file mode 100644
    index 0000000..b3b72bb
    --- /dev/null
    +++ b/src/video/fbcon/SDL_fbgc.c
    @@ -0,0 +1,471 @@
    +/*