Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard edb2e36136 Er. Forgot to commit this (but it's been in the snapshots). 2003-07-27 21:34:08 +00:00
Glenn Maynard 2ea56ecdf8 GetStageInfo is gone.
Remove GetFirstStageInfo.
Allow specifying the course difficulty to functions affected by it.
Simplify Course::GetPlayMode.
2003-07-27 19:14:05 +00:00
Glenn Maynard 534ac086fe phase out GetFirstStageInfo 2003-07-27 18:46:38 +00:00
Glenn Maynard 9a5f812c8f Simplify: use an enum instead of magic constants. 2003-07-27 18:39:34 +00:00
Glenn Maynard 6562c230e2 Simplify: SortOrder_NumStages was always being set to ci.size()+1,
and is never used outside of this function.

Fix float/int warning.
2003-07-27 18:28:05 +00:00
Glenn Maynard c06bebe674 fix 2003-07-27 07:44:17 +00:00
Glenn Maynard 235bfae707 add tests 2003-07-27 07:42:40 +00:00
Glenn Maynard d1a6c2804c add crash handler 2003-07-27 07:08:29 +00:00
Glenn Maynard adafc18929 Add *nix signal handler 2003-07-27 07:07:45 +00:00
Glenn Maynard cb50cf3f79 halt/killing threads 2003-07-27 07:00:13 +00:00
Glenn Maynard 7db6d230df Cleanup; improve error output. 2003-07-27 06:43:50 +00:00
Glenn Maynard a1fac17d55 cleanup 2003-07-27 03:38:25 +00:00
Glenn Maynard 762f67d9fe enable ArchHooks_Unix 2003-07-27 03:37:16 +00:00
Glenn Maynard 6a8b046dc9 use RageThread 2003-07-27 03:35:59 +00:00
Glenn Maynard 725bc58c92 fix heinously broken m4 macro (s/-lm// does very cute things to "-lmad") 2003-07-27 03:32:59 +00:00
Glenn Maynard 473a5fffe6 use RageThread 2003-07-27 03:22:04 +00:00
Glenn Maynard 1414f9149b name the main thread 2003-07-27 03:13:40 +00:00
Glenn Maynard 7fdbfa4879 use RageThread 2003-07-27 03:10:44 +00:00
Glenn Maynard 11b706e6bd add thread handler 2003-07-27 03:08:02 +00:00
Glenn Maynard bb86fe9953 add error check 2003-07-27 03:06:50 +00:00
Glenn Maynard 6d2d6911c3 extra newlines 2003-07-27 02:18:05 +00:00
Glenn Maynard 09a2e75fdd simplify 2003-07-27 01:04:35 +00:00
Glenn Maynard b61b6ea156 add missing header 2003-07-27 00:48:38 +00:00
Glenn Maynard 3927a953ac remove header 2003-07-26 23:14:37 +00:00
Glenn Maynard 8f729668ec remove header 2003-07-26 23:13:11 +00:00
Glenn Maynard 2110594735 add missing header 2003-07-26 23:12:38 +00:00
Glenn Maynard 60e8ec708a remove stubs 2003-07-26 23:09:56 +00:00
Glenn Maynard fe489cd281 SOUNDMAN -> SOUND
RageSoundManager.h -> RageSounds.h
2003-07-26 23:05:16 +00:00
Glenn Maynard 101d49085f typo 2003-07-26 22:55:18 +00:00
Glenn Maynard 3aea7c8a3e SOUNDMAN -> SOUND
RageSoundManager.h -> RageSounds.h
2003-07-26 22:53:22 +00:00
Glenn Maynard beca62eee1 add RageSounds::GetPlayLatency 2003-07-26 22:50:54 +00:00
Glenn Maynard 237a140cdb -*/ 2003-07-26 22:48:38 +00:00
Glenn Maynard 99e28a3875 Rename RageMusic to RageSounds. 2003-07-26 22:47:55 +00:00
Glenn Maynard a5e1f86efd fix 2003-07-26 22:29:34 +00:00
Glenn Maynard 16acd4ce9c fix warnings 2003-07-26 22:25:51 +00:00
Glenn Maynard cc0362bfa2 stub music calls until converted 2003-07-26 22:18:32 +00:00
Glenn Maynard 977683dba9 add def 2003-07-26 22:17:20 +00:00
Glenn Maynard a5d49ba821 init RageMusic 2003-07-26 22:15:53 +00:00
Glenn Maynard 2d1578bea3 add RageMusic 2003-07-26 22:15:33 +00:00
Glenn Maynard 55a90e3958 Add RageMusic. This will reduce dependencies on RageSoundManager. 2003-07-26 22:10:15 +00:00
Glenn Maynard f0b61ec688 add missing header 2003-07-26 22:00:51 +00:00
Glenn Maynard dc9b6ed06d don't pull in RageThreads.h 2003-07-26 21:58:48 +00:00
Glenn Maynard 9b3112facd add missing header 2003-07-26 21:43:40 +00:00
Glenn Maynard 11c992d0f2 remove unneeded headers 2003-07-26 21:38:07 +00:00
Glenn Maynard e636970297 remove extra headers 2003-07-26 21:34:26 +00:00
Glenn Maynard 49bb0233c6 pointer casts are evil 2003-07-24 20:14:11 +00:00
Glenn Maynard 97d06dca09 cosmetic 2003-07-24 20:10:47 +00:00
Glenn Maynard f627645bba simplify 2003-07-24 20:10:17 +00:00
Glenn Maynard 2d7b9c9301 Simplify. Don't recalculate values; it'll break if the rules change elsewhere,
eg. to a change ScoreKeeper.
2003-07-24 19:44:59 +00:00
Glenn Maynard 0b1f5b9dac Huh? iPossibleDancePoints is always >= 0. Is this what you meant? 2003-07-24 19:29:51 +00:00
Glenn Maynard 150a150e9a add ArchHooks_Unix 2003-07-24 08:19:20 +00:00
Glenn Maynard 928c746ba3 special thanks to VC for not even warning about this 2003-07-24 07:15:27 +00:00
Glenn Maynard 99f890a316 fix --disable-gtk2 2003-07-24 06:05:52 +00:00
Glenn Maynard 141c532eff fix garbage/crash 2003-07-24 05:34:27 +00:00
Glenn Maynard 3967e4ca80 Adjust fail mode after player options, not before. 2003-07-24 03:54:34 +00:00
Glenn Maynard e08a001137 Fix courses. 2003-07-24 02:41:56 +00:00
Glenn Maynard be483f5a61 A major, long-running problem is installing themes when the theme is
already installed.  If we don't get rid of the old theme, we'll have junk
files accumulating that cause major problems.

Keep track of what "packages" are included in an SMZIP, and offer
to remove them when the SMZIP is installed.  Don't derive it at extraction
time; this way, we can still create "overlay" SMZIPs.

Make sure we don't do anything stupid if something malicious like "..\..\.."
is listed as a package name.
2003-07-24 01:33:59 +00:00
Glenn Maynard 5e37f10103 fix vc6 compile 2003-07-24 01:29:37 +00:00
Glenn Maynard 6f6517d887 update 2003-07-24 01:29:19 +00:00
Glenn Maynard a00685d1d1 Add GetPackageDirectory and IsValidPackageDirectory. 2003-07-24 01:28:53 +00:00
Glenn Maynard fcf4541e6d disable a warning 2003-07-24 01:11:58 +00:00
Glenn Maynard 75695b3a94 add UninstallOld 2003-07-24 01:10:09 +00:00
Glenn Maynard 3c6dc0f8ed allow writing to a buffer 2003-07-23 23:16:56 +00:00
Glenn Maynard 34f504aec5 Simplify. 2003-07-23 22:51:43 +00:00
Glenn Maynard 09fbfe4d21 Simplify. Move all crash log handling to RageLog. 2003-07-23 22:50:25 +00:00
Glenn Maynard 0aec58d05c Whitespace changes only, to make this a bit more like the rest of the
code.  (I can read it just fine, but it takes a bit of a mind state shift to
read code in a different style.)  No functional changes, since I don't have
a Mac to test them.
2003-07-23 21:53:11 +00:00
Glenn Maynard daf234f83d ArchHooks::AdditionalLog is obsolete. 2003-07-23 21:48:27 +00:00
Glenn Maynard 524d376299 Use RageLog::GetAdditionalLog. 2003-07-23 21:47:41 +00:00
Glenn Maynard 9ef2f59eed Fix up mapped logs. 2003-07-23 21:45:48 +00:00
Glenn Maynard 5eb21182ac Fix up mapped logs. 2003-07-23 21:41:35 +00:00
Glenn Maynard 68f00eccf1 Reduce checkpoints. 2003-07-23 21:26:18 +00:00
Glenn Maynard 14e63f1c37 Start playing in the thread.
Fill a buffer before we start playing.
2003-07-23 21:25:38 +00:00
Glenn Maynard 16154f7eb2 allow NULL play_pos
allow changing volume back to 1
2003-07-23 21:22:26 +00:00
Glenn Maynard 695afce595 simplify 2003-07-23 21:20:12 +00:00
Glenn Maynard 2c53f30fcd make renderer type available to StepMania.cpp 2003-07-23 21:19:43 +00:00
Glenn Maynard f8bfc55aa9 cleanup 2003-07-23 20:52:35 +00:00
Glenn Maynard 50402806d0 Cleanup
Fix OpenGL in Windows.
2003-07-23 20:51:46 +00:00
Glenn Maynard 541b21145e Re-simplify exceptions. 2003-07-23 20:19:22 +00:00
Glenn Maynard 49cd556680 bugfix 2003-07-23 00:56:46 +00:00
Glenn Maynard 33a835ff31 Tired of fighting with MFC; switch arrays to vector.
Update IniFile and some of RageUitl.  Can't do everything, since it's
still using MFC CString.
2003-07-23 00:47:23 +00:00
Glenn Maynard 212af912f1 update 2003-07-22 20:24:01 +00:00
Glenn Maynard d19feaf965 fix link errors--dxguid *is* needed in Windows 2003-07-22 20:23:39 +00:00
Glenn Maynard db150443e4 update 2003-07-22 20:21:13 +00:00
Glenn Maynard 4007c2987b quiet warning 2003-07-22 20:20:12 +00:00
Glenn Maynard 5e71b21e3d need errno 2003-07-22 20:19:47 +00:00
Glenn Maynard 71b2199fb2 Move the rest of song searching logic into SONGMAN. 2003-07-22 05:45:30 +00:00
Glenn Maynard fdd00f5dd4 add GetAdditionalLog 2003-07-22 05:05:39 +00:00
Glenn Maynard 439b7c45e5 Compensate for rate in fNoteOffset, not fSecondsFromPerfect; should fix
autosync issues with music rates.
2003-07-22 05:03:38 +00:00
Glenn Maynard 2cd16ab141 Separate directory scanning and archiving. 2003-07-22 04:55:10 +00:00
Glenn Maynard a5720a96a4 Implement "don't show". 2003-07-22 03:21:08 +00:00
Glenn Maynard a91fed3848 Add "don't show" to ShowComment. 2003-07-22 03:20:46 +00:00
Glenn Maynard 93689f8874 update 2003-07-22 03:12:08 +00:00
Glenn Maynard 4f0e9ef915 Implement "don't ask" for EnterComment. 2003-07-22 03:11:12 +00:00
Glenn Maynard 453b7c4bf2 Add "don't ask" to EnterComment. 2003-07-22 03:10:43 +00:00
Glenn Maynard e46b04eeb2 cleanup 2003-07-22 03:10:13 +00:00
Glenn Maynard 364b01787b Add GetPref, SetPref. 2003-07-22 03:07:51 +00:00
Glenn Maynard d817a6e023 Cleanup. 2003-07-22 02:40:23 +00:00
Glenn Maynard ccba4ffca4 These calls seem to be obsolete; removing them doesn't change anything
and they cause deprecation warnings in VC7.
2003-07-22 02:22:39 +00:00
Glenn Maynard e6dd1487ff Upgrade ZipArchive to 2.3.4. SMPackage compiles in VC7 now. 2003-07-22 02:10:30 +00:00
Glenn Maynard eae9565659 Comment out tests. They break one of my custom build environments. I'll try to fix them later. 2003-07-22 01:31:47 +00:00