Commit Graph

13456 Commits

Author SHA1 Message Date
Glenn Maynard 8274c123b7 don't wait for removal if in MEMORY_CARD_STATE_REMOVED 2005-02-06 08:50:08 +00:00
Glenn Maynard 97a4a65b26 Unmount cards if we time out. "Locking" and "finalizing" are the same;
merge them.  (They're both enabled and disabled in the same place.)
Pause the memory card thread during gameplay, so any changes will
wait until the current stage finishes (so we don't interrupt the player with
a noise and possibly skip).  Work on making MemoryCardManager::LockCards()
block if the card is in CHECKING.
2005-02-06 08:48:55 +00:00
Glenn Maynard a89d88b5e6 make IsTimedOut() public
allow waiting for the next heartbeat
2005-02-06 08:44:01 +00:00
Glenn Maynard c8f2f71551 fix vc compile 2005-02-06 06:34:40 +00:00
Glenn Maynard d14ea1ee41 compiles (doesn't support everything yet) 2005-02-06 05:46:07 +00:00
Chris Danford d93d2d1681 cache OPTION_ORDER 2005-02-06 05:15:57 +00:00
Glenn Maynard 7a21e95ede memory card work (linux update in a few minutes) 2005-02-06 05:11:57 +00:00
Glenn Maynard ca4589a8c3 Memory card work: Show "CHECKING" when we've seen the card and
havn't finished checking it out yet (eg. write check).  This improves responsiveness:
a slow card will indicate that we see the card immediately, and it helps
diagnostics since we can easily tell if the machine sees a card.  Allow re-
establishing a memory card removed after finalization, as long as it has the
same serial number.
2005-02-06 05:08:46 +00:00
Chris Danford e4117354ae add static-sized array versions of ThemeMetric 2005-02-06 04:57:57 +00:00
Chris Danford 4223e09cc8 GetPathTo -> GetPath 2005-02-06 03:32:53 +00:00
Chris Danford 7e68ac03b4 change elements to have format "<name> <piece>" 2005-02-06 03:28:22 +00:00
Chris Danford 544dd78497 change elements to have format "<name> <piece>" 2005-02-06 03:06:42 +00:00
Chris Danford 72fea98241 rename element 2005-02-06 03:01:12 +00:00
Glenn Maynard 7e1be2bde3 fix tabbing 2005-02-06 00:25:29 +00:00
Glenn Maynard bc3f8803c3 minor cleanups 2005-02-05 23:56:23 +00:00
Glenn Maynard 9f15f43462 disable inline assembly; it makes assumptions about compiler flags that we don't want to meet 2005-02-05 23:41:32 +00:00
Chris Danford 8dfdb3f9d2 background shouldn't be optional 2005-02-05 23:09:26 +00:00
Glenn Maynard a4de4c8c0d better function registration: store a reference, instead of making up a name 2005-02-05 23:03:20 +00:00
Chris Danford 33661c13d6 zero the next update after creating or deleting a screen so we don't skip 2005-02-05 22:11:15 +00:00
Glenn Maynard d1a701a9a9 more g++ 3.4 compile fixes 2005-02-05 21:46:52 +00:00
Glenn Maynard 965d5e663d incomplete g++ 3.4 compile fix 2005-02-05 21:40:36 +00:00
Glenn Maynard 3becf70986 fix warning 2005-02-05 21:27:15 +00:00
Glenn Maynard c35ca4744e update 2005-02-05 21:25:02 +00:00
Glenn Maynard 2e31667fd3 let's not copy and paste copyright notices too verbatim :) 2005-02-05 21:21:51 +00:00
Chris Danford 5844f7d297 fix build 2005-02-05 20:37:23 +00:00
Glenn Maynard 9c55974c63 remove MemoryCardDriverThreaded 2005-02-05 19:18:49 +00:00
Glenn Maynard 153f542193 fix gcc warnings 2005-02-05 19:17:11 +00:00
Glenn Maynard 6d6679369c remove MemoryCardDriverThreaded 2005-02-05 19:12:47 +00:00
Glenn Maynard 76e45504a3 MemoryCardDriverThreaded_Linux compiles (not yet tested) 2005-02-05 19:12:02 +00:00
Glenn Maynard c7434d29de simplify; pausing and threading is handled above (Linux update in a few
minutes)
2005-02-05 19:02:25 +00:00
Glenn Maynard 2d9312c207 remove MemoryCardDriverThreaded 2005-02-05 19:01:08 +00:00
Glenn Maynard d468e15435 Add a memory card WorkerThread. This works simiilarly to the file
worker threads (though somewhat simpler).  Changes: MemoryCardDriverThreaded
is going away; all memory card drivers are implicitly threaded at a higher
level (there's no reason to not do so).  Memory card drivers can safely time
out; we'll recover sanely.  This needs a bit more work, but should be more
tolerant of long memory card recovery periods.
2005-02-05 19:00:33 +00:00
Glenn Maynard 93b70b137d add TimeoutEnabled query 2005-02-05 18:57:27 +00:00
Glenn Maynard c828e51c3b add RageUtil_WorkerThread 2005-02-05 18:57:00 +00:00
Charles Lohr d1ea8c554e More classes 2005-02-05 17:21:51 +00:00
Chris Danford 9d760bbdea move common subscription code into templated class 2005-02-05 11:21:13 +00:00
Chris Danford e2da825c30 re-register all ActorCommands after resetting Lua 2005-02-05 10:15:15 +00:00
Glenn Maynard 69a175f001 fix REQ_SHUTDOWN, thread name 2005-02-05 09:08:05 +00:00
Glenn Maynard 4d7f4e4cdd split out generic worker thread code from ThreadedFileWorker, so memory
cards can use it, too
2005-02-05 08:02:43 +00:00
Chris Danford 12a5a25648 simplify
don't reload shared BGA on metrics/texture reload
2005-02-05 07:35:02 +00:00
Chris Danford ae7076daf7 simplify fix for ATI 2005-02-05 06:43:35 +00:00
Chris Danford cc8d974192 give names to all course difficulties 2005-02-05 06:36:32 +00:00
Chris Danford 1b43db7b59 fix vertex shader on ATI 2005-02-05 06:34:25 +00:00
Glenn Maynard 4ce15369cf unlike member functions, templates are not automatically inlined 2005-02-05 05:53:18 +00:00
Glenn Maynard bf80420cd8 short desc in the header, long desc in the implementation 2005-02-05 03:18:27 +00:00
Glenn Maynard 944bba77b6 I don't remember what RageMatrixCommand was for. Remove it. 2005-02-05 03:15:40 +00:00
Glenn Maynard 3e389c103b Translation and scaling (when applied in that order) are trivially combined;
save a matrix multiply for every actor.  (Maybe we can avoid doing any,
for objects which are neither rotated nor scaled--such as those positioned
based on their parent--but I'm not sure it's worth it.)  Rotations can be
combined without doing a full matrix multiply, too; if an actor rotates at all,
only do one matrix multiply.
2005-02-05 03:12:04 +00:00
Glenn Maynard aceff788bf remove wasteful and mostly unused matrix math helpers (pass by reference,
don't return by value)
2005-02-05 02:42:33 +00:00
Glenn Maynard 9a164cd7b4 simplify 2005-02-03 03:39:15 +00:00
Glenn Maynard 38eaa83497 fix m_NoteFieldEdit being updated twice, causing animations to play
too fast
2005-02-03 03:13:06 +00:00