aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replaced OpenGL12 with SDL's gl/glu/glext units because OpenGL12 was removed ↵tobigun2008-05-025-10010/+249
| | | | | | | | from SDL (several years ago? Last update was done in 2004). In addition OpenGL12 was very buggy (see last commit). The new units support OpenGL up to version 2.0 (extensions must be loaded first, see UGraphic.LoadOpenGLExtensions). At the moment, only 1.2 extensions are loaded. Some constants, that were introduced in OpenGL 1.2 and above (like GL_BGR or GL_CLAMP_TO_EDGE) are in glext.pas, so check this file first for missing constants. The MacOS build depends on OpenGL12.pas but has its own file in the MacOSX/Wrapper folder instead of using the JEDI-SDL one. Sorry, that I broke MacOSX build for now but it should be no problem to get this working again. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1052 b956fd51-792f-4845-bead-9b4dfca2ff2c
* bugfix: USDX crashed while unloading opengl because of a bug in opengl12.pas ↵tobigun2008-05-021-0/+2
| | | | | | (Glu was unloaded twice, because the handle of the main gl-lib was overwritten with that of glu) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1050 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Applied this fix ↵tobigun2008-05-013-8682/+9968
| | | | | | | | https://sourceforge.net/tracker/index.php?func=detail&aid=1902924&group_id=43805&atid=437446 for 64bit compatibility with SDL. Thanks kambi for the patch, and escaped, tronikku and all the others for some other patches and/or testing. Now USDX should be x64 compatible. Please test and report errors. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1049 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed old projectM stufftobigun2008-04-222-926/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1032 b956fd51-792f-4845-bead-9b4dfca2ff2c
* missed some files for projectMtobigun2008-04-222-0/+926
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1031 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - new layout of the projectM lib-dir. tobigun2008-04-2210-665/+667
| | | | | | | - PROJECTM_..._PLUS variable in config-....inc not needed anymore. - Support for projectM 1.1 (=1.10) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1030 b956fd51-792f-4845-bead-9b4dfca2ff2c
* ffmpeg update to a newer versiontobigun2008-04-226-27/+107
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1029 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Removed Libraries Dir because of problems with some dllsf1fth_freed0m2008-04-158-8/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1022 b956fd51-792f-4845-bead-9b4dfca2ff2c
* started to implement the new folder structure (like suggested in the wiki)f1fth_freed0m2008-04-128-8/+8
| | | | | | | -merged Skins and Themes in Themes -moved some libs to Libraries git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1021 b956fd51-792f-4845-bead-9b4dfca2ff2c
* import of external variables does not work in fpc (why?)tobigun2008-04-061-980/+969
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1008 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - removed (linux incompatible) PngImage. In addition it was rather outdated ↵tobigun2008-04-0626-11606/+1187
| | | | | | | | | | | (from 2003, newest version is from 2006) - introduced UImage-unit for JPG/PNG/BMP image saving - the png part uses the libpng12-0.dll (part of SDL_Image) so - the jpg part uses either Delphi's Jpeg unit or FPC's base/pasjpeg unit -> so no additional libs are needed. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1007 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed lazarus dependenciestobigun2008-04-064-20/+10
| | | | | | | | | | | | - added an implementation of AllocateHWnd/DeallocateHWnd to UCommon for the Win32 only units DirWatch and Midi... (do not use AllocateHWnd somewhere else) - added an own implementation of ShowMessage to UCommon (uses MessageBox in Windows, console-output otherwise) - linux still needs lresources for the lrs-file (will be removed soon) - the FPC windows version uses windows resources now (instead of lrs ones). compile them with windres (in FPC's "bin" dir) or delphi (a batch-file for windres will follow soon) - changed path-separator from '\' to '/' in RC-file for windres compatibility git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1006 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - av_log_get_level()/av_log_set_level() addedtobigun2008-03-211-0/+56
| | | | | | - now uninformative FFmpeg error-messages can be disabled git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@965 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Delphi (in contrast to C/C++) handles floating-point multiplications with ↵tobigun2008-03-203-19/+83
| | | | | | | | | | NaN or divisions by 0.0 as floating-point exceptions (FPE). This is a problem with some libraries which expect that e.g. "NaN * 3.0" is NaN or "4.0 / 0" is INFINITY. - The (strange) default behavior can be changed by setting the control word of the FPU. This is done by assigning $133F to this register via Set8087CW() in delphi. In FPC it was not available for a long time but now it is. OpenGL12.pas contained an own version of Set8087CW() which was totally wrong because the important asm-directives (fclex and fldcw) were missing so it was not of any use. Hence it was removed from the unit so it does not hide the correct FPC version anymore. - This should fix some EDivByZero exceptions in floating-point expressions (as with projectM). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@962 b956fd51-792f-4845-bead-9b4dfca2ff2c
* re-added local variable that was required for windows.jaybinks2008-03-101-1/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@952 b956fd51-792f-4845-bead-9b4dfca2ff2c
* auto removed a bunch of unused local variablesjaybinks2008-03-102-4362/+4362
| | | | | | | | ( removed with a script parsing compiler output ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@950 b956fd51-792f-4845-bead-9b4dfca2ff2c
* DeviceID must be unsigned.tobigun2008-03-091-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@945 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed "untyped pointer in Dispose-call is meaningless" warning.tobigun2008-03-071-119/+119
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@933 b956fd51-792f-4845-bead-9b4dfca2ff2c
* update to current SVN versiontobigun2008-03-075-16/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@931 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added all contents of the orginal Audacity FFT-file although it might be ↵tobigun2008-03-061-4/+258
| | | | | | replaced by FFTW someday git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@922 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added first steps to building some unit tests.jaybinks2008-03-061-26/+26
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@920 b956fd51-792f-4845-bead-9b4dfca2ff2c
* delphi 7 compatibility (inline was introduced with delphi 2005)tobigun2008-03-034-10/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@902 b956fd51-792f-4845-bead-9b4dfca2ff2c
* compatibility for fpc < 2.2.0 (at least 2.0.4)tobigun2008-02-212-0/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@877 b956fd51-792f-4845-bead-9b4dfca2ff2c
* libsamplerate header-files. Ported from C to Pascal by profoX` with some ↵tobigun2008-02-201-0/+205
| | | | | | | | | | minor fixes by me. Thank you profoX`. This might be used as a more accurate (and faster?) alternative to the SDL conversion stuff. In addition SDL does not convert 44.1kHz to 48kHz (or vice versa) at the moment, libsamplerate does. But libsamplerate does not support mono-to-stereo or multi-channel-to-stereo conversion and it just accepts float-values so we have to convert our 16-bit int-values first. Maybe we should use the callback-style conversion of libsamplerate. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@874 b956fd51-792f-4845-bead-9b4dfca2ff2c
* FFT library taken from Audacity and ported to Pascal.tobigun2008-02-201-0/+345
| | | | | | | This will be used for the GetFFTData-Function of the Audio-Playback. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@873 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Made the midi-stuff FPC (for windows) compatible.tobigun2008-02-207-57/+86
| | | | | | Now (in windows) FPC contains all functionalities of the delphi build. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@872 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed line endings for windows.jaybinks2008-02-201-13/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@869 b956fd51-792f-4845-bead-9b4dfca2ff2c
* A C-Wrapper to make the ProjectM C++-Headers usable in Delphi.tobigun2008-02-194-0/+323
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@861 b956fd51-792f-4845-bead-9b4dfca2ff2c
* builds nice... and builds deb also that runs / works ..jaybinks2008-02-121-1/+5
| | | | | | mostly :P git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@846 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added yum install linejaybinks2008-02-081-22/+7
| | | | | | Thanks Kdub git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@842 b956fd51-792f-4845-bead-9b4dfca2ff2c
* compatibility with the current svn-versiontobigun2008-02-078-22/+56
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@837 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Made this FPC (for windows) compatibletobigun2008-02-051-1/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@821 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - config-win.pas: swscale must be undefined by defaulttobigun2008-02-051-1/+1
| | | | | | - swscale.pas: corrected "config" to "UConfig" git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@817 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Update of the ffmpeg headers to their current trunk versions.tobigun2008-02-0513-4910/+5034
| | | | | | | | IMPORTANT: parameter of av_free_packet is a pointer now procedure av_free_packet (pkt: PAVPacket); as it is with av_free() and av_freep() git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@814 b956fd51-792f-4845-bead-9b4dfca2ff2c
* updated to latest version of JEDI SDLjaybinks2008-02-0517-2490/+4253
| | | | | | JEDI-SDL v1.0 Final RC ( 2008-01-29 05:46 ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@811 b956fd51-792f-4845-bead-9b4dfca2ff2c
* renamed Jedi-SDL folder.jaybinks2008-02-0529-0/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@810 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added Jedi-SDL to our SVN tree..jaybinks2008-02-0530-4/+45563
| | | | | | | simplifies SVN checkout and build, and now that this version is well and truly deprecated, we should keep it here in case its removed. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@809 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed compiling and typos on OS X.eddie-08152008-01-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@788 b956fd51-792f-4845-bead-9b4dfca2ff2c
* FPC compatible FFMPEG versioning support. Version-numbers are in the form ↵tobigun2008-01-112-99/+99
| | | | | | AAIISS now instead of AA.IISS (which is not supported by fpc) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@783 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed one of the doubled CDECLs in av_register_codec_parsertobigun2008-01-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@782 b956fd51-792f-4845-bead-9b4dfca2ff2c
* there were some changes in the ffmpeg interface (for example ↵tobigun2008-01-118-85/+121
| | | | | | | | TAVFormatContext's pb member is a pointer now). To better track version changes, version numbers of the dlls are now managed by the version.inc file. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@779 b956fd51-792f-4845-bead-9b4dfca2ff2c
* eddie is right: pb is a pointer and not a TByteIOContext struct.tobigun2008-01-101-4/+3
| | | | | | I changed the generic Pointer to a PByteIOContext to be more specific. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@778 b956fd51-792f-4845-bead-9b4dfca2ff2c
* "MATHEMATICS.pas" is now "mathematics.pas"tobigun2008-01-101-0/+79
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@777 b956fd51-792f-4845-bead-9b4dfca2ff2c
* "MATHEMATICS.pas" is now "mathematics.pas"tobigun2008-01-101-66/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@776 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Changed DLL/so/dylib constants.eddie-08152008-01-092-11/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@772 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Changed DLL/so/dylib constants. Changed TAVFormatContext fiels "pb" from ↵eddie-08152008-01-091-701/+706
| | | | | | structure to pointer. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@771 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Changed MACOS define to DARWIN.eddie-08152008-01-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@767 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added readme and scripts for building and patching ffmpeg on OS X.eddie-08152008-01-093-0/+52
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@762 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added a missing override-flag for the destroy-destructortobigun2007-12-182-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@731 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added a cdecl for the TAVPacket.destruct procedure.tobigun2007-12-181-695/+695
| | | | | | | This fixes the av_free_packet() errors. Because of this bug, memory was never freed by av_free_packet and other memory areas were corrupted. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@729 b956fd51-792f-4845-bead-9b4dfca2ff2c