Commit Graph
100 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
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
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
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
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
Glenn Maynard 40542977f1 style 2005-12-13 03:33:32 +00:00
Glenn Maynard a4e1e57123 style 2005-12-13 03:27:44 +00:00
Glenn Maynard c2b70be5cb implement GetGlobalComment 2005-12-13 03:07:48 +00:00
Glenn Maynard d03f1ed31f cleanup 2005-12-13 01:10:48 +00:00
Glenn Maynard b03a8181b5 cleanup 2005-12-12 01:10:59 +00:00
Glenn Maynard 0014e24b65 remove unused Update 2005-12-12 01:09:34 +00:00
Glenn Maynard 5c699e36e8 nothing uses this 2005-12-12 01:08:44 +00:00
Glenn Maynard 1ffa9da02e cleanup 2005-12-11 07:08:33 +00:00
Glenn Maynard 55001f4d54 static 2005-12-11 05:30:02 +00:00
Glenn Maynard 552f7c402c test 2005-12-11 01:19:36 +00:00
Glenn Maynard a6fc7447dc test 2005-12-11 01:13:39 +00:00
Glenn Maynard cfdef6afba test 2005-12-11 01:12:55 +00:00
Glenn Maynard cf5566e1ac test 2005-12-11 01:12:22 +00:00
Glenn Maynard 3f17202a92 test 2005-12-11 01:11:29 +00:00
Glenn Maynard 574713adf1 test 2005-12-11 01:10:47 +00:00
Glenn Maynard ef3d25fb42 test 2005-12-11 01:06:38 +00:00
Glenn Maynard ee97558d62 test 2005-12-11 01:04:19 +00:00
Glenn Maynard 1cc16d3231 test 2005-12-11 00:05:09 +00:00
Glenn Maynard c80f16f148 checking syncmail 2005-12-10 23:55:41 +00:00
Glenn Maynard fc99c620b2 cleanup comment 2005-12-10 19:02:15 +00:00
Glenn Maynard 3203cbb435 simplify (we do this in FocusChanged(), too) 2005-12-10 19:01:17 +00:00
Glenn Maynard f8c0c0124a cleanup 2005-12-10 18:58:43 +00:00
Glenn Maynard 919e36db03 remove unneeded 2005-12-10 18:52:11 +00:00
Glenn Maynard 9b2550611e fix tests link 2005-12-10 18:51:28 +00:00
Glenn Maynard 05072579ae fix compile 2005-12-10 18:46:09 +00:00
Glenn Maynard a64545a533 use SetUserQuit to eliminate bad GameLoop.h dependency 2005-12-10 18:44:41 +00:00
Glenn Maynard 24b9237800 UserQuit for GraphicsWindow 2005-12-10 18:43:34 +00:00
Glenn Maynard d439765145 implement UserQuit to eliminate bad GameLoop.h dependency 2005-12-10 18:42:55 +00:00
Glenn Maynard aa1f78ef91 use HOOKS->UserQuit 2005-12-10 18:41:40 +00:00
Glenn Maynard 33ba805849 add UserQuit 2005-12-10 18:40:20 +00:00
Glenn Maynard 738099b4a3 unused header 2005-12-10 18:12:48 +00:00
Glenn Maynard df8b92dd3a cleanup 2005-12-10 18:07:14 +00:00
Glenn Maynard b84c910e90 fix compile 2005-12-10 18:04:43 +00:00
Glenn Maynard bbf140a906 cleanup 2005-12-10 17:57:11 +00:00
Glenn Maynard 21a2900776 remove compat virtual 2005-12-10 07:39:31 +00:00
Glenn Maynard 16996cd095 update, cleanup 2005-12-10 02:36:32 +00:00
Glenn Maynard 9ff7afe86b remove unused Reset 2005-12-10 02:35:10 +00:00
Glenn Maynard 7d79d35841 cleanup 2005-12-10 02:29:33 +00:00
Glenn Maynard d6d6965e71 member, not static 2005-12-10 02:28:44 +00:00
Glenn Maynard dc1d91fa3e remove unused 2005-12-10 02:27:24 +00:00
Glenn Maynard f5aa8fdd27 comments 2005-12-10 02:21:11 +00:00
Glenn Maynard 4448fb5a5a update 2005-12-10 02:19:00 +00:00
Glenn Maynard 04ffb1657f comments, fixes 2005-12-10 02:14:06 +00:00
Glenn Maynard 03708b636a firming up this API: USBStorageDevicesChanged is "calling
GetUSBStorageDevices may return different devices"; calling
it twice in a row should have the same result
2005-12-10 02:11:34 +00:00
Glenn Maynard cdb44c71be not "new" 2005-12-10 02:08:26 +00:00
Glenn Maynard 39535c11e5 move common high-level device checking logic into base class:
- report STATE_CHECKING when a device is first seen, so "checking" shows up quickly
 - read quick profile data once bMount is true
2005-12-10 02:07:30 +00:00
Glenn Maynard bd6b59df43 sync with Linux 2005-12-10 01:49:01 +00:00
Glenn Maynard 7bf4380fb5 reuse Mount and Unmount 2005-12-10 01:46:58 +00:00
Glenn Maynard ad7ee70346 fix error 2005-12-10 01:46:17 +00:00
Glenn Maynard 3f27a018b3 nudge closer to Windows driver 2005-12-10 01:42:49 +00:00
Glenn Maynard 8896e8b664 cleanup 2005-12-10 01:40:19 +00:00
Glenn Maynard 03ba527b58 remove unused vConnects 2005-12-10 01:37:28 +00:00
Glenn Maynard a46a80ba3c refactor to look more like the Linux driver 2005-12-10 01:36:15 +00:00
Glenn Maynard e94119a957 break out MemoryCardDriverThreaded_Windows::GetUSBStorageDevices 2005-12-10 01:24:11 +00:00
Glenn Maynard 908e60fc0a don't make an extra copy 2005-12-10 01:19:53 +00:00
Glenn Maynard 3751c6dc88 revert last 2005-12-10 01:11:12 +00:00
Glenn Maynard cc5798a416 simplify 2005-12-10 01:05:58 +00:00
Glenn Maynard 48a313372b don't log non-removable drives 2005-12-10 01:04:16 +00:00
Glenn Maynard db4cc8df2e Floppy drives can be reassigned, and other things can end up on A: and B:. Check the actual device type. 2005-12-10 00:36:34 +00:00
Glenn Maynard 9dc6b7366a cleanup 2005-12-09 23:54:18 +00:00
Glenn Maynard 5c5183b953 bind 2005-12-09 21:39:41 +00:00
Glenn Maynard b68e9dd772 simplify into one loop 2005-12-09 20:05:04 +00:00
Glenn Maynard cffff7739b never accept input while transitioning 2005-12-09 05:28:53 +00:00
Glenn Maynard 970bc43d03 we save after every change 2005-12-09 04:27:47 +00:00
Glenn Maynard f8104c0731 separate exit row 2005-12-09 04:25:30 +00:00
Glenn Maynard 5d8371699b cleanup 2005-12-09 03:59:25 +00:00
Glenn Maynard 0dbdd181e9 X -> command 2005-12-09 03:54:45 +00:00
Glenn Maynard 679eb31eda command 2005-12-09 03:54:16 +00:00
Glenn Maynard 5e11c35991 ignore repeats for input mappings 2005-12-09 03:15:51 +00:00