aboutsummaryrefslogtreecommitdiffstats
path: root/Game (follow)
Commit message (Collapse)AuthorAgeFilesLines
* finally removed IlNut from Editor (*hope* it will work)s_alexander2008-04-104-61/+42
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1019 b956fd51-792f-4845-bead-9b4dfca2ff2c
* -Corrected some ifdefs in the Editor to make it useable on linuxf1fth_freed0m2008-04-101-40/+44
| | | | | | -translated some polish code git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1018 b956fd51-792f-4845-bead-9b4dfca2ff2c
* workaround for erroneously detection of 48000Hz-only devices as 44100Hz ↵tobigun2008-04-109-1497/+1631
| | | | | | devices in portaudio git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1017 b956fd51-792f-4845-bead-9b4dfca2ff2c
* make BPM changes during song possibles_alexander2008-04-072-50/+57
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1016 b956fd51-792f-4845-bead-9b4dfca2ff2c
* forgot to remove this onetobigun2008-04-071-1/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1015 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - added script for rc->res compilation with FPC (rccompile-fpc.bat)tobigun2008-04-072-0/+4
| | | | | | - rccompilieren.bat renamed to rccompile-delphi.bat (sorry if this breaks something) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1014 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Removed lrs resource usage in linux. Resources are copied to ↵tobigun2008-04-077-1228/+1189
| | | | | | | | | | /usr/share/resources now. - Unified resource handling: call GetResourceStream (UCommon) to retrieve a resource. - Removed the lazarus dependency in the Makefile (it will also use the main .dpr-file now) - Now that the lazarus dependency is gone, the MacOSX and Linux version might use a shared codebase. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1013 b956fd51-792f-4845-bead-9b4dfca2ff2c
* moved resources from /Game to /Resourcestobigun2008-04-0739-33/+33
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1012 b956fd51-792f-4845-bead-9b4dfca2ff2c
* New Covers.Cache Texture loading finishedwhiteshark02008-04-063-66/+267
| | | | | | There is some bug rescaling the textures, but i'm not sure where. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1010 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Merged .lpr-contents into .dpr. An {$I UltraStar.dpr} is left as the only ↵tobigun2008-04-063-39/+28
| | | | | | | | 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
* import of external variables does not work in fpc (why?)tobigun2008-04-061-980/+969
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1008 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - removed (linux incompatible) PngImage. In addition it was rather outdated ↵tobigun2008-04-0634-11914/+1955
| | | | | | | | | | | (from 2003, newest version is from 2006) - introduced UImage-unit for JPG/PNG/BMP image saving - the png part uses the libpng12-0.dll (part of SDL_Image) so - the jpg part uses either Delphi's Jpeg unit or FPC's base/pasjpeg unit -> so no additional libs are needed. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1007 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed lazarus dependenciestobigun2008-04-0619-2533/+2452
| | | | | | | | | | | | - 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
* TRANSLATE define removed. Define was not used anymore.tobigun2008-04-063-2356/+2331
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1005 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Replaced some {-comments with (*-comments to remove nested comments of the ↵tobigun2008-04-065-72/+86
| | | | | | | | same type like: { {} }. Although delphi and FPC can cope with them, some editors (like lazarus) don't like them and erroneously display everything after the comment as commented out. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1004 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Compilation on Linux fixedwhiteshark02008-04-051-4/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1003 b956fd51-792f-4845-bead-9b4dfca2ff2c
* UTexture not committed correctlywhiteshark02008-04-041-81/+48
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1002 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Covers Cache rewrittenwhiteshark02008-04-044-1102/+1337
| | | | | | | New Cover.Cache fileformat covers texture loading still missing... git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1001 b956fd51-792f-4845-bead-9b4dfca2ff2c
* rewriting of the txt file parsers_alexander2008-04-0314-2096/+2622
| | | | | | | | removed unused variables from TLines and TLine, removed TMelody overworked the TLines and TLine records git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1000 b956fd51-792f-4845-bead-9b4dfca2ff2c
* second try to fix the problem, that the video is bigger than the screen when ↵s_alexander2008-04-031-19/+21
| | | | | | unsing swscale git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@999 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed second ultrastar.lrs inclusiontobigun2008-04-011-9/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@997 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed unused lclintf/windows referencestobigun2008-04-017-993/+959
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@996 b956fd51-792f-4845-bead-9b4dfca2ff2c
* shortened Log Outputb1indy2008-04-011-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@995 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Replaced GetTickCount with SDL_GetTicksf1fth_freed0m2008-04-016-14/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@994 b956fd51-792f-4845-bead-9b4dfca2ff2c
* ColorizePixel now uses fixed point mathb1indy2008-03-311-42/+77
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@993 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Now colorized textures are appended to the TTextureDatabase too. This will ↵tobigun2008-03-314-70/+106
| | | | | | | | prevent USDX from loading textures for buttons, statics etc. multiple times. This saves approx. 100MB of memory (100MB instead of 200MB, which is still too many) and speeds-up the loading process (starts in 3-6secs now instead of 12secs). git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@992 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Unicode fix for WideCharUpperCase(). This should work on all platforms now.tobigun2008-03-311-27/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@991 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Removed unused Format-parameter in LoadTexture() and Add...()tobigun2008-03-3114-145/+145
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@990 b956fd51-792f-4845-bead-9b4dfca2ff2c
* beep() removedtobigun2008-03-319-34/+22
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@989 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - removed "Font Black" and "Font" texture typetobigun2008-03-3126-403/+382
| | | | | | | | - use TEXTURE_TYPE_TRANSPARENT/COLORIZED/PLAIN in the future - texture-type is an enum now (not a string as before) -> pros: less memory consumption, compiler-check, case-insensitive, ... git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@988 b956fd51-792f-4845-bead-9b4dfca2ff2c
* git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@987 ↵whiteshark02008-03-312-37/+77
| | | | b956fd51-792f-4845-bead-9b4dfca2ff2c
* Support for Unicode-strings and chars (etc. WideUpperCase) in MacOSX.tobigun2008-03-311-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@986 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Reimplemented all old features of Databasewhiteshark02008-03-301-74/+67
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@985 b956fd51-792f-4845-bead-9b4dfca2ff2c
* New Database Structure Init readywhiteshark02008-03-302-17/+77
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@984 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Prepared some classes for enhanced Song loading.whiteshark02008-03-3010-238/+570
| | | | | | | Commited to work with s_alexander in this task. Song loading doesn't work at this point git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@983 b956fd51-792f-4845-bead-9b4dfca2ff2c
* enabled the output of the full file path on error, warning or notice durring ↵s_alexander2008-03-301-1/+1
| | | | | | compilation git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@982 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - Select(Slide) textures should work now ('Font Black' -> 'Colorized')tobigun2008-03-283-322/+119
| | | | | | | | - Added constants for texture types (TEXTURE_TYPE_PLAIN/TEXTURE_TYPE_TRANSPARENT/TEXTURE_TYPE_COLORIZED) - RGBFloatToInt() helper function - rgb2hls clean-up (it is not even hls, it is hsv) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@980 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Some WideChar casts to let it compile in Delphi7 again.whiteshark02008-03-282-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@979 b956fd51-792f-4845-bead-9b4dfca2ff2c
* fixed EIntOverflow in function TMenu.WideCharUpperCase when used on Linux ( ↵jaybinks2008-03-282-1/+23
| | | | | | | | | | | 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
* Writeln caused a problem in the previously committed USong.pas, debug ↵mogguh2008-03-271-1/+1
| | | | | | message is now just written when compiling with Lazarus git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@976 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added Missig UXMLSongs.pasf1fth_freed0m2008-03-271-0/+573
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@975 b956fd51-792f-4845-bead-9b4dfca2ff2c
* USDX is now able to load SingStar XML Songfiles using Whitesharks XML2US Parserf1fth_freed0m2008-03-275-30/+360
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@974 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added "-debug" flag at run time and "CONSOLE" Define in switches.inc jaybinks2008-03-2618-285/+120
| | | | | | also the default is to run with no debug info sent to the console git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@973 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed compilation on the mac.eddie-08152008-03-2536-2113/+2619
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@972 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Support for non-US (QWERTY) keyboard layout.tobigun2008-03-2230-486/+644
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@970 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Added functions to determine to which character-class (alpha(=letter), ↵tobigun2008-03-221-1/+65
| | | | | | numeric, punctuation etc.) a character belongs. Neither delphi's nor fpc's RTL (in contrast to Java) has such a function, has it? git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@968 b956fd51-792f-4845-bead-9b4dfca2ff2c
* ParseInput(... ScanCode: byte; ...) -> ParseInput(... CharCode: WideChar; ...)tobigun2008-03-2136-96/+96
| | | | | | See: http://trac2.assembla.com/usdx/ticket/35 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@966 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - av_log_get_level()/av_log_set_level() addedtobigun2008-03-211-0/+56
| | | | | | - now uninformative FFmpeg error-messages can be disabled git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@965 b956fd51-792f-4845-bead-9b4dfca2ff2c
* lenght -> lengthtobigun2008-03-2110-605/+617
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@964 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - In linux (with the gtk2 interface) this will change the locale settings ↵tobigun2008-03-201-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