aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - compatibility changes for fpc 2.2.0 and lazarus 0.9.24. Changes are ↵tobigun2007-12-053-67/+148
| | | | | | | | | enabled if {$DEFINE LAZARUS_V0924} and/or {$DEFINE FPC_V220} are defined in switches.inc. - this is a very ugly HACK and should be replaced by something different (not in switches.inc and some sort of {$IF FPC_VERSION > VERSION(2, 2, 0)} git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@672 b956fd51-792f-4845-bead-9b4dfca2ff2c
* GetFFTData() is an output- and not an input-interface's functiontobigun2007-12-052-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@671 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - bugfix: tried to access array element -1 if video contained no audio-streamtobigun2007-12-051-3/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@670 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Moved initialization from URecord to UAudio_bass.tobigun2007-12-051-649/+648
| | | | | | | | - Removed duplicate registration at AudioManager - separated input an output functions so input-functionality can be switched on and off with the UseBASSInput define - Removed HWND Windows stuff git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@669 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Moved GetFFTData from IAudioInput -> IAudioOutput (it is used for the ↵tobigun2007-12-051-6/+3
| | | | | | | | song-selection equalizer not for mic-input) - CaptureCard/StopCard is not visible to public anymore git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@668 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Removed duplicated registration to the AudioManager. Registering once is ↵tobigun2007-12-051-12/+4
| | | | | | enough (Casting has no effect here) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@667 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Removed all BASS stuff. BASS initialization is now done in UAudio_bass (or ↵tobigun2007-12-051-134/+52
| | | | | | | | | UAudio_portaudio). - Sound moved to Recording.Sound - Removed duplicated unreferenced global Soundcard-array var (which was moved to the TRecord-Class previously but has not been deleted) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@666 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Sound is now Recording.Soundtobigun2007-12-052-7/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@665 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Sound-Device initialization was moved from URecord to the specific ↵tobigun2007-12-051-21/+20
| | | | | | | | Audio-Interface (Bass/Portaudio) called by InitializeSound(). As TIni.Create needs a filled in Recording.SoundCard array, InitialzeSound() has to be called before TIni.Create. - Sound is now Recording.Sound git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@664 b956fd51-792f-4845-bead-9b4dfca2ff2c
* New portaudio interface addedtobigun2007-12-051-0/+434
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@663 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
* Initialize SDL_GL_ALPHA_SIZE for the OpenGL Surfaceb1indy2007-12-031-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@659 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed line endingsjaybinks2007-12-031-94/+94
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@658 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added Makefile and lazres script fromjaybinks2007-12-032-0/+163
| | | | | | hennymcc ( on IRC ) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@657 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added portaudio and portmixer headers as replacement for bass in linuxtobigun2007-11-282-0/+1303
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@656 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed lazarus build-error due to differing declarations of FindFirstFileW ↵tobigun2007-11-281-21/+33
| | | | | | and FindNextFileW (var vs pointer) in delphi and lazarus git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@655 b956fd51-792f-4845-bead-9b4dfca2ff2c
* checking for delta=0 in col2hb1indy2007-11-231-0/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@652 b956fd51-792f-4845-bead-9b4dfca2ff2c
* this shouldn't have been hereb1indy2007-11-231-0/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@650 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Now it should build again...eddie-08152007-11-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@644 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fonts are readable again, didn't edit the outline fonts (will be done later, ↵mogguh2007-11-231-6/+6
| | | | | | maybe) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@641 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed: PartyModus: SinglePlayer Teams but only Multiplayer Plugins availablejekatt2007-11-231-1/+10
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@633 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed texture drawing on Mac OS X (looks like BackImg.Z was not ↵eddie-08152007-11-224-212/+255
| | | | | | initialized). Now BackImg.Z is set to 0. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@629 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added LogBuffer to dump binary data to a file.eddie-08152007-11-221-0/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@628 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Solved Usdx-1 in Trunk and 1.0.1whiteshark02007-11-211-794/+794
| | | | | | ChannelOptions now 'Off', '1', '2', '3'.. instead of '0', '1', '2', '3'.. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@622 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added TeamDuell Mode...jaybinks2007-11-211-2/+2
| | | | | | | | jira#USDX-169 THANKS Jekatt git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@620 b956fd51-792f-4845-bead-9b4dfca2ff2c
* 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-192-165/+168
| | | | | | | | | | | 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-0811-404/+470
| | | | | | | | 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-0811-392/+306
| | | | | | 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-057-595/+411
| | | | | | 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-054-744/+747
| | | | | | 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-0411-469/+710
| | | | | | 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-047-1599/+1510
| | | | | | 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-035-1287/+1333
| | | | | | 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
* 1 more try.jaybinks2007-11-031-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@563 b956fd51-792f-4845-bead-9b4dfca2ff2c