aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-07-0364bit compatibility fixtobigun4-282/+286
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1162 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-03some additiona to the last 64bit compatibility committobigun1-10/+11
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1161 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-03ffmpeg pascal header 64bit compatibility fix.tobigun10-699/+766
Further headers will follow. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1160 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-02Fixed a conditional, that caused ratings not to show upmogguh1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1159 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-02indenting and cleanuptobigun2-42/+38
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1158 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-02Audio/Video engine update:tobigun30-2401/+4781
- lyrics<->audio synchronisation (TSyncSource) - better resampling (optional support for libsamplerate) - cleaner termination of audio/video streams/devices - improved decoders and decoder infrastructure - many other improvements/cleanups Currently just for testing (not enabled by default): - Background music - Voice-Passthrough (hear what you sing) - Video VSync git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1157 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-01Disabled Alt+Tab screen-mode switching for Windows and MacOSX. ↵tobigun1-6/+5
SDL_SetVideoMode creates a new OpenGL RC (all textures are invalidated) so we have to reload all texture data (-> whitescreen bug or scrambled screen). Only Linux is able to handle screen-switching this way. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1156 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-01some minor adjustmentstobigun1-30/+28
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1154 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-01check for outdated libs and some minor type correctionstobigun3-9/+48
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1153 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-01EaseOut_MaxSteps increased for faster score counter in score-screentobigun1-1/+1
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1152 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-07-01nicer pitch-label in record-option screentobigun1-27/+53
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1151 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-16Delphi 7 compatibility fix:tobigun5-70/+67
- "in"-operator does not work with WideChar operands, e.g. "mychar in ['a..z'] - FPC_VERSION/RELEASE/PATCH (e.g. {$IF FPC_VERSION > 2}) must be defined as constants because delphi 7 does not care about {$IFDEF FPC} sections and complains about undefined constant expressions. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1150 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-14code improvement: conversion of case statements to boolean assignmentsk-m_schindler1-30/+11
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1149 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-14Removed some "const" parameter modifiers for external function declarations. ↵tobigun3-47/+47
Pascal has no equivalent to C's "pointer to constant type" const modifier. E.g. "const char* cstr" is not equivalent to "const cstr: PChar". This is because the first is a variable pointer to a constant type and the latter is a constant pointer to a variable type. This means contrary to the C version, in the incorrect pascal version the string can be changed. So it is like a false friend in this example, although "cstr: PChar" is not correct either, as the string can be changed too. Also note that "var myvar: TMyType" is always passed as reference (a pointer is used for this, so it is equivalent to "myvar: PMyType"). This also normally applies to "const myvar: TMyType". But not if the type-size is < 4byte or the function is declared as stdcall or cdecl. In these cases the variable is passed on the stack and not as a pointer. So NEVER replace a C declaration "const my_type_t* my_var" with "const my_var: TMy_type" as it might fail. Use the var modifier instead. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1148 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-14ffmpeg updatetobigun8-29/+122
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1147 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-13corrected String index to start from 1 and not from 0k-m_schindler1-4/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1146 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-09- all references to the libc unit removed. The Libc unit (not the library) ↵tobigun7-129/+119
was for kylix compatibility and should not be used anymore. In addition it seems the libc unit is not available on 64bit systems. - added some functions that will be introduced with FPC 2.2.2 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1145 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-08- set svn:eol-style to nativetobigun136-68589/+68285
- removed some svn:executable properties from non-executable files git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1144 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-08inconsistent line endings unifiedtobigun2-13/+13
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1143 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-08Added missing private section. Without defining it, methods are public by ↵tobigun1-13/+14
default. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1142 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-08svn:eol-style testtobigun1-865/+865
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1141 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-08clean uptobigun2-331/+324
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1140 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-08goto + labels removedtobigun1-54/+57
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1139 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-08Sakrileg (goto and label) replacement. Please check.k-m_schindler2-109/+65
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1138 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-06-07just some cleanuptobigun16-1007/+1117
- replaced many German and Polish comments - replaced many cryptic var-names - IlNut replaced with LengthNote - renamed the global var "Filename" to "ConversionFilename" to prevent unintended use of it - more readable code (hopefully), especially NewNote and OnSentenceEnd - added some comments on elementary classes/records and their fields git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1137 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-24Changing macos to darwin and adjusting linklibk-m_schindler2-12/+8
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1136 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-24final removal of Macresourcesk-m_schindler1-5/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1135 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-24final removal of Macresources, indentationk-m_schindler1-39/+45
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1134 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-24AnsiContainsText for darwin removed - not needed any more; reworked some if ↵k-m_schindler1-101/+98
statements; code indentation. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1133 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-24WIN32 -> MSWINDOWS; targets reorderd, linklib changedk-m_schindler1-5/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1132 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-24finally removed special version of the function PosEx for darwin. Not neededk-m_schindler1-35/+0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1131 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-24Name change of Mac OS X app bundle: blank in name removedk-m_schindler2-4/+4
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1130 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-23just a test if bamboo works again if {$I switches.inc} is used instead of ↵tobigun1-1/+1
{$I ../switches.inc} git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1129 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-23eol-style unified and propset, indentation, PosEx for Darwin commentedk-m_schindler1-51/+47
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1128 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-23eol-style unified and propset, indentationk-m_schindler1-85/+83
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1127 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-22eol-style unified and propset, indentationk-m_schindler1-238/+245
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1126 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-22eol-style unified and propsetk-m_schindler1-10/+5
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1125 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-22removal of TMenu.InRegion and InStaticRegion. no actual use, at best ↵k-m_schindler1-22/+0
speculative for mouse git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1124 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-22mistake correction: compound occurences of string capitalized again.k-m_schindler1-97/+97
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1123 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-22eol-style set and unified, nicer code but no actual changek-m_schindler1-89/+49
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1122 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-22eol-style unified, nicer sourcek-m_schindler1-114/+111
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1121 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-22eol-style set and unified, no actual code changek-m_schindler1-8/+8
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1120 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-22further code improvement in TMenu.InRegionk-m_schindler1-3/+2
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1119 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-22unused variables removed, minor change to TMenu.InRegion, eol property setk-m_schindler1-36/+31
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1118 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-22unused variable commente, eol corrected and property setk-m_schindler1-64/+64
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1117 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-22unused variable removed, eol-style set to native, nicer codek-m_schindler1-813/+817
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1116 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-21unused variables removed, nicer code, eol-style set to nativek-m_schindler1-129/+125
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1115 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-21"whitescreen on window resizing" bug fixedtobigun1-2/+8
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1114 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-21Video Aspect-Ratio fix (e.g. for 16:9 displays)tobigun1-11/+23
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1113 b956fd51-792f-4845-bead-9b4dfca2ff2c
2008-05-21implementation of MKTAGtobigun2-3582/+3593
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1112 b956fd51-792f-4845-bead-9b4dfca2ff2c