aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SDL_Init(SDL_INIT_AUDIO) prevents Portaudio from acquiring the soundcard (no ↵tobigun2008-01-111-1/+1
| | | | | | | | sound). Use SDL_Init_Subsystem(SDL_INIT_AUDIO) if SDL is used instead of Portaudio for audio output. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@787 b956fd51-792f-4845-bead-9b4dfca2ff2c
* changed from ffmpeg-free (audio) to ffmpeg-enabled (if turned on in ↵tobigun2008-01-119-2239/+200
| | | | | | | | switches.inc) version. BASS is used by default. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@786 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Updated to the new audio-interfacetobigun2008-01-111-16/+70
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@785 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Cleanup: Use the property Position in favor of MoveTo() (MoveTo() will be ↵tobigun2008-01-113-9/+9
| | | | | | SetPosition() soon) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@784 b956fd51-792f-4845-bead-9b4dfca2ff2c
* FPC compatible FFMPEG versioning support. Version-numbers are in the form ↵tobigun2008-01-114-1080/+100
| | | | | | 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
* do not initialize sdl_audio at this placetobigun2008-01-111-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@781 b956fd51-792f-4845-bead-9b4dfca2ff2c
* some minor changestobigun2008-01-112-3/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@780 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
* partial seeking and mixing supporttobigun2008-01-102-121/+275
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@775 b956fd51-792f-4845-bead-9b4dfca2ff2c
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@774 ↵eddie-08152008-01-091-0/+1407
| | | | b956fd51-792f-4845-bead-9b4dfca2ff2c
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@773 ↵eddie-08152008-01-092-246/+266
| | | | 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
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@770 ↵eddie-08152008-01-092-6/+4
| | | | b956fd51-792f-4845-bead-9b4dfca2ff2c
* Changed the GamePath. Now the GamePath is loaded from Platform.GetGameUserPath.eddie-08152008-01-091-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@769 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added UTF8-Conversion for values read out of the txt file. This must be done ↵eddie-08152008-01-091-1/+11
| | | | | | only on OS X. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@768 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
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@766 ↵eddie-08152008-01-091-1/+1
| | | | b956fd51-792f-4845-bead-9b4dfca2ff2c
* Changed BrowsePos from Cardinal to Integer, because of range check errors at ↵eddie-08152008-01-091-1/+1
| | | | | | runtime. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@765 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added the new GetxxxxPath functions for OS X.eddie-08152008-01-091-2/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@764 b956fd51-792f-4845-bead-9b4dfca2ff2c
* The constant NAN causes a range check error on OS X. I've set LastDrawBeat ↵eddie-08152008-01-091-0/+10
| | | | | | to 0 - would this be OK for all Platforms? git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@763 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
* Use /bin/bash to execute lazres-UltraStar.sh as a temporary solution to be ↵wesleyprofox2008-01-082-2/+2
| | | | | | | | | able to compile the resources (better solution would be to make the script fully POSIX-compliant) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@761 b956fd51-792f-4845-bead-9b4dfca2ff2c
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@760 ↵jaybinks2008-01-081-1/+1
| | | | b956fd51-792f-4845-bead-9b4dfca2ff2c
* this script seems to build a deb now...jaybinks2008-01-081-0/+13
| | | | | | | | | | | | wonder if its correct :) or if it even works !! haha git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@759 b956fd51-792f-4845-bead-9b4dfca2ff2c
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@758 ↵jaybinks2008-01-082-27/+27
| | | | b956fd51-792f-4845-bead-9b4dfca2ff2c
* first revision of my helper script to move files to the correct locations ↵jaybinks2008-01-081-0/+18
| | | | | | for packaging. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@757 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added my dodgey control file :)jaybinks2008-01-081-0/+9
| | | | | | ( for deb packaging ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@756 b956fd51-792f-4845-bead-9b4dfca2ff2c
* experimental positioning support addedtobigun2007-12-281-2/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@753 b956fd51-792f-4845-bead-9b4dfca2ff2c
* New class-structure seperates decoders/input and playback.tobigun2007-12-285-0/+2430
| | | | | | | The files aren't used in usdx until they are stable so they will not conflict with the old structure. The older files (UAudio_Bass etc.) will be replaced then. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@752 b956fd51-792f-4845-bead-9b4dfca2ff2c
* FileErrorO is set to true to early. Even if FileError couldn't be opened it ↵tobigun2007-12-271-1/+1
| | | | | | will be set to true and hence usdx tries to close and unopened fileerror-stream later which results in a segmentation fault git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@750 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added missing return-values (always true) to InitCore and LoadCore.tobigun2007-12-271-0/+3
| | | | | | Whiteshark: Please change this to the appropriate values. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@749 b956fd51-792f-4845-bead-9b4dfca2ff2c
* bug-fix: Tex_ScoreBG bounds were changed from [0..5] to [1..6] but ↵tobigun2007-12-271-789/+789
| | | | | | | | Tex_ScoreBG[0] was used at several places in the code. This corrupted Tex_SingLineBonusBack[8].Name and caused a segmentation fault. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@745 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed screenshot problemb1indy2007-12-221-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@743 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed a "typo"b1indy2007-12-221-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@740 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed a bunch of debugging from usdx startup.jaybinks2007-12-205-40/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@738 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added -localpaths command line switchjaybinks2007-12-202-4/+17
| | | | | | | so we dont always have to use the packaged locations. ( profox ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@737 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed hard-coded lazarus_v0924 define (why is it in there?)tobigun2007-12-201-2/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@736 b956fd51-792f-4845-bead-9b4dfca2ff2c
* made USDX function when file paths differ from previous expectations..jaybinks2007-12-2010-1078/+1183
| | | | | | | | ( most of the software was still using hard coded paths ) also added ability to have multiple song directories. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@735 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed divide by 0 bugs in score screen.jaybinks2007-12-201-161/+170
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@734 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Some more minor refining in the score screenmogguh2007-12-201-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@733 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Minor refinings in score screenmogguh2007-12-203-169/+583
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@732 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 missing override for the destroy-destructortobigun2007-12-181-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@730 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
* incorporated some improvements (video scaling to full width, seeking for ↵b1indy2007-12-181-115/+33
| | | | | | | | videogap) from 1.0.1 cleanup in UVideo.pas git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@728 b956fd51-792f-4845-bead-9b4dfca2ff2c