Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway b006633e02 song.h -> Song.h 2008-03-09 03:51:18 +00:00
Steve Checkoway 74c2abff14 Remove MusicSortDisplay 2008-03-03 00:24:29 +00:00
Steve Checkoway 285cf5ffab Strip .svn as well as files ending in CVS. 2008-02-20 02:49:41 +00:00
Steve Checkoway a3e218f548 For some reason, libffmpeg.a got corrupted during the transfer to svn. Fix. 2008-02-19 19:03:05 +00:00
Steve Checkoway 28fd2e0005 Fix warnings. 2008-02-19 18:43:45 +00:00
Steve Checkoway 4c7c459c51 Fix compile 2008-02-19 18:42:53 +00:00
Steve Checkoway 21dff73426 Don't update or draw the pad/characters twice. 2008-01-21 09:26:31 +00:00
Steve Checkoway 04747b42ad Fix lifts not counting for combos. 2008-01-19 22:24:29 +00:00
Steve Checkoway cfb5341e09 Simplify. 2008-01-19 22:23:47 +00:00
Steve Checkoway e255c1a0b7 Simplify: use a bit vector. 2008-01-19 21:12:52 +00:00
Steve Checkoway b984649787 Fix editor crash with more than one Edit Steps. There's no need for a map here. The saved Song will have the Steps in the same order as they were when the they were saved in CopyToLastSave(). 2008-01-19 20:02:38 +00:00
Steve Checkoway c68c21ff78 Apparently this changed case at some point. 2008-01-05 18:18:28 +00:00
Steve Checkoway 6bd807e352 Bump copyright year. 2008-01-05 18:16:51 +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
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 42ab45b44a Define attribute_deprecated to nothing to inhibit ffmpeg spewing a million warnings. 2008-01-05 03:04:16 +00:00
Steve Checkoway 814465df80 Be specific about what files to copy. 2008-01-03 07:45:39 +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 9f24a8bea3 All Judgements have a TapNoteScore. Only holds have a HoldNoteScore. This _should_ fix both TNS and HNS judging when the hold finishes. I am having a hard time telling though. 2008-01-02 12:40:13 +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
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 05c9c69fbb Remove debugging. 2007-12-08 19:33:03 +00:00
Steve Checkoway b1e07c027b Document RageTexture and most of Sprite. There are bits I am not clear on still. 2007-12-03 06:52:33 +00:00
Steve Checkoway 6393dc1cdd Allow more than only text inside <Link></Link>. 2007-12-03 06:50:06 +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 f4915d33e3 Patch instructions. 2007-12-01 23:36: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 abbe9f7bc0 ZoomTo{Width,Height} -> zoomto{width,height} 2007-11-30 22:28:20 +00:00
Steve Checkoway 0de0278ac3 Update hardware list. 2007-11-27 06:06:15 +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
Steve Checkoway 08813256b9 Add messages to build script. 2007-11-21 09:53:24 +00:00
Steve Checkoway dfc1a43afd Apply ffmpeg patch when using this build script. 2007-11-17 22:09:18 +00:00
Steve Checkoway 4915d9253f Patched ffmpeg to fix divx looping forever. 2007-11-17 22:07:56 +00:00
Steve Checkoway ffbf3ec2a9 hash -> has 2007-11-16 20:29:23 +00:00
Steve Checkoway 316314b16c Update build instructions. 2007-11-11 23:58:08 +00:00
Steve Checkoway ed5eeba8c9 No more mad here. 2007-11-11 23:54:23 +00:00
Steve Checkoway 3994aabd82 Build mad statically. Since the source is in the repository, no need to include the library like the others. 2007-11-11 23:52:59 +00:00
Steve Checkoway 47bc484919 Combine ffmpeg targets into a single static library. 2007-11-11 21:50:34 +00:00
Steve Checkoway a0f95bd09c Link with ffmpeg statically. 2007-11-11 21:44:52 +00:00
Steve Checkoway 536660e708 Use a static ffmpeg lib. 2007-11-11 21:44:05 +00:00
Steve Checkoway 12cee09347 Add configuration file for ffmpeg. Add script to add processor specific guards to certain files. 2007-11-11 21:06:42 +00:00
Steve Checkoway f05692736a Update hardware list with MacBook3,1. 2007-11-10 20:01:52 +00:00
Steve Checkoway 26cc360a5b Finish implementation of OS X i386 backtrace. The code hasn't been tested as part of SM yet. 2007-11-09 02:21:27 +00:00
Steve Checkoway 598a9f879b This unfinished code was screwing up Xcode's indentation and symbol indexing. Also undef T and f after use. 2007-11-05 00:43:09 +00:00
Steve Checkoway 02e21a55b4 Turn using the current steps type. Supposedly fixes <http://stepmania.sf.net/bug.php?id=1824497>. 2007-11-05 00:31:14 +00:00
Steve Checkoway 5f07c8431d Update to Xcode 3. 2007-11-05 00:22:17 +00:00
Steve Checkoway e92a91c688 Upgrade to Xcode 3.0. Add a performance debugging target. This is basically Native with debug symbols. Useful for getting source code listings in Shark. 2007-10-27 17:54:12 +00:00
Steve Checkoway 1b96c0da14 Use fixed point math for the inner loop of ZoomSurface(). This gives a huge speedup on PowerPC.
Note that 16777216=2^24 is 1.0 in U(8,24) fixed point and 8388608=2^23 is 0.5. Also, single precision IEEE floating point has 23 bits of mantissa and U(8,24) has 24 bits of fraction so no precision is lost.
2007-10-27 16:36:54 +00:00
Steve Checkoway 9665623071 Random code from apple on a mailing list to make sure that apple's crash handler doesn't pop up after we've set up our crash handler. 2007-10-04 06:21:04 +00:00
Steve Checkoway 15611d510b Simplify. Remove the condition from the iterator. Almost nothing uses it (although other things could), it seems more trouble than it's worth. 2007-09-17 03:27:33 +00:00
Steve Checkoway 07b16b641e Remove code with no effect. 2007-09-16 01:00:49 +00:00
Steve Checkoway b4cb0893ff Use preincrement for iterators to prevent making a copy of the iterator and simplify making a pair. 2007-09-16 00:52:16 +00:00
Steve Checkoway 5a0ae85deb Fix mines when PREFSMAN->m_fPadStickSeconds is zero. 2007-09-15 06:47:25 +00:00
Steve Checkoway 1b5defb046 Require bash. Apparently people still have bourne shells other than bash. 2007-09-10 05:08:20 +00:00
Steve Checkoway 4d66c801e1 fix crash 2007-09-10 04:18:15 +00:00
Steve Checkoway 555dbc3d52 Assign to a particular level, don't just combine. Fixes second extra stage using first extra stage's mods. 2007-09-10 03:44:36 +00:00
Steve Checkoway c1e67d7f26 Fix holds in reverse. 2007-09-04 00:29:08 +00:00
Steve Checkoway 01839b5996 Make out-of-line copies of inline functions visible to shut up linker warnings about code visibility. 2007-08-24 11:12:03 +00:00
Steve Checkoway 59eb1bde90 Work around broken header. 2007-08-24 06:15:50 +00:00
Steve Checkoway b792b5ea9c enclosing group. 2007-08-24 06:11:02 +00:00
Steve Checkoway 376cdb5437 Add files. 2007-08-24 05:54:54 +00:00
Steve Checkoway d83d5af1e6 Fix lua crashes for game types other than dance. 2007-08-21 08:34:10 +00:00
Steve Checkoway f8be4f8426 Ignore code. 2007-08-19 04:19:04 +00:00
Steve Checkoway 74b056c2af I don't know why this was changed, but include the header. 2007-08-19 04:12:21 +00:00
Steve Checkoway 422b9d5aa5 Comments. 2007-08-19 01:27:47 +00:00
Steve Checkoway 5eb5c5e199 This isn't invalid, just a song we don't know about, likely one that was once played and the removed. Don't warn. 2007-08-19 01:27:03 +00:00
Steve Checkoway 48a493cbb1 Document mbstrlen, BitmapText:AddAttribute, and BitmapText:ClearAttributes. 2007-08-19 00:11:11 +00:00
Steve Checkoway 97e7a6a1cb Add binding. 2007-08-19 00:10:33 +00:00
Steve Checkoway 50db5dc5f6 Get the string, find the substring, compute the number of multibyte characters before it, and use that as the position of the attribute. 2007-08-18 23:44:00 +00:00
Steve Checkoway c18512b4ff Have AddAttribute handle adjusting the position based on the number of lines. Remove the FindText hack. 2007-08-18 23:42:58 +00:00
Steve Checkoway 2d4122201c Add lua binding for multibyte string length. 2007-08-18 23:42:03 +00:00