aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/UltraStar.lpr (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-04-06Merged .lpr-contents into .dpr. An {$I UltraStar.dpr} is left as the only ↵tobigun1-31/+19
code-line in .lpr. The .lpr will be replaced with the .dpr in the Makefile as soon as lresources is removed. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1009 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-06removed lazarus dependenciestobigun1-56/+31
- 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
2008-04-06TRANSLATE define removed. Define was not used anymore.tobigun1-57/+56
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1005 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-28fixed EIntOverflow in function TMenu.WideCharUpperCase when used on Linux ( ↵jaybinks1-0/+1
or other Unix Systems ) this fix should make Eddies fix for same or similar problem Correct, because the previous fix simply did an UpperCase which is not WideString Compatible. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@977 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-20- In linux (with the gtk2 interface) this will change the locale settings ↵tobigun1-1/+18
like LC_NUMERIC (which cannot be reverted, can it? At least I have not managed to do so.). As a result external libs like projectM might not be able to parse floating-point values anymore (because ',' might be used as decimal-seperator in atof() or strtod()). - As a result, projectM does not work anymore and crashes because of access violations. Not initializing Interfaces crashes USDX when widgets should be shown, as done with MessageBox(). In addition LCL assigns itself as a Signal-handler for almost every exception (FPE, SEGV, etc.) and wants to show a message-box with some info on the exception that occured. It will crash a second time because of the missing widget-set binding (error in winapi.pp). - Removing the lazarus widget stuff seems to be the only solution but even if just the LCLIntf unit is included, lazarus catches signals and tries to show the exception-info. -> So we might have to remove all the lazarus stuff except LResources (hope this doesn't influence the signal-handler too) - We can leave the windows-only LCL-stuff in DirWatch and the Midi-classes. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@963 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-07widget-set support. Now the detected widget-set (gtk, gtk2, qt) is used in ↵tobigun1-2/+0
linux. Without specifying the type, usdx produced debugger messages while trying to open a message-box (to show information about an exception). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@934 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-02-05New switches.inc layouttobigun1-36/+41
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@819 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-11-03Windows Lazarus Build working again...jaybinks1-221/+36
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
2007-11-02basic threading of song loading..jaybinks1-3/+5
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
2007-11-01fixed failed buildsjaybinks1-286/+10
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
2007-10-26did some major work towards ffmpeg audio playback.jaybinks1-3/+11
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
2007-10-25minor changes and fixes for USDX on linux.jaybinks1-0/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@526 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-24modifed bitmap fonts to have alpha channel, after conversation with blindy.jaybinks1-485/+485
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
2007-10-16fixed the modified ffmpeg headers to compile in lazarus on windows.jaybinks1-485/+485
this NOW should fix LazWin build. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@518 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-16modified ffmpeg usage, to use interface same as bass...jaybinks1-0/+1
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
2007-10-11modifications to make new UMusic jaybinks1-5/+5
work correctly in linux. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@511 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-11git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@509 ↵jaybinks1-1/+1
b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-11git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@508 ↵jaybinks1-0/+3
b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-11modified UTime to utilise SDL timer... jaybinks1-0/+53
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
2007-10-08git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@471 ↵jaybinks1-1/+1
b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-02Fixed linux compilation.jaybinks1-428/+428
Linux is now running in the main loop fine. * no audio playback or input yet... * Timing hack inplace.. that must be replace * bunch of textures not working.. however the play screen is looking similar to windows builds. I hope this dosnt break windows builds to much. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@460 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-10-01fix mogs compile error :) ( In lazarus build )jaybinks1-0/+1
hmmm need to get this to $Include the DPR or something .... git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@457 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-29git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@449 ↵jaybinks1-0/+2
b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-27oops.... fixed build issue.. after dud buildjaybinks1-2/+1
build#USDX-DEF-7 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@440 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-27adding interesting link.jaybinks1-0/+5
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@439 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-27fix for lazarus buildjaybinks1-0/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@437 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-22minor bug fixes to have lazarus build load resources into SDL_Image jaybinks1-416/+419
correctly... ( lazarus Resources are weak compared to delphi :( ) also Laz build will now run, and main loop works properly. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@429 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-21added sdl_image to project uses clausejaybinks1-415/+416
and fixed credits screen to compile in lazarus / linux after the minor changes, to use sdl_image git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@425 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-20minor fixes for lazarus build..jaybinks1-0/+2
forgot file... oops.. :) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@416 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-20renamed Ulyrics.bak.pas hack to Ulyrics_bak.pas for lazarus compatiblity.jaybinks1-412/+413
minor changes to get code base compiling in Lazarus(win) and Delphi git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@415 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-20Ultrastar-DX now compiles in linux jaybinks1-101/+102
(using lazarus) Bass etc is commented out.. but it compiles, and im working through the runtime errors. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@408 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-19tested ffmpeg in lazarus - linux..jaybinks1-386/+411
working :) just need to make sure development packages are installed for ffmpeg. such as : libavcodec-dev & libavformat-dev git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@406 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-19fixes to get working in lazarus..jaybinks1-5/+2
compiling, linking, starting to run.. just fixing stuff :) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@397 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-19now compiles & Links ...jaybinks1-1/+7
not running though yet. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@396 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-19added UCommon ( in classes ) for lazarus...jaybinks1-2/+4
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
2007-09-18changes in order to compile in lazarus...jaybinks1-15/+10
minor tidy ups and removal of big old comment blocks.. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@394 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-18adding my lazarus project..jaybinks1-25/+35
starting to get somewhere with compilation of it, but its still not compiling yet. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@393 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-18added switches.inc , which will contain compiler directives used jaybinks1-0/+3
( at least ) for porting to linux. this file now contains compiler directive UseSerialPort, which is conditionally set depending on the compiler. at this point lazarus will not use the serial port ( LCD or Light ) units. however this functionality should be maintained at this point in delphi. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@390 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-13changes to make 3rd party libraries compile / work jaybinks1-2/+0
in lazarus. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@387 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-13removed unneeded DCU files from svn.jaybinks1-0/+4
fixed borked PNGImage in the project file Sorry guys :P git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@386 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-12* added missed dependency PNGImage.jaybinks1-2/+8
* 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
2007-09-07removed smpegb1indy1-1/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@376 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-07UScreenSing.pas, UScreenSingModi.pas: removed Uffmpeg and USmpeg, added UVideob1indy1-3/+2
UGraphic.pas: prepared for possible loading animation UGraphicClasses.pas, ULCD.pas, ULight.pas, UMain.pas, USkins.pas, UDisplay.pas, UMenuButton.pas, UMenuSelect.pas, UMenuSelectSlide.pas, UMenuStatic.pas, UScreenCredits.pas, UScreenEditSub.pas, UScreenOpen.pas, UScreenPopup.pas: some fixes to get rid of some compiler infos/warnings git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@374 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-05added 3rd party dependencies ( except Jedi-SDL )jaybinks1-0/+31
modified DPR to statically include all files needed (using relative paths) this means 3rd party components should not need installation in the IDE, or adding to search paths. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@368 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-09-02Some Cleanup in URecordwhiteshark01-5/+32
Some Cleanup in UMusic Some Cleanup in ProjectFile Upgrade from Bass 2.1 to Bass 2.3 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@361 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-07-28experimental ffmpeg videodecoding support, frameskipping doesn't work quite ↵b1indy1-25/+3
right yet git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@332 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-07-08Changed to Version 1.00 RC1whiteshark01-1/+1
Only changes that have to be done from now on are changes in the Theme Files. I hope Mota will be able to do it soon git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@281 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-07-08Improved Error Logging and Benchmark:whiteshark01-5/+19
Write US Version, date and time to files. Added better Commandline Parameter Interpreter: More than one parameter can be used at the same time Many new, useful farameters: e.g. No error logging, Resolution change, FullScreen, DualScreen Mode, other Config File, other Score File and SongPath git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@274 b956fd51-792f-4845-bead-9b4dfca2ff2c
2007-05-16all SongFile Loading and Saving procedures moved to UFiles.whiteshark01-2/+2
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
2007-05-03added "popups" to ask for confirmation when leaving party mode or game or to ↵b1indy1-1/+2
display messages (like minor errors) still ugly, needs some theme work git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@157 b956fd51-792f-4845-bead-9b4dfca2ff2c