Glenn Maynard
a1d272a808
fix unreg
2007-05-06 16:56:03 +00:00
Glenn Maynard
67bce0bac7
set m_bIsCriticalSound for memory card sounds
2007-05-03 05:54:56 +00:00
Glenn Maynard
a8a4803ed8
working on explicit profile load/saves: do this in a screen, not implicitly
...
as part of other operations
separate profile loads/locks for each player
2007-04-17 22:27:25 +00:00
Glenn Maynard
039b777ece
remove param
2007-04-16 19:09:40 +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
70d2d0dbc7
PlayerNumber is a simple, regular data structure, and is depended on
...
by lower level things (eg. InputMapper). However, concepts like
"joined players" and "human players" is a high-level, GAMESTATE
concept, and engine stuff shouldn't depend on that. Move the
GameState-depending stuff into GameState. Move
IsAnyPlayerUsingMemoryCard as well (and rename to HumanPlayer),
to fix MemoryCardManager dep.
2006-11-21 01:32:05 +00:00
Glenn Maynard
ec061bebc3
Message -> MessageID
2006-11-13 22:36:39 +00:00
Glenn Maynard
8a4ddd1515
Invalid
2006-10-07 04:13:43 +00:00
Glenn Maynard
c690fdcfe4
unify registration
2006-09-29 00:01:32 +00:00
Glenn Maynard
f4975f1f54
simpler Lua boilerplate
2006-09-27 20:30:29 +00:00
Glenn Maynard
578c6d5726
simplify singleton registration
2006-09-21 04:42:45 +00:00
Glenn Maynard
e830771ad9
Message_StorageDevicesChanged after UpdateAssignments (usually
...
happens anyway due to message queuing)
2006-07-09 19:53:19 +00:00
Glenn Maynard
580b21d0d3
pass iTimeout
2006-07-09 19:49:14 +00:00
Chris Danford
b1fdcabde7
debug logging
2006-03-29 02:53:01 +00:00
Glenn Maynard
7bc5db6666
This doesn't work: the memory card thread can use Lua, so this
...
deadlocks. Use MemoryCardProfiles instead.
2006-03-26 06:48:45 +00:00
Glenn Maynard
262db5e46d
Add MemoryCardProfiles. This allows enabling memory cards without
...
using them for profiles.
2006-03-26 06:43:35 +00:00
Glenn Maynard
458b31b7db
fix using a different card than was selected by default uses the old one's state (eg. write test error)
2006-03-26 05:11:06 +00:00
Glenn Maynard
6e520a5678
const
2006-03-26 04:52:59 +00:00
Glenn Maynard
f6978880a9
split out UpdateAssignments
2006-03-26 04:51:47 +00:00
Glenn Maynard
830103592a
cleanup
2006-03-26 04:50:33 +00:00
Glenn Maynard
41bfd277a5
cleanup
2006-03-26 04:16:57 +00:00
Glenn Maynard
d37daab68c
move out of PrefsMan
2006-03-26 04:12:17 +00:00
Steve Checkoway
00ddde56ba
Revert.
2006-03-12 23:53:31 +00:00
Steve Checkoway
9a6a581e14
Const.
2006-03-12 23:42:50 +00:00
Chris Danford
7d0ac62982
poll for memory cards in the editor screens even if MemoryCard=0
2006-03-12 07:02:50 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
08376fc0f1
WorkerThread -> RageWorkerThread
2005-12-21 06:10:41 +00:00
Glenn Maynard
2efb95aa92
header cleanup
2005-12-21 06:00:18 +00:00
Glenn Maynard
8ceb3e7421
remove FlushAndReset
2005-12-21 05:53:15 +00:00
Glenn Maynard
f1498f38f0
I can't remember any rationale for "UnmountCard should never block",
...
and it does block: umounting a filesystem in Linux will block until
it's flushed.
2005-12-21 05:46:01 +00:00
Glenn Maynard
b01308783e
unused headers
2005-12-19 00:42:29 +00:00
Glenn Maynard
9ff7afe86b
remove unused Reset
2005-12-10 02:35:10 +00:00
Chris Danford
36c7d8e0ed
enum name cleanup
2005-12-01 03:20:25 +00:00
Chris Danford
3b799327fc
finish import/export of edits
2005-11-30 05:33:01 +00:00
Chris Danford
749a8468a9
complete removal of memory card blacklist
2005-11-29 23:13:43 +00:00
Chris Danford
22f1387385
working on edit screens
2005-11-29 08:02:54 +00:00
Chris Danford
74287d4589
remove memory card OS dir blacklist
2005-11-29 05:56:11 +00:00
Chris Danford
299e1f7d68
add memcard blacklist by OsMountDir and UI to disable specific drives
2005-11-27 01:50:10 +00:00
Steve Checkoway
f89319f256
Fix warnings.
2005-10-31 01:55:05 +00:00
Chris Danford
ca8e0c5137
work around bad global constructor order in g++ x86 by not using PlayerNumber. Find a better way to handle this?
2005-10-29 05:42:38 +00:00
Glenn Maynard
a9038f82dd
move memory card prefs into MemoryCardManager
2005-10-27 17:37:59 +00:00
Chris Danford
e00a57e05e
use Preference1D
2005-10-26 23:09:56 +00:00
Chris Danford
7191258c0a
clean up enum Message names so that they match the corresponding strings
2005-08-14 07:29:48 +00:00
Glenn Maynard
e3999565d8
missing include
2005-07-02 22:38:55 +00:00
Glenn Maynard
9bb15367ec
fix warning
2005-05-25 22:14:30 +00:00
Glenn Maynard
82b63a4065
mount memcard filesystems at start, logging
2005-05-22 21:13:46 +00:00
Glenn Maynard
48f74fb55e
add error return from MountCard
2005-05-22 01:44:37 +00:00
Glenn Maynard
4c8c5bea37
Add variable timeouts.
...
After mounting or unmounting a filesystem, flush cache, so we don't keep
stale cache around.
RageFileDriverDirect::Remount could (and should) flush its own cache when
changing root (since the cache represents the old root). However, calling
Remount doesn't indicate that the filesystem has actually changed, so if
the root isn't actually changing (Remount("/mnt") on a filesystem already
pointing to /mnt), the driver can't be expected to flush. (Remount also
currently doesn't go through Timeout, and we need to flush on unmount,
too.) So, take the cheap way out and just flush through FILEMAN.
2005-05-22 01:36:08 +00:00
Glenn Maynard
fe8999ce0a
RageFileManager::GetFileDriver doesn't prepend a slash to mountpoints. instead of hacking it up, fix the mountpoint names ...
2005-05-20 23:44:06 +00:00
Chris Danford
e389ba6191
convert the rest to use Preference
2005-05-16 09:36:32 +00:00