aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed Windows.pas includeeddie-08152007-11-201-3/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@619 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed UPlatformLinux.paseddie-08152007-11-201-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@618 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Changed Platform from Interface to Class.eddie-08152007-11-207-157/+105
| | | | | | | Added TerminateIfAlreadyRunning and GetGamePath to UPlatform.pas. Fixed a bug in THookManager.Create ("SpacetoAllocate-1"). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@617 b956fd51-792f-4845-bead-9b4dfca2ff2c
* promoted changes from fisheye#614 to the main trunkjaybinks2007-11-201-0/+92
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@615 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fix run time bugjaybinks2007-11-191-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@611 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed bug in UIni ( on linux at least )jaybinks2007-11-191-1/+2
| | | | | | | | | | | todo with SDL Initialization. Modifed Theme selection screen, so ALL theme options are runtime changable. ( Without restart ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@610 b956fd51-792f-4845-bead-9b4dfca2ff2c
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@603 ↵jaybinks2007-11-111-6/+3
| | | | b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed song loading on Windows.eddie-08152007-11-081-16/+17
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@601 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Removed the String() casts. Now BrowseDir is unicode capable again.eddie-08152007-11-081-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@600 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added forward declarations...eddie-08152007-11-081-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@599 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Move the TSearchRecW record to the implementation part. This should fix the ↵eddie-08152007-11-081-8/+11
| | | | | | compilation error. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@598 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Changed d_name to name.eddie-08152007-11-081-5/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@597 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added missing functions. I Hope this fixes the build on Windows.eddie-08152007-11-081-0/+70
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@596 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added UPlatform.pas. This should be the first step to move the simple ↵eddie-08152007-11-086-187/+284
| | | | | | | | 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-083-3/+36
| | | | | | 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
* Some changes to PluginInterface to fit with 64 Bit Systems. lParam is maily ↵whiteshark02007-11-066-705/+707
| | | | | | | | for use as Pointer, therefore standardtype: Pointer. wParam should mainly be used for ordinals. (Integer or Int64 on 64Bit Systems). Don't return addresses. Result is not assured to be Int64 on 64 Bit Systems. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@592 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Mac OS X: We're getting closer! Songs get loaded. Sound is playing on the ↵eddie-08152007-11-053-48/+51
| | | | | | SingScreen. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@591 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed compilation on the mac: Function Ptr() does not exist. Please use the ↵eddie-08152007-11-051-613/+614
| | | | | | Pointer() cast. Changed function StartParty. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@588 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Partymodule finished.whiteshark02007-11-044-408/+644
| | | | | | All PartyScreens and SingScreen needs some adapting. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@583 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added MacResources.pas. Fixed some resource loading issues on OS X. The main ↵eddie-08152007-11-041-1139/+1142
| | | | | | screen is still not loading. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@581 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-033-1078/+1089
| | | | | | 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
* Changed DELPHI define to IFDEF LAZARUS ... ELSE ... ENDIF. This should work ↵eddie-08152007-11-031-36/+32
| | | | | | on all Platforms now (I hope). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@564 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Windows Lazarus Build working again...jaybinks2007-11-035-3790/+3791
| | | | | | | | | 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 GamePath for Mac OS X.eddie-08152007-11-021-0/+24
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@558 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed MacOSX version. Can we use baseunix on linux? We could drop oldlinux ↵eddie-08152007-11-022-15/+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-024-18/+52
| | | | | | jira:USDX-157 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@553 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Runtime theme changing - jira#USDX-156jaybinks2007-11-021-1/+38
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@552 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-022-305/+396
| | | | | | | | | 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-0135-3423/+3579
| | | | | | | | | | | | | | 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
* Windows version now compiles again.eddie-08152007-11-011-1/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@547 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-0143-1532/+1825
| | | | | | | | | | 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
* try to fix build errorswhiteshark02007-10-273-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@537 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Finished pluginloader, plugininterfacewhiteshark02007-10-277-76/+947
| | | | | | | | Some fixes and error management (needs improvement) in Core and Service/Hook classes. "Clean Plugin Unloading on Error" finished Some debuging messages on startup. to Fix this remove old Plugins from Pluginfolder git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@535 b956fd51-792f-4845-bead-9b4dfca2ff2c
* made some major progress with ffmpeg audio playback !!!jaybinks2007-10-275-114/+297
| | | | | | | | | | | | | | 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
* did some major work towards ffmpeg audio playback.jaybinks2007-10-261-214/+476
| | | | | | | still not working 100% needs code to be re-compared to original C Source because I Suspect there are some translation errors. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@529 b956fd51-792f-4845-bead-9b4dfca2ff2c
* first effort to work towards jira#USDX-60jaybinks2007-10-252-1520/+1541
| | | | | | | | | | 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
* minor changes and fixes for USDX on linux.jaybinks2007-10-254-1380/+1410
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@526 b956fd51-792f-4845-bead-9b4dfca2ff2c
* modifed bitmap fonts to have alpha channel, after conversation with blindy.jaybinks2007-10-241-55/+55
| | | | | | | modified ultrastar.lpr to get linux version running as it should be ( after mods I did in windows ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@525 b956fd51-792f-4845-bead-9b4dfca2ff2c
* comment this.. oopsjaybinks2007-10-241-5/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@524 b956fd51-792f-4845-bead-9b4dfca2ff2c
* nearly finished Cores loading procswhiteshark02007-10-163-25/+219
| | | | | | | Add PluginLoader Unit to implent new PluginLoader Reordered Delphi .dpr uses clausel git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@519 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed WinLaz build..jaybinks2007-10-161-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@517 b956fd51-792f-4845-bead-9b4dfca2ff2c
* modified ffmpeg usage, to use interface same as bass...jaybinks2007-10-165-314/+758
| | | | | | | still needs some tidy up, but its working. :) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@515 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added UAudio_FFMpeg.pas as placeholder... ( Still has bass code in it.. ↵jaybinks2007-10-113-166/+781
| | | | | | | | | | | needs to be replaced with ffmpeg code ) UMusic ( And UAudio* ) files, now have proper IAudioPlayback and IAudioInput Interface enumeration. simply having the unit in the uses clause will make it available. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@506 b956fd51-792f-4845-bead-9b4dfca2ff2c
* separated IAudioPlayback in to separate "Playback" and "Input" Interfacesjaybinks2007-10-112-10/+31
| | | | | | ( both interfaces provided by same TMusic_Bass class... git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@505 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added IAudioPlayback Interface and implementation for BASS.jaybinks2007-10-117-805/+795
| | | | | | | | | | | | | | | Created "AudioPlayback" Global Singleton, which removed the need for the "Music" Global variable. This was done because global singleton objects are a recognized better "design pattern" achieving the same thing as global variables, but in a nicer way. I will be working to a) separate IAudioPlayback in to separate "Playback" and "Input" Interfaces b) build a FFMpeg class that implements IAudioPlayback git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@504 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixes so codebase builds in delphi now, after major FFMpeg changse for linux.jaybinks2007-10-112-8/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@503 b956fd51-792f-4845-bead-9b4dfca2ff2c
* modified UTime to utilise SDL timer... jaybinks2007-10-113-143/+273
| | | | | | | | | | | | this allows for reliable cross platform timers. Tested working on linux. Modified UVideo and screens to get Video playback working on linux currently only video stream... no audio.. but I Will be working towards this, for all audio playback ( at least for linux ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@501 b956fd51-792f-4845-bead-9b4dfca2ff2c