Commit Graph

24105 Commits

Author SHA1 Message Date
Glenn Maynard a42e1bcbfb InputHandler::Create 2006-12-17 07:42:02 +00:00
Glenn Maynard 17c32b90c2 Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
2006-12-17 07:41:21 +00:00
Glenn Maynard 50ca6633cb cleanup 2006-12-17 07:33:09 +00:00
Glenn Maynard fc6033d754 cleanup 2006-12-17 07:16:06 +00:00
Glenn Maynard a8dc57f38e merge duplicate boilerplate code 2006-12-17 07:15:25 +00:00
Glenn Maynard 274b8acfae update 2006-12-17 07:10:07 +00:00
Glenn Maynard 2b9a167455 add RageDriver to merge duplicate boilerplate code 2006-12-17 07:06:53 +00:00
Glenn Maynard 519e61ee48 style cleanup 2006-12-17 07:04:43 +00:00
Glenn Maynard d4f43cf844 reduce boilerplate code 2006-12-17 07:00:30 +00:00
Glenn Maynard f55345ad84 update 2006-12-17 06:56:31 +00:00
Glenn Maynard 9447322729 CreateClass helper 2006-12-17 06:53:52 +00:00
Glenn Maynard 4bd423fa10 remove monolithic arch.cpp 2006-12-17 06:49:52 +00:00
Glenn Maynard bcec908ebf split out MakeMemoryCardDriver 2006-12-17 06:49:25 +00:00
Glenn Maynard ad698b2c26 split out MakeLoadingWindow 2006-12-17 06:47:57 +00:00
Glenn Maynard c7f82f0529 split out MakeLowLevelWindow, MakeLightsDrivers 2006-12-17 06:46:02 +00:00
Glenn Maynard 5255fa036c fixup 2006-12-17 06:45:49 +00:00
Glenn Maynard 21be9b5cf1 split out MakeLightsDrivers 2006-12-17 06:45:06 +00:00
Glenn Maynard 3461ab8c4e split out MakeLowLevelWindow 2006-12-17 06:42:47 +00:00
Glenn Maynard 799f20d8d1 unreachable (we check for this outside), and we can return NULL anyway, if all drivers fail 2006-12-17 06:17:56 +00:00
Glenn Maynard fb968d435d uhh 2006-12-17 06:15:13 +00:00
Glenn Maynard e63698aa43 add LightsDriver_Export 2006-12-17 03:18:26 +00:00
Glenn Maynard 91bee90f1c remove unused 2006-12-16 23:00:31 +00:00
Glenn Maynard 59b35c19bb simplify stream configuration 2006-12-16 22:45:44 +00:00
Glenn Maynard 3f3e6cd480 fix init order warning 2006-12-16 22:12:20 +00:00
Glenn Maynard 45ee492808 LoadActor(path)(args) -> LoadActor(path, args) 2006-12-15 23:04:47 +00:00
Glenn Maynard 1cf89233a8 rename LoadActor to LoadActorFunc
allow level param to LoadActorFunc
LoadActor now evaluates the function; arguments can be passed
directly to LoadActor; use LoadActorFunc if you want to get the
factory directly
2006-12-15 23:03:47 +00:00
Chris Danford 09e8c0bc34 Make addition a texture coord shift instead of a separate element. This means fewer texture swaps when drawing, fewer graphics to maintain, and lets non-tap elements have addition coloring 2006-12-15 22:27:00 +00:00
Glenn Maynard b700578675 remove unused param 2006-12-15 21:23:37 +00:00
Steve Checkoway 0022407a7a I think this handles repeat events correctly now. It is hard for me to test it though. 2006-12-15 05:51:22 +00:00
Glenn Maynard ebd0ca28b5 implement swap, operator=, block sizes 2006-12-14 19:37:57 +00:00
Glenn Maynard 622d6b433b default buffer size of 512 2006-12-14 10:57:37 +00:00
Glenn Maynard a348425d23 fix RageSoundReader_Pan::Read logic 2006-12-14 02:32:33 +00:00
Glenn Maynard 4418f202f4 update comment 2006-12-13 22:30:35 +00:00
Glenn Maynard 5bfc731036 remove old GetPCM 2006-12-13 18:40:02 +00:00
Glenn Maynard 7fecf43f1d update comment 2006-12-13 18:38:07 +00:00
Glenn Maynard 95f72debdc remove pSound param 2006-12-13 09:17:48 +00:00
Glenn Maynard 2377925f41 remove iRate param 2006-12-13 09:15:29 +00:00
Glenn Maynard 0f76adec67 GetSampleRate(int) -> GetSampleRate(); one sample rate
per driver
2006-12-13 09:13:41 +00:00
Glenn Maynard f75a281c18 GetPosition(pSound) -> GetPosition(); one hardware sound position
per driver
2006-12-13 09:10:08 +00:00
Glenn Maynard fb9639f52c remove RageSoundDriver_DSound (complicated hardware mixer) 2006-12-13 08:58:40 +00:00
Glenn Maynard fae5e9fafa remove RageSoundDriver_ALSA9 (complicated hardware mixer) 2006-12-13 08:56:56 +00:00
Glenn Maynard 873a979b06 make GetSource virtual 2006-12-13 08:47:05 +00:00
Steve Checkoway 66e3eaa3e9 Fix crash on extra stage but I'm a little concerned that this is just covering up the real bug. 2006-12-12 12:24:27 +00:00
Steve Checkoway ebbd138a76 Cleanup. 2006-12-12 12:11:24 +00:00
Steve Checkoway eab92a7ded Tune, align loops. 2006-12-12 11:45:27 +00:00
Chris Danford f968d9d215 move LifeChange from Preference to Metrics 2006-12-12 10:50:18 +00:00
Chris Danford 4ef0bc548b move LifeChange from Preference to Metrics 2006-12-12 10:31:16 +00:00
Jason Felds dd294343b4 Fix crash. 2006-12-12 05:20:59 +00:00
Glenn Maynard 893e9d9e53 units are samples, not bytes 2006-12-12 02:47:35 +00:00
Chris Danford 3e697a10b7 broadcast ScoreNone on TNS_None 2006-12-12 01:33:38 +00:00