aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UVisualizer.pas (follow)
Commit message (Collapse)AuthorAgeFilesLines
* some projectM fixes:tobigun2008-08-211-47/+109
| | | | | | | | | - glPushMatrix() was erroneously called in SaveOpenGLState() because the version number of 1.2 (1002000) is less than that of 1.1 (1010000). - OpenGL error-state is resetted on Save/RestoreOpenGLState() - After the initialization of projectM (VisualizerStart, TProjectM.Create) projectM did not switch back to USDX's RenderContext when using the FBO extension. - SetPosition uses RandomPreset() instead of NextPreset() git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1284 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Audio/Video engine update:tobigun2008-07-021-75/+66
| | | | | | | | | | | | | | | - 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
* added "inherited ..." to all constructors to assure that the base-class ↵tobigun2008-05-081-9/+0
| | | | | | | | constructor is called. Different to C or Java, the constructor or destructor of the base class (except that of TObject) is not called by default if "inherited ..." is not given (very strange). This is no problem with classes inherited directly from TObject, because the TObject constructor is always called (and sets the values of the fields to 0-values) but i added inherited to these constructors too because the base class may change from TObject to something different and the "inherited" will probably not added in this case and causing problems. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1070 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Replaced OpenGL12 with SDL's gl/glu/glext units because OpenGL12 was removed ↵tobigun2008-05-021-1/+1
| | | | | | | | from SDL (several years ago? Last update was done in 2004). In addition OpenGL12 was very buggy (see last commit). The new units support OpenGL up to version 2.0 (extensions must be loaded first, see UGraphic.LoadOpenGLExtensions). At the moment, only 1.2 extensions are loaded. Some constants, that were introduced in OpenGL 1.2 and above (like GL_BGR or GL_CLAMP_TO_EDGE) are in glext.pas, so check this file first for missing constants. The MacOS build depends on OpenGL12.pas but has its own file in the MacOSX/Wrapper folder instead of using the JEDI-SDL one. Sorry, that I broke MacOSX build for now but it should be no problem to get this working again. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1052 b956fd51-792f-4845-bead-9b4dfca2ff2c
* removed a writeln() command that might crash usdx if the console is disabledtobigun2008-04-301-14/+7
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1045 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - new switches.inc layouttobigun2008-04-221-394/+405
| | | | | | - support for projectM 1.1 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1033 b956fd51-792f-4845-bead-9b4dfca2ff2c
* replaced some "string" parameters with "const string"tobigun2008-03-061-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@923 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - actual.. -> current..tobigun2008-03-031-8/+8
| | | | | | | | - USDX version-numbers in UConfig - some windows/lclintf dependencies removed - some indentation git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@898 b956fd51-792f-4845-bead-9b4dfca2ff2c
* UVisualizer uses the system dependant default game-path nowtobigun2008-02-121-8/+27
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@843 b956fd51-792f-4845-bead-9b4dfca2ff2c
* changed from ffmpeg-free (audio) to ffmpeg-enabled (if turned on in ↵tobigun2008-01-111-9/+6
| | | | | | | | switches.inc) version. BASS is used by default. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@786 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - faster preset switchingtobigun2007-12-171-383/+378
| | | | | | - added projectM 1.0 support git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@715 b956fd51-792f-4845-bead-9b4dfca2ff2c
* little bit of tidy up..jaybinks2007-12-071-5/+50
| | | | | | | | | | | added command line switch, to see what media interfaces are being used. moved RandomPCM Data generation to Visualizer class. added Visualization preset change, on new line ( may be a little to much... maybe we should do ever 4 or 16 bars or something ?) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@697 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Fixed some linux visualizer errorstobigun2007-12-071-13/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@694 b956fd51-792f-4845-bead-9b4dfca2ff2c
* oops didnt mean to commit that.jaybinks2007-12-071-5/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@693 b956fd51-792f-4845-bead-9b4dfca2ff2c
* trying to get projectM to run in linuxjaybinks2007-12-061-265/+275
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@692 b956fd51-792f-4845-bead-9b4dfca2ff2c
* gave priority to videos over Visualization...jaybinks2007-12-061-1/+1
| | | | | | | | | | | so now video plays back... and "V" will switch between Video ( or jpg ) background and visualization. this needs to be pressed on every song, as the state should be forgotten. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@687 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added [tab] to change visualization presetjaybinks2007-12-061-0/+33
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@682 b956fd51-792f-4845-bead-9b4dfca2ff2c
* added "V" key to sing screen to start Visualization...jaybinks2007-12-061-14/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@681 b956fd51-792f-4845-bead-9b4dfca2ff2c
* Visualizer changes (audio connection, some opengl fixes)tobigun2007-12-061-40/+56
| | | | git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@679 b956fd51-792f-4845-bead-9b4dfca2ff2c
* conformed projectM to IVideoPlayback jaybinks2007-12-061-33/+124
| | | | | | still needs a little work. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@678 b956fd51-792f-4845-bead-9b4dfca2ff2c
* - music-visualization support added. tobigun2007-12-051-0/+201
- hardcoded to projectm at the moment. - needs a plugin-structure makeover git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@677 b956fd51-792f-4845-bead-9b4dfca2ff2c