aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/USongs.pas (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added UPlatform.pas. This should be the first step to move the simple ↵eddie-08152007-11-081-184/+38
| | | | | | | | platform specific code to one file for each platform to reduce the IFDEFs in the remaining files. The first available function is a unicode capable DirectoryFindFiles. It is now used in the BrowseDir function in file USongs.pas. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@595 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Mac OS X: Added PseudoThread for debugging, because debugging of threaded ↵eddie-08152007-11-081-3/+22
| | | | | | code causes problems with Xcode and FreePascal. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@594 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Mac OS X: We're getting closer! Songs get loaded. Sound is playing on the ↵eddie-08152007-11-051-47/+47
| | | | | | SingScreen. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@591 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Mac OS X: Added unit cthreads. USDX now runs on OS X! But you can't do ↵eddie-08152007-11-031-1045/+1048
| | | | | | anything :-) Fonts are not working, but you can quit the program cleanly by pressing ESC and ENTER (MainLoop works). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@565 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Windows Lazarus Build working again...jaybinks2007-11-031-1043/+1045
| | | | | | | | | Lazarus Project file includes the DPR, so that we have a unified Uses Clause ( keep this in mind please ) added "Delphi" to switches git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@560 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed MacOSX version. Can we use baseunix on linux? We could drop oldlinux ↵eddie-08152007-11-021-14/+22
| | | | | | then (not available on the mac). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@555 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Runtime Song Additionjaybinks2007-11-021-16/+50
| | | | | | jira:USDX-157 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@553 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix bad build#USDX-DELPHI-99jaybinks2007-11-021-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@550 b956fd51-792f-4845-bead-9b4dfca2ff2c
* basic threading of song loading..jaybinks2007-11-021-27/+126
| | | | | | | | | with some stubs for event based song list reloading. so songs can be added while the game is being played, potentially. and startup isnt slowed down by loading all the songs, as its done in the background. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@549 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed failed buildsjaybinks2007-11-011-2/+7
| | | | | | | | | | | | | | build:USDX-LAZLIN-75 build:USDX-LAZLIN-76 for some reason we can not use {$MODE Delphi} in an included file. ( Probably because of the way the compier scopes this switch to each pas file ) ive had to revert this part of eddies changes. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@548 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Mac OS X version compiles and links. I hope I didn't break too many files on ↵eddie-08152007-11-011-10/+78
| | | | | | | | | | windows/linux. Added switches.inc to all files. Changed many IFDEFs. For Windows-only code please use MSWINDOWS instead of WIN32 now. WIN32 is also used by the Mac port. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@546 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed build error since build#USDX-LAZLIN-65jaybinks2007-10-291-34/+77
| | | | | | doh :( git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@542 b956fd51-792f-4845-bead-9b4dfca2ff2c
* made some major progress with ffmpeg audio playback !!!jaybinks2007-10-271-31/+34
| | | | | | | | | | | | | | YAY !!! still a little choppy, so I suspect incorrect buffer sizes or something like that. also made some mods to support Unicode song file iteration on windows, this is no worse than what we had before, but is not complete.. oh this code only supports win 2000 and up .. no Win 98... git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@533 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed my oops, and have also fixed bamboo build to show this error.. dohjaybinks2007-10-271-3/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@532 b956fd51-792f-4845-bead-9b4dfca2ff2c
* first effort to work towards jira#USDX-60jaybinks2007-10-251-756/+777
| | | | | | | | | | song directory enumeration is now unicode compliant on linux. still needs doing for windows, with wfindfile ( I think thats the right name ) this still relies on sdl_ttf and lots of other changes, but I had a few min and wanted to play with this :) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@527 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed song loading in Lazarus..jaybinks2007-09-241-753/+756
| | | | | | | cant assume variables are initialized as 0 :) in UFile "Done: byte;" was no initialized on lazarus compiler. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@431 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed a bunch of path delimiter issues on linux build :)jaybinks2007-09-201-753/+753
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@411 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added UCommon ( in classes ) for lazarus...jaybinks2007-09-191-0/+6
| | | | | | | | | | | common functions needed for lazarus ( and others ) can be put in here. also this now compiles on lazarus.. ( dosnt link yet... but I dont get any critical compiler errors ) tested to compile in my delphi, and basic functionality is fine. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@395 b956fd51-792f-4845-bead-9b4dfca2ff2c
* * added missed dependency PNGImage.jaybinks2007-09-121-1/+5
| | | | | | | | | * moved FUNCTION InitializePaths(), from uFiles to uMain as this is a more sane location for it. * updated files that used UFiles to point to UMain, and removed uFiles where its not needed. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@385 b956fd51-792f-4845-bead-9b4dfca2ff2c
* all SongFile Loading and Saving procedures moved to UFiles.whiteshark02007-05-161-1/+1
| | | | | | | Added Some Tolerance in Song File Loading and Song Header Loading. Fix: Programm doesn't Crash anymore when a coruppted Song is loaded for Singing or Editing. Now Jump back to SongScreen and show an Error Message. Also Party Mode is not Interupted, a new Song will be selected automatically. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@197 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed the "one Song too much" Bugwhiteshark02007-05-081-1/+1
| | | | | | | | | Added 2 Error Messages: When Opening Sing or Party: No Songs Loaded When Opening Party: No Plugins loaded Added Messages to Language File git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@182 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed: SongSorting is CaseSensitivewhiteshark02007-04-231-18/+18
| | | | | | Inspired by official Ultrastar SVN git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@127 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Some Memory tweaking (13 MB Less Ram using at 800 Songs)whiteshark02007-04-201-3/+23
| | | | | | Some Loading Time tweaking (From 8 Secs to 6 Secs on my Computer) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@123 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed Some Bugs in JumpTo Screen:whiteshark02007-03-291-0/+1
| | | | | | | | Now plays correct music Space Bug is gone Added onSentenceChange Procedure to ScreenSing git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@48 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added Jumpto Ability to SongScreen (Press J)whiteshark02007-03-281-11/+66
| | | | | | Fixed: Golden Notes are not shown in PartyMode git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@39 b956fd51-792f-4845-bead-9b4dfca2ff2c
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1 ↵whiteshark02007-03-211-0/+667
b956fd51-792f-4845-bead-9b4dfca2ff2c