aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - 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
* swscale back to the way it should be (works, but is too slow for video scaling)b1indy2007-12-171-3/+3
| | | | | | if we need to scale textures it might be worth a try git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@718 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added version 1.0 for testingtobigun2007-12-173-381/+926
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@714 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some minor changes to make swscale workb1indy2007-12-171-3/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@712 b956fd51-792f-4845-bead-9b4dfca2ff2c
* linux fixtobigun2007-12-071-51/+71
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@695 b956fd51-792f-4845-bead-9b4dfca2ff2c
* trying to get projectM to run in linuxjaybinks2007-12-062-309/+319
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@692 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Visualizer changes (audio connection, some opengl fixes)tobigun2007-12-061-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@679 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added projectM header filetobigun2007-12-051-0/+354
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@676 b956fd51-792f-4845-bead-9b4dfca2ff2c
* bugfix: changed sqlite3.dll to SQLiteDLL (which was never used)tobigun2007-12-051-199/+199
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@662 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added {$PACKRECORDS C} for correct structuretobigun2007-12-052-1266/+1274
| | | | | | | alignment in Windows/Linux. Some cleanup done. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@661 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added swscaler as a replacement for the deprecated img_convert functiontobigun2007-12-051-0/+194
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@660 b956fd51-792f-4845-bead-9b4dfca2ff2c