Commit Graph

18668 Commits

Author SHA1 Message Date
Glenn Maynard 856705d215 unused header 2005-12-19 00:24:22 +00:00
Glenn Maynard c4c66841ec move some prefs out of PrefsMan 2005-12-19 00:18:33 +00:00
Glenn Maynard 7c3d52ee00 naming cleanup 2005-12-19 00:10:53 +00:00
Glenn Maynard 4509a955af simplify convert_pause_to_beat 2005-12-19 00:08:07 +00:00
Glenn Maynard 01e8e57ad1 add TimingData::GetStopAtRow 2005-12-19 00:07:34 +00:00
Glenn Maynard 06e8da57f8 convert_beat_to_pause -> convert_to_pause (operates on the selection,
not a beat)
2005-12-18 23:56:14 +00:00
Glenn Maynard 3fbde68e4a better encapsulation, reduce GameLoop.cpp depending on StepMania.cpp: move
CheckForChangedInputDevicesAndRemap into InputMapper
2005-12-18 23:45:46 +00:00
Glenn Maynard 304c31d29d fix GetAsNotInBs()s causes confusing compiler errors in VC7.1 if Foreach.h
isn't included first
2005-12-18 23:20:32 +00:00
Glenn Maynard 9e784d8e55 cleanup spacing 2005-12-18 22:57:23 +00:00
Glenn Maynard 29603ba7db remove unused parameter 2005-12-18 22:53:47 +00:00
Glenn Maynard 7faaa73afd remove unused fDeltaTime parameter 2005-12-18 22:51:12 +00:00
Glenn Maynard 67f9c89c96 unused 2005-12-18 22:45:52 +00:00
Glenn Maynard e9ffd980f0 fix stale INPUTMAN pointer in Lua after device change 2005-12-18 21:24:33 +00:00
Glenn Maynard 636369ba4b remove deprecated RageFileDriverZip ctor 2005-12-18 20:18:32 +00:00
Glenn Maynard 502374771b fix InsertRows(0,n) breaks an invariant: the first BPM segment must always start at 0 2005-12-18 08:09:27 +00:00
Chris Danford fdbf9a48ab revert last 2005-12-18 08:05:17 +00:00
Glenn Maynard 37d82efe3f remove ShiftRows 2005-12-18 08:02:51 +00:00
Glenn Maynard 037a13f70c use InsertRows, DeleteRows 2005-12-18 08:01:45 +00:00
Glenn Maynard 2a6094b606 use m_Timing.DeleteRows 2005-12-18 07:59:44 +00:00
Glenn Maynard 1cbcbc6b1e fix, comment 2005-12-18 07:58:53 +00:00
Chris Danford 988548f0bd default to group sort 2005-12-18 07:55:10 +00:00
Glenn Maynard a0031e8db2 TimingData::ShiftRows violated an important invariant of TimingData: any
given beat can have no more than one StopSegment or BPMSegment--more
than one just doesn't make sense.  Split out TimingData::InsertRows,
TimingData::DeleteRows; delete rows in between before shifting data
up.
2005-12-18 07:55:01 +00:00
Glenn Maynard c9af43c5dd use SetStopAtRow 2005-12-18 07:34:19 +00:00
Glenn Maynard 0161a467ea TimingData is note rows internally. Don't convert from note rows to
beats, and then back to note rows.
2005-12-18 07:29:31 +00:00
Glenn Maynard fee5e3ff33 cleanup 2005-12-18 07:28:48 +00:00
Glenn Maynard 33acee8ba0 old comment 2005-12-18 07:18:23 +00:00
Glenn Maynard b6264bd96f the +1 in the DeleteRows call means "keep the row at the start,
not the end"; it's wrong in the m_Timing.ShiftRows call

use m_Timing.SetStopAtBeat

this is still not quite right: it will create multiple StopSegments
in the same place in some cases
2005-12-18 07:16:47 +00:00
Chris Danford efe3984ad5 detect changing USB joysticks and remap on the fly 2005-12-18 07:13:13 +00:00
Glenn Maynard ff7bbfe524 remove ShiftRows 2005-12-18 07:11:51 +00:00
Glenn Maynard c864756dc9 use InsertRows, DeleteRows 2005-12-18 07:09:56 +00:00
Glenn Maynard c350b1e52d use DeleteRows; after convert_beat_to_pause, clear the selection completely 2005-12-18 06:58:52 +00:00
Glenn Maynard e76574e7cc split NoteDataUtil::ShiftRows into InsertRows and DeleteRows 2005-12-18 06:26:22 +00:00
Steve Checkoway b1e0cc776c Fix linking 2005-12-18 03:57:10 +00:00
Chris Danford 19cca61e31 remove NextGame codes. Anybody who triggers it does so accidentally and can't figure out what happened. 2005-12-18 03:56:26 +00:00
Chris Danford c95a5dc8e5 add InputDevice::DevicesChanged 2005-12-18 03:08:12 +00:00
Steve Checkoway 3b9479e271 Add files 2005-12-18 01:44:23 +00:00
Chris Danford 572576021c fix tools.exe build, runtime errors 2005-12-18 01:27:54 +00:00
Chris Danford 46f5a33ae0 edit steps stuff (uncommitted from a week ago) 2005-12-18 01:27:36 +00:00
Steve Checkoway 833d06d1f3 pthread_join() returns an error code, it does not set errno. 2005-12-17 13:17:35 +00:00
Steve Checkoway 0338fb01ef Forcing a crash with a stack trace on a user settable preference seems wrong. "Throw" an exception instead which will show a lovely dialog box with the message. 2005-12-17 13:16:22 +00:00
Steve Checkoway 510254abb4 Add more property listeners, name the two threads created by the audio HAL. 2005-12-17 13:10:23 +00:00
Steve Checkoway 866d34a97d Remove ExitGame() 2005-12-17 13:09:04 +00:00
Steve Checkoway ee07c1d20d Use ArchHooks::SetUserQuit() 2005-12-17 13:03:04 +00:00
Steve Checkoway 2ab8fcd709 update 2005-12-17 12:50:28 +00:00
Steve Checkoway 7fab468409 Make UserQuit and SetUserQuit static members of ArchHooks. Windows and linux not tested. MountInitialFilesystems also appears to be static, fix compile on OS X. 2005-12-17 12:44:46 +00:00
Steve Checkoway 21a9c65791 Fix crash if thread exits before the dtor is called. 2005-12-17 12:32:59 +00:00
Chris Danford 353e0c5b6e break up arch stuff into smaller .cpp files to fix smpackage build and not pull in unnecessary stuff 2005-12-16 04:16:09 +00:00
Glenn Maynard ddce0cc239 remove old 2005-12-15 19:00:15 +00:00
Glenn Maynard 74fd14ef23 cleanup. This name is for human consumption (crash dumps, debugger thread lists). 2005-12-15 18:56:18 +00:00
Steve Checkoway f4e1603411 Add files incase I want to work on this in Washington...on my laptop. (Never develop on a laptop, compiling drains my battery faster than anything else.) 2005-12-15 11:48:16 +00:00