├── lib ├── SDL2-2.0.9 │ ├── debian │ │ ├── compat │ │ ├── source │ │ │ └── format │ │ ├── libsdl2-dev.manpages │ │ ├── libsdl2.install │ │ ├── docs │ │ ├── watch │ │ └── libsdl2-dev.install │ ├── android-project │ │ ├── settings.gradle │ │ ├── app │ │ │ ├── jni │ │ │ │ ├── Android.mk │ │ │ │ ├── Application.mk │ │ │ │ └── src │ │ │ │ │ └── Android.mk │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ ├── res │ │ │ │ │ ├── values │ │ │ │ │ │ ├── strings.xml │ │ │ │ │ │ ├── colors.xml │ │ │ │ │ │ └── styles.xml │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ └── mipmap-xxxhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ └── java │ │ │ │ │ └── org │ │ │ │ │ └── libsdl │ │ │ │ │ └── app │ │ │ │ │ └── HIDDevice.java │ │ │ └── proguard-rules.pro │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── build.gradle │ │ └── gradle.properties │ ├── src │ │ ├── hidapi │ │ │ ├── testgui │ │ │ │ ├── TestGUI.app.in │ │ │ │ │ └── Contents │ │ │ │ │ │ ├── PkgInfo │ │ │ │ │ │ ├── Resources │ │ │ │ │ │ ├── Signal11.icns │ │ │ │ │ │ └── English.lproj │ │ │ │ │ │ │ └── InfoPlist.strings │ │ │ │ │ │ └── Info.plist │ │ │ │ ├── start.sh │ │ │ │ ├── mac_support.h │ │ │ │ ├── Makefile-manual │ │ │ │ ├── Makefile.freebsd │ │ │ │ ├── Makefile.linux │ │ │ │ ├── Makefile.mingw │ │ │ │ └── testgui.sln │ │ │ ├── bootstrap │ │ │ ├── libusb │ │ │ │ ├── hidusb.cpp │ │ │ │ ├── Makefile-manual │ │ │ │ └── Makefile.am │ │ │ ├── linux │ │ │ │ ├── hidraw.cpp │ │ │ │ └── Makefile.am │ │ │ ├── android │ │ │ │ ├── jni │ │ │ │ │ ├── Application.mk │ │ │ │ │ └── Android.mk │ │ │ │ └── project.properties │ │ │ ├── windows │ │ │ │ ├── Makefile-manual │ │ │ │ ├── Makefile.am │ │ │ │ ├── ddk_build │ │ │ │ │ ├── hidapi.def │ │ │ │ │ └── sources │ │ │ │ └── Makefile.mingw │ │ │ ├── ios │ │ │ │ ├── Makefile.am │ │ │ │ └── Makefile-manual │ │ │ ├── mac │ │ │ │ ├── Makefile.am │ │ │ │ └── Makefile-manual │ │ │ ├── LICENSE-orig.txt │ │ │ ├── pc │ │ │ │ ├── hidapi.pc.in │ │ │ │ ├── hidapi-libusb.pc.in │ │ │ │ └── hidapi-hidraw.pc.in │ │ │ ├── HACKING.txt │ │ │ ├── AUTHORS.txt │ │ │ ├── hidtest │ │ │ │ └── Makefile.am │ │ │ └── LICENSE.txt │ │ ├── test │ │ │ └── SDL_test_font.c │ │ ├── video │ │ │ └── SDL_RLEaccel.c │ │ ├── events │ │ │ └── default_cursor.h │ │ ├── main │ │ │ ├── windows │ │ │ │ └── version.rc │ │ │ ├── winrt │ │ │ │ ├── SDL2-WinRTResource_BlankCursor.cur │ │ │ │ └── SDL2-WinRTResources.rc │ │ │ ├── android │ │ │ │ └── SDL_android_main.c │ │ │ └── dummy │ │ │ │ └── SDL_dummy_main.c │ │ ├── audio │ │ │ └── sun │ │ │ │ └── SDL_sunaudio.c │ │ ├── haptic │ │ │ └── android │ │ │ │ └── SDL_syshaptic_c.h │ │ ├── render │ │ │ └── metal │ │ │ │ └── build-metal-shaders.sh │ │ └── libm │ │ │ ├── s_fabs.c │ │ │ └── s_copysign.c │ ├── SDL2Config.cmake │ ├── test │ │ ├── axis.bmp │ │ ├── button.bmp │ │ ├── icon.bmp │ │ ├── sample.bmp │ │ ├── sample.wav │ │ ├── utf8.txt │ │ ├── testyuv.bmp │ │ ├── controllermap.bmp │ │ ├── shapes │ │ │ ├── p01_shape24.bmp │ │ │ ├── p01_shape8.bmp │ │ │ ├── p02_shape24.bmp │ │ │ ├── p02_shape8.bmp │ │ │ ├── p03_shape24.bmp │ │ │ ├── p03_shape8.bmp │ │ │ ├── p04_shape1.bmp │ │ │ ├── p04_shape24.bmp │ │ │ ├── p04_shape8.bmp │ │ │ ├── p05_shape8.bmp │ │ │ ├── p06_shape24.bmp │ │ │ ├── p06_shape8.bmp │ │ │ ├── p07_shape24.bmp │ │ │ ├── p07_shape8.bmp │ │ │ ├── p08_shape24.bmp │ │ │ ├── p08_shape8.bmp │ │ │ ├── p09_shape24.bmp │ │ │ ├── p09_shape8.bmp │ │ │ ├── p10_shape1.bmp │ │ │ ├── p10_shape24.bmp │ │ │ ├── p10_shape8.bmp │ │ │ ├── p11_shape24.bmp │ │ │ ├── p11_shape8.bmp │ │ │ ├── p12_shape24.bmp │ │ │ ├── p12_shape8.bmp │ │ │ ├── p13_shape24.bmp │ │ │ ├── p13_shape8.bmp │ │ │ ├── p14_shape24.bmp │ │ │ ├── p14_shape8.bmp │ │ │ ├── p15_shape24.bmp │ │ │ ├── p15_shape8.bmp │ │ │ ├── p16_shape1.bmp │ │ │ ├── p16_shape24.bmp │ │ │ ├── p16_shape8.bmp │ │ │ ├── trollface_24.bmp │ │ │ ├── p01_shape32alpha.bmp │ │ │ ├── p02_shape32alpha.bmp │ │ │ ├── p04_shape32alpha.bmp │ │ │ ├── p06_shape1alpha.bmp │ │ │ ├── p06_shape32alpha.bmp │ │ │ ├── p07_shape32alpha.bmp │ │ │ ├── p08_shape32alpha.bmp │ │ │ ├── p09_shape32alpha.bmp │ │ │ ├── p10_shape32alpha.bmp │ │ │ ├── p11_shape32alpha.bmp │ │ │ ├── p13_shape32alpha.bmp │ │ │ ├── p15_shape32alpha.bmp │ │ │ └── trollface_32alpha.bmp │ │ ├── COPYING │ │ ├── autogen.sh │ │ ├── testyuv_cvt.h │ │ ├── nacl │ │ │ ├── manifest.json │ │ │ └── index.html │ │ ├── emscripten │ │ │ └── joystick-pre.js │ │ └── picture.xbm │ ├── Xcode-iOS │ │ ├── Demos │ │ │ ├── Icon.png │ │ │ ├── Default.png │ │ │ ├── data │ │ │ │ ├── icon.bmp │ │ │ │ ├── ship.bmp │ │ │ │ ├── space.bmp │ │ │ │ ├── stroke.bmp │ │ │ │ ├── drums │ │ │ │ │ ├── ds_china.wav │ │ │ │ │ ├── ds_brush_snare.wav │ │ │ │ │ ├── ds_kick_big_amb.wav │ │ │ │ │ └── ds_loose_skin_mute.wav │ │ │ │ └── bitmapfont │ │ │ │ │ └── kromasky_16x16.bmp │ │ │ └── src │ │ │ │ └── common.h │ │ ├── Template │ │ │ └── SDL iOS Application │ │ │ │ ├── Icon.png │ │ │ │ ├── Default.png │ │ │ │ ├── Default-568h@2x.png │ │ │ │ ├── ___PROJECTNAME___.xcodeproj │ │ │ │ ├── TemplateIcon.icns │ │ │ │ ├── project.xcworkspace │ │ │ │ │ └── contents.xcworkspacedata │ │ │ │ └── TemplateInfo.plist │ │ │ │ └── Info.plist │ │ └── Test │ │ │ ├── README │ │ │ └── Info.plist │ ├── include │ │ ├── SDL_revision.h │ │ ├── SDL_copying.h │ │ └── SDL_opengles2_gl2platform.h │ ├── CMakeFiles │ │ └── cmake.check_cache │ ├── VisualC-WinRT │ │ ├── tests │ │ │ ├── loopwave │ │ │ │ ├── Assets │ │ │ │ │ ├── Logo.png │ │ │ │ │ ├── SmallLogo.png │ │ │ │ │ ├── StoreLogo.png │ │ │ │ │ └── SplashScreen.png │ │ │ │ └── loopwave_VS2012_TemporaryKey.pfx │ │ │ └── testthread │ │ │ │ ├── Assets │ │ │ │ ├── Logo.png │ │ │ │ ├── SmallLogo.png │ │ │ │ ├── StoreLogo.png │ │ │ │ └── SplashScreen.png │ │ │ │ └── testthread_VS2012_TemporaryKey.pfx │ │ ├── SDL2main-WinRT-NonXAML.targets │ │ ├── SDL2main-WinRT-NonXAML.nuspec │ │ └── SDL2-WinRT.nuspec │ ├── Xcode │ │ └── SDL │ │ │ ├── pkg-support │ │ │ ├── resources │ │ │ │ ├── SDL_DS_Store │ │ │ │ └── License.txt │ │ │ └── SDL.info │ │ │ └── Info-Framework.plist │ ├── build-scripts │ │ ├── showrev.sh │ │ ├── update-copyright.sh │ │ ├── winrtbuild.bat │ │ ├── strip_fPIC.sh │ │ └── updaterev.sh │ ├── docs │ │ ├── README-platforms.md │ │ ├── README-wince.md │ │ ├── README-psp.md │ │ ├── README-pandora.md │ │ └── README-hg.md │ ├── VisualC │ │ └── clean.sh │ ├── sdl2-config.cmake.in │ ├── acinclude │ │ ├── ac_check_define.m4 │ │ └── ltversion.m4 │ ├── README-SDL.txt │ ├── TODO.txt │ ├── build_debian │ │ ├── sdl2-config.cmake │ │ ├── sdl2.pc │ │ └── build │ │ │ └── .libs │ │ │ ├── libSDL2main.lai │ │ │ └── libSDL2_test.lai │ ├── BUGS.txt │ ├── sdl2.pc.in │ ├── autogen.sh │ ├── README.txt │ ├── cmake_uninstall.cmake.in │ ├── COPYING.txt │ └── Makefile.minimal ├── SDL2.framework │ ├── Versions │ │ ├── Current │ │ └── A │ │ │ ├── SDL2 │ │ │ └── Headers │ │ │ ├── SDL_revision.h │ │ │ ├── SDL_copying.h │ │ │ └── SDL_opengles2_gl2platform.h │ ├── SDL2 │ ├── Headers │ └── Resources ├── SDL2.dll ├── libOpenCL.dll └── libft │ └── src │ ├── test_io.c │ ├── test_vlq.c │ └── test_math.c ├── ref ├── rtv1_aduquesn │ ├── auteur │ ├── libft │ │ ├── auteur │ │ └── src │ │ │ ├── ft_putchar.c │ │ │ ├── ft_isascii.c │ │ │ ├── ft_isdigit.c │ │ │ ├── ft_isprint.c │ │ │ ├── ft_strclr.c │ │ │ ├── ft_putchar_fd.c │ │ │ ├── ft_putstr.c │ │ │ ├── ft_putstr_fd.c │ │ │ └── ft_isalpha.c │ ├── ex2.rt │ ├── kirby.rt │ ├── ex1.rt │ ├── test.rt │ └── lego.rt ├── rtv1_tduquesn │ ├── author │ ├── .validation_format │ │ ├── author │ │ ├── examples │ │ │ ├── sphere3.rt │ │ │ ├── sphere4.rt │ │ │ ├── sphere.rt │ │ │ ├── sphere2.rt │ │ │ ├── sphere5.rt │ │ │ ├── sphere6.rt │ │ │ ├── cone.rt │ │ │ ├── saddle.rt │ │ │ ├── paraboloid.rt │ │ │ ├── cube.rt │ │ │ ├── inside_infcone.rt │ │ │ ├── rainbow1.rt │ │ │ └── showcase0.rt │ │ └── libft │ │ │ └── src │ │ │ ├── io │ │ │ └── put │ │ │ │ ├── ft_putchar.c │ │ │ │ ├── ft_putnbr.c │ │ │ │ ├── ft_putchar_fd.c │ │ │ │ ├── ft_putendl.c │ │ │ │ └── ft_putstr.c │ │ │ ├── mem │ │ │ ├── ft_msb.c │ │ │ ├── ft_bzero.c │ │ │ └── ft_not_msb.c │ │ │ ├── math │ │ │ ├── op │ │ │ │ ├── ft_ceil.c │ │ │ │ ├── ft_abs.c │ │ │ │ ├── ft_fabs.c │ │ │ │ ├── ft_max.c │ │ │ │ ├── ft_min.c │ │ │ │ ├── ft_umax.c │ │ │ │ └── ft_umin.c │ │ │ └── conv │ │ │ │ ├── ft_itoa.c │ │ │ │ └── ft_digits.c │ │ │ └── str │ │ │ └── char │ │ │ ├── ft_isascii.c │ │ │ ├── ft_isdigit.c │ │ │ └── ft_islower.c │ ├── README.md │ ├── rtv1 │ ├── doc │ │ ├── Ressources │ │ │ ├── EX1.png │ │ │ ├── EX2.png │ │ │ ├── EX3.png │ │ │ ├── EX4.png │ │ │ ├── RTi1.png │ │ │ ├── RTi2.png │ │ │ ├── RTi3.png │ │ │ ├── RTi4.png │ │ │ ├── RTi5.png │ │ │ └── Ressources.html │ │ └── RTv1_examples_tduquesn.png │ ├── .examples_old │ │ ├── sphere.rt │ │ ├── sphere2.rt │ │ ├── sphere3.rt │ │ ├── sphere4.rt │ │ ├── sphere5.rt │ │ ├── sphere6.rt │ │ ├── cone.rt │ │ ├── saddle.rt │ │ ├── paraboloid.rt │ │ ├── cube.rt │ │ ├── mirror_showcase1b.rt │ │ ├── mirror_showcase1c.rt │ │ ├── sphere7.rt │ │ ├── glassy_showcase1a.rt │ │ ├── glassy_showcase1b.rt │ │ ├── mirror_showcase1a.rt │ │ ├── inside_infcone.rt │ │ └── rainbow1.rt │ ├── examples │ │ ├── READ_ME.txt │ │ ├── room5.rt │ │ ├── room4.rt │ │ ├── room1.rt │ │ └── room2.rt │ └── libft │ │ └── src │ │ ├── io │ │ └── put │ │ │ ├── ft_putchar.c │ │ │ ├── ft_putnbr.c │ │ │ ├── ft_putchar_fd.c │ │ │ ├── ft_putstr.c │ │ │ ├── ft_putendl.c │ │ │ └── ft_putmem.c │ │ ├── mem │ │ ├── ft_msb.c │ │ ├── ft_bzero.c │ │ └── ft_not_msb.c │ │ ├── math │ │ ├── op │ │ │ ├── ft_abs.c │ │ │ ├── ft_ceil.c │ │ │ ├── ft_fabs.c │ │ │ ├── ft_max.c │ │ │ ├── ft_min.c │ │ │ ├── ft_umax.c │ │ │ ├── ft_umin.c │ │ │ ├── ft_fmax.c │ │ │ └── ft_fmin.c │ │ └── conv │ │ │ ├── ft_itoa.c │ │ │ └── ft_digits.c │ │ ├── str │ │ ├── char │ │ │ ├── ft_isascii.c │ │ │ ├── ft_isdigit.c │ │ │ ├── ft_islower.c │ │ │ ├── ft_isprint.c │ │ │ ├── ft_isupper.c │ │ │ └── ft_isalnum.c │ │ └── strls │ │ │ └── ft_strlsnew.c │ │ └── lst │ │ └── io │ │ └── ft_putlstelem.c ├── bonus.txt ├── ui_control_textbox.diff ├── norme_h.txt ├── norme_libft_h.txt └── ui_prompt.diff ├── auteur ├── GIF.gif ├── inc └── ui.chr ├── img_texture.bmp ├── render_lego.bmp ├── rt.sublime-project ├── tests ├── cone.rt ├── hyperboloid.rt ├── saddle.rt ├── cylinder.rt ├── disk.rt ├── paraboloid.rt ├── plane.rt ├── rectangle.rt ├── sphere.rt ├── dof.rt ├── specandglassy.rt ├── cube.rt ├── ex2.rt ├── kirby.rt ├── ex4.rt └── texture.rt ├── tmp_srcs ├── opencl_sandbox │ └── add_numbers │ │ ├── add_numbers │ │ └── add_numbers.cl └── rng_montecarlo │ ├── Makefile │ ├── rng_mc_test.h │ └── raytracey_rng_test.c ├── norme.sh ├── .clang_complete ├── git.sh ├── empty.c └── .gitignore /lib/SDL2-2.0.9/debian/compat: -------------------------------------------------------------------------------- 1 | 9 2 | -------------------------------------------------------------------------------- /lib/SDL2.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/auteur: -------------------------------------------------------------------------------- 1 | aduquesn 2 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/author: -------------------------------------------------------------------------------- 1 | tduquesn 2 | -------------------------------------------------------------------------------- /auteur: -------------------------------------------------------------------------------- 1 | aduquesn:tduquesn:ghaas:hbruvry 2 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/libft/auteur: -------------------------------------------------------------------------------- 1 | aduquesn 2 | -------------------------------------------------------------------------------- /lib/SDL2.framework/SDL2: -------------------------------------------------------------------------------- 1 | ./Versions/Current/SDL2 -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (native) 2 | -------------------------------------------------------------------------------- /lib/SDL2.framework/Headers: -------------------------------------------------------------------------------- 1 | ./Versions/Current/Headers -------------------------------------------------------------------------------- /lib/SDL2.framework/Resources: -------------------------------------------------------------------------------- 1 | ./Versions/Current/Resources -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/author: -------------------------------------------------------------------------------- 1 | tduquesn 2 | -------------------------------------------------------------------------------- /GIF.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/GIF.gif -------------------------------------------------------------------------------- /inc/ui.chr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/inc/ui.chr -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/debian/libsdl2-dev.manpages: -------------------------------------------------------------------------------- 1 | debian/sdl2-config.1 2 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/debian/libsdl2.install: -------------------------------------------------------------------------------- 1 | usr/lib/*/libSDL2-2.0.so.0* 2 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/testgui/TestGUI.app.in/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPL???? -------------------------------------------------------------------------------- /lib/SDL2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2.dll -------------------------------------------------------------------------------- /img_texture.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/img_texture.bmp -------------------------------------------------------------------------------- /ref/bonus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/bonus.txt -------------------------------------------------------------------------------- /render_lego.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/render_lego.bmp -------------------------------------------------------------------------------- /lib/libOpenCL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/libOpenCL.dll -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/SDL2Config.cmake: -------------------------------------------------------------------------------- 1 | include("${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake") 2 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/jni/Android.mk: -------------------------------------------------------------------------------- 1 | include $(call all-subdir-makefiles) 2 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/debian/docs: -------------------------------------------------------------------------------- 1 | BUGS.txt 2 | CREDITS.txt 3 | README.txt 4 | README-SDL.txt 5 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/README.md: -------------------------------------------------------------------------------- 1 | # 42_rtv1 2 | Keeping files on multiple machines for rtv1 3 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/rtv1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/rtv1 -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/debian/watch: -------------------------------------------------------------------------------- 1 | version=3 2 | http://www.libsdl.org/release/SDL-([\d.]+)\.tar\.gz 3 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | autoreconf --install --verbose --force 3 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/libusb/hidusb.cpp: -------------------------------------------------------------------------------- 1 | 2 | #define NAMESPACE HIDUSB 3 | #include "hid.c" 4 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/linux/hidraw.cpp: -------------------------------------------------------------------------------- 1 | 2 | #define NAMESPACE HIDRAW 3 | #include "hid.c" 4 | -------------------------------------------------------------------------------- /rt.sublime-project: -------------------------------------------------------------------------------- 1 | { 2 | "folders": 3 | [ 4 | { 5 | "path": "." 6 | } 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/android/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := gnustl_static 2 | APP_ABI := armeabi-v7a 3 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/axis.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/axis.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/button.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/button.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/icon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/icon.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/sample.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/sample.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/sample.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/sample.wav -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/utf8.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/utf8.txt -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/testyuv.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/testyuv.bmp -------------------------------------------------------------------------------- /lib/SDL2.framework/Versions/A/SDL2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2.framework/Versions/A/SDL2 -------------------------------------------------------------------------------- /tests/cone.rt: -------------------------------------------------------------------------------- 1 | BG #808080 2 | 3 | CONE #FFFF11 4 | pos:(4, 4, 1) 5 | rot:{0, 0, 1} 6 | scale:[2, 20, 2] 7 | "Cone" 8 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/controllermap.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/controllermap.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Demos/Icon.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/include/SDL_revision.h: -------------------------------------------------------------------------------- 1 | #define SDL_REVISION "hg-12373:8feb5da6f2fb" 2 | #define SDL_REVISION_NUMBER 12373 3 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/test/SDL_test_font.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/src/test/SDL_test_font.c -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/video/SDL_RLEaccel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/src/video/SDL_RLEaccel.c -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/doc/Ressources/EX1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/doc/Ressources/EX1.png -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/doc/Ressources/EX2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/doc/Ressources/EX2.png -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/doc/Ressources/EX3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/doc/Ressources/EX3.png -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/doc/Ressources/EX4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/doc/Ressources/EX4.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Demos/Default.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/events/default_cursor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/src/events/default_cursor.h -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/testgui/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | xterm -e /Users/alan/work/hidapi/testgui/TestGUI.app/Contents/MacOS/tg 3 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/main/windows/version.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/src/main/windows/version.rc -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p01_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p01_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p01_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p01_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p02_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p02_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p02_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p02_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p03_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p03_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p03_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p03_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p04_shape1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p04_shape1.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p04_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p04_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p04_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p04_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p05_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p05_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p06_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p06_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p06_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p06_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p07_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p07_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p07_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p07_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p08_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p08_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p08_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p08_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p09_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p09_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p09_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p09_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p10_shape1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p10_shape1.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p10_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p10_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p10_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p10_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p11_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p11_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p11_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p11_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p12_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p12_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p12_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p12_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p13_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p13_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p13_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p13_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p14_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p14_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p14_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p14_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p15_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p15_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p15_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p15_shape8.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p16_shape1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p16_shape1.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p16_shape24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p16_shape24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p16_shape8.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p16_shape8.bmp -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/doc/Ressources/RTi1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/doc/Ressources/RTi1.png -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/doc/Ressources/RTi2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/doc/Ressources/RTi2.png -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/doc/Ressources/RTi3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/doc/Ressources/RTi3.png -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/doc/Ressources/RTi4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/doc/Ressources/RTi4.png -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/doc/Ressources/RTi5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/doc/Ressources/RTi5.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/data/icon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Demos/data/icon.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/data/ship.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Demos/data/ship.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/data/space.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Demos/data/space.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/audio/sun/SDL_sunaudio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/src/audio/sun/SDL_sunaudio.c -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/trollface_24.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/trollface_24.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/data/stroke.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Demos/data/stroke.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p01_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p01_shape32alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p02_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p02_shape32alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p04_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p04_shape32alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p06_shape1alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p06_shape1alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p06_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p06_shape32alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p07_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p07_shape32alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p08_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p08_shape32alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p09_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p09_shape32alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p10_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p10_shape32alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p11_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p11_shape32alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p13_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p13_shape32alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/p15_shape32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/p15_shape32alpha.bmp -------------------------------------------------------------------------------- /lib/SDL2.framework/Versions/A/Headers/SDL_revision.h: -------------------------------------------------------------------------------- 1 | #define SDL_REVISION "hg-12373:8feb5da6f2fb" 2 | #define SDL_REVISION_NUMBER 12373 3 | -------------------------------------------------------------------------------- /tmp_srcs/opencl_sandbox/add_numbers/add_numbers: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/tmp_srcs/opencl_sandbox/add_numbers/add_numbers -------------------------------------------------------------------------------- /tmp_srcs/rng_montecarlo/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | gcc ft_random.c ft_integral.c ft_stat.c ft_stat_nblst_utils.c ft_prob.c main.c -lm -o test.out 3 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Game 3 | 4 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/shapes/trollface_32alpha.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/test/shapes/trollface_32alpha.bmp -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/doc/RTv1_examples_tduquesn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/doc/RTv1_examples_tduquesn.png -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/doc/Ressources/Ressources.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/ref/rtv1_tduquesn/doc/Ressources/Ressources.html -------------------------------------------------------------------------------- /tests/hyperboloid.rt: -------------------------------------------------------------------------------- 1 | BG #FFFFFF 2 | 3 | 4 | HYPERBOLOID #FFFF11 5 | pos:(4, 4, 1) 6 | rot:{0, 0, -0.789} 7 | scale:[4, 16, 2] "HYPERBOLOID" 8 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/data/drums/ds_china.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Demos/data/drums/ds_china.wav -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/tests/loopwave/Assets/Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/VisualC-WinRT/tests/loopwave/Assets/Logo.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/data/drums/ds_brush_snare.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Demos/data/drums/ds_brush_snare.wav -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode/SDL/pkg-support/resources/SDL_DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode/SDL/pkg-support/resources/SDL_DS_Store -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/tests/testthread/Assets/Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/VisualC-WinRT/tests/testthread/Assets/Logo.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/data/drums/ds_kick_big_amb.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Demos/data/drums/ds_kick_big_amb.wav -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Template/SDL iOS Application/Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Template/SDL iOS Application/Icon.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/tests/loopwave/Assets/SmallLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/VisualC-WinRT/tests/loopwave/Assets/SmallLogo.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/tests/loopwave/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/VisualC-WinRT/tests/loopwave/Assets/StoreLogo.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/data/bitmapfont/kromasky_16x16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Demos/data/bitmapfont/kromasky_16x16.bmp -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/data/drums/ds_loose_skin_mute.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Demos/data/drums/ds_loose_skin_mute.wav -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Template/SDL iOS Application/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Template/SDL iOS Application/Default.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/android-project/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/main/winrt/SDL2-WinRTResource_BlankCursor.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/src/main/winrt/SDL2-WinRTResource_BlankCursor.cur -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/main/winrt/SDL2-WinRTResources.rc: -------------------------------------------------------------------------------- 1 | #include "winres.h" 2 | LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 3 | 5000 CURSOR "SDL2-WinRTResource_BlankCursor.cur" 4 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/tests/loopwave/Assets/SplashScreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/VisualC-WinRT/tests/loopwave/Assets/SplashScreen.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/tests/testthread/Assets/SmallLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/VisualC-WinRT/tests/testthread/Assets/SmallLogo.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/tests/testthread/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/VisualC-WinRT/tests/testthread/Assets/StoreLogo.png -------------------------------------------------------------------------------- /ref/ui_control_textbox.diff: -------------------------------------------------------------------------------- 1 | 28a29,30 2 | > if (*value) 3 | > free(*value); 4 | 55c57 5 | < textinput->input = *value; 6 | --- 7 | > textinput->input = ft_strdup(*value); 8 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/tests/testthread/Assets/SplashScreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/VisualC-WinRT/tests/testthread/Assets/SplashScreen.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Template/SDL iOS Application/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Template/SDL iOS Application/Default-568h@2x.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/android-project/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/android-project/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/sphere.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. -10. 8 | 3. 3. 3. 9 | 0. 0. 0. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | 0 13 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/sphere2.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. -10. 8 | 3. 3. 3. 9 | 3. 1. 2. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | 0 13 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/sphere3.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. 0. 8 | 3. 3. 3. 9 | 3. 1. 2. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | 0 13 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/sphere4.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. 0. 8 | 3. 3. 3. 9 | 0. 0. 0. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | 0 13 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/tests/loopwave/loopwave_VS2012_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/VisualC-WinRT/tests/loopwave/loopwave_VS2012_TemporaryKey.pfx -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/android-project/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/android-project/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/build-scripts/showrev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Print the current source revision, if available 4 | 5 | hg parents --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1) 6 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/sphere3.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. 0. 8 | 3. 3. 3. 9 | 3. 1. 2. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/sphere4.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. 0. 8 | 3. 3. 3. 9 | 0. 0. 0. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/tests/testthread/testthread_VS2012_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/VisualC-WinRT/tests/testthread/testthread_VS2012_TemporaryKey.pfx -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/android-project/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/sphere5.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. 0. 8 | 3. 3. 3. 9 | 1.57079632679 0. 0. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | 0 13 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/sphere.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. -10. 8 | 3. 3. 3. 9 | 0. 0. 0. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/sphere2.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. -10. 8 | 3. 3. 3. 9 | 3. 1. 2. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/testgui/TestGUI.app.in/Contents/Resources/Signal11.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/src/hidapi/testgui/TestGUI.app.in/Contents/Resources/Signal11.icns -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/sphere6.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. -10. 8 | 3. 3. 3. 9 | 1.57079632679 0. 0. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | 0 13 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/sphere5.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. 0. 8 | 3. 3. 3. 9 | 1.57079632679 0. 0. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/sphere6.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | SPHERE 7 | 0. 0. -10. 8 | 3. 3. 3. 9 | 1.57079632679 0. 0. 10 | 1. 0. 0. 11 | 4.5 4.5 4.5 12 | -------------------------------------------------------------------------------- /norme.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | norminette src/*.c > norme_c.txt 4 | norminette src/*.h > norme_h.txt 5 | norminette *.h >> norme_h.txt 6 | norminette libft/src/*/*.c > norme_libft_c.txt 7 | norminette libft/*.h > norme_libft_h.txt 8 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/debian/libsdl2-dev.install: -------------------------------------------------------------------------------- 1 | usr/bin/sdl2-config 2 | usr/include/SDL2 3 | usr/lib/*/*.a 4 | usr/lib/*/*.la 5 | usr/lib/*/*.so 6 | usr/lib/*/pkgconfig/sdl2.pc 7 | usr/lib/*/cmake/SDL2/sdl2-config.cmake 8 | usr/share/aclocal/sdl2.m4 9 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/testgui/TestGUI.app.in/Contents/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LexouDuck/RT/HEAD/lib/SDL2-2.0.9/src/hidapi/testgui/TestGUI.app.in/Contents/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /ref/norme_h.txt: -------------------------------------------------------------------------------- 1 | Norme: ./src/config.h 2 | Norme: ./src/debug.h 3 | Norme: ./src/event.h 4 | Norme: ./src/rt_random.h 5 | Norme: ./src/rt_scene.h 6 | Norme: ./src/rt_cl.h 7 | Norme: ./src/ui.h 8 | Norme: ./assets.h 9 | Norme: ./rt.h 10 | -------------------------------------------------------------------------------- /tests/saddle.rt: -------------------------------------------------------------------------------- 1 | BG #808080 2 | 3 | SPHERE #FFFFFF 4 | pos:(10, 10, 0) 5 | rot:{0, 0, 0} 6 | scale:[7.5, 7.5, 7.5] 7 | material:LIGHT 8 | 9 | SADDLE #00FF00 10 | pos:(0, -0.25, 0) 11 | rot:{0, 0, 0} 12 | scale:[5.0, 5.0, 5.0] -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/docs/README-platforms.md: -------------------------------------------------------------------------------- 1 | Platforms 2 | ========= 3 | 4 | We maintain the list of supported platforms on our wiki now, and how to 5 | build and install SDL for those platforms: 6 | 7 | https://wiki.libsdl.org/Installation 8 | 9 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/main/android/SDL_android_main.c: -------------------------------------------------------------------------------- 1 | /* 2 | SDL_android_main.c, placed in the public domain by Sam Lantinga 3/13/14 3 | 4 | As of SDL 2.0.6 this file is no longer necessary. 5 | */ 6 | 7 | /* vi: set ts=4 sw=4 expandtab: */ 8 | -------------------------------------------------------------------------------- /tests/cylinder.rt: -------------------------------------------------------------------------------- 1 | BG #808080 2 | 3 | SPHERE #FFFFFF 4 | pos:(10, 10, 0) 5 | rot:{0, 0, 0} 6 | scale:[7.5, 7.5, 7.5] 7 | material:light 8 | 9 | CYLINDER #00FF00 10 | pos:(0, -0.25, 0) 11 | rot:{0, 0, 0} 12 | scale:[10.0, 15.0, 10.0] -------------------------------------------------------------------------------- /tests/disk.rt: -------------------------------------------------------------------------------- 1 | BG #808080 2 | 3 | SPHERE #FFFFFF 4 | pos:(0, 10, 0) 5 | rot:{0, 0, 0} 6 | scale:[7.5, 7.5, 7.5] 7 | material:LIGHT 8 | 9 | DISK #FF0000 10 | pos:(0, -0.25, 0) 11 | rot:{0, 0, 0} 12 | scale:[25.0, 25.0, 25.0] 13 | -------------------------------------------------------------------------------- /tests/paraboloid.rt: -------------------------------------------------------------------------------- 1 | BG #808080 2 | 3 | SPHERE #FFFFFF 4 | pos:(10, 10, 0) 5 | rot:{0, 0, 0} 6 | scale:[7.5, 7.5, 7.5] 7 | material:LIGHT 8 | 9 | PARABOLOID #00FF00 10 | pos:(0, -0.25, 0) 11 | rot:{0, 0, 0} 12 | scale:[5.0, 5.0, 5.0] -------------------------------------------------------------------------------- /tests/plane.rt: -------------------------------------------------------------------------------- 1 | BG #808080 2 | 3 | SPHERE #FFFFFF 4 | pos:(0, 10, 0) 5 | rot:{0, 0, 0} 6 | scale:[7.5, 7.5, 7.5] 7 | material:LIGHT 8 | 9 | PLANE #FF0000 10 | pos:(0, -0.25, 0) 11 | rot:{0, 0, 0} 12 | scale:[25.0, 25.0, 25.0] 13 | -------------------------------------------------------------------------------- /tests/rectangle.rt: -------------------------------------------------------------------------------- 1 | BG #808080 2 | 3 | SPHERE #FFFFFF 4 | pos:(0, 10, 0) 5 | rot:{0, 0, 0} 6 | scale:[7.5, 7.5, 7.5] 7 | material:LIGHT 8 | 9 | RECTANGLE #FF0000 10 | pos:(0, -0.25, 0) 11 | rot:{0, 0, 0} 12 | scale:[25.0, 25.0, 25.0] -------------------------------------------------------------------------------- /tests/sphere.rt: -------------------------------------------------------------------------------- 1 | BG #808080 2 | 3 | SPHERE #FFFFFF 4 | pos:(10, 10, 0) 5 | rot:{0, 0, 0} 6 | scale:[7.5, 7.5, 7.5] 7 | material:LIGHT 8 | 9 | SPHERE #00FF00 10 | pos:(0, 0, 0) 11 | rot:{0, 0, 0} 12 | scale:[25.0, 25.0, 25.0] 13 | -------------------------------------------------------------------------------- /.clang_complete: -------------------------------------------------------------------------------- 1 | -Ilocal_folder 2 | -I/usr/include/ 3 | -I./CL/ 4 | -I./src/ 5 | -I./src/*/ 6 | -I./lib/libft/ 7 | -I./lib/SDL2-2.0.9/include/ 8 | -Wall 9 | -Wextra 10 | -Winline 11 | -Wpedantic 12 | -Wno-missing-braces 13 | -std=c99 14 | -D _BSD_SOURCE 15 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/COPYING: -------------------------------------------------------------------------------- 1 | 2 | The test programs in this directory tree are for demonstrating and 3 | testing the functionality of the SDL library, and are placed in the 4 | public domain. 5 | 6 | October 28, 1997 7 | -- 8 | Sam Lantinga (slouken@libsdl.org) 9 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/docs/README-wince.md: -------------------------------------------------------------------------------- 1 | WinCE 2 | ===== 3 | 4 | Windows CE is no longer supported by SDL. 5 | 6 | We have left the CE support in SDL 1.2 for those that must have it, and we 7 | have support for Windows Phone 8 and WinRT in SDL2, as of SDL 2.0.3. 8 | 9 | --ryan. 10 | 11 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/cone.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | PLANE 7 | -5. -20. -9. 8 | 1. 1. 1. 9 | 0. 0. 0. 10 | 0.7 0.7 0.7 11 | 4. 4. 4. 12 | 0 13 | 14 | CONE 15 | 0. 0. 0. 16 | 2. -2. 2. 17 | 0. 1.57079632679 0. 18 | 0.8 0.2 0.5 19 | 4. 4. 4. 20 | 0 21 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/saddle.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | PLANE 7 | -5. -20. -9. 8 | 1. 1. 1. 9 | 0. 0. 0. 10 | 0.7 0.7 0.7 11 | 4. 4. 4. 12 | 0 13 | 14 | SADDLE 15 | 0. 0. 0. 16 | 2. -2. 2. 17 | 0. 1.57079632679 0. 18 | 0.2 0.8 0.5 19 | 4. 4. 4. 20 | 0 21 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/cone.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | PLANE 7 | -5. -20. -9. 8 | 1. 1. 1. 9 | 0. 0. 0. 10 | 0.7 0.7 0.7 11 | 4. 4. 4. 12 | 13 | CONE 14 | 0. 0. 0. 15 | 2. -2. 2. 16 | 0. 1.57079632679 0. 17 | 0.8 0.2 0.5 18 | 4. 4. 4. 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/saddle.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | PLANE 7 | -5. -20. -9. 8 | 1. 1. 1. 9 | 0. 0. 0. 10 | 0.7 0.7 0.7 11 | 4. 4. 4. 12 | 13 | SADDLE 14 | 0. 0. 0. 15 | 2. -2. 2. 16 | 0. 1.57079632679 0. 17 | 0.2 0.8 0.5 18 | 4. 4. 4. 19 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/windows/Makefile-manual: -------------------------------------------------------------------------------- 1 | 2 | 3 | OS=$(shell uname) 4 | 5 | ifneq (,$(findstring MINGW,$(OS))) 6 | FILE=Makefile.mingw 7 | endif 8 | 9 | ifeq ($(FILE), ) 10 | all: 11 | $(error Your platform ${OS} is not supported at this time.) 12 | endif 13 | 14 | include $(FILE) 15 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC/clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | find . -type f \( -name '*.user' -o -name '*.sdf' -o -name '*.ncb' -o -name '*.suo' \) -print -delete 3 | find . -type f \( -name '*.bmp' -o -name '*.wav' -o -name '*.dat' \) -print -delete 4 | find . -depth -type d \( -name Win32 -o -name x64 \) -exec rm -rv {} \; 5 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/paraboloid.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | PLANE 7 | -5. -20. -9. 8 | 1. 1. 1. 9 | 0. 0. 0. 10 | 0.7 0.7 0.7 11 | 4. 4. 4. 12 | 0 13 | 14 | PARABOLOID 15 | 0. 0. 0. 16 | 2. -2. 2. 17 | 0. 1.57079632679 0. 18 | 0.2 0.8 0.5 19 | 4. 4. 4. 20 | 0 21 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/paraboloid.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | PLANE 7 | -5. -20. -9. 8 | 1. 1. 1. 9 | 0. 0. 0. 10 | 0.7 0.7 0.7 11 | 4. 4. 4. 12 | 13 | PARABOLOID 14 | 0. 0. 0. 15 | 2. -2. 2. 16 | 0. 1.57079632679 0. 17 | 0.2 0.8 0.5 18 | 4. 4. 4. 19 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Oct 23 13:51:26 PDT 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip 7 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/ios/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libhidapi.la 2 | libhidapi_la_SOURCES = hid.m 3 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 4 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ 5 | 6 | hdrdir = $(includedir)/hidapi 7 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 8 | 9 | EXTRA_DIST = Makefile-manual 10 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/mac/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libhidapi.la 2 | libhidapi_la_SOURCES = hid.c 3 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 4 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ 5 | 6 | hdrdir = $(includedir)/hidapi 7 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 8 | 9 | EXTRA_DIST = Makefile-manual 10 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Demos/src/common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * common.h 3 | * written by Holmes Futrell 4 | * use however you want 5 | */ 6 | 7 | extern int randomInt(int min, int max); 8 | extern float randomFloat(float min, float max); 9 | extern void fatalError(const char *string); 10 | extern double updateDeltaTime(void); 11 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/build-scripts/update-copyright.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | find . -type f -exec grep -Il "Copyright" {} \; \ 4 | | grep -v \.hg \ 5 | | while read file; \ 6 | do \ 7 | LC_ALL=C sed -b -i "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \ 8 | done 9 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/haptic/android/SDL_syshaptic_c.h: -------------------------------------------------------------------------------- 1 | #include "SDL_config.h" 2 | 3 | #ifdef SDL_HAPTIC_ANDROID 4 | 5 | 6 | extern int Android_AddHaptic(int device_id, const char *name); 7 | extern int Android_RemoveHaptic(int device_id); 8 | 9 | 10 | #endif /* SDL_HAPTIC_ANDROID */ 11 | 12 | /* vi: set ts=4 sw=4 expandtab: */ 13 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/LICENSE-orig.txt: -------------------------------------------------------------------------------- 1 | HIDAPI - Multi-Platform library for 2 | communication with HID devices. 3 | 4 | Copyright 2009, Alan Ott, Signal 11 Software. 5 | All Rights Reserved. 6 | 7 | This software may be used by anyone for any reason so 8 | long as the copyright notice in the source files 9 | remains intact. 10 | -------------------------------------------------------------------------------- /lib/libft/src/test_io.c: -------------------------------------------------------------------------------- 1 | 2 | #include "test.h" 3 | 4 | int test_io(void) 5 | { 6 | printf("\n"); 7 | 8 | printf(" .--------------------------. \n"); 9 | printf("---==={ LIBFT TEST: libft_io }===---\n"); 10 | printf(" '--------------------------' \n"); 11 | 12 | printf("\n"); 13 | 14 | return (OK); 15 | } 16 | -------------------------------------------------------------------------------- /lib/libft/src/test_vlq.c: -------------------------------------------------------------------------------- 1 | 2 | #include "test.h" 3 | 4 | int test_vlq(void) 5 | { 6 | 7 | printf("\n"); 8 | 9 | printf(" .-------------------------. \n"); 10 | printf("---==={ LIBFT TEST: libft_vlq }===---\n"); 11 | printf(" '-------------------------' \n"); 12 | 13 | printf("\n"); 14 | 15 | return (OK); 16 | } 17 | -------------------------------------------------------------------------------- /tmp_srcs/rng_montecarlo/rng_mc_test.h: -------------------------------------------------------------------------------- 1 | #ifndef TESUTO 2 | #define TESUTO 3 | 4 | typedef int t_s32; 5 | typedef unsigned int t_u32; 6 | typedef unsigned long t_u64; 7 | typedef int t_bool; 8 | typedef float t_float; 9 | typedef t_float t_vec_3d[3]; 10 | 11 | 12 | 13 | typedef int t_int; //TODO add to shorthands 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/pc/hidapi.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: hidapi 7 | Description: C Library for USB/Bluetooth HID device access from Linux, Mac OS X, FreeBSD, and Windows. 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lhidapi 10 | Cflags: -I${includedir}/hidapi 11 | -------------------------------------------------------------------------------- /lib/libft/src/test_math.c: -------------------------------------------------------------------------------- 1 | 2 | #include "test.h" 3 | 4 | int test_math(void) 5 | { 6 | 7 | printf("\n"); 8 | 9 | printf(" .--------------------------. \n"); 10 | printf("---==={ LIBFT TEST: libft_math }===---\n"); 11 | printf(" '--------------------------' \n"); 12 | 13 | printf("\n"); 14 | 15 | return (OK); 16 | } 17 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/jni/Application.mk: -------------------------------------------------------------------------------- 1 | 2 | # Uncomment this if you're using STL in your project 3 | # You can find more information here: 4 | # https://developer.android.com/ndk/guides/cpp-support 5 | # APP_STL := c++_shared 6 | 7 | APP_ABI := armeabi-v7a arm64-v8a x86 x86_64 8 | 9 | # Min runtime API level 10 | APP_PLATFORM=android-14 11 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/libusb/Makefile-manual: -------------------------------------------------------------------------------- 1 | 2 | 3 | OS=$(shell uname) 4 | 5 | ifeq ($(OS), Linux) 6 | FILE=Makefile.linux 7 | endif 8 | 9 | ifeq ($(OS), FreeBSD) 10 | FILE=Makefile.freebsd 11 | endif 12 | 13 | ifeq ($(FILE), ) 14 | all: 15 | $(error Your platform ${OS} is not supported by hidapi/libusb at this time.) 16 | endif 17 | 18 | include $(FILE) 19 | -------------------------------------------------------------------------------- /ref/norme_libft_h.txt: -------------------------------------------------------------------------------- 1 | Norme: ./libft/libft.h 2 | Norme: ./libft/libft_char.h 3 | Norme: ./libft/libft_color.h 4 | Norme: ./libft/libft_io.h 5 | Norme: ./libft/libft_list.h 6 | Norme: ./libft/libft_convert.h 7 | Norme: ./libft/libft_stringarray.h 8 | Norme: ./libft/libft_math.h 9 | Norme: ./libft/libft_memory.h 10 | Norme: ./libft/libft_string.h 11 | Norme: ./libft/libft_vlq.h 12 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/testgui/mac_support.h: -------------------------------------------------------------------------------- 1 | /******************************* 2 | Mac support for HID Test GUI 3 | 4 | Alan Ott 5 | Signal 11 Software 6 | 7 | *******************************/ 8 | 9 | #ifndef MAC_SUPPORT_H__ 10 | #define MAC_SUPPORT_H__ 11 | 12 | extern "C" { 13 | void init_apple_message_system(); 14 | void check_apple_events(); 15 | } 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Regenerate configuration files 4 | cp acinclude.m4 aclocal.m4 5 | found=false 6 | for autoconf in autoconf autoconf259 autoconf-2.59 7 | do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi 8 | done 9 | if test x$found = xfalse; then 10 | echo "Couldn't find autoconf, aborting" 11 | exit 1 12 | fi 13 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/cube.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 4. 5. 4. 3 | 1. 1. 1. 4 | 30000. 5 | 6 | PLANE 7 | -5. -20. -9. 8 | 1. 1. 1. 9 | 0. 0. 0. 10 | 0.7 0.7 0.7 11 | 4. 4. 4. 12 | 13 | CUBE 14 | 0. 0. 0. 15 | 2. 2. 2. 16 | 0. 1.57079632679 0. 17 | 0.5 0.2 0.8 18 | 4. 4. 4. 19 | 20 | CUBE 21 | -2. -2. 2. 22 | 3. 1. 2. 23 | 2. 1.57079632679 1. 24 | 0.5 0.8 0.5 25 | 4. 4. 4. 26 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/cube.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 4. 5. 4. 3 | 1. 1. 1. 4 | 30000. 5 | 6 | PLANE 7 | -5. -20. -9. 8 | 1. 1. 1. 9 | 0. 0. 0. 10 | 0.7 0.7 0.7 11 | 4. 4. 4. 12 | 0 13 | 14 | CUBE 15 | 0. 0. 0. 16 | 2. 2. 2. 17 | 0. 1.57079632679 0. 18 | 0.5 0.2 0.8 19 | 4. 4. 4. 20 | 1 21 | 22 | CUBE 23 | -2. -2. 2. 24 | 3. 1. 2. 25 | 2. 1.57079632679 1. 26 | 0.5 0.8 0.5 27 | 4. 4. 4. 28 | 0 29 | -------------------------------------------------------------------------------- /git.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | git add auteur 4 | git add Makefile 5 | git add *.c 6 | git add *.h 7 | git add src/*.c 8 | git add src/*.h 9 | git add src/ocl/*.cl 10 | git add src/ocl/*.h 11 | 12 | git add libft/Makefile 13 | git add libft/*.h 14 | git add libft/src/*/*.c 15 | 16 | git add SDL2.framework/ 17 | 18 | git add inc/ui.chr 19 | 20 | git add img_texture.bmp 21 | 22 | git add tests/*.rt 23 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/build-scripts/winrtbuild.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | REM 3 | REM winrtbuild.bat: a batch file to help launch the winrtbuild.ps1 4 | REM Powershell script, either from Windows Explorer, or through Buildbot. 5 | REM 6 | SET ThisScriptsDirectory=%~dp0 7 | SET PowerShellScriptPath=%ThisScriptsDirectory%winrtbuild.ps1 8 | PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '%PowerShellScriptPath%'"; -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode/SDL/pkg-support/SDL.info: -------------------------------------------------------------------------------- 1 | Title SDL 2.0.0 2 | Version 1 3 | Description SDL Library for Mac OS X (http://www.libsdl.org) 4 | DefaultLocation /Library/Frameworks 5 | Diskname (null) 6 | DeleteWarning 7 | NeedsAuthorization NO 8 | DisableStop NO 9 | UseUserMask NO 10 | Application NO 11 | Relocatable YES 12 | Required NO 13 | InstallOnly NO 14 | RequiresReboot NO 15 | InstallFat NO 16 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/android/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH:= $(call my-dir) 2 | 3 | HIDAPI_ROOT_REL:= ../.. 4 | HIDAPI_ROOT_ABS:= $(LOCAL_PATH)/../.. 5 | 6 | include $(CLEAR_VARS) 7 | 8 | LOCAL_CPPFLAGS += -std=c++11 9 | 10 | LOCAL_SRC_FILES := \ 11 | $(HIDAPI_ROOT_REL)/android/hid.cpp 12 | 13 | LOCAL_MODULE := libhidapi 14 | LOCAL_LDLIBS := -llog 15 | 16 | include $(BUILD_SHARED_LIBRARY) 17 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/linux/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libhidapi-hidraw.la 2 | libhidapi_hidraw_la_SOURCES = hid.c 3 | libhidapi_hidraw_la_LDFLAGS = $(LTLDFLAGS) 4 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ $(CFLAGS_HIDRAW) 5 | libhidapi_hidraw_la_LIBADD = $(LIBS_HIDRAW) 6 | 7 | hdrdir = $(includedir)/hidapi 8 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 9 | 10 | EXTRA_DIST = Makefile-manual 11 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/pc/hidapi-libusb.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: hidapi-libusb 7 | Description: C Library for USB HID device access from Linux, Mac OS X, FreeBSD, and Windows. This is the libusb implementation. 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lhidapi-libusb 10 | Cflags: -I${includedir}/hidapi 11 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/pc/hidapi-hidraw.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: hidapi-hidraw 7 | Description: C Library for USB/Bluetooth HID device access from Linux, Mac OS X, FreeBSD, and Windows. This is the hidraw implementation. 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lhidapi-hidraw 10 | Cflags: -I${includedir}/hidapi 11 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/SDL2main-WinRT-NonXAML.targets: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | true 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/docs/README-psp.md: -------------------------------------------------------------------------------- 1 | PSP 2 | ====== 3 | SDL port for the Sony PSP contributed by 4 | Captian Lex 5 | 6 | Credit to 7 | Marcus R.Brown,Jim Paris,Matthew H for the original SDL 1.2 for PSP 8 | Geecko for his PSP GU lib "Glib2d" 9 | 10 | Building 11 | -------- 12 | To build for the PSP, make sure psp-config is in the path and run: 13 | make -f Makefile.psp 14 | 15 | 16 | 17 | To Do 18 | ------ 19 | PSP Screen Keyboard 20 | -------------------------------------------------------------------------------- /tests/dof.rt: -------------------------------------------------------------------------------- 1 | BG #FFFFFF 2 | 3 | SPHERE #FFFF00 4 | pos:(0, 0, 0) 5 | rot:{0, 0, 0} 6 | scale:[7.5, 7.5, 7.5] 7 | 8 | 9 | RECTANGLE #FF0000 10 | pos:(0, -20, 0) 11 | rot:{0, 0, 0} 12 | scale:[40.0, 40.0, 1000.0] 13 | 14 | RECTANGLE #00FF00 15 | pos:(-20, 0, 0) 16 | rot:{0, 0, 1.57079632679} 17 | scale:[40.0, 40.0, 1000.0] 18 | 19 | RECTANGLE #0000FF 20 | pos:(20, 0, 0) 21 | rot:{0, 0, 1.57079632679} 22 | scale:[40.0, 40.0, 1000.0] -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/HACKING.txt: -------------------------------------------------------------------------------- 1 | This file is mostly for the maintainer. 2 | 3 | 1. Build hidapi.dll 4 | 2. Build hidtest.exe in DEBUG and RELEASE 5 | 3. Commit all 6 | 7 | 4. Run the Following 8 | export VERSION=0.1.0 9 | export TAG_NAME=hidapi-$VERSION 10 | git tag $TAG_NAME 11 | git archive --format zip --prefix $TAG_NAME/ $TAG_NAME >../$TAG_NAME.zip 12 | 5. Test the zip file. 13 | 6. Run the following: 14 | git push origin $TAG_NAME 15 | 16 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/sdl2-config.cmake.in: -------------------------------------------------------------------------------- 1 | # sdl2 cmake project-config input for ./configure scripts 2 | 3 | set(prefix "@prefix@") 4 | set(exec_prefix "@exec_prefix@") 5 | set(libdir "@libdir@") 6 | set(SDL2_PREFIX "@prefix@") 7 | set(SDL2_EXEC_PREFIX "@prefix@") 8 | set(SDL2_LIBDIR "@libdir@") 9 | set(SDL2_INCLUDE_DIRS "@includedir@/SDL2") 10 | set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} @SDL_RLD_FLAGS@ @SDL_LIBS@") 11 | string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES) 12 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/AUTHORS.txt: -------------------------------------------------------------------------------- 1 | 2 | HIDAPI Authors: 3 | 4 | Alan Ott : 5 | Original Author and Maintainer 6 | Linux, Windows, and Mac implementations 7 | 8 | Ludovic Rousseau : 9 | Formatting for Doxygen documentation 10 | Bug fixes 11 | Correctness fixes 12 | 13 | 14 | For a comprehensive list of contributions, see the commit list at github: 15 | http://github.com/signal11/hidapi/commits/master 16 | 17 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/examples/READ_ME.txt: -------------------------------------------------------------------------------- 1 | I) Current (2019-01-09) parser line order for objects: 2 | -material (int) 3 | -pos (vec3) 4 | -scl (vec3) 5 | -rgb (vec3 [0., 1.]^3) 6 | -specul (vec3 ~[0.5, 5.]^3) 7 | -intensity (1. for normal objects, much higher for light spots) 8 | 9 | II) Materials: 10 | - lightsrc == 0 11 | - diffuse == 1 12 | - mirror == 2 13 | - glassy == 3 14 | - glossy == 4 15 | 16 | III) Camera: 17 | - anchor (vec3) 18 | - polar pos (vec3) 19 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/jni/src/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH := $(call my-dir) 2 | 3 | include $(CLEAR_VARS) 4 | 5 | LOCAL_MODULE := main 6 | 7 | SDL_PATH := ../SDL 8 | 9 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include 10 | 11 | # Add your application source files here... 12 | LOCAL_SRC_FILES := YourSourceHere.c 13 | 14 | LOCAL_SHARED_LIBRARIES := SDL2 15 | 16 | LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog 17 | 18 | include $(BUILD_SHARED_LIBRARY) 19 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/windows/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libhidapi.la 2 | libhidapi_la_SOURCES = hid.c 3 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 4 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ 5 | libhidapi_la_LIBADD = $(LIBS) 6 | 7 | hdrdir = $(includedir)/hidapi 8 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 9 | 10 | EXTRA_DIST = \ 11 | ddk_build \ 12 | hidapi.vcproj \ 13 | hidtest.vcproj \ 14 | Makefile-manual \ 15 | Makefile.mingw \ 16 | hidapi.sln 17 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/acinclude/ac_check_define.m4: -------------------------------------------------------------------------------- 1 | AC_DEFUN([AC_CHECK_DEFINE],[dnl 2 | AC_CACHE_CHECK(for $1 in $2, ac_cv_define_$1, 3 | AC_EGREP_CPP([YES_IS_DEFINED], [ 4 | #include <$2> 5 | #ifdef $1 6 | YES_IS_DEFINED 7 | #endif 8 | ], ac_cv_define_$1=yes, ac_cv_define_$1=no) 9 | ) 10 | if test "$ac_cv_define_$1" = "yes" ; then 11 | AC_DEFINE([HAVE_$1],[],[Added by AC_CHECK_DEFINE]) 12 | fi 13 | ])dnl 14 | AC_DEFINE([HAVE_$1],[],[Added by AC_CHECK_DEFINE]) 15 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/ex2.rt: -------------------------------------------------------------------------------- 1 | BG #888888 2 | 3 | LIGHT #FFFFFF 2.0 4 | (0, 10, 0) 5 | 6 | // commentaires 7 | 8 | 9 | 10 | CUBE #222222 11 | (0,-1, 0) 12 | {0, 0, 0} 13 | [10, 1, 10] 14 | 15 | CUBE #0000DD 16 | (0, 5, -10) 17 | {0, 0, 0} 18 | [10, 10, 1] 19 | 20 | SPHERE #FF0000 21 | (0, 4, 0) 22 | {0, 0, 0.789} 23 | [2, 2, 2] 24 | 25 | CYLINDER #00FF00 26 | (-3, 4, 1) 27 | {0, 0, 1.5789} 28 | [2, 2, 2] 29 | 30 | CONE #FFFF00 31 | (4, 4, 1) 32 | {0, 0, -0.789} 33 | [2, 20, 2] 34 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/windows/ddk_build/hidapi.def: -------------------------------------------------------------------------------- 1 | LIBRARY hidapi 2 | EXPORTS 3 | hid_open @1 4 | hid_write @2 5 | hid_read @3 6 | hid_close @4 7 | hid_get_product_string @5 8 | hid_get_manufacturer_string @6 9 | hid_get_serial_number_string @7 10 | hid_get_indexed_string @8 11 | hid_error @9 12 | hid_set_nonblocking @10 13 | hid_enumerate @11 14 | hid_open_path @12 15 | hid_send_feature_report @13 16 | hid_get_feature_report @14 17 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/README-SDL.txt: -------------------------------------------------------------------------------- 1 | 2 | Please distribute this file with the SDL runtime environment: 3 | 4 | The Simple DirectMedia Layer (SDL for short) is a cross-platform library 5 | designed to make it easy to write multi-media software, such as games 6 | and emulators. 7 | 8 | The Simple DirectMedia Layer library source code is available from: 9 | https://www.libsdl.org/ 10 | 11 | This library is distributed under the terms of the zlib license: 12 | http://www.zlib.net/zlib_license.html 13 | 14 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/testgui/Makefile-manual: -------------------------------------------------------------------------------- 1 | 2 | 3 | OS=$(shell uname) 4 | 5 | ifeq ($(OS), Darwin) 6 | FILE=Makefile.mac 7 | endif 8 | 9 | ifneq (,$(findstring MINGW,$(OS))) 10 | FILE=Makefile.mingw 11 | endif 12 | 13 | ifeq ($(OS), Linux) 14 | FILE=Makefile.linux 15 | endif 16 | 17 | ifeq ($(OS), FreeBSD) 18 | FILE=Makefile.freebsd 19 | endif 20 | 21 | ifeq ($(FILE), ) 22 | all: 23 | $(error Your platform ${OS} is not supported at this time.) 24 | endif 25 | 26 | include $(FILE) 27 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/TODO.txt: -------------------------------------------------------------------------------- 1 | Future work roadmap: 2 | * http://wiki.libsdl.org/moin.cgi/Roadmap 3 | 4 | * Check 1.2 revisions: 5 | 3554 - Need to resolve semantics for locking keys on different platforms 6 | 4874 - Do we want screen rotation? At what level? 7 | 4974 - Windows file code needs to convert UTF-8 to Unicode, but we don't need to tap dance for Windows 95/98 8 | 4865 - See if this is still needed (mouse coordinate clamping) 9 | 4866 - See if this is still needed (blocking window repositioning) 10 | 11 | -------------------------------------------------------------------------------- /tests/specandglassy.rt: -------------------------------------------------------------------------------- 1 | BG #808080 2 | 3 | SPHERE #FFFFFF 4 | pos:(0, 0, 0) 5 | rot:{0, 0, 0} 6 | scale:[7.5, 7.5, 7.5] 7 | material:LIGHT 8 | 9 | RECTANGLE #FFFFFF 10 | pos:(0, 0, -50) 11 | rot:{1.57079632679, 0, 0} 12 | scale:[100.0, 100.0, 100.0] 13 | material:TRANSPARENT 14 | 15 | RECTANGLE #FFFFFF 16 | pos:(0, 50, 0) 17 | rot:{0, 1.57079632679, 0} 18 | scale:[100.0, 100.0, 100.0] 19 | 20 | RECTANGLE #FFFFFF 21 | pos:(50, 0, 0) 22 | rot:{0, 0, 1.57079632679} 23 | scale:[100.0, 100.0, 100.0] -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/build_debian/sdl2-config.cmake: -------------------------------------------------------------------------------- 1 | # sdl2 cmake project-config input for ./configure scripts 2 | 3 | set(prefix "/usr/local") 4 | set(exec_prefix "${prefix}") 5 | set(libdir "${exec_prefix}/lib") 6 | set(SDL2_PREFIX "/usr/local") 7 | set(SDL2_EXEC_PREFIX "/usr/local") 8 | set(SDL2_LIBDIR "${exec_prefix}/lib") 9 | set(SDL2_INCLUDE_DIRS "${prefix}/include/SDL2") 10 | set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} -Wl,-rpath,${libdir} -Wl,--enable-new-dtags -lSDL2") 11 | string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES) 12 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/windows/ddk_build/sources: -------------------------------------------------------------------------------- 1 | TARGETNAME=hidapi 2 | TARGETTYPE=DYNLINK 3 | UMTYPE=console 4 | UMENTRY=main 5 | 6 | MSC_WARNING_LEVEL=/W3 /WX 7 | 8 | TARGETLIBS=$(SDK_LIB_PATH)\hid.lib \ 9 | $(SDK_LIB_PATH)\setupapi.lib \ 10 | $(SDK_LIB_PATH)\kernel32.lib \ 11 | $(SDK_LIB_PATH)\comdlg32.lib 12 | 13 | USE_MSVCRT=1 14 | 15 | INCLUDES= ..\..\hidapi 16 | SOURCES= ..\hid.c \ 17 | 18 | 19 | TARGET_DESTINATION=retail 20 | 21 | MUI=0 22 | MUI_COMMENT="HID Interface DLL" 23 | 24 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/BUGS.txt: -------------------------------------------------------------------------------- 1 | 2 | Bugs are now managed in the SDL bug tracker, here: 3 | 4 | https://bugzilla.libsdl.org/ 5 | 6 | You may report bugs there, and search to see if a given issue has already 7 | been reported, discussed, and maybe even fixed. 8 | 9 | 10 | You may also find help at the SDL forums/mailing list: 11 | 12 | https://discourse.libsdl.org/ 13 | 14 | Bug reports are welcome here, but we really appreciate if you use Bugzilla, as 15 | bugs discussed on the mailing list may be forgotten or missed. 16 | 17 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Template/SDL iOS Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Description 6 | This project builds an SDL based project for iPhone OS using C or Objective-C. It includes everything you need to get up and running with SDL on iPhone. 7 | CFBundleIconFile 8 | Icon.png 9 | 10 | 11 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/sdl2.pc.in: -------------------------------------------------------------------------------- 1 | # sdl pkg-config source file 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | includedir=@includedir@ 7 | 8 | Name: sdl2 9 | Description: Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. 10 | Version: @SDL_VERSION@ 11 | Requires: 12 | Conflicts: 13 | Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@ 14 | Libs.private: @SDL_STATIC_LIBS@ 15 | Cflags: -I${includedir}/SDL2 @SDL_CFLAGS@ 16 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/kirby.rt: -------------------------------------------------------------------------------- 1 | BG #D3F9BC 2 | 3 | LIGHT #FFFFFF 4 (-10, 10, 0.0) 4 | LIGHT #FFFFFF 4 ( 10, 10, 0.0) 5 | LIGHT #FFFFFF 4 (0.0, 10, -10) 6 | LIGHT #FFFFFF 4 (0.0, 10, 10) 7 | 8 | // commentaires 9 | 10 | SPHERE #F8A0D8 ( 0, 4, 0) {0, 0, 0} [5, 5, 5] 11 | SPHERE #F8A0D8 ( 4, 2, 0) {1, 1, 1} [2, 2, 2] 12 | SPHERE #F8A0D8 (-4, 2, 0) {1, 1, 1} [2, 2, 2] 13 | 14 | SPHERE #000000 ( 1, 5, 4) {0, 0, 0} [1, 2, 1] 15 | SPHERE #000000 (-1, 5, 4) {0, 0, 0} [1, 2, 1] 16 | 17 | SPHERE #F81880 ( 2, 0, 1) {0, 0.5, 0} [2, 1.5, 4] 18 | SPHERE #F81880 (-2, 0, 1) {0,-0.5, 0} [2, 1.5, 4] -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/build-scripts/strip_fPIC.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # libtool assumes that the compiler can handle the -fPIC flag 4 | # This isn't always true (for example, nasm can't handle it) 5 | command="" 6 | while [ $# -gt 0 ]; do 7 | case "$1" in 8 | -?PIC) 9 | # Ignore -fPIC and -DPIC options 10 | ;; 11 | -fno-common) 12 | # Ignore -fPIC and -DPIC options 13 | ;; 14 | *) 15 | command="$command $1" 16 | ;; 17 | esac 18 | shift 19 | done 20 | echo $command 21 | exec $command 22 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/hidtest/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ 2 | 3 | ## Linux 4 | if OS_LINUX 5 | noinst_PROGRAMS = hidtest-libusb hidtest-hidraw 6 | 7 | hidtest_hidraw_SOURCES = hidtest.cpp 8 | hidtest_hidraw_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la 9 | 10 | hidtest_libusb_SOURCES = hidtest.cpp 11 | hidtest_libusb_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la 12 | else 13 | 14 | # Other OS's 15 | noinst_PROGRAMS = hidtest 16 | 17 | hidtest_SOURCES = hidtest.cpp 18 | hidtest_LDADD = $(top_builddir)/$(backend)/libhidapi.la 19 | 20 | endif 21 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/LICENSE.txt: -------------------------------------------------------------------------------- 1 | HIDAPI can be used under one of three licenses. 2 | 3 | 1. The GNU General Public License, version 3.0, in LICENSE-gpl3.txt 4 | 2. A BSD-Style License, in LICENSE-bsd.txt. 5 | 3. The more liberal original HIDAPI license. LICENSE-orig.txt 6 | 7 | The license chosen is at the discretion of the user of HIDAPI. For example: 8 | 1. An author of GPL software would likely use HIDAPI under the terms of the 9 | GPL. 10 | 11 | 2. An author of commercial closed-source software would likely use HIDAPI 12 | under the terms of the BSD-style license or the original HIDAPI license. 13 | 14 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/main/dummy/SDL_dummy_main.c: -------------------------------------------------------------------------------- 1 | /* 2 | SDL_dummy_main.c, placed in the public domain by Sam Lantinga 3/13/14 3 | */ 4 | #include "../../SDL_internal.h" 5 | 6 | /* Include the SDL main definition header */ 7 | #include "SDL_main.h" 8 | 9 | #ifdef main 10 | #undef main 11 | int 12 | main(int argc, char *argv[]) 13 | { 14 | return (SDL_main(argc, argv)); 15 | } 16 | #else 17 | /* Nothing to do on this platform */ 18 | int 19 | SDL_main_stub_symbol(void); 20 | 21 | int 22 | SDL_main_stub_symbol(void) 23 | { 24 | return 0; 25 | } 26 | #endif 27 | 28 | /* vi: set ts=4 sw=4 expandtab: */ 29 | -------------------------------------------------------------------------------- /tests/cube.rt: -------------------------------------------------------------------------------- 1 | BG #888888 2 | 3 | SPHERE 4 | material:LIGHT 5 | pattern:SOLID 6 | color:(1.00000, 1.00000, 1.00000) 7 | pos:(25.00000, 25.00000, 0.00000) 8 | rot:(0.00000, 0.00000, 0.00000) 9 | scale:(5.00000, 5.00000, 5.00000) 10 | bbox_vi:(-1.00000, -1.00000, -1.00000) 11 | bbox_vf:(1.00000, 1.00000, 1.00000) 12 | 13 | SPHERE 14 | material:DIFFUSE 15 | pattern:SOLID 16 | color:(1.00000, 1.00000, 1.00000) 17 | pos:(0.00000, 0.00000, 0.00000) 18 | rot:(0.00000, 0.00000, 0.00000) 19 | scale:(25.00000, 25.00000, 25.00000) 20 | bbox_vi:(-1.00000, -1.00000, -1.00000) 21 | bbox_vf:(1.00000, 1.00000, 1.00000) -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/ex1.rt: -------------------------------------------------------------------------------- 1 | BG #000000 2 | 3 | LIGHT #FF0000 1.0 4 | (2, 10, 0) 5 | 6 | // commentaires 7 | 8 | SPHERE #0000FF 9 | (0, 0, 10) 10 | {0, 0, 0} 11 | [2, 2, 2] 12 | 13 | SPHERE #FFFFFF 14 | (0, 0, 0) 15 | {0, 0, 0} 16 | [2, 2, 2] 17 | 18 | SPHERE #FF0000 19 | (0, 0, -10) 20 | {0, 0, 0} 21 | [2, 2, 2] 22 | 23 | 24 | //CUBE #0000DD 25 | //(0,-1, 0) 26 | //{0, 0, 0} 27 | //[10, 1, 10] 28 | // 29 | //CUBE #0000DD 30 | //(0, 5, -10) 31 | //{0, 0, 0} 32 | //[10, 10, 1] 33 | // 34 | //SPHERE #FF0000 35 | //(0, 4, 0) 36 | //{0, 0, 0} 37 | //[2, 2, 2] 38 | // 39 | //CYLINDER #00FF00 40 | //(5, 4, 0) 41 | //{0, 0, 0} 42 | //[2, 2, 2] 43 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/build_debian/sdl2.pc: -------------------------------------------------------------------------------- 1 | # sdl pkg-config source file 2 | 3 | prefix=/usr/local 4 | exec_prefix=${prefix} 5 | libdir=${exec_prefix}/lib 6 | includedir=${prefix}/include 7 | 8 | Name: sdl2 9 | Description: Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. 10 | Version: 2.0.9 11 | Requires: 12 | Conflicts: 13 | Libs: -L${libdir} -Wl,-rpath,${libdir} -Wl,--enable-new-dtags -lSDL2 14 | Libs.private: -lSDL2 -Wl,--no-undefined -lm -ldl -lsndio -lpthread -lrt 15 | Cflags: -I${includedir}/SDL2 -D_REENTRANT 16 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/build-scripts/updaterev.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Generate a header file with the current source revision 4 | 5 | outdir=`pwd` 6 | cd `dirname $0` 7 | srcdir=.. 8 | header=$outdir/include/SDL_revision.h 9 | 10 | rev=`sh showrev.sh 2>/dev/null` 11 | if [ "$rev" != "" -a "$rev" != "hg-0:baadf00d" ]; then 12 | revnum=`echo $rev | sed 's,hg-\([0-9]*\).*,\1,'` 13 | echo "#define SDL_REVISION \"$rev\"" >"$header.new" 14 | echo "#define SDL_REVISION_NUMBER $revnum" >>"$header.new" 15 | if diff $header $header.new >/dev/null 2>&1; then 16 | rm "$header.new" 17 | else 18 | mv "$header.new" "$header" 19 | fi 20 | fi 21 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/android/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-21 15 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | google() 7 | } 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.2.0' 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | allprojects { 17 | repositories { 18 | jcenter() 19 | google() 20 | } 21 | } 22 | 23 | task clean(type: Delete) { 24 | delete rootProject.buildDir 25 | } 26 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | echo "Generating build information using autoconf" 4 | echo "This may take a while ..." 5 | 6 | srcdir=`dirname $0` 7 | test -z "$srcdir" && srcdir=. 8 | cd "$srcdir" 9 | 10 | # Regenerate configuration files 11 | cat acinclude/* >aclocal.m4 12 | found=false 13 | for autoconf in autoconf autoconf259 autoconf-2.59 14 | do if which $autoconf >/dev/null 2>&1; then $autoconf && found=true; break; fi 15 | done 16 | if test x$found = xfalse; then 17 | echo "Couldn't find autoconf, aborting" 18 | exit 1 19 | fi 20 | (cd test; sh autogen.sh) 21 | 22 | # Run configure for this platform 23 | echo "Now you are ready to run ./configure" 24 | -------------------------------------------------------------------------------- /tests/ex2.rt: -------------------------------------------------------------------------------- 1 | BG #888888 2 | 3 | SPHERE #FFFFFF 4 | pos:(0, 10, 0) 5 | rot:{0, 0, 0} 6 | scale:[0, 0, 0] 7 | material:LIGHT 8 | 9 | // commentaires 10 | 11 | 12 | 13 | CUBE #222222 14 | pos:(0,-1, 0) 15 | rot:{0, 0, 0} 16 | scale:[10, 1, 10] 17 | 18 | CUBE #1111DD 19 | pos:(0, 5, -10) 20 | rot:{0, 0, 0} 21 | scale:[10, 10, 1] 22 | 23 | SPHERE #FF11FF 24 | pos:(0, 4, 0) 25 | rot:{0, 0, 0.789} 26 | scale:[2, 2, 2] 27 | material:LIGHT 28 | 29 | CYLINDER #11FF11 30 | pos:(-3, 4, 1) 31 | rot:{0, 0, 1.5789} 32 | scale:[2, 2, 2] 33 | material:TRANSPARENT 34 | 35 | CONE #FFFF11 36 | pos:(4, 4, 1) 37 | rot:{0, 0, -0.789} 38 | scale:[2, 20, 2] 39 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/test.rt: -------------------------------------------------------------------------------- 1 | BG #111111 2 | 3 | LIGHT #FFFFFF 1.0 4 | (0.0, 10.0, 0.0) 5 | 6 | LIGHT #FFFFFF 1.0 7 | (5.0, -5.0, 5.0) 8 | 9 | // commentaires 10 | 11 | 12 | 13 | CUBE #FFFFFF 14 | (-3.0,-1.0, 0.0) 15 | {0.0, 1.0, 0.0} 16 | [2.0, 1.0, 1.0] 17 | 18 | SPHERE #222244 19 | (0.0, 3.0, 0.0) 20 | {-1.0, 1.0, 1.0} 21 | [1.0, 1.0, 1.0] 22 | 23 | SPHERE #FF0000 24 | (0.0, 0.0, 0.0) 25 | {1.0, 2.0, 1.0} 26 | [2, 1, 1] 27 | 28 | SPHERE #FFFF00 29 | (1.0, 1.0, 2.0) 30 | {1.0, 1.0, 1.0} 31 | [1.0, 1.0, 1.0] 32 | 33 | SPHERE #00FF00 34 | (3.0,-0.5, 5.0) 35 | {0.0, 0.0, 0.0} 36 | [2.0, 1.0, 1.0] 37 | 38 | SPHERE #00FFFF 39 | (3.0,-0.5,-15.0) 40 | {1.0,-1.0,-1.0} 41 | [5.0, 5.0, 5.0] 42 | -------------------------------------------------------------------------------- /ref/ui_prompt.diff: -------------------------------------------------------------------------------- 1 | 18a19,30 2 | > static void ui_free_prompt(void) 3 | > { 4 | > char **value; 5 | > 6 | > value = (char **)&g_rt.ui.current_prompt.text; 7 | > if (*value) 8 | > { 9 | > free(*value); 10 | > *value = NULL; 11 | > } 12 | > } 13 | > 14 | 31c43 15 | < return ; 16 | --- 17 | > ui_free_prompt(); 18 | 56,68d67 19 | < return ; 20 | < } 21 | < 22 | < static void ui_prompt_free(void) 23 | < { 24 | < char **value; 25 | < 26 | < value = (char **)g_rt.ui.current_textinput.value; 27 | < if (*value) 28 | < { 29 | < free(*value); 30 | < *value = NULL; 31 | < } 32 | 81d79 33 | < ui_prompt_free(); 34 | 86d83 35 | < ui_prompt_free(); 36 | 94d90 37 | < return ; 38 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/src/main/java/org/libsdl/app/HIDDevice.java: -------------------------------------------------------------------------------- 1 | package org.libsdl.app; 2 | 3 | interface HIDDevice 4 | { 5 | public int getId(); 6 | public int getVendorId(); 7 | public int getProductId(); 8 | public String getSerialNumber(); 9 | public int getVersion(); 10 | public String getManufacturerName(); 11 | public String getProductName(); 12 | public boolean open(); 13 | public int sendFeatureReport(byte[] report); 14 | public int sendOutputReport(byte[] report); 15 | public boolean getFeatureReport(byte[] report); 16 | public void setFrozen(boolean frozen); 17 | public void close(); 18 | public void shutdown(); 19 | } 20 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Test/README: -------------------------------------------------------------------------------- 1 | TestiPhoneOS.xcodeproj contains targets to compile many of the SDL test programs for iPhone OS. Most of these test programs work fine, with the following exceptions: 2 | 3 | testthread: 4 | SIGTERM kills the process immediately without executing the 'kill' function. The posix standard says this shouldn't happen. Apple seems intent on having iPhone apps exit promptly when the user requests it, so maybe that's why(?) 5 | 6 | testlock: 7 | Locks appear to work, but there doesn't appear to be a simple way to send the process SIGINT. 8 | 9 | testsprite2: 10 | SDL_CreateTextureFromSurface requests an ARGB pixel format, but iPhone's SDL video driver only supports ABGR. 11 | 12 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/README.txt: -------------------------------------------------------------------------------- 1 | 2 | Simple DirectMedia Layer 3 | 4 | (SDL) 5 | 6 | Version 2.0 7 | 8 | --- 9 | https://www.libsdl.org/ 10 | 11 | Simple DirectMedia Layer is a cross-platform development library designed 12 | to provide low level access to audio, keyboard, mouse, joystick, and graphics 13 | hardware via OpenGL and Direct3D. It is used by video playback software, 14 | emulators, and popular games including Valve's award winning catalog 15 | and many Humble Bundle games. 16 | 17 | More extensive documentation is available in the docs directory, starting 18 | with README.md 19 | 20 | Enjoy! 21 | Sam Lantinga (slouken@libsdl.org) 22 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/mac/Makefile-manual: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-07-03 7 | ########################################### 8 | 9 | all: hidtest 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=hid.o 14 | CPPOBJS=../hidtest/hidtest.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS+=-I../hidapi -Wall -g -c 17 | LIBS=-framework IOKit -framework CoreFoundation 18 | 19 | 20 | hidtest: $(OBJS) 21 | g++ -Wall -g $^ $(LIBS) -o hidtest 22 | 23 | $(COBJS): %.o: %.c 24 | $(CC) $(CFLAGS) $< -o $@ 25 | 26 | $(CPPOBJS): %.o: %.cpp 27 | $(CXX) $(CFLAGS) $< -o $@ 28 | 29 | clean: 30 | rm -f *.o hidtest $(CPPOBJS) 31 | 32 | .PHONY: clean 33 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/ios/Makefile-manual: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-07-03 7 | ########################################### 8 | 9 | all: hidtest 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=hid.o 14 | CPPOBJS=../hidtest/hidtest.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS+=-I../hidapi -Wall -g -c 17 | LIBS=-framework CoreBluetooth -framework CoreFoundation 18 | 19 | 20 | hidtest: $(OBJS) 21 | g++ -Wall -g $^ $(LIBS) -o hidtest 22 | 23 | $(COBJS): %.o: %.c 24 | $(CC) $(CFLAGS) $< -o $@ 25 | 26 | $(CPPOBJS): %.o: %.cpp 27 | $(CXX) $(CFLAGS) $< -o $@ 28 | 29 | clean: 30 | rm -f *.o hidtest $(CPPOBJS) 31 | 32 | .PHONY: clean 33 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in [sdk]/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/testyuv_cvt.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1997-2018 Sam Lantinga 3 | 4 | This software is provided 'as-is', without any express or implied 5 | warranty. In no event will the authors be held liable for any damages 6 | arising from the use of this software. 7 | 8 | Permission is granted to anyone to use this software for any purpose, 9 | including commercial applications, and to alter it and redistribute it 10 | freely. 11 | */ 12 | 13 | /* These functions are designed for testing correctness, not for speed */ 14 | 15 | extern SDL_bool ConvertRGBtoYUV(Uint32 format, Uint8 *src, int pitch, Uint8 *out, int w, int h, SDL_YUV_CONVERSION_MODE mode, int monochrome, int luminance); 16 | extern int CalculateYUVPitch(Uint32 format, int width); 17 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/testgui/Makefile.freebsd: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-06-01 7 | ########################################### 8 | 9 | all: testgui 10 | 11 | CC=cc 12 | CXX=c++ 13 | COBJS=../libusb/hid.o 14 | CPPOBJS=test.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS=-I../hidapi -I/usr/local/include `fox-config --cflags` -Wall -g -c 17 | LDFLAGS= -L/usr/local/lib 18 | LIBS= -lusb -liconv `fox-config --libs` -pthread 19 | 20 | 21 | testgui: $(OBJS) 22 | $(CXX) -Wall -g $^ $(LDFLAGS) -o $@ $(LIBS) 23 | 24 | $(COBJS): %.o: %.c 25 | $(CC) $(CFLAGS) $< -o $@ 26 | 27 | $(CPPOBJS): %.o: %.cpp 28 | $(CXX) $(CFLAGS) $< -o $@ 29 | 30 | clean: 31 | rm *.o testgui 32 | 33 | .PHONY: clean 34 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/testgui/Makefile.linux: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-06-01 7 | ########################################### 8 | 9 | all: testgui 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=../libusb/hid.o 14 | CPPOBJS=test.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS=-I../hidapi -Wall -g -c `fox-config --cflags` `pkg-config libusb-1.0 --cflags` 17 | LIBS=-ludev -lrt -lpthread `fox-config --libs` `pkg-config libusb-1.0 --libs` 18 | 19 | 20 | testgui: $(OBJS) 21 | g++ -Wall -g $^ $(LIBS) -o testgui 22 | 23 | $(COBJS): %.o: %.c 24 | $(CC) $(CFLAGS) $< -o $@ 25 | 26 | $(CPPOBJS): %.o: %.cpp 27 | $(CXX) $(CFLAGS) $< -o $@ 28 | 29 | clean: 30 | rm *.o testgui 31 | 32 | .PHONY: clean 33 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/lego.rt: -------------------------------------------------------------------------------- 1 | BG #888888 2 | 3 | LIGHT #FFFFFF 2.0 4 | (3, 20, 3) 5 | 6 | LIGHT #FFFFFF 1.0 7 | (3, -10, 3) 8 | 9 | 10 | 11 | CUBE #FF0000 12 | (-9, 0, 0) 13 | {0, 0, 0} 14 | [1, 6, 10] 15 | CUBE #FF0000 16 | (9, 0, 0) 17 | {0, 0, 0} 18 | [1, 6, 10] 19 | CUBE #FF0000 20 | (0, 0, -9) 21 | {0, 0, 0} 22 | [10, 6, 1] 23 | CUBE #FF0000 24 | (0, 0, 9) 25 | {0, 0, 0} 26 | [10, 6, 1] 27 | 28 | CUBE #FF0000 29 | (0, 6, 0) 30 | {0, 0, 0} 31 | [10, 1, 10] 32 | 33 | CYLINDER #FF0000 34 | (5, 8, 5) 35 | {0, 0, 0} 36 | [3, 1, 3] 37 | CYLINDER #FF0000 38 | (5, 8, -5) 39 | {0, 0, 0} 40 | [3, 1, 3] 41 | CYLINDER #FF0000 42 | (-5, 8, 5) 43 | {0, 0, 0} 44 | [3, 1, 3] 45 | CYLINDER #FF0000 46 | (-5, 8, -5) 47 | {0, 0, 0} 48 | [3, 1, 3] 49 | 50 | CYLINDER #FF0000 51 | (0, 0, 0) 52 | {0, 0, 0} 53 | [4.07, 6, 4.07] 54 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/mirror_showcase1b.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 0. 15. 30. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | PLANE 7 | 0. -20. 0. 8 | 1. 1. 1. 9 | 0. 0. 0. 10 | 0.8 0.3 0. 11 | 4. 4. 4. 12 | 0 13 | 14 | PLANE 15 | 0. 40. 0. 16 | 1. 1. 1. 17 | 0. 0. 0. 18 | 0.7 0.7 0.7 19 | 4. 4. 4. 20 | 0 21 | 22 | PLANE 23 | 0. 0. -60. 24 | 1. 1. 1. 25 | 1.57079632679 0. 0. 26 | .8 0. 0. 27 | 3. 3. 3. 28 | 0 29 | 30 | PLANE 31 | 0. 0. 60. 32 | 1. 1. 1. 33 | 1.57079632679 0. 0. 34 | .2 0.8 0. 35 | 3. 3. 3. 36 | 0 37 | 38 | PLANE 39 | 20. 0. 0. 40 | 1. 1. 1. 41 | 0. 0. 1.57079632679 42 | .1 0.2 0.8 43 | 3. 3. 3. 44 | 1 45 | 46 | PLANE 47 | -60. 0. 0. 48 | 1. 1. 1. 49 | 0. 0. 1.57079632679 50 | .1 0.2 0.8 51 | 3. 3. 3. 52 | 0 53 | 54 | SPHERE 55 | 0. -5. 0. 56 | 2. -1. 2. 57 | 0. 0. 0. 58 | 0.8 0. 0.1 59 | 4. 4. 4. 60 | 1 61 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/acinclude/ltversion.m4: -------------------------------------------------------------------------------- 1 | # ltversion.m4 -- version numbers -*- Autoconf -*- 2 | # 3 | # Copyright (C) 2004 Free Software Foundation, Inc. 4 | # Written by Scott James Remnant, 2004 5 | # 6 | # This file is free software; the Free Software Foundation gives 7 | # unlimited permission to copy and/or distribute it, with or without 8 | # modifications, as long as this notice is preserved. 9 | 10 | # @configure_input@ 11 | 12 | # serial 3337 ltversion.m4 13 | # This file is part of GNU Libtool 14 | 15 | m4_define([LT_PACKAGE_VERSION], [2.4.2]) 16 | m4_define([LT_PACKAGE_REVISION], [1.3337]) 17 | 18 | AC_DEFUN([LTVERSION_VERSION], 19 | [macro_version='2.4.2' 20 | macro_revision='1.3337' 21 | _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 22 | _LT_DECL(, macro_revision, 0) 23 | ]) 24 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/nacl/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "SDL testgles2", 3 | "version": "33.0.1750.117", 4 | "minimum_chrome_version": "33.0.1750.117", 5 | "manifest_version": 2, 6 | "description": "testgles2", 7 | "offline_enabled": true, 8 | "icons": { 9 | "128": "icon128.png" 10 | }, 11 | "app": { 12 | "background": { 13 | "scripts": ["background.js"] 14 | } 15 | }, 16 | "key": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCMN716Qyu0l2EHNFqIJVqVysFcTR6urqhaGGqW4UK7slBaURz9+Sb1b4Ot5P1uQNE5c+CTU5Vu61wpqmSqMMxqHLWdPPMh8uRlyctsb2cxWwG6XoGSvpX29NsQVUFXd4v2tkJm3G9t+V0X8TYskrvWQmnyOW8OEIDvrBhUEfFxWQIDAQAB", 17 | "oauth2": { 18 | "client_id": "903965034255.apps.googleusercontent.com", 19 | "scopes": ["https://www.googleapis.com/auth/drive"] 20 | }, 21 | "permissions": [] 22 | } 23 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/mirror_showcase1c.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 0. 15. 30. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | PLANE 7 | 0. -20. 0. 8 | 1. 1. 1. 9 | 0. 0. 0. 10 | 0.8 0.3 0. 11 | 4. 4. 4. 12 | 0 13 | 14 | PLANE 15 | 0. 40. 0. 16 | 1. 1. 1. 17 | 0. 0. 0. 18 | 0.7 0.7 0.7 19 | 4. 4. 4. 20 | 0 21 | 22 | PLANE 23 | 0. 0. -60. 24 | 1. 1. 1. 25 | 1.57079632679 0. 0. 26 | .8 0. 0. 27 | 3. 3. 3. 28 | 0 29 | 30 | PLANE 31 | 0. 0. 60. 32 | 1. 1. 1. 33 | 1.57079632679 0. 0. 34 | .6 0.8 0. 35 | 3. 3. 3. 36 | 0 37 | 38 | PLANE 39 | 60. 0. 0. 40 | 1. 1. 1. 41 | 0. 0. 1.57079632679 42 | .1 0.2 0.8 43 | 3. 3. 3. 44 | 0 45 | 46 | PLANE 47 | -60. 0. 0. 48 | 1. 1. 1. 49 | 0. 0. 1.57079632679 50 | .2 0.8 0.0 51 | 3. 3. 3. 52 | 0 53 | 54 | PARABOLOID 55 | 0. -5. 0. 56 | 2. -1. 2. 57 | 0. 0. 0. 58 | 0.8 0. 0.1 59 | 2. 2. 2. 60 | 0 61 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/libusb/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi $(CFLAGS_LIBUSB) 2 | 3 | if OS_LINUX 4 | lib_LTLIBRARIES = libhidapi-libusb.la 5 | libhidapi_libusb_la_SOURCES = hid.c 6 | libhidapi_libusb_la_LDFLAGS = $(LTLDFLAGS) $(PTHREAD_CFLAGS) 7 | libhidapi_libusb_la_LIBADD = $(LIBS_LIBUSB) 8 | endif 9 | 10 | if OS_FREEBSD 11 | lib_LTLIBRARIES = libhidapi.la 12 | libhidapi_la_SOURCES = hid.c 13 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 14 | libhidapi_la_LIBADD = $(LIBS_LIBUSB) 15 | endif 16 | 17 | if OS_KFREEBSD 18 | lib_LTLIBRARIES = libhidapi.la 19 | libhidapi_la_SOURCES = hid.c 20 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 21 | libhidapi_la_LIBADD = $(LIBS_LIBUSB) 22 | endif 23 | 24 | hdrdir = $(includedir)/hidapi 25 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 26 | 27 | EXTRA_DIST = Makefile-manual 28 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/render/metal/build-metal-shaders.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -x 4 | set -e 5 | cd `dirname "$0"` 6 | 7 | generate_shaders() 8 | { 9 | platform=$1 10 | /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin/metal -std=$platform-metal1.1 -Wall -O3 -o ./sdl.air ./SDL_shaders_metal.metal || exit $? 11 | /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin/metal-ar rc sdl.metalar sdl.air || exit $? 12 | /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin/metallib -o sdl.metallib sdl.metalar || exit $? 13 | xxd -i sdl.metallib | perl -w -p -e 's/\Aunsigned /const unsigned /;' >./SDL_shaders_metal_$platform.h 14 | rm -f sdl.air sdl.metalar sdl.metallib 15 | } 16 | 17 | generate_shaders osx 18 | generate_shaders ios 19 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/docs/README-pandora.md: -------------------------------------------------------------------------------- 1 | Pandora 2 | ===================================================================== 3 | 4 | ( http://openpandora.org/ ) 5 | - A pandora specific video driver was written to allow SDL 2.0 with OpenGL ES 6 | support to work on the pandora under the framebuffer. This driver do not have 7 | input support for now, so if you use it you will have to add your own control code. 8 | The video driver name is "pandora" so if you have problem running it from 9 | the framebuffer, try to set the following variable before starting your application : 10 | "export SDL_VIDEODRIVER=pandora" 11 | 12 | - OpenGL ES support was added to the x11 driver, so it's working like the normal 13 | x11 driver one with OpenGLX support, with SDL input event's etc.. 14 | 15 | 16 | David Carré (Cpasjuste) 17 | cpasjuste@gmail.com 18 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/windows/Makefile.mingw: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-06-01 7 | ########################################### 8 | 9 | all: hidtest libhidapi.dll 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=hid.o 14 | CPPOBJS=../hidtest/hidtest.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS=-I../hidapi -g -c 17 | LIBS= -lsetupapi 18 | DLL_LDFLAGS = -mwindows -lsetupapi 19 | 20 | hidtest: $(OBJS) 21 | g++ -g $^ $(LIBS) -o hidtest 22 | 23 | libhidapi.dll: $(OBJS) 24 | $(CC) -g $^ $(DLL_LDFLAGS) -o libhidapi.dll 25 | 26 | $(COBJS): %.o: %.c 27 | $(CC) $(CFLAGS) $< -o $@ 28 | 29 | $(CPPOBJS): %.o: %.cpp 30 | $(CXX) $(CFLAGS) $< -o $@ 31 | 32 | clean: 33 | rm *.o ../hidtest/*.o hidtest.exe 34 | 35 | .PHONY: clean 36 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/android-project/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/cmake_uninstall.cmake.in: -------------------------------------------------------------------------------- 1 | if (NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") 2 | message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_BINARY_DIR@/install_manifest.txt\"") 3 | endif(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") 4 | 5 | file(READ "@CMAKE_BINARY_DIR@/install_manifest.txt" files) 6 | string(REGEX REPLACE "\n" ";" files "${files}") 7 | foreach (file ${files}) 8 | message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"") 9 | execute_process( 10 | COMMAND @CMAKE_COMMAND@ -E remove "$ENV{DESTDIR}${file}" 11 | OUTPUT_VARIABLE rm_out 12 | RESULT_VARIABLE rm_retval 13 | ) 14 | if(NOT ${rm_retval} EQUAL 0) 15 | message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"") 16 | endif (NOT ${rm_retval} EQUAL 0) 17 | endforeach(file) 18 | 19 | -------------------------------------------------------------------------------- /tests/kirby.rt: -------------------------------------------------------------------------------- 1 | BG #D3F9BC 2 | 3 | //LIGHT #FFFFFF 4 (-10, 10, 0.0) 4 | //LIGHT #FFFFFF 4 ( 10, 10, 0.0) 5 | //LIGHT #FFFFFF 4 (0.0, 10, -10) 6 | //LIGHT #FFFFFF 4 (0.0, 10, 10) 7 | SPHERE #FFFFFF pos:(0, 10, 0) rot:{0, 0, 0} scale:[1, 1, 1] "LIGHT" material:LIGHT 8 | 9 | // commentaires 10 | 11 | SPHERE #F8A0D8 pos:( 0, 4, 0) rot:{0, 0, 0} scale:[5, 5, 5] "Body" 12 | SPHERE #F8A0D8 pos:( 4, 2, 0) rot:{1, 1, 1} scale:[2, 2, 2] "Arm_L" 13 | SPHERE #F8A0D8 pos:(-4, 2, 0) rot:{1, 1, 1} scale:[2, 2, 2] "Arm_R" 14 | 15 | SPHERE #000000 pos:( 1, 5, 4) rot:{-0.2, 0, 0} scale:[1, 1.8, 1] "Eye_L" 16 | SPHERE #000000 pos:(-1, 5, 4) rot:{-0.2, 0, 0} scale:[1, 1.8, 1] "Eye_R" 17 | 18 | SPHERE #F81880 pos:( 2, 0, 1) rot:{0, 0.5, 0} scale:[2, 1.5, 4] "Foot_L" 19 | SPHERE #F81880 pos:(-2, 0, 1) rot:{0,-0.5, 0} scale:[2, 1.5, 4] "Foot_R" 20 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/nacl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | 11 | SDL NACL Test 12 | 13 | 14 | 15 |

SDL NACL Test

16 |

Status: NO-STATUS

17 | 19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /tmp_srcs/rng_montecarlo/raytracey_rng_test.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | static float get_random(unsigned int *seed0, unsigned int *seed1) 4 | { 5 | 6 | /* hash the seeds using bitwise AND operations and bitshifts */ 7 | *seed0 = 36969 * ((*seed0) & 65535) + ((*seed0) >> 16); 8 | *seed1 = 18000 * ((*seed1) & 65535) + ((*seed1) >> 16); 9 | 10 | unsigned int ires = ((*seed0) << 16) + (*seed1); 11 | 12 | /* use union struct to convert int to float */ 13 | union { 14 | float f; 15 | unsigned int ui; 16 | } res; 17 | 18 | res.ui = (ires & 0x007fffff) | 0x3F800000; /* bitwise AND, bitwise OR */ 19 | return (res.f); 20 | // return (res.f - 2.0f) / 2.0f; 21 | } 22 | 23 | int main() 24 | { 25 | int seed0 = 0x1; 26 | int seed1 = 0x12; 27 | for (int i = 0; i < 128; ++i) 28 | printf("%g ", get_random(&seed0, &seed1)); 29 | printf("\n"); 30 | return (0); 31 | } 32 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/examples/room5.rt: -------------------------------------------------------------------------------- 1 | SPHERE 2 | 0 3 | 0. 25. -35. 4 | 10. 10. 10. 5 | 0. 0. 0. 6 | 1. 1. 1. 7 | 1. 1. 1. 8 | 1000. 9 | 10 | SPHERE 11 | 0 12 | -20. 5. 35. 13 | 10. 10. 10. 14 | 0. 0. 0. 15 | 1. 1. 1. 16 | 1. 1. 1. 17 | 1000. 18 | 19 | SPHERE 20 | 0 21 | 20. -5. 35. 22 | 10. 10. 10. 23 | 0. 0. 0. 24 | 1. 1. 1. 25 | 1. 1. 1. 26 | 1000. 27 | 28 | SPHERE 29 | 2 30 | -3. 0. 0. 31 | 2. 2. 2. 32 | 0. 0. 0. 33 | 1. 1. 1. 34 | 4. 4. 4. 35 | 1. 36 | 37 | SPHERE 38 | 3 39 | 0. -3. 0. 40 | 2. 2. 2. 41 | 0. 0. 0. 42 | 1. 1. 1. 43 | 4. 4. 4. 44 | 1. 45 | 46 | SPHERE 47 | 4 48 | 3. 0. 0. 49 | 2. 2. 2. 50 | 0. 0. 0. 51 | 1. 1. 1. 52 | 4. 4. 4. 53 | 1. 54 | 55 | CUBE 56 | 1 57 | -25. 0. -20. 58 | 15. 40. 20. 59 | 0. 0.3 0. 60 | 0.8 0.8 0.8 61 | 3. 3. 3. 62 | 1. 63 | 64 | PARABOLOID 65 | 1 66 | 25. 0. 20. 67 | 15. 40. 20. 68 | 0. 0.3 0. 69 | 0.3 0.8 0.8 70 | 3. 3. 3. 71 | 1. 72 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/libm/s_fabs.c: -------------------------------------------------------------------------------- 1 | /* 2 | * ==================================================== 3 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 4 | * 5 | * Developed at SunPro, a Sun Microsystems, Inc. business. 6 | * Permission to use, copy, modify, and distribute this 7 | * software is freely granted, provided that this notice 8 | * is preserved. 9 | * ==================================================== 10 | */ 11 | 12 | /* 13 | * fabs(x) returns the absolute value of x. 14 | */ 15 | 16 | /*#include */ 17 | /* Prevent math.h from defining a colliding inline */ 18 | #undef __USE_EXTERN_INLINES 19 | #include "math_libm.h" 20 | #include "math_private.h" 21 | 22 | double fabs(double x) 23 | { 24 | u_int32_t high; 25 | GET_HIGH_WORD(high,x); 26 | SET_HIGH_WORD(x,high&0x7fffffff); 27 | return x; 28 | } 29 | libm_hidden_def(fabs) 30 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/sphere7.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 0. 25. -15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | PLANE 7 | 0. -20. 0. 8 | 1. 1. 1. 9 | 0. 0. 0. 10 | 0.8 0.3 0. 11 | 4. 4. 4. 12 | 0 13 | 14 | PLANE 15 | 0. 40. 0. 16 | 1. 1. 1. 17 | 0. 0. 0. 18 | 0.7 0.7 0.7 19 | 4. 4. 4. 20 | 0 21 | 22 | PLANE 23 | 0. 0. -60. 24 | 1. 1. 1. 25 | 1.57079632679 0. 0. 26 | .8 0. 0. 27 | 3. 3. 3. 28 | 0 29 | 30 | PLANE 31 | 0. 0. 60. 32 | 1. 1. 1. 33 | 1.57079632679 0. 0. 34 | .2 0.8 0. 35 | 3. 3. 3. 36 | 0 37 | 38 | PLANE 39 | 60. 0. 0. 40 | 1. 1. 1. 41 | 0. 0. 1.57079632679 42 | .1 0.2 0.8 43 | 3. 3. 3. 44 | 0 45 | 46 | PLANE 47 | -60. 0. 0. 48 | 1. 1. 1. 49 | 0. 0. 1.57079632679 50 | .1 0.2 0.8 51 | 3. 3. 3. 52 | 0 53 | 54 | SPHERE 55 | 3. 0. 0. 56 | 3. 3. 3. 57 | 0. 0. 0. 58 | 1. 1. 1. 59 | 4. 4. 4. 60 | 0 61 | 62 | SPHERE 63 | -3. 0. 0. 64 | 3. 3. 3. 65 | 0. 0. 0. 66 | 1. 0. 0. 67 | 4. 4. 4. 68 | 0 69 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/examples/room4.rt: -------------------------------------------------------------------------------- 1 | SPHERE 2 | 0 3 | 0. 25. -35. 4 | 10. 10. 10. 5 | 0. 0. 0. 6 | 1. 1. 1. 7 | 1. 1. 1. 8 | 1000000. 9 | 10 | SPHERE 11 | 0 12 | -20. 5. 35. 13 | 10. 10. 10. 14 | 0. 0. 0. 15 | 1. 1. 1. 16 | 1. 1. 1. 17 | 1000000. 18 | 19 | SPHERE 20 | 0 21 | 20. -5. 35. 22 | 10. 10. 10. 23 | 0. 0. 0. 24 | 1. 1. 1. 25 | 1. 1. 1. 26 | 1000000. 27 | 28 | SPHERE 29 | 2 30 | -3. 0. 0. 31 | 2. 2. 2. 32 | 0. 0. 0. 33 | 1. 1. 1. 34 | 4. 4. 4. 35 | 1. 36 | 37 | SPHERE 38 | 3 39 | 0. -3. 0. 40 | 2. 2. 2. 41 | 0. 0. 0. 42 | 1. 1. 1. 43 | 4. 4. 4. 44 | 1. 45 | 46 | SPHERE 47 | 4 48 | 3. 0. 0. 49 | 2. 2. 2. 50 | 0. 0. 0. 51 | 1. 1. 1. 52 | 4. 4. 4. 53 | 1. 54 | 55 | CUBE 56 | 1 57 | -25. 0. -20. 58 | 15. 40. 20. 59 | 0. 0.3 0. 60 | 0.8 0.8 0.8 61 | 3. 3. 3. 62 | 1. 63 | 64 | PARABOLOID 65 | 1 66 | 25. 0. 20. 67 | 15. 40. 20. 68 | 0. 0.3 0. 69 | 0.3 0.8 0.8 70 | 3. 3. 3. 71 | 1. 72 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/emscripten/joystick-pre.js: -------------------------------------------------------------------------------- 1 | Module['arguments'] = ['0']; 2 | //Gamepads don't appear until a button is pressed and the joystick/gamepad tests expect one to be connected 3 | Module['preRun'].push(function() 4 | { 5 | Module['print']("Waiting for gamepad..."); 6 | Module['addRunDependency']("gamepad"); 7 | window.addEventListener('gamepadconnected', function() 8 | { 9 | //OK, got one 10 | Module['removeRunDependency']("gamepad"); 11 | }, false); 12 | 13 | //chrome 14 | if(!!navigator.webkitGetGamepads) 15 | { 16 | var timeout = function() 17 | { 18 | if(navigator.webkitGetGamepads()[0] !== undefined) 19 | Module['removeRunDependency']("gamepad"); 20 | else 21 | setTimeout(timeout, 100); 22 | } 23 | setTimeout(timeout, 100); 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/docs/README-hg.md: -------------------------------------------------------------------------------- 1 | Mercurial 2 | ========= 3 | 4 | The latest development version of SDL is available via Mercurial. 5 | Mercurial allows you to get up-to-the-minute fixes and enhancements; 6 | as a developer works on a source tree, you can use "hg" to mirror that 7 | source tree instead of waiting for an official release. Please look 8 | at the Mercurial website ( https://www.mercurial-scm.org/ ) for more 9 | information on using hg, where you can also download software for 10 | Mac OS X, Windows, and Unix systems. 11 | 12 | hg clone http://hg.libsdl.org/SDL 13 | 14 | If you are building SDL via configure, you will need to run autogen.sh 15 | before running configure. 16 | 17 | There is a web interface to the subversion repository at: 18 | http://hg.libsdl.org/SDL/ 19 | 20 | There is an RSS feed available at that URL, for those that want to 21 | track commits in real time. 22 | 23 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/testgui/Makefile.mingw: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-06-01 7 | ########################################### 8 | 9 | all: hidapi-testgui 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=../windows/hid.o 14 | CPPOBJS=test.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS=-I../hidapi -I../../hidapi-externals/fox/include -g -c 17 | LIBS= -mwindows -lsetupapi -L../../hidapi-externals/fox/lib -Wl,-Bstatic -lFOX-1.6 -Wl,-Bdynamic -lgdi32 -Wl,--enable-auto-import -static-libgcc -static-libstdc++ -lkernel32 18 | 19 | 20 | hidapi-testgui: $(OBJS) 21 | g++ -g $^ $(LIBS) -o hidapi-testgui 22 | 23 | $(COBJS): %.o: %.c 24 | $(CC) $(CFLAGS) $< -o $@ 25 | 26 | $(CPPOBJS): %.o: %.cpp 27 | $(CXX) $(CFLAGS) $< -o $@ 28 | 29 | clean: 30 | rm -f *.o hidapi-testgui.exe 31 | 32 | .PHONY: clean 33 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/libm/s_copysign.c: -------------------------------------------------------------------------------- 1 | /* 2 | * ==================================================== 3 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 4 | * 5 | * Developed at SunPro, a Sun Microsystems, Inc. business. 6 | * Permission to use, copy, modify, and distribute this 7 | * software is freely granted, provided that this notice 8 | * is preserved. 9 | * ==================================================== 10 | */ 11 | 12 | /* 13 | * copysign(double x, double y) 14 | * copysign(x,y) returns a value with the magnitude of x and 15 | * with the sign bit of y. 16 | */ 17 | 18 | #include "math_libm.h" 19 | #include "math_private.h" 20 | 21 | double copysign(double x, double y) 22 | { 23 | u_int32_t hx,hy; 24 | GET_HIGH_WORD(hx,x); 25 | GET_HIGH_WORD(hy,y); 26 | SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000)); 27 | return x; 28 | } 29 | libm_hidden_def(copysign) 30 | -------------------------------------------------------------------------------- /tests/ex4.rt: -------------------------------------------------------------------------------- 1 | BG #FFFFFF 2 | 3 | SPHERE #E6CD9B 4 | pos:(0, 1.36, 0) 5 | rot:{0, 0, 0} 6 | scale:[1, 1, 1] 7 | material:LIGHT 8 | 9 | SPHERE #E6CDB2 10 | pos:(-0.25, -0.24, -0.1) 11 | rot:{0, 0, 0} 12 | scale:[0.16, 0.16, 0.16] 13 | 14 | SPHERE #E6CDB2 15 | pos:(0.25, -0.24, -0.1) 16 | rot:{0, 0, 0} 17 | scale:[0.16, 0.16, 0.16] 18 | 19 | SPHERE #C04040 20 | pos:(-200.6, 0.0, 0.0) 21 | rot:{0, 0, 0} 22 | scale:[200, 200, 200] 23 | 24 | SPHERE #4040C0 25 | pos:(200.6, 0.0, 0.0) 26 | rot:{0, 0, 0} 27 | scale:[200, 200, 200] 28 | 29 | SPHERE #E6CDB2 30 | pos:(0.0, 200.6, 0.0) 31 | rot:{0, 0, 0} 32 | scale:[200, 200, 200] 33 | 34 | SPHERE #E6CDB2 35 | pos:(0.0, -200.6, 0.0) 36 | rot:{0, 0, 0} 37 | scale:[200, 200, 200] 38 | 39 | SPHERE #E6CDB2 40 | pos:(0.0, 0.0, 200.6) 41 | rot:{0, 0, 0} 42 | scale:[200, 200, 200] 43 | 44 | SPHERE #E6CDB2 45 | pos:(0.0, 0.0, -200.6) 46 | rot:{0, 0, 0} 47 | scale:[200, 200, 200] 48 | -------------------------------------------------------------------------------- /tmp_srcs/opencl_sandbox/add_numbers/add_numbers.cl: -------------------------------------------------------------------------------- 1 | __kernel void add_numbers(__global float4* data, 2 | __local float* local_result, 3 | __global float* group_result) 4 | { 5 | 6 | float sum; 7 | float4 input1, input2, sum_vector; 8 | uint global_addr, local_addr; 9 | 10 | global_addr = get_global_id(0) * 2; 11 | input1 = data[global_addr]; 12 | input2 = data[global_addr+1]; 13 | sum_vector = input1 + input2; 14 | 15 | local_addr = get_local_id(0); 16 | local_result[local_addr] = sum_vector.s0 + sum_vector.s1 + 17 | sum_vector.s2 + sum_vector.s3; 18 | barrier(CLK_LOCAL_MEM_FENCE); 19 | 20 | if (get_local_id(0) == 0) 21 | { 22 | sum = 0.0f; 23 | for (int i = 0; i < get_local_size(0); ++i) 24 | { 25 | sum += local_result[i]; 26 | } 27 | group_result[get_group_id(0)] = sum; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Test/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | com.yourcompany.${PRODUCT_NAME:identifier} 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/test/picture.xbm: -------------------------------------------------------------------------------- 1 | #define picture_width 32 2 | #define picture_height 32 3 | static char picture_bits[] = { 4 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x80, 0x01, 0x18, 5 | 0x64, 0x6f, 0xf6, 0x26, 0x0a, 0x00, 0x00, 0x50, 0xf2, 0xff, 0xff, 0x4f, 6 | 0x14, 0x04, 0x00, 0x28, 0x14, 0x0e, 0x00, 0x28, 0x10, 0x32, 0x00, 0x08, 7 | 0x94, 0x03, 0x00, 0x08, 0xf4, 0x04, 0x00, 0x08, 0xb0, 0x08, 0x00, 0x08, 8 | 0x34, 0x01, 0x00, 0x28, 0x34, 0x01, 0x00, 0x28, 0x12, 0x00, 0x40, 0x48, 9 | 0x12, 0x20, 0xa6, 0x48, 0x14, 0x50, 0x11, 0x29, 0x14, 0x50, 0x48, 0x2a, 10 | 0x10, 0x27, 0xac, 0x0e, 0xd4, 0x71, 0xe8, 0x0a, 0x74, 0x20, 0xa8, 0x0a, 11 | 0x14, 0x20, 0x00, 0x08, 0x10, 0x50, 0x00, 0x08, 0x14, 0x00, 0x00, 0x28, 12 | 0x14, 0x00, 0x00, 0x28, 0xf2, 0xff, 0xff, 0x4f, 0x0a, 0x00, 0x00, 0x50, 13 | 0x64, 0x6f, 0xf6, 0x26, 0x18, 0x80, 0x01, 0x18, 0x00, 0x00, 0x00, 0x00, 14 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; 15 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/testgui/testgui.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 10.00 3 | # Visual C++ Express 2008 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgui", "testgui.vcproj", "{08769AC3-785A-4DDC-BFC7-1775414B7AB7}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {08769AC3-785A-4DDC-BFC7-1775414B7AB7}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {08769AC3-785A-4DDC-BFC7-1775414B7AB7}.Debug|Win32.Build.0 = Debug|Win32 14 | {08769AC3-785A-4DDC-BFC7-1775414B7AB7}.Release|Win32.ActiveCfg = Release|Win32 15 | {08769AC3-785A-4DDC-BFC7-1775414B7AB7}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /tests/texture.rt: -------------------------------------------------------------------------------- 1 | BG #808080 2 | 3 | SPHERE 4 | material:DIFFUSE 5 | color:(1.00000, 0.00000, 0.00000) 6 | color2:(0.00000, 0.00000, 0.00000) 7 | pos:(-10.00000, 0.00000, 0.00000) 8 | rot:(0.00000, 0.00000, 0.00000) 9 | scale:(2.00000, 2.00000, 2.00000) 10 | bbox_vi:(-1.00000, -1.00000, -1.00000) 11 | bbox_vf:(1.00000, 1.00000, 1.00000) 12 | 13 | CUBE 14 | material:DIFFUSE 15 | color:(1.00000, 0.00000, 0.00000) 16 | color2:(0.00000, 0.00000, 0.00000) 17 | pos:(0.00000, 0.00000, 0.00000) 18 | rot:(0.00000, 0.00000, 0.00000) 19 | scale:(2.00000, 2.00000, 2.00000) 20 | bbox_vi:(-1.00000, -1.00000, -1.00000) 21 | bbox_vf:(1.00000, 1.00000, 1.00000) 22 | 23 | CYLINDER 24 | material:DIFFUSE 25 | color:(1.00000, 0.00000, 0.00000) 26 | color2:(0.00000, 0.00000, 0.00000) 27 | pos:(10.00000, 0.00000, 0.00000) 28 | rot:(0.00000, 0.00000, 0.00000) 29 | scale:(1.50000, 3.00000, 1.50000) 30 | bbox_vi:(-1.00000, -1.00000, -1.00000) 31 | bbox_vf:(1.00000, 1.00000, 1.00000) -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/glassy_showcase1a.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 0. 25. 0. 3 | 1. 0. 0. 4 | 100000. 5 | 6 | LIGHT 7 | -20. 25. 5. 8 | 1. 0. 1. 9 | 100000. 10 | 11 | LIGHT 12 | 0. 15. 30. 13 | 1. 1. 1. 14 | 100000. 15 | 16 | LIGHT 17 | 20. 25. 5. 18 | 1. 1. 0. 19 | 100000. 20 | 21 | PLANE 22 | 0. -20. 0. 23 | 1. 1. 1. 24 | 0. 0. 0. 25 | 0.8 0.3 0. 26 | 4. 4. 4. 27 | 0 28 | 29 | PLANE 30 | 0. 40. 0. 31 | 1. 1. 1. 32 | 0. 0. 0. 33 | 0.7 0.7 0.7 34 | 4. 4. 4. 35 | 0 36 | 37 | PLANE 38 | 0. 0. -60. 39 | 1. 1. 1. 40 | 1.57079632679 0. 0. 41 | .8 0. 0. 42 | 3. 3. 3. 43 | 0 44 | 45 | PLANE 46 | 0. 0. 60. 47 | 1. 1. 1. 48 | 1.57079632679 0. 0. 49 | .2 0.8 0. 50 | 3. 3. 3. 51 | 0 52 | 53 | PLANE 54 | 60. 0. 0. 55 | 1. 1. 1. 56 | 0. 0. 1.57079632679 57 | .1 0.2 0.8 58 | 3. 3. 3. 59 | 0 60 | 61 | PLANE 62 | -60. 0. 0. 63 | 1. 1. 1. 64 | 0. 0. 1.57079632679 65 | .1 0.2 0.8 66 | 3. 3. 3. 67 | 0 68 | 69 | PARABOLOID 70 | 0. 10. 0. 71 | 2. -1. 2. 72 | 0. 0. 0. 73 | 0.8 0. 0.1 74 | 4. 4. 4. 75 | 2 76 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/glassy_showcase1b.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 0. 25. 0. 3 | 1. 0. 0. 4 | 100000. 5 | 6 | LIGHT 7 | -20. 25. 5. 8 | 1. 0. 1. 9 | 100000. 10 | 11 | LIGHT 12 | 0. 15. 30. 13 | 1. 1. 1. 14 | 100000. 15 | 16 | LIGHT 17 | 20. 25. 5. 18 | 1. 1. 0. 19 | 100000. 20 | 21 | PLANE 22 | 0. -20. 0. 23 | 1. 1. 1. 24 | 0. 0. 0. 25 | 0.8 0.3 0. 26 | 4. 4. 4. 27 | 0 28 | 29 | PLANE 30 | 0. 40. 0. 31 | 1. 1. 1. 32 | 0. 0. 0. 33 | 0.7 0.7 0.7 34 | 4. 4. 4. 35 | 0 36 | 37 | PLANE 38 | 0. 0. -60. 39 | 1. 1. 1. 40 | 1.57079632679 0. 0. 41 | .8 0. 0. 42 | 3. 3. 3. 43 | 0 44 | 45 | PLANE 46 | 0. 0. 60. 47 | 1. 1. 1. 48 | 1.57079632679 0. 0. 49 | .2 0.8 0. 50 | 3. 3. 3. 51 | 0 52 | 53 | PLANE 54 | 60. 0. 0. 55 | 1. 1. 1. 56 | 0. 0. 1.57079632679 57 | .1 0.2 0.8 58 | 3. 3. 3. 59 | 0 60 | 61 | PLANE 62 | -60. 0. 0. 63 | 1. 1. 1. 64 | 0. 0. 1.57079632679 65 | .1 0.2 0.8 66 | 3. 3. 3. 67 | 0 68 | 69 | SPHERE 70 | 0. -5. 0. 71 | 2. 1.5 2. 72 | 0. 0. 0. 73 | 0.8 0. 0.1 74 | 4. 4. 4. 75 | 2 76 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/mirror_showcase1a.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 0. 25. 0. 3 | 1. 0. 0. 4 | 100000. 5 | 6 | LIGHT 7 | -20. 25. 5. 8 | 1. 0. 1. 9 | 100000. 10 | 11 | LIGHT 12 | 0. 15. 30. 13 | 1. 1. 1. 14 | 100000. 15 | 16 | LIGHT 17 | 20. 25. 5. 18 | 1. 1. 0. 19 | 100000. 20 | 21 | PLANE 22 | 0. -20. 0. 23 | 1. 1. 1. 24 | 0. 0. 0. 25 | 0.8 0.3 0. 26 | 4. 4. 4. 27 | 0 28 | 29 | PLANE 30 | 0. 40. 0. 31 | 1. 1. 1. 32 | 0. 0. 0. 33 | 0.7 0.7 0.7 34 | 4. 4. 4. 35 | 0 36 | 37 | PLANE 38 | 0. 0. -60. 39 | 1. 1. 1. 40 | 1.57079632679 0. 0. 41 | .8 0. 0. 42 | 3. 3. 3. 43 | 0 44 | 45 | PLANE 46 | 0. 0. 60. 47 | 1. 1. 1. 48 | 1.57079632679 0. 0. 49 | .2 0.8 0. 50 | 3. 3. 3. 51 | 0 52 | 53 | PLANE 54 | 60. 0. 0. 55 | 1. 1. 1. 56 | 0. 0. 1.57079632679 57 | .1 0.2 0.8 58 | 3. 3. 3. 59 | 0 60 | 61 | PLANE 62 | -60. 0. 0. 63 | 1. 1. 1. 64 | 0. 0. 1.57079632679 65 | .1 0.2 0.8 66 | 3. 3. 3. 67 | 0 68 | 69 | PARABOLOID 70 | 0. -5. 0. 71 | 2. -1. 2. 72 | 0. 0. 0. 73 | 0.8 0. 0.1 74 | 4. 4. 4. 75 | 1 76 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/SDL2main-WinRT-NonXAML.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SDL2main-WinRT-NonXAML 5 | 2.0.4-Unofficial 6 | Sam Lantinga 7 | David Ludwig 8 | http://libsdl.org/license.php 9 | http://libsdl.org 10 | false 11 | WinMain() function for SDL2 + WinRT + CoreWindow (non-XAML) apps 12 | Copyright 2015 13 | SDL2 SDL LibSDL OpenGL C C++ nativepackage 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/src/hidapi/testgui/TestGUI.app.in/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDisplayName 8 | 9 | CFBundleExecutable 10 | hidapi-testgui 11 | CFBundleIconFile 12 | Signal11.icns 13 | CFBundleIdentifier 14 | us.signal11.hidtestgui 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | testgui 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | CSResourcesFileMapped 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/COPYING.txt: -------------------------------------------------------------------------------- 1 | 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2018 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | 21 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/VisualC-WinRT/SDL2-WinRT.nuspec: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SDL2-WinRT 5 | 2.0.4-Unofficial 6 | Sam Lantinga 7 | David Ludwig 8 | http://libsdl.org/license.php 9 | http://libsdl.org 10 | false 11 | Unofficial pre-release of LibSDL2, built for WinRT platforms 12 | Copyright 2015 13 | SDL2 SDL LibSDL OpenGL C C++ nativepackage 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Makefile.minimal: -------------------------------------------------------------------------------- 1 | # Makefile to build the SDL library 2 | 3 | INCLUDE = -I./include 4 | CFLAGS = -g -O2 $(INCLUDE) 5 | AR = ar 6 | RANLIB = ranlib 7 | 8 | TARGET = libSDL.a 9 | SOURCES = \ 10 | src/*.c \ 11 | src/audio/*.c \ 12 | src/audio/dummy/*.c \ 13 | src/cpuinfo/*.c \ 14 | src/events/*.c \ 15 | src/file/*.c \ 16 | src/haptic/*.c \ 17 | src/haptic/dummy/*.c \ 18 | src/joystick/*.c \ 19 | src/joystick/dummy/*.c \ 20 | src/loadso/dummy/*.c \ 21 | src/power/*.c \ 22 | src/filesystem/dummy/*.c \ 23 | src/render/*.c \ 24 | src/render/software/*.c \ 25 | src/sensor/*.c \ 26 | src/sensor/dummy/*.c \ 27 | src/stdlib/*.c \ 28 | src/thread/*.c \ 29 | src/thread/generic/*.c \ 30 | src/timer/*.c \ 31 | src/timer/dummy/*.c \ 32 | src/video/*.c \ 33 | src/video/dummy/*.c \ 34 | 35 | OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g') 36 | 37 | all: $(TARGET) 38 | 39 | $(TARGET): $(OBJECTS) 40 | $(AR) crv $@ $^ 41 | $(RANLIB) $@ 42 | 43 | clean: 44 | rm -f $(TARGET) $(OBJECTS) 45 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode-iOS/Template/SDL iOS Application/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIconFile 12 | Icon 13 | CFBundleIdentifier 14 | com.yourcompany.${PRODUCT_NAME:identifier} 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | ${PRODUCT_NAME} 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /empty.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* empty.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: aduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2019/03/14 17:51:27 by aduquesn #+# #+# */ 9 | /* Updated: 2019/03/14 17:52:31 by aduquesn ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | /* 14 | ** This file exists because MacOS in-program binary file embedding is bad 15 | */ 16 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode/SDL/Info-Framework.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleGetInfoString 10 | http://www.libsdl.org 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | Simple DirectMedia Layer 19 | CFBundlePackageType 20 | FMWK 21 | CFBundleShortVersionString 22 | 2.0.9 23 | CFBundleSignature 24 | SDLX 25 | CFBundleVersion 26 | 2.0.9 27 | 28 | 29 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/Xcode/SDL/pkg-support/resources/License.txt: -------------------------------------------------------------------------------- 1 | 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2018 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/include/SDL_copying.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2018 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/inside_infcone.rt: -------------------------------------------------------------------------------- 1 | CAMERA 2 | -3. 0. -10. 3 | 10. 0. 0.1 4 | 5 | LIGHT 6 | 1. 40. 15. 7 | 1. 1. 1. 8 | 1000000. 9 | 10 | LIGHT 11 | -20. 20. 5. 12 | 1. 0. 0. 13 | 400000. 14 | 15 | SPHERE 16 | 0. 0. 0. 17 | 1. 2. 3. 18 | 0. 1.57079632679 0. 19 | 0.1 0.1 0.1 20 | 4. 4. 4. 21 | 22 | SPHERE 23 | 0. 0. -10. 24 | 3. 3. 3. 25 | 0. 0. 0. 26 | 1. 0. 0. 27 | 4.5 4.5 4.5 28 | 29 | INFCYLINDER 30 | 5. 5. -9. 31 | 0.5 1. 3. 32 | 0.78539816339 0. 0. 33 | 0. 1. 0. 34 | 4. 4. 4. 35 | 36 | INFCONE 37 | -5. 0. -9. 38 | 0.4 1. 0.4 39 | 0. 0. 0. 40 | 0. 0. 1. 41 | 3. 4. 5. 42 | 43 | PLANE 44 | -5. -20. -9. 45 | 1. 1. 1. 46 | 0. 0. 0. 47 | 0.7 0.7 0.7 48 | 4. 4. 4. 49 | 50 | DISK 51 | -10. 0. 1. 52 | 10. 1. 2. 53 | 1.57079632679 0.78539816339 0. 54 | 1. 0.5 0. 55 | 7. 7. 7. 56 | 57 | SQUARE 58 | 1. 41. 16. 59 | 10. 10. 5. 60 | 1.57079632679 0.78539816339 0. 61 | 0.7 0.1 0.5 62 | 6. 6. 6. 63 | 64 | CYLINDER 65 | 20. 0. 0. 66 | 3. 5. 1. 67 | 0.78539816339 -0.78539816339 1.57079632679 68 | 0.1 0.5 0.8 69 | 4.5 4.5 4.5 70 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/rainbow1.rt: -------------------------------------------------------------------------------- 1 | CAMERA 2 | 0. 10. 0. 3 | 27.4 1.37 0.57 4 | 5 | LIGHT 6 | 5. 10. 0. 7 | 1. 0. 0. 8 | 80000. 9 | 10 | LIGHT 11 | -2.5 10. 4.33012701892 12 | 0. 1. 0. 13 | 80000. 14 | 15 | LIGHT 16 | -2.5 10. -4.33012701892 17 | 0. 0. 1. 18 | 80000. 19 | 20 | PLANE 21 | 0. 0. 0. 22 | 1. 1. 1. 23 | 0. 0. 0. 24 | 0.7 0.7 0.7 25 | 6. 6. 6. 26 | 27 | SPHERE 28 | 10. 5. 0. 29 | 3. 3. 3. 30 | 0. 0. 0. 31 | 1. 1. 1. 32 | 2.5 2.5 2.5 33 | 34 | SPHERE 35 | -10. 5. 0. 36 | 3. 3. 3. 37 | 0. 0. 0. 38 | 1. 1. 1. 39 | 2.5 2.5 2.5 40 | 41 | SPHERE 42 | 5. 5. 8.66025403784 43 | 3. 3. 3. 44 | 0. 0. 0. 45 | 1. 1. 1. 46 | 2.5 2.5 2.5 47 | 48 | SPHERE 49 | -5. 5. 8.66025403784 50 | 3. 3. 3. 51 | 0. 0. 0. 52 | 1. 1. 1. 53 | 2.5 2.5 2.5 54 | 55 | SPHERE 56 | 5. 5. -8.66025403784 57 | 3. 3. 3. 58 | 0. 0. 0. 59 | 1. 1. 1. 60 | 2.5 2.5 2.5 61 | 62 | SPHERE 63 | -5. 5. -8.66025403784 64 | 3. 3. 3. 65 | 0. 0. 0. 66 | 1. 1. 1. 67 | 2.5 2.5 2.5 68 | 69 | SPHERE 70 | 0. 5. 0. 71 | 3.5 1. 3.5 72 | 0. 0. 0. 73 | 1. 1. 1. 74 | 2.5 2.5 2.5 75 | -------------------------------------------------------------------------------- /lib/SDL2.framework/Versions/A/Headers/SDL_copying.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2018 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/libft/src/ft_putchar.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putchar.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: aduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/15 02:08:11 by aduquesn #+# #+# */ 9 | /* Updated: 2017/11/15 02:08:11 by aduquesn ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "../libft.h" 14 | 15 | void ft_putchar(char c) 16 | { 17 | write(STDOUT, &c, 1); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/io/put/ft_putchar.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putchar.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:53 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:14 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putchar(char c) 16 | { 17 | write(1, &c, 1); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/io/put/ft_putnbr.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putnbr.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:55 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:16 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putnbr(int n) 16 | { 17 | ft_putnbr_fd(n, 1); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/mem/ft_msb.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_msb.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/04/20 15:45:22 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:48 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_mem.h" 14 | 15 | inline t_u64 ft_msb(t_u64 x) 16 | { 17 | return (x >> 63); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/libft/src/ft_isascii.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_isascii.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: aduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/15 02:08:08 by aduquesn #+# #+# */ 9 | /* Updated: 2017/11/15 02:08:08 by aduquesn ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "../libft.h" 14 | 15 | int ft_isascii(int c) 16 | { 17 | return (0x00 <= c && c <= 0x7F); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/libft/src/ft_isdigit.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_isdigit.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: aduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/15 02:08:08 by aduquesn #+# #+# */ 9 | /* Updated: 2017/11/15 02:08:08 by aduquesn ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "../libft.h" 14 | 15 | int ft_isdigit(int c) 16 | { 17 | return ('0' <= c && c <= '9'); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/libft/src/ft_isprint.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_isprint.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: aduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/15 02:08:09 by aduquesn #+# #+# */ 9 | /* Updated: 2017/11/15 02:08:09 by aduquesn ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "../libft.h" 14 | 15 | int ft_isprint(int c) 16 | { 17 | return (0x20 <= c && c <= 0x7E); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/libft/src/ft_strclr.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_strclr.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: aduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/15 02:08:12 by aduquesn #+# #+# */ 9 | /* Updated: 2017/11/15 02:08:12 by aduquesn ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "../libft.h" 14 | 15 | void ft_strclr(char *str) 16 | { 17 | ft_bzero(str, ft_strlen(str)); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/libft/src/ft_putchar_fd.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putchar_fd.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: aduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/15 02:08:11 by aduquesn #+# #+# */ 9 | /* Updated: 2017/12/12 19:40:12 by Lexou ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "../libft.h" 14 | 15 | void ft_putchar_fd(char const c, int fd) 16 | { 17 | write(fd, &c, 1); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/math/op/ft_abs.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_abs.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:32 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_u64 ft_abs(t_s64 x) 16 | { 17 | return (x < 0 ? -x : x); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/math/op/ft_ceil.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_ceil.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/03/13 16:13:36 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:32 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | long ft_ceil(double lf) 16 | { 17 | return (ft_floor(lf) + 1); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/mem/ft_bzero.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_bzero.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:46 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:46 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_mem.h" 14 | 15 | void ft_bzero(void *s, size_t n) 16 | { 17 | ft_memset(s, '\0', n); 18 | } 19 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/include/SDL_opengles2_gl2platform.h: -------------------------------------------------------------------------------- 1 | #ifndef __gl2platform_h_ 2 | #define __gl2platform_h_ 3 | 4 | /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ 5 | 6 | /* 7 | * This document is licensed under the SGI Free Software B License Version 8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . 9 | */ 10 | 11 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h 12 | * 13 | * Adopters may modify khrplatform.h and this file to suit their platform. 14 | * You are encouraged to submit all modifications to the Khronos group so that 15 | * they can be included in future versions of this file. Please submit changes 16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) 17 | * by filing a bug against product "OpenGL-ES" component "Registry". 18 | */ 19 | 20 | /*#include */ 21 | 22 | #ifndef GL_APICALL 23 | #define GL_APICALL KHRONOS_APICALL 24 | #endif 25 | 26 | #ifndef GL_APIENTRY 27 | #define GL_APIENTRY KHRONOS_APIENTRY 28 | #endif 29 | 30 | #endif /* __gl2platform_h_ */ 31 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/libft/src/ft_putstr.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putstr.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: aduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/15 02:08:12 by aduquesn #+# #+# */ 9 | /* Updated: 2017/12/12 19:40:13 by Lexou ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "../libft.h" 14 | 15 | void ft_putstr(char const *str) 16 | { 17 | write(STDOUT, str, ft_strlen(str)); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/io/put/ft_putchar.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putchar.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:53 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:14 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putchar(char c) 16 | { 17 | write(1, &c, 1); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/io/put/ft_putnbr.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putnbr.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:55 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:16 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putnbr(int n) 16 | { 17 | ft_putnbr_fd(n, 1); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/io/put/ft_putchar_fd.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putchar_fd.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:54 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:15 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putchar_fd(char c, int fd) 16 | { 17 | write(fd, &c, 1); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/math/conv/ft_itoa.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_itoa.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:49 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:55 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | char *ft_itoa(long n) 16 | { 17 | return (ft_itoa_base(n, DECIM)); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/math/op/ft_fabs.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_fabs.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/09/28 06:15:37 by fulguritu #+# #+# */ 9 | /* Updated: 2018/09/28 06:15:40 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_float ft_fabs(t_float x) 16 | { 17 | return (x < 0. ? -x : x); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/mem/ft_not_msb.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_not_msb.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/04/20 15:46:02 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:48 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_mem.h" 14 | 15 | inline t_u64 ft_not_msb(t_u64 x) 16 | { 17 | return (x & _NOT_MSB_); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/inside_infcone.rt: -------------------------------------------------------------------------------- 1 | CAMERA 2 | -3. 0. -10. 3 | 10. 0. 0.1 4 | 5 | LIGHT 6 | 1. 40. 15. 7 | 1. 1. 1. 8 | 1000000. 9 | 10 | LIGHT 11 | -20. 20. 5. 12 | 1. 0. 0. 13 | 400000. 14 | 15 | SPHERE 16 | 0. 0. 0. 17 | 1. 2. 3. 18 | 0. 1.57079632679 0. 19 | 0.1 0.1 0.1 20 | 4. 4. 4. 21 | 0 22 | 23 | SPHERE 24 | 0. 0. -10. 25 | 3. 3. 3. 26 | 0. 0. 0. 27 | 1. 0. 0. 28 | 4.5 4.5 4.5 29 | 0 30 | 31 | INFCYLINDER 32 | 5. 5. -9. 33 | 0.5 1. 3. 34 | 0.78539816339 0. 0. 35 | 0. 1. 0. 36 | 4. 4. 4. 37 | 0 38 | 39 | INFCONE 40 | -5. 0. -9. 41 | 0.4 1. 0.4 42 | 0. 0. 0. 43 | 0. 0. 1. 44 | 3. 4. 5. 45 | 0 46 | 47 | PLANE 48 | -5. -20. -9. 49 | 1. 1. 1. 50 | 0. 0. 0. 51 | 0.7 0.7 0.7 52 | 4. 4. 4. 53 | 0 54 | 55 | DISK 56 | -10. 0. 1. 57 | 10. 1. 2. 58 | 1.57079632679 0.78539816339 0. 59 | 1. 0.5 0. 60 | 7. 7. 7. 61 | 0 62 | 63 | SQUARE 64 | 1. 41. 16. 65 | 10. 10. 5. 66 | 1.57079632679 0.78539816339 0. 67 | 0.7 0.1 0.5 68 | 6. 6. 6. 69 | 0 70 | 71 | CYLINDER 72 | 20. 0. 0. 73 | 3. 5. 1. 74 | 0.78539816339 -0.78539816339 1.57079632679 75 | 0.1 0.5 0.8 76 | 4.5 4.5 4.5 77 | 0 78 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/mem/ft_msb.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_msb.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/04/20 15:45:22 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:48 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_mem.h" 14 | 15 | inline t_u64 ft_msb(t_u64 x) 16 | { 17 | return (x >> 63); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/io/put/ft_putstr.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putstr.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:56 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:17 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putstr(const char *s) 16 | { 17 | if (s) 18 | ft_putstr_fd(s, 1); 19 | } 20 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/math/conv/ft_digits.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_digits.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:47 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:54 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | int ft_digits(intmax_t n) 16 | { 17 | return (ft_digits_base(n, 10)); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/math/op/ft_max.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_max.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:33 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_s64 ft_max(t_s64 a, t_s64 b) 16 | { 17 | return (a > b ? a : b); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/math/op/ft_min.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_min.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:33 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_s64 ft_min(t_s64 a, t_s64 b) 16 | { 17 | return (a < b ? a : b); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/math/op/ft_umax.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_umax.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:34 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_u64 ft_umax(t_u64 a, t_u64 b) 16 | { 17 | return (a > b ? a : b); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/math/op/ft_umin.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_umin.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:34 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_u64 ft_umin(t_u64 a, t_u64 b) 16 | { 17 | return (a < b ? a : b); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/str/char/ft_isascii.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_isascii.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:48 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:16:10 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_str.h" 14 | 15 | inline int ft_isascii(int c) 16 | { 17 | return (0 <= c && c <= 127); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/str/char/ft_isdigit.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_isdigit.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:48 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:16:10 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_str.h" 14 | 15 | inline int ft_isdigit(int c) 16 | { 17 | return ('0' <= c && c <= '9'); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/str/char/ft_islower.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_islower.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/03/30 23:09:03 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:16:10 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_str.h" 14 | 15 | inline int ft_islower(int c) 16 | { 17 | return ('a' <= c && c <= 'z'); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/str/char/ft_isprint.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_isprint.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:48 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:16:10 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_str.h" 14 | 15 | inline int ft_isprint(int c) 16 | { 17 | return (32 <= c && c <= 126); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/str/char/ft_isupper.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_isupper.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/03/30 23:09:16 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:16:11 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_str.h" 14 | 15 | inline int ft_isupper(int c) 16 | { 17 | return ('A' <= c && c <= 'Z'); 18 | } 19 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Project subjects, corrections and other stuff 2 | correc.* 3 | *.pdf 4 | *.zip 5 | *.tar 6 | *.c-e 7 | *.h-e 8 | *.cl-e 9 | *.mp4 10 | 11 | # Program 12 | libft/test 13 | RT 14 | RT.exe 15 | RT.EXE 16 | log.txt 17 | log.TXT 18 | config.ini 19 | config.INI 20 | concat.cl 21 | concat.CL 22 | src/random_scene 23 | 24 | # Macintosh files 25 | *.DS_Store 26 | *._* 27 | 28 | # Object files & Dependency files 29 | obj/* 30 | *.o 31 | *.d 32 | *.ko 33 | *.obj 34 | *.elf 35 | 36 | # Linker output 37 | *.ilk 38 | *.map 39 | *.exp 40 | 41 | # Precompiled Headers 42 | *.gch 43 | *.pch 44 | 45 | # Vim swp 46 | *.swp 47 | 48 | # Compiled libraries 49 | *.lib 50 | *.a 51 | *.la 52 | *.lo 53 | # Shared objects 54 | *.so 55 | *.so.* 56 | *.dylib 57 | 58 | # Executables 59 | *.out 60 | *.exe 61 | *.exe.stackdump 62 | *.dSYM 63 | *.app 64 | *.i*86 65 | *.x86_64 66 | *.hex 67 | 68 | # Debug files 69 | *.dSYM/ 70 | *.su 71 | *.idb 72 | *.pdb 73 | 74 | # Kernel Module Compile Results 75 | *.mod* 76 | *.cmd 77 | .tmp_versions/ 78 | modules.order 79 | Module.symvers 80 | Mkfile.old 81 | dkms.conf 82 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/libft/src/ft_putstr_fd.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putstr_fd.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: aduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/15 02:08:12 by aduquesn #+# #+# */ 9 | /* Updated: 2017/12/12 19:40:13 by Lexou ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "../libft.h" 14 | 15 | void ft_putstr_fd(char const *str, int fd) 16 | { 17 | write(fd, str, ft_strlen(str)); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/math/op/ft_ceil.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_ceil.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/03/13 16:13:36 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:32 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | long ft_ceil(double lf) 16 | { 17 | return (ft_floor(lf) + 1); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/io/put/ft_putendl.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putendl.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:54 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:15 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putendl(const char *s) 16 | { 17 | if (s) 18 | ft_putendl_fd(s, 1); 19 | } 20 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/io/put/ft_putmem.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putmem.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/03/21 06:56:13 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:16 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putmem(char const *str) 16 | { 17 | if (str) 18 | ft_putmem_fd(str, 1); 19 | } 20 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/math/op/ft_fmax.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_fmax.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/09/18 19:29:03 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_float ft_fmax(t_float a, t_float b) 16 | { 17 | return (a > b ? a : b); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/math/op/ft_fmin.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_fmin.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/09/18 19:29:40 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_float ft_fmin(t_float a, t_float b) 16 | { 17 | return (a < b ? a : b); 18 | } 19 | -------------------------------------------------------------------------------- /lib/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2platform.h: -------------------------------------------------------------------------------- 1 | #ifndef __gl2platform_h_ 2 | #define __gl2platform_h_ 3 | 4 | /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ 5 | 6 | /* 7 | * This document is licensed under the SGI Free Software B License Version 8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . 9 | */ 10 | 11 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h 12 | * 13 | * Adopters may modify khrplatform.h and this file to suit their platform. 14 | * You are encouraged to submit all modifications to the Khronos group so that 15 | * they can be included in future versions of this file. Please submit changes 16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) 17 | * by filing a bug against product "OpenGL-ES" component "Registry". 18 | */ 19 | 20 | /*#include */ 21 | 22 | #ifndef GL_APICALL 23 | #define GL_APICALL KHRONOS_APICALL 24 | #endif 25 | 26 | #ifndef GL_APIENTRY 27 | #define GL_APIENTRY KHRONOS_APIENTRY 28 | #endif 29 | 30 | #endif /* __gl2platform_h_ */ 31 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.examples_old/rainbow1.rt: -------------------------------------------------------------------------------- 1 | CAMERA 2 | 0. 10. 0. 3 | 27.4 1.37 0.57 4 | 5 | LIGHT 6 | 5. 10. 0. 7 | 1. 0. 0. 8 | 80000. 9 | 10 | LIGHT 11 | -2.5 10. 4.33012701892 12 | 0. 1. 0. 13 | 80000. 14 | 15 | LIGHT 16 | -2.5 10. -4.33012701892 17 | 0. 0. 1. 18 | 80000. 19 | 20 | PLANE 21 | 0. 0. 0. 22 | 1. 1. 1. 23 | 0. 0. 0. 24 | 0.7 0.7 0.7 25 | 6. 6. 6. 26 | 0 27 | 28 | SPHERE 29 | 10. 5. 0. 30 | 3. 3. 3. 31 | 0. 0. 0. 32 | 1. 1. 1. 33 | 2.5 2.5 2.5 34 | 0 35 | 36 | SPHERE 37 | -10. 5. 0. 38 | 3. 3. 3. 39 | 0. 0. 0. 40 | 1. 1. 1. 41 | 2.5 2.5 2.5 42 | 0 43 | 44 | SPHERE 45 | 5. 5. 8.66025403784 46 | 3. 3. 3. 47 | 0. 0. 0. 48 | 1. 1. 1. 49 | 2.5 2.5 2.5 50 | 0 51 | 52 | SPHERE 53 | -5. 5. 8.66025403784 54 | 3. 3. 3. 55 | 0. 0. 0. 56 | 1. 1. 1. 57 | 2.5 2.5 2.5 58 | 0 59 | 60 | SPHERE 61 | 5. 5. -8.66025403784 62 | 3. 3. 3. 63 | 0. 0. 0. 64 | 1. 1. 1. 65 | 2.5 2.5 2.5 66 | 0 67 | 68 | SPHERE 69 | -5. 5. -8.66025403784 70 | 3. 3. 3. 71 | 0. 0. 0. 72 | 1. 1. 1. 73 | 2.5 2.5 2.5 74 | 0 75 | 76 | SPHERE 77 | 0. 5. 0. 78 | 3.5 1. 3.5 79 | 0. 0. 0. 80 | 1. 1. 1. 81 | 2.5 2.5 2.5 82 | 0 83 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/io/put/ft_putchar_fd.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putchar_fd.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:54 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:15 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putchar_fd(char c, int fd) 16 | { 17 | write(fd, &c, 1); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/math/op/ft_abs.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_abs.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:32 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_u64 ft_abs(t_s64 x) 16 | { 17 | return (x < 0 ? -x : x); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/mem/ft_bzero.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_bzero.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:46 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:46 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_mem.h" 14 | 15 | void ft_bzero(void *s, size_t n) 16 | { 17 | ft_memset(s, '\0', n); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/mem/ft_not_msb.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_not_msb.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/04/20 15:46:02 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:48 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_mem.h" 14 | 15 | inline t_u64 ft_not_msb(t_u64 x) 16 | { 17 | return (x & _NOT_MSB_); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/examples/room1.rt: -------------------------------------------------------------------------------- 1 | SPHERE 2 | 0 3 | 0. 25. -35. 4 | 10. 10. 10. 5 | 0. 0. 0. 6 | 1. 1. 1. 7 | 1. 1. 1. 8 | 1000000. 9 | 10 | PLANE 11 | 1 12 | -60. 0. 0. 13 | 1. 1. 1. 14 | 0. 0. 1.57079632679 15 | 0.8 0. 0. 16 | 3. 3. 3. 17 | 1. 18 | 19 | PLANE 20 | 1 21 | 0. 0. -40. 22 | 1. 1. 1. 23 | 1.57079632679 0. 0. 24 | 0. 0.8 0. 25 | 3. 3. 3. 26 | 1. 27 | 28 | PLANE 29 | 1 30 | 60. 0. 0. 31 | 1. 1. 1. 32 | 0. 0. 1.57079632679 33 | 0. 0. 0.8 34 | 3. 3. 3. 35 | 1. 36 | 37 | PLANE 38 | 1 39 | 0. -20. 0. 40 | 1. 1. 1. 41 | 0. 0. 0. 42 | 0.8 0.8 0. 43 | 4. 4. 4. 44 | 1. 45 | 46 | PLANE 47 | 1 48 | 0. 40. 0. 49 | 1. 1. 1. 50 | 0. 0. 0. 51 | 0. 0.8 0.8 52 | 4. 4. 4. 53 | 1. 54 | 55 | PLANE 56 | 1 57 | 0. 0. 40. 58 | 1. 1. 1. 59 | 1.57079632679 0. 0. 60 | 0.8 0. 0.8 61 | 3. 3. 3. 62 | 1. 63 | 64 | SPHERE 65 | 2 66 | 3. 0. 0. 67 | 2. 2. 2. 68 | 0. 0. 0. 69 | 1. 1. 1. 70 | 4. 4. 4. 71 | 1. 72 | 73 | SPHERE 74 | 3 75 | 0. -3. 0. 76 | 2. 2. 2. 77 | 0. 0. 0. 78 | 1. 1. 1. 79 | 4. 4. 4. 80 | 1. 81 | 82 | SPHERE 83 | 4 84 | -3. 0. 0. 85 | 2. 2. 2. 86 | 0. 0. 0. 87 | 1. 1. 1. 88 | 4. 4. 4. 89 | 1. 90 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/examples/room2.rt: -------------------------------------------------------------------------------- 1 | SPHERE 2 | 0 3 | 0. 25. -35. 4 | 10. 10. 10. 5 | 0. 0. 0. 6 | 1. 1. 1. 7 | 1. 1. 1. 8 | 10000. 9 | 10 | PLANE 11 | 1 12 | -60. 0. 0. 13 | 1. 1. 1. 14 | 0. 0. 1.57079632679 15 | 0.8 0. 0. 16 | 3. 3. 3. 17 | 1. 18 | 19 | PLANE 20 | 0 21 | 0. 0. -40. 22 | 1. 1. 1. 23 | 1.57079632679 0. 0. 24 | 0. 0.8 0. 25 | 3. 3. 3. 26 | 1. 27 | 28 | PLANE 29 | 1 30 | 60. 0. 0. 31 | 1. 1. 1. 32 | 0. 0. 1.57079632679 33 | 0. 0. 0.8 34 | 3. 3. 3. 35 | 1. 36 | 37 | PLANE 38 | 1 39 | 0. -20. 0. 40 | 1. 1. 1. 41 | 0. 0. 0. 42 | 0.8 0.8 0. 43 | 4. 4. 4. 44 | 1. 45 | 46 | PLANE 47 | 1 48 | 0. 40. 0. 49 | 1. 1. 1. 50 | 0. 0. 0. 51 | 0. 0.8 0.8 52 | 4. 4. 4. 53 | 1. 54 | 55 | PLANE 56 | 1 57 | 0. 0. 40. 58 | 1. 1. 1. 59 | 1.57079632679 0. 0. 60 | 0.8 0. 0.8 61 | 3. 3. 3. 62 | 1. 63 | 64 | SPHERE 65 | 2 66 | 3. 0. 0. 67 | 2. 2. 2. 68 | 0. 0. 0. 69 | 1. 1. 1. 70 | 4. 4. 4. 71 | 1. 72 | 73 | SPHERE 74 | 3 75 | 0. -3. 0. 76 | 2. 2. 2. 77 | 0. 0. 0. 78 | 1. 1. 1. 79 | 4. 4. 4. 80 | 1. 81 | 82 | SPHERE 83 | 4 84 | -3. 0. 0. 85 | 2. 2. 2. 86 | 0. 0. 0. 87 | 1. 1. 1. 88 | 4. 4. 4. 89 | 1. 90 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/str/char/ft_isalnum.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_isalnum.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:47 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:16:09 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_str.h" 14 | 15 | inline int ft_isalnum(int c) 16 | { 17 | return (ft_isalpha(c) || ft_isdigit(c)); 18 | } 19 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/build_debian/build/.libs/libSDL2main.lai: -------------------------------------------------------------------------------- 1 | # libSDL2main.la - a libtool library file 2 | # Generated by libtool (GNU libtool) 2.4.2 3 | # 4 | # Please DO NOT delete this file! 5 | # It is necessary for linking the library. 6 | 7 | # The name that we can dlopen(3). 8 | dlname='' 9 | 10 | # Names of this library. 11 | library_names='' 12 | 13 | # The name of the static archive. 14 | old_library='libSDL2main.a' 15 | 16 | # Linker flags that can not go in dependency_libs. 17 | inherited_linker_flags='' 18 | 19 | # Libraries that this one depends upon. 20 | dependency_libs='' 21 | 22 | # Names of additional weak libraries provided by this library 23 | weak_library_names='' 24 | 25 | # Version information for libSDL2main. 26 | current=0 27 | age=0 28 | revision=0 29 | 30 | # Is this an already installed library? 31 | installed=yes 32 | 33 | # Should we warn about portability when linking against -modules? 34 | shouldnotlink=no 35 | 36 | # Files to dlopen/dlpreopen 37 | dlopen='' 38 | dlpreopen='' 39 | 40 | # Directory that this library needs to be installed in: 41 | libdir='/usr/local/lib' 42 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/math/conv/ft_itoa.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_itoa.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:49 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:55 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | char *ft_itoa(long n) 16 | { 17 | return (ft_itoa_base(n, DECIM)); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/math/op/ft_fabs.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_fabs.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/09/28 06:15:37 by fulguritu #+# #+# */ 9 | /* Updated: 2018/09/28 06:15:40 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_float ft_fabs(t_float x) 16 | { 17 | return (x < 0. ? -x : x); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/math/op/ft_max.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_max.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:33 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_s64 ft_max(t_s64 a, t_s64 b) 16 | { 17 | return (a > b ? a : b); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/math/op/ft_min.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_min.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:33 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_s64 ft_min(t_s64 a, t_s64 b) 16 | { 17 | return (a < b ? a : b); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/lst/io/ft_putlstelem.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putlstelem.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:54 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:15 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putlstelem(t_list *elem) 16 | { 17 | if (elem) 18 | ft_putlstelem_fd(elem, 1); 19 | } 20 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/libft/src/str/strls/ft_strlsnew.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_strlsnew.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/20 04:41:59 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:16:48 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_str.h" 14 | 15 | char **ft_strlsnew(t_u32 y, size_t x) 16 | { 17 | return (ft_strlscnew(y, x, '\0')); 18 | } 19 | -------------------------------------------------------------------------------- /lib/SDL2-2.0.9/build_debian/build/.libs/libSDL2_test.lai: -------------------------------------------------------------------------------- 1 | # libSDL2_test.la - a libtool library file 2 | # Generated by libtool (GNU libtool) 2.4.2 3 | # 4 | # Please DO NOT delete this file! 5 | # It is necessary for linking the library. 6 | 7 | # The name that we can dlopen(3). 8 | dlname='' 9 | 10 | # Names of this library. 11 | library_names='' 12 | 13 | # The name of the static archive. 14 | old_library='libSDL2_test.a' 15 | 16 | # Linker flags that can not go in dependency_libs. 17 | inherited_linker_flags='' 18 | 19 | # Libraries that this one depends upon. 20 | dependency_libs='' 21 | 22 | # Names of additional weak libraries provided by this library 23 | weak_library_names='' 24 | 25 | # Version information for libSDL2_test. 26 | current=0 27 | age=0 28 | revision=0 29 | 30 | # Is this an already installed library? 31 | installed=yes 32 | 33 | # Should we warn about portability when linking against -modules? 34 | shouldnotlink=no 35 | 36 | # Files to dlopen/dlpreopen 37 | dlopen='' 38 | dlpreopen='' 39 | 40 | # Directory that this library needs to be installed in: 41 | libdir='/usr/local/lib' 42 | -------------------------------------------------------------------------------- /ref/rtv1_aduquesn/libft/src/ft_isalpha.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_isalpha.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: aduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/15 02:08:08 by aduquesn #+# #+# */ 9 | /* Updated: 2017/11/15 02:08:08 by aduquesn ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "../libft.h" 14 | 15 | int ft_isalpha(int c) 16 | { 17 | return (('A' <= c && c <= 'Z') || 18 | ('a' <= c && c <= 'z')); 19 | } 20 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/examples/showcase0.rt: -------------------------------------------------------------------------------- 1 | LIGHT 2 | 1. 40. 15. 3 | 1. 1. 1. 4 | 1000000. 5 | 6 | LIGHT 7 | -20. 20. 5. 8 | 1. 0. 0. 9 | 400000. 10 | 11 | SPHERE 12 | 0. 0. 0. 13 | 1. 2. 3. 14 | 0. 1.57079632679 0. 15 | 0.1 0.1 0.1 16 | 4. 4. 4. 17 | 18 | SPHERE 19 | 0. 0. -10. 20 | 3. 3. 3. 21 | 0. 0. 0. 22 | 1. 0. 0. 23 | 4.5 4.5 4.5 24 | 25 | INFCYLINDER 26 | 5. 5. -9. 27 | 0.5 1. 3. 28 | 0.78539816339 0. 0. 29 | 0. 1. 0. 30 | 4. 4. 4. 31 | 32 | INFCONE 33 | -5. 0. -9. 34 | 0.4 1. 0.4 35 | 0. 0. 0. 36 | 0. 0. 1. 37 | 3. 4. 5. 38 | 39 | PLANE 40 | -5. -20. -9. 41 | 1. 1. 1. 42 | 0. 0. 0. 43 | 0.7 0.7 0.7 44 | 4. 4. 4. 45 | 46 | DISK 47 | -10. 0. 1. 48 | 10. 1. 2. 49 | 1.57079632679 0.78539816339 0. 50 | 1. 0.5 0. 51 | 7. 7. 7. 52 | 53 | SQUARE 54 | 1. 41. 16. 55 | 10. 10. 5. 56 | 1.57079632679 0.78539816339 0. 57 | 0.7 0.1 0.5 58 | 6. 6. 6. 59 | 60 | TRIANGLE 61 | 1. 21. 16. 62 | 8. 10. 4. 63 | 1.57079632679 0.78539816339 0. 64 | 0.7 0.7 0.2 65 | 5. 5. 5. 66 | 67 | CYLINDER 68 | 20. 0. 0. 69 | 3. 5. 1. 70 | 0.78539816339 -0.78539816339 1.57079632679 71 | 0.1 0.5 0.8 72 | 4.5 4.5 4.5 73 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/io/put/ft_putendl.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putendl.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:54 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:15 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putendl(const char *s) 16 | { 17 | if (s) 18 | ft_putendl_fd(s, 1); 19 | } 20 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/io/put/ft_putstr.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_putstr.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:56 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:17 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_io.h" 14 | 15 | void ft_putstr(const char *s) 16 | { 17 | if (s) 18 | ft_putstr_fd(s, 1); 19 | } 20 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/math/conv/ft_digits.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_digits.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:47 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:13:54 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | int ft_digits(intmax_t n) 16 | { 17 | return (ft_digits_base(n, 10)); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/math/op/ft_umax.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_umax.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:34 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_u64 ft_umax(t_u64 a, t_u64 b) 16 | { 17 | return (a > b ? a : b); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/math/op/ft_umin.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_umin.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/02/25 00:29:04 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:14:34 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_math.h" 14 | 15 | inline t_u64 ft_umin(t_u64 a, t_u64 b) 16 | { 17 | return (a < b ? a : b); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/str/char/ft_isascii.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_isascii.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:48 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:16:10 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_str.h" 14 | 15 | inline int ft_isascii(int c) 16 | { 17 | return (0 <= c && c <= 127); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/str/char/ft_isdigit.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_isdigit.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: tduquesn +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2017/11/17 21:31:48 by tduquesn #+# #+# */ 9 | /* Updated: 2018/05/12 17:16:10 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_str.h" 14 | 15 | inline int ft_isdigit(int c) 16 | { 17 | return ('0' <= c && c <= '9'); 18 | } 19 | -------------------------------------------------------------------------------- /ref/rtv1_tduquesn/.validation_format/libft/src/str/char/ft_islower.c: -------------------------------------------------------------------------------- 1 | /* ************************************************************************** */ 2 | /* */ 3 | /* ::: :::::::: */ 4 | /* ft_islower.c :+: :+: :+: */ 5 | /* +:+ +:+ +:+ */ 6 | /* By: fulguritude +#+ +:+ +#+ */ 7 | /* +#+#+#+#+#+ +#+ */ 8 | /* Created: 2018/03/30 23:09:03 by fulguritu #+# #+# */ 9 | /* Updated: 2018/05/12 17:16:10 by fulguritu ### ########.fr */ 10 | /* */ 11 | /* ************************************************************************** */ 12 | 13 | #include "libft_str.h" 14 | 15 | inline int ft_islower(int c) 16 | { 17 | return ('a' <= c && c <= 'z'); 18 | } 19 | --------------------------------------------------------------------------------