SDL-mirror/include
Sam Lantinga 6e05dee645 a Nintendo ds update
Frank Zago to SDL

For those interested, here's a snapshot of the current port. I did away with
most of the previous attempt which was based of the sprite engine, because the
support is limited to 128 64x64 sprites. Instead I'm using the gl engine.
The drawback is that either the frame buffer or the gl engine can be used
because there's not that much video memory on a DS.

With minimal changes to their code, it can now run the following tests: ,
testspriteminimal, testscale and testsprite2. The last 2 only run under the
emulator for some reason. The tests are not included in this patch for size
reason.

In 16 bits mode, the 16th bit indicated transparency/opacity. If 0, the color
is not displayed. So I had to patch a few core file to set that bit to 1. See
patch for src/video/SDL_RLEaccel.c and src/video/SDL_blit.h. Is that ok, or is
there a better way ?

The nds also doesn't support windowed mode, so I force the fullscreen in
src/video/SDL_video.c.  Is that ok, or is there a better way ?

To get a smaller library, I also tried to not compile the software renderer
when the hardware renderer is compiled in, and define SDL_NO_COMPAT; however
the compilation eventually fails in SDL_surface.c because SDL_SRCCOLORKEY is
defined in SDL_compat.h. Is SDL_NO_COMPAT only for application and not SDL
itself ?
2011-03-06 21:12:19 -08:00
..
begin_code.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
close_code.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
doxyfile Only document the public API, not the whole source tree. 2011-01-27 07:05:13 -08:00
SDL.h Add assertions to the default API set. 2011-02-19 11:23:41 -08:00
SDL_assert.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_atomic.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_audio.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_blendmode.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_clipboard.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_compat.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_config.h The file is actually SDL_config.h now. 2011-02-17 19:00:29 -08:00
SDL_config.h.in OSF isn't supported anymore. 2011-02-28 09:09:13 -08:00
SDL_config_android.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_config_iphoneos.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_config_macosx.h Dynamically load the Xinerama and xf86vmode extensions 2011-02-28 09:01:53 -08:00
SDL_config_minimal.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_config_nintendods.h a Nintendo ds update 2011-03-06 21:12:19 -08:00
SDL_config_pandora.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_config_windows.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_config_wiz.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_copying.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_cpuinfo.h Fixed compiling AltiVec blitters 2011-02-27 22:22:58 -08:00
SDL_endian.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_error.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_events.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_gesture.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_haptic.h Simple rumble API for haptic 2011-02-20 10:54:44 -08:00
SDL_hints.h changeset: 5272:cb08ef104ac4 2011-02-12 12:04:00 -08:00
SDL_input.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_joystick.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_keyboard.h Renamed SDL_keysym.h to SDL_keycode.h to avoid confusion. 2011-02-16 15:46:12 -08:00
SDL_keycode.h Renamed SDL_keysym.h to SDL_keycode.h to avoid confusion. 2011-02-16 15:46:12 -08:00
SDL_loadso.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_log.h Added missing log debug function 2011-02-19 11:23:56 -08:00
SDL_main.h Allow you to override SDL's main override 2011-02-16 12:27:29 -08:00
SDL_mouse.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_mutex.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_name.h
SDL_opengl.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_opengles.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_opengles2.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_pixels.h A few fixes: 2011-02-13 13:46:10 -08:00
SDL_platform.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_power.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_quit.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_rect.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_render.h Whoops, the format parameter was off the page. 2011-02-18 09:30:09 -08:00
SDL_revision.h Added a revision number for easy compile-time tests. 2011-02-20 10:42:51 -08:00
SDL_rwops.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_scancode.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_shape.h Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now! 2010-08-14 16:14:36 -04:00
SDL_stdinc.h Fixed bug #1090 (SDL_BlitCopyOverlap() assumes memcpy() operates in order) 2011-02-16 15:25:10 -08:00
SDL_surface.h Implemented Cocoa_SetWindowIcon(), added SDL_ConvertSurfaceFormat() 2011-02-21 16:45:23 -08:00
SDL_syswm.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_thread.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_timer.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_touch.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_types.h Happy 2011! :) 2011-02-11 22:37:15 -08:00
SDL_version.h Added a revision number for easy compile-time tests. 2011-02-20 10:42:51 -08:00
SDL_video.h Use boolean value for input grab mode, like we do for fullscreen mode. 2011-02-27 20:06:45 -08:00