Commit Graph
23607 Commits
Author SHA1 Message Date
Steve Checkoway dee3db204f Add missing files. 2006-11-17 16:58:04 +00:00
Glenn Maynard 8ed8313295 generalize partially 2006-11-17 07:59:31 +00:00
Chris Danford 2bf058e511 fix initial life never set in life records 2006-11-16 12:26:16 +00:00
Chris Danford aaefeac377 fix first life set not broadcasted 2006-11-16 12:25:55 +00:00
Chris Danford e224b1787c add params to AddTapRowScore for calculating score based on num taps in row
fix row scored before combo and score multiplier calculated in guitar
fix CurrentComboChanged not broadcasted on combo stopped
2006-11-16 12:25:05 +00:00
Chris Danford 98f8625834 add Lua binding for life 2006-11-16 12:04:52 +00:00
Steve Checkoway 02bfa44d0f Pass the param table along. 2006-11-16 10:17:08 +00:00
Glenn Maynard c2313737b5 also send ComboChanged at beginning of gameplay 2006-11-16 05:27:59 +00:00
Chris Danford 676551d87e add ScoreKeeper switching mechanism 2006-11-16 01:57:22 +00:00
Jason Felds 3c33fc6c01 ScoreKeeperGuitar.* added. 2006-11-16 01:49:52 +00:00
Chris Danford d78deea28d add ScoreKeeperGuitar 2006-11-16 00:57:48 +00:00
Chris Danford 86037fa6cd split AddScore into: AddTapScore, AddHoldScore, AddTapRowScore 2006-11-15 23:36:32 +00:00
Chris Danford 67f5660bf3 add Lua bindings 2006-11-15 23:35:47 +00:00
Chris Danford b21ceca756 add guitar scoring 2006-11-15 23:34:48 +00:00
Glenn Maynard d0904f7dc1 ComboChanged message 2006-11-14 22:08:46 +00:00
Glenn Maynard cecb7a5710 simplify 2006-11-14 22:01:21 +00:00
Glenn Maynard 30dc9974ab simplify 2006-11-14 21:56:59 +00:00
Glenn Maynard 93670f895d remove unused 2006-11-14 21:47:45 +00:00
Glenn Maynard f19852fe0f simplify 2006-11-14 21:43:44 +00:00
Glenn Maynard 7fcc68edda fix initial LifeChanged not sent; simplify 2006-11-14 20:45:29 +00:00
John Bauer f198df8e3e mmmmmm build fix 2006-11-14 14:56:54 +00:00
Chris Danford b6d6d0cb02 add CurrentScoreMultiplier
add Lua bindings
2006-11-14 11:23:13 +00:00
Chris Danford 2f7ac6aa3c Add m_ to StageStats and PlayerStageStats members. There are several methods of these classes with local variable names that are similar to the member names. m_ helps distinguish between those two types. 2006-11-14 11:13:21 +00:00
Glenn Maynard c86c218522 MessageToString -> MessageIDToString 2006-11-14 04:26:38 +00:00
Glenn Maynard 174f0c16fa update bindings 2006-11-14 04:22:27 +00:00
Glenn Maynard 61538cb062 broadcast LifeChanged 2006-11-14 04:18:07 +00:00
Glenn Maynard 2c1ad45e84 helper 2006-11-14 04:16:35 +00:00
Glenn Maynard bed349a50a push NULL -> nil 2006-11-14 04:15:32 +00:00
Glenn Maynard f61cc91c03 bind 2006-11-14 04:14:54 +00:00
Glenn Maynard e66a2ebe38 LuaHelpers::Push(ref) 2006-11-14 00:11:23 +00:00
Glenn Maynard 11e8d4b4c4 unused 2006-11-13 23:55:27 +00:00
Glenn Maynard 7e9ec10f3a work on allowing parameters to messages: pass a Message
struct, not just a string
2006-11-13 23:51:24 +00:00
Glenn Maynard 08b79641d9 fix "view log" 2006-11-13 23:48:56 +00:00
Glenn Maynard 4b7e5c6a74 missing base call 2006-11-13 23:12:04 +00:00
Glenn Maynard a5f5fa0b78 HandleMessage( Message ) 2006-11-13 23:11:25 +00:00
Glenn Maynard c219f56a3b work on allowing parameters to messages: pass a Message
struct, not just a string
2006-11-13 23:07:02 +00:00
Glenn Maynard ec061bebc3 Message -> MessageID 2006-11-13 22:36:39 +00:00
Glenn Maynard 35fb88e5e5 Drop generic concurrent rendering. It makes too many things very
complicated, and I don't trust it at a high level: it makes too
many unchecked things concurrent, so I think it will make things
brittle.
2006-11-13 21:04:17 +00:00
Glenn Maynard e7d4ff3495 one less GetYPos call per arrow 2006-11-13 18:38:29 +00:00
Glenn Maynard 81b1ed162b fYPos -> fYPosWithoutReverse 2006-11-13 18:36:28 +00:00
Glenn Maynard 71e558e9f7 fYPos -> fYPosWithoutReverse 2006-11-13 18:32:42 +00:00
Glenn Maynard c2581734b1 const 2006-11-13 18:28:29 +00:00
John Bauer e15285ab55 Fix SongManager::Invalidate. Call it from places it is needed:
ScreenEdit::RevertFromDisk, ScreenEdit's Save routine, and
ScreenEditMenu's Delete Steps routine.  This fixes the bug where
deleting a step chart sometimes causes interesting behavior
but usually just causes a CTD next time you run Oni mode.  It also makes
sure data precalculated from the songs is correctly recalculated when
ScreenEdit changes a song.
2006-11-13 17:07:42 +00:00
John Bauer cf34d741ec Make Course.h more readable by organizing all the member variables
at the end of the Course class definition.
2006-11-13 17:04:47 +00:00
Chris Danford bf20880ba9 name cleanup. Replace:
StartDrawingAtPixels
 FirstPixelToDraw
 YStartOffset
 DrawFarY
with:
 DrawDistanceAfterTargetsPixels
2006-11-13 06:12:38 +00:00
Chris Danford 06e30d1f45 support fading in of notes from 0 alpha at farthest draw point to 1 alpha closer 2006-11-13 02:27:23 +00:00
Chris Danford d11cc96c80 fade board 2006-11-13 00:07:06 +00:00
John Bauer cca2d60509 Fix RevertFromDisk using a method that preserves as many of the original
Steps* pointers as possible.  It is pointless to get rid of RevertFromDisk
entirely because all of the unpleasant side effects it can have are possible
using other tools in the editor.
2006-11-12 16:49:00 +00:00
Steve Checkoway 1f79f25240 Fix crash by stopping the audio _on_ the real time thread. This ensures that the current buffer gets played but that it never gets called again. I'm not convinced that the property listeners won't get called but I'm not sure how to handle those sanely just yet, at least in a lockless manner.
This code doesn't handle external format changes very well yet--but then, neither does the other sound driver.
2006-11-12 09:04:14 +00:00
John Bauer 4b21ed256c Alternate fix for some of the bugs that exist when choose a different
stepchart in edit mode.
2006-11-12 06:30:14 +00:00