aboutsummaryrefslogtreecommitdiffstats
path: root/Game (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-04-30- title-bar icon working again in windowed modetobigun5-1089/+1052
- moved LoadImage to UImage.pas - added RWopsFromStream() to get an SDL RWops handle from a TStream - removed some German comments git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1041 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-30Fixed some range-check errors. Explicitly disable range-checks {$R-} should ↵tobigun10-6810/+6802
not be necessary for the MacOSX build anymore. Note: Texture-numbers (e.g. texnum) are unsigned (GLuint) so do not init them to -1. Use 0 instead. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1040 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-27- Fixed several bugs with tabbed browsing (Tabs: on) which occurred after ↵tobigun3-408/+364
TSong was changed from a record to a class. - Replaced BubbleSort with MergeSort for song sorting (QuickSort is not applicable here because it is instable) - Added a constructor to TSong for Category-Buttons (this is a bad solution because category-buttons are not songs, a common super-class TCatItem would be nicer) - Some cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1039 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-27Removed misleading "var" parameters at ReadScore etc.: TSong is a class now, ↵tobigun1-6/+6
so parameters of this type are copied by reference -> no need to use "var" to prevent copying. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1038 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-24uncommented DEBUG-define in switches.inc, so release-mode is the default now.tobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1037 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-24- reverted some stuff that was erroneously commited by one of the last commits.tobigun10-983/+1130
- moved DEBUG define from config-*.inc back to switches.inc - APPTYPE is needed by FPC (for Windows) too. Fixed some crashes with Writeln in FPC (Win) if no console is available. - Moved thread-safe ULog.SafeWriteln() to UCommon.ConsoleWriteln(), this is used by DebugWriteln() now, so this is thread-safe too - Added log-levels (sorted by severity): DEBUG, INFO, STATUS, WARN, ERROR, CRITICAL. Default log-level is LOG_LEVEL_ERROR, so warnings and less important logs are not printed by default. You can change this by LOG_LEVEL_DEFAULT or Log.SetLogLevel(Level). Please use Log.LogError/Warn/Status/Info/Debug/... instead of DebugWriteln() to avoid spamming the console. See ULog.pas for further info. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1036 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-22some adjustments to the new switches.inc layouttobigun2-38/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1035 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-22SSE floating-point-exception (FPE) fix. Occured when playing ogg-files or ↵tobigun2-5/+128
with projectM. See UCommon.pas for more information. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1034 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-22- new switches.inc layouttobigun4-542/+516
- support for projectM 1.1 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1033 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-22removed old projectM stufftobigun2-926/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1032 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-22missed some files for projectMtobigun2-0/+926
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1031 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-22- new layout of the projectM lib-dir. tobigun10-665/+667
- PROJECTM_..._PLUS variable in config-....inc not needed anymore. - Support for projectM 1.1 (=1.10) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1030 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-22ffmpeg update to a newer versiontobigun6-27/+107
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1029 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-22New Makefile:tobigun4-468/+472
- no need to edit config-linux.inc for non-standard installation - "make release", "make debug" targets, so reconfiguring with --enable/disable-debug is not necessary anymore - linkerflags (environment variables LDFLAGS and LIBS) (e.g. from pkg-config) like "-Lpath" or "-Wl,-rpath,'path'" are passed to fpc - some cleanup git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1028 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-19fixed calulation of pointss_alexander1-4/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1025 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-19tried to make songloading working with the old loader and keep all changes ↵s_alexander17-2756/+1477
that were made since starting to work on a new one *hope that worked* you may delete your existing cover.cache (the cover cache is still NOT working) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1024 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-15Removed Libraries Dir because of problems with some dllsf1fth_freed0m9-15/+15
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1022 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-12started to implement the new folder structure (like suggested in the wiki)f1fth_freed0m10-16/+16
-merged Skins and Themes in Themes -moved some libs to Libraries git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1021 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-11translated some polish codef1fth_freed0m3-151/+150
AddCzesc -> AddLine NrCzesc -> NrLine NrCzesci -> NrLines Pet -> Count SingDrawCzesc -> SingDrawLine SingDrawPlayerCzesc -> SingDrawPlayerLine SingDrawPlayerBGCzesc -> SingDrawPlayerBGLine EditDrawCzesc -> EditDrawLine Tekst -> Text git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1020 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-10finally removed IlNut from Editor (*hope* it will work)s_alexander4-61/+42
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1019 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-10-Corrected some ifdefs in the Editor to make it useable on linuxf1fth_freed0m1-40/+44
-translated some polish code git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1018 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-10workaround for erroneously detection of 48000Hz-only devices as 44100Hz ↵tobigun9-1497/+1631
devices in portaudio git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1017 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-07make BPM changes during song possibles_alexander2-50/+57
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1016 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-07forgot to remove this onetobigun1-1/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1015 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-07- added script for rc->res compilation with FPC (rccompile-fpc.bat)tobigun2-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
2008-04-07- Removed lrs resource usage in linux. Resources are copied to ↵tobigun7-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
2008-04-07moved resources from /Game to /Resourcestobigun39-33/+33
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1012 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-06New Covers.Cache Texture loading finishedwhiteshark03-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
2008-04-06Merged .lpr-contents into .dpr. An {$I UltraStar.dpr} is left as the only ↵tobigun3-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
2008-04-06import of external variables does not work in fpc (why?)tobigun1-980/+969
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1008 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-06- removed (linux incompatible) PngImage. In addition it was rather outdated ↵tobigun34-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
2008-04-06removed lazarus dependenciestobigun19-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
2008-04-06TRANSLATE define removed. Define was not used anymore.tobigun3-2356/+2331
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1005 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-06Replaced some {-comments with (*-comments to remove nested comments of the ↵tobigun5-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
2008-04-05Compilation on Linux fixedwhiteshark01-4/+18
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1003 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-04UTexture not committed correctlywhiteshark01-81/+48
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1002 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-04Covers Cache rewrittenwhiteshark04-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
2008-04-03rewriting of the txt file parsers_alexander14-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
2008-04-03second try to fix the problem, that the video is bigger than the screen when ↵s_alexander1-19/+21
unsing swscale git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@999 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-01removed second ultrastar.lrs inclusiontobigun1-9/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@997 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-01removed unused lclintf/windows referencestobigun7-993/+959
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@996 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-01shortened Log Outputb1indy1-2/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@995 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-04-01Replaced GetTickCount with SDL_GetTicksf1fth_freed0m6-14/+15
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@994 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-31ColorizePixel now uses fixed point mathb1indy1-42/+77
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@993 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-31Now colorized textures are appended to the TTextureDatabase too. This will ↵tobigun4-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
2008-03-31Unicode fix for WideCharUpperCase(). This should work on all platforms now.tobigun1-27/+9
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@991 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-31Removed unused Format-parameter in LoadTexture() and Add...()tobigun14-145/+145
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@990 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-31beep() removedtobigun9-34/+22
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@989 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-03-31- removed "Font Black" and "Font" texture typetobigun26-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
2008-03-31git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@987 ↵whiteshark02-37/+77
b956fd51-792f-4845-bead-9b4dfca2ff2c