Commit Graph
23404 Commits
Author SHA1 Message Date
Chris Danford eb23340e86 remove optimization that doesn't call Actor::SetTextureRenderStates(). This optimization was causing the texture filtering mode to not be set. 2008-01-11 21:51:15 +00:00
Glenn Maynard 65aa9ecbe5 cleanup 2008-01-11 04:38:35 +00:00
Glenn Maynard 02c3dd726e add event driver 2008-01-11 04:38:16 +00:00
Glenn Maynard df75eb2cf7 fix file.Open("."); file.GetFileSize() asserts 2008-01-11 02:09:11 +00:00
Glenn Maynard a426b97bea more tolerant parsing 2008-01-10 20:35:17 +00:00
Chris Danford dc9084b1bb bind GetStyle 2008-01-10 08:09:51 +00:00
Chris Danford 7507bdc233 add "doubleres" hint, adjust dimension multiple checking for doubleres 2008-01-10 08:08:42 +00:00
Chris Danford a76bbaa694 revert last 2008-01-05 19:35:57 +00:00
Steve Checkoway 08f618a802 Missed havn't -> haven't commit. 2008-01-05 18:15:50 +00:00
Steve Checkoway d13f4a1768 Hack to keep banner movies from playing faster and faster due to Update() being called multiple times in the underlying MovieTexture by unloading the texture if it appears more than once in the list of fading banners. 2008-01-05 15:31:59 +00:00
Steve Checkoway e905fa7628 Have SetSecondsIntoAnimation() set the movie position too. Currently, movies can only be rewound, any value other than 0 is ignored. 2008-01-05 15:29:53 +00:00
Steve Checkoway 3b1a156ca6 We want to update the children manually, so we need to be overriding UpdateInternal(), not Update(). Overriding Update() was causing Update() to be called on each of our children twice. 2008-01-05 15:14:23 +00:00
Steve Checkoway 036f468da5 const. 2008-01-05 12:17:43 +00:00
Steve Checkoway 60f953f3c1 Fix comments. havn't -> haven't. 2008-01-05 11:56:03 +00:00
Steve Checkoway 4814056809 Remove period. (Just playing with a script to read our copyrights.) 2008-01-05 07:57:59 +00:00
Steve Checkoway 1d32a92e29 One "All rights reserved." is enough. 2008-01-05 06:59:56 +00:00
Steve Checkoway cddd962d67 License cleanup (just spacing and the word Copyright). Do we have a real name for vdl? Our policy is clearly stated in the obvious place: Themes/defaults/BGAnimations/ScreenCredits overlay/credits.lua. Only code and asset contributions from people who are willing to disclose their real name. 2008-01-05 06:52:07 +00:00
Chris Danford 4f719f3cdf no message 2008-01-05 05:25:20 +00:00
Steve Checkoway fa8e82e6c4 Name fix. 2008-01-05 05:15:35 +00:00
Steve Checkoway c681e3bb3b Revert. ogg wants __MACOSX__. 2008-01-05 04:35:43 +00:00
Steve Checkoway 715200afc9 MACOSX is sufficient. 2008-01-05 04:21:52 +00:00
Steve Checkoway 898e0ddcae Remove more unnecessary checks. 10.3.9 is only missing C99 functions like llabs() 2008-01-05 04:19:15 +00:00
Steve Checkoway ec58789644 Remove code needed for supporting 10.2.8 since we don't any more. 2008-01-03 03:32:56 +00:00
Steve Checkoway 74a2028160 If glGetError is slow on a platform, define GL_GET_ERROR_IS_SLOW. Define this on OS X only for now. It's fast on Windows. 2008-01-03 02:45:00 +00:00
Steve Checkoway ce8f578f0c Generate a ver.cpp on every make all but not on make stepmania, unless ver.cpp does not exist. 2008-01-03 02:35:20 +00:00
Steve Checkoway 2b6391f193 Fix comment. 2008-01-02 12:45:48 +00:00
Steve Checkoway 7c5853292b Only check for openGL errors in debug builds or when initializing. Calling glGet*() or any other synchronizing function is very slow (at least for Mac OS X). 2008-01-02 12:17:49 +00:00
Steve Checkoway 09a24016b5 Only play a key sound for a press, not a release. 2008-01-02 12:06:37 +00:00
Steve Checkoway 062ff95d5e Do what the comment says and change random movies every 4 measures. This combined with the TimingData.h change fixes random movies switching every beat instead of every four measures. 2008-01-02 11:49:15 +00:00
Steve Checkoway 95224847bd Add comment. Fix GetNoteRowsPerMeasure() returning note rows per beat. 2008-01-02 11:48:08 +00:00
Steve Checkoway 26dc376eeb Make InitState() reset Sprite state. Make movies skip the first update. Fixes background movies play too quickly at first. 2008-01-02 10:40:37 +00:00
Steve Checkoway f8383e7f4e Remove boilerplate added by Xcode. This should have been removed 4.5 years ago, when this file was added. 2007-12-30 04:59:01 +00:00
Glenn Maynard 743dd7ce1d add ScoreDisplayAliveTime 2007-12-23 01:27:29 +00:00
Steve Checkoway 2b75afd00b Use iSongRow. 2007-12-16 00:21:25 +00:00
Steve Checkoway c6a3fa5f67 If we hit a note, play its keysound. If we haven't hit a note, play the sound for the closest note. 2007-12-16 00:13:20 +00:00
Steve Checkoway 4be117e4c3 Key sounded files need not have an associated music file. If it doesn't, don't crash and don't add it to the sound chain. 2007-12-15 23:26:12 +00:00
Steve Checkoway 9514f31666 Fix sounds not being written into the mix buffer. 2007-12-15 23:22:57 +00:00
Steve Checkoway 4873e924d7 Strip the newlines off of the XML before the Warn(). Also, we should never pass user-supplied data as a format string. 2007-12-15 23:21:30 +00:00
Steve Checkoway 13fa6a7d14 This is overridden by subclasses so it needs to be virtual. 2007-12-03 06:36:12 +00:00
Steve Checkoway 1f58d5a753 Fix comment typo. 2007-12-03 06:22:32 +00:00
Steve Checkoway 611366a664 TrimLeft(); TrimRight(); -> Trim(); 2007-12-01 23:33:38 +00:00
Steve Checkoway a21830527f Trim both sides of the string. 2007-12-01 23:32:28 +00:00
Steve Checkoway f3f26b76ba Remove this for now. It's breaks gdb for reasons that are obvious, in retrospect. 2007-11-25 00:39:21 +00:00
Steve Checkoway 0a032f3f90 Split out SetSampleRate. Only try to set the sample rate if it matches one of the allowable ranges returned by the device. In the future, this could pick a sample rate more intelligently if there isn't an exact match. (Not all code paths tested yet due to lack of hardware in WA.) 2007-11-25 00:36:51 +00:00
Steve Checkoway 004fcc0ccd Don't try to set the device's sample rate if it already matches. This fixes an annoying pause in playing audio whenever the game is started. 2007-11-24 23:10:11 +00:00
Steve Checkoway 92e41d40da Minor optimization: don't call AudioGetHostClockFrequency() or do a double precision divide over and over. 2007-11-24 22:38:10 +00:00
Steve Checkoway 270e09d9bc No metronome for row -1. Fixes a crash in NoteRowToMeasureAndBeat(). 2007-11-24 22:33:59 +00:00
AJ Kelly c8b81a6075 add ScreenSelectProfile 2007-11-23 05:38:17 +00:00
Chris Danford cbe1bed2d9 add OldPageIndex and NewPageIndex to *SwitchPage messages 2007-11-21 09:38:13 +00:00
Steve Checkoway ffbf3ec2a9 hash -> has 2007-11-16 20:29:23 +00:00