Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit dd6df3383e1980bba998b20b5ba90038486d60fe @camillol committed Jun 14, 2010
Showing with 21,479 additions and 0 deletions.
  1. +1 −0 Frameworks/freealut.framework/Headers
  2. +1 −0 Frameworks/freealut.framework/Resources
  3. +126 −0 Frameworks/freealut.framework/Versions/A/Headers/alut.h
  4. BIN Frameworks/freealut.framework/Versions/A/Resources/English.lproj/InfoPlist.strings
  5. +22 −0 Frameworks/freealut.framework/Versions/A/Resources/Info.plist
  6. BIN Frameworks/freealut.framework/Versions/A/freealut
  7. +1 −0 Frameworks/freealut.framework/Versions/Current
  8. +1 −0 Frameworks/freealut.framework/freealut
  9. +1 −0 Frameworks/libpng.framework/Headers
  10. +1 −0 Frameworks/libpng.framework/Resources
  11. +3,551 −0 Frameworks/libpng.framework/Versions/A/Headers/png.h
  12. +1,481 −0 Frameworks/libpng.framework/Versions/A/Headers/pngconf.h
  13. BIN Frameworks/libpng.framework/Versions/A/Resources/English.lproj/InfoPlist.strings
  14. +22 −0 Frameworks/libpng.framework/Versions/A/Resources/Info.plist
  15. BIN Frameworks/libpng.framework/Versions/A/libpng
  16. +1 −0 Frameworks/libpng.framework/Versions/Current
  17. +1 −0 Frameworks/libpng.framework/libpng
  18. +1 −0 Frameworks/plib.framework/Headers
  19. +1 −0 Frameworks/plib.framework/Resources
  20. +3,102 −0 Frameworks/plib.framework/Versions/A/Headers/sg.h
  21. +731 −0 Frameworks/plib.framework/Versions/A/Headers/sl.h
  22. +95 −0 Frameworks/plib.framework/Versions/A/Headers/slPortability.h
  23. +2,877 −0 Frameworks/plib.framework/Versions/A/Headers/ssg.h
  24. +63 −0 Frameworks/plib.framework/Versions/A/Headers/ssgAux.h
  25. +77 −0 Frameworks/plib.framework/Versions/A/Headers/ssgaFire.h
  26. +52 −0 Frameworks/plib.framework/Versions/A/Headers/ssgaLensFlare.h
  27. +115 −0 Frameworks/plib.framework/Versions/A/Headers/ssgaParticleSystem.h
  28. +21 −0 Frameworks/plib.framework/Versions/A/Headers/ssgaScreenDump.h
  29. +222 −0 Frameworks/plib.framework/Versions/A/Headers/ssgaShapes.h
  30. +131 −0 Frameworks/plib.framework/Versions/A/Headers/ssgaWaveSystem.h
  31. +55 −0 Frameworks/plib.framework/Versions/A/Headers/ssgconf.h
  32. +851 −0 Frameworks/plib.framework/Versions/A/Headers/ul.h
  33. BIN Frameworks/plib.framework/Versions/A/Resources/English.lproj/InfoPlist.strings
  34. +22 −0 Frameworks/plib.framework/Versions/A/Resources/Info.plist
  35. BIN Frameworks/plib.framework/Versions/A/plib
  36. +1 −0 Frameworks/plib.framework/Versions/Current
  37. +1 −0 Frameworks/plib.framework/plib
  38. +1 −0 Frameworks/zlib.framework/Resources
  39. +22 −0 Frameworks/zlib.framework/Versions/A/Resources/Info.plist
  40. BIN Frameworks/zlib.framework/Versions/A/zlib
  41. +1 −0 Frameworks/zlib.framework/Versions/Current
  42. +1 −0 Frameworks/zlib.framework/zlib
  43. +11 −0 Headers/isnan.h
  44. +1 −0 Headers/learning/ANN.h
  45. +1 −0 Headers/learning/Distribution.h
  46. +1 −0 Headers/learning/List.h
  47. +1 −0 Headers/learning/MathFunctions.h
  48. +1 −0 Headers/learning/ann_policy.h
  49. +1 −0 Headers/learning/learn_debug.h
  50. +1 −0 Headers/learning/policy.h
  51. +1 −0 Headers/learning/real.h
  52. +1 −0 Headers/learning/string_utils.h
  53. +1 −0 Headers/tmath/linalg_t.h
  54. +1 −0 Headers/tmath/straight2_t.h
  55. +1 −0 Headers/tmath/v2_t.h
  56. +1 −0 Headers/tmath/v3_t.h
  57. +1 −0 Headers/tmath/v4_t.h
  58. +26 −0 Info.plist
  59. +29 −0 MacTorcs Readme.rtf
  60. BIN Resources/Torcs.icns
  61. +6,857 −0 Torcs.xcodeproj/project.pbxproj
  62. +104 −0 mac_setup_resources.mk
  63. +785 −0 torcs-1.3.1-mac.diff
@@ -0,0 +1,126 @@
+#if !defined(AL_ALUT_H)
+#define AL_ALUT_H
+
+#if defined(_MSC_VER)
+#include <alc.h>
+#include <al.h>
+#elif defined(__APPLE__)
+#include <OpenAL/alc.h>
+#include <OpenAL/al.h>
+#else
+#include <AL/al.h>
+#include <AL/alc.h>
+#endif
+
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
+#if defined(_WIN32) && !defined(_XBOX)
+ #if defined (ALUT_BUILD_LIBRARY)
+ #define ALUT_API __declspec(dllexport)
+ #else
+ #define ALUT_API __declspec(dllimport)
+ #endif
+#else
+ #if defined(ALUT_BUILD_LIBRARY) && defined(HAVE_GCC_VISIBILITY)
+ #define ALUT_API __attribute__((visibility("default")))
+ #else
+ #define ALUT_API extern
+ #endif
+#endif
+
+#if defined(_WIN32)
+ #define ALUT_APIENTRY __cdecl
+#else
+ #define ALUT_APIENTRY
+#endif
+
+#if defined(__MWERKS_)
+ #pragma export on
+#endif
+
+/* Flag deprecated functions if possible (VisualC++ .NET and GCC >= 3.1.1). */
+#if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(MIDL_PASS)
+#define ALUT_ATTRIBUTE_DEPRECATED __declspec(deprecated)
+#elif defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && (__GNUC_MINOR__ > 1 || (__GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ >= 1))))
+#define ALUT_ATTRIBUTE_DEPRECATED __attribute__((deprecated))
+#else
+#define ALUT_ATTRIBUTE_DEPRECATED
+#endif
+
+#define ALUT_API_MAJOR_VERSION 1
+#define ALUT_API_MINOR_VERSION 1
+
+#define ALUT_ERROR_NO_ERROR 0
+#define ALUT_ERROR_OUT_OF_MEMORY 0x200
+#define ALUT_ERROR_INVALID_ENUM 0x201
+#define ALUT_ERROR_INVALID_VALUE 0x202
+#define ALUT_ERROR_INVALID_OPERATION 0x203
+#define ALUT_ERROR_NO_CURRENT_CONTEXT 0x204
+#define ALUT_ERROR_AL_ERROR_ON_ENTRY 0x205
+#define ALUT_ERROR_ALC_ERROR_ON_ENTRY 0x206
+#define ALUT_ERROR_OPEN_DEVICE 0x207
+#define ALUT_ERROR_CLOSE_DEVICE 0x208
+#define ALUT_ERROR_CREATE_CONTEXT 0x209
+#define ALUT_ERROR_MAKE_CONTEXT_CURRENT 0x20A
+#define ALUT_ERROR_DESTROY_CONTEXT 0x20B
+#define ALUT_ERROR_GEN_BUFFERS 0x20C
+#define ALUT_ERROR_BUFFER_DATA 0x20D
+#define ALUT_ERROR_IO_ERROR 0x20E
+#define ALUT_ERROR_UNSUPPORTED_FILE_TYPE 0x20F
+#define ALUT_ERROR_UNSUPPORTED_FILE_SUBTYPE 0x210
+#define ALUT_ERROR_CORRUPT_OR_TRUNCATED_DATA 0x211
+
+#define ALUT_WAVEFORM_SINE 0x100
+#define ALUT_WAVEFORM_SQUARE 0x101
+#define ALUT_WAVEFORM_SAWTOOTH 0x102
+#define ALUT_WAVEFORM_WHITENOISE 0x103
+#define ALUT_WAVEFORM_IMPULSE 0x104
+
+#define ALUT_LOADER_BUFFER 0x300
+#define ALUT_LOADER_MEMORY 0x301
+
+ALUT_API ALboolean ALUT_APIENTRY alutInit (int *argcp, char **argv);
+ALUT_API ALboolean ALUT_APIENTRY alutInitWithoutContext (int *argcp, char **argv);
+ALUT_API ALboolean ALUT_APIENTRY alutExit (void);
+
+ALUT_API ALenum ALUT_APIENTRY alutGetError (void);
+ALUT_API const char *ALUT_APIENTRY alutGetErrorString (ALenum error);
+
+ALUT_API ALuint ALUT_APIENTRY alutCreateBufferFromFile (const char *fileName);
+ALUT_API ALuint ALUT_APIENTRY alutCreateBufferFromFileImage (const ALvoid *data, ALsizei length);
+ALUT_API ALuint ALUT_APIENTRY alutCreateBufferHelloWorld (void);
+ALUT_API ALuint ALUT_APIENTRY alutCreateBufferWaveform (ALenum waveshape, ALfloat frequency, ALfloat phase, ALfloat duration);
+
+ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryFromFile (const char *fileName, ALenum *format, ALsizei *size, ALfloat *frequency);
+ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryFromFileImage (const ALvoid *data, ALsizei length, ALenum *format, ALsizei *size, ALfloat *frequency);
+ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryHelloWorld (ALenum *format, ALsizei *size, ALfloat *frequency);
+ALUT_API ALvoid *ALUT_APIENTRY alutLoadMemoryWaveform (ALenum waveshape, ALfloat frequency, ALfloat phase, ALfloat duration, ALenum *format, ALsizei *size, ALfloat *freq);
+
+ALUT_API const char *ALUT_APIENTRY alutGetMIMETypes (ALenum loader);
+
+ALUT_API ALint ALUT_APIENTRY alutGetMajorVersion (void);
+ALUT_API ALint ALUT_APIENTRY alutGetMinorVersion (void);
+
+ALUT_API ALboolean ALUT_APIENTRY alutSleep (ALfloat duration);
+
+/* Nasty Compatibility stuff, WARNING: THESE FUNCTIONS ARE STRONGLY DEPRECATED */
+#if defined(__APPLE__)
+ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutLoadWAVFile (ALbyte *fileName, ALenum *format, void **data, ALsizei *size, ALsizei *frequency);
+ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutLoadWAVMemory (ALbyte *buffer, ALenum *format, void **data, ALsizei *size, ALsizei *frequency);
+#else
+ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutLoadWAVFile (ALbyte *fileName, ALenum *format, void **data, ALsizei *size, ALsizei *frequency, ALboolean *loop);
+ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutLoadWAVMemory (ALbyte *buffer, ALenum *format, void **data, ALsizei *size, ALsizei *frequency, ALboolean *loop);
+#endif
+ALUT_API ALUT_ATTRIBUTE_DEPRECATED void ALUT_APIENTRY alutUnloadWAV (ALenum format, ALvoid *data, ALsizei size, ALsizei frequency);
+
+#if defined(__MWERKS_)
+ #pragma export off
+#endif
+
+#if defined(__cplusplus)
+}
+#endif
+
+#endif
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>freealut</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.yourcompany.yourcocoaframework</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>freealut</string>
+ <key>CFBundlePackageType</key>
+ <string>FMWK</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1.0</string>
+</dict>
+</plist>
Binary file not shown.
Oops, something went wrong.

0 comments on commit dd6df33

Please sign in to comment.