Commit Graph
100 Commits
Author SHA1 Message Date
Glenn Maynard ddc2c030d0 compile fix 2004-02-27 00:31:06 +00:00
Glenn Maynard fdca2937a0 better output 2004-02-26 20:42:52 +00:00
Glenn Maynard b6c4b7fb51 fix/cleanup roulette-only songs 2004-02-26 20:35:46 +00:00
Glenn Maynard ddeccdfeaf fix honoring PREFSMAN->m_bHiddenSongs 2004-02-26 20:29:37 +00:00
Glenn Maynard 45d27f00fe cleanup, fix warnings 2004-02-26 06:47:13 +00:00
Glenn Maynard a60bde8547 simplify 2004-02-26 06:46:36 +00:00
Glenn Maynard 84f2b06713 style cleanup 2004-02-26 06:00:52 +00:00
Glenn Maynard c2c796d90c fix warning 2004-02-26 03:18:51 +00:00
Glenn Maynard da5414afa0 fix warnings 2004-02-26 03:07:49 +00:00
Glenn Maynard be15f6800e add Lua::GetStack
lua MonthOfYear: return 1..12 instead of 0..11
2004-02-25 23:58:47 +00:00
Glenn Maynard 572a914f9f tolerate no default selection 2004-02-25 23:56:33 +00:00
Glenn Maynard 6ed4e02417 comment 2004-02-25 23:49:53 +00:00
Glenn Maynard 3cdbc1f31f don't save profile steps to main SM's 2004-02-25 23:48:45 +00:00
Glenn Maynard 128dcc7951 remove old cryptolib stuff 2004-02-25 23:48:05 +00:00
Glenn Maynard e7f196ba9c fix crash 2004-02-25 23:43:50 +00:00
Glenn Maynard 6b9627fc15 add sanity check 2004-02-25 23:37:42 +00:00
Glenn Maynard 67fbd40cf7 don't use GetThreadId 2004-02-25 23:14:28 +00:00
Glenn Maynard 0f8d5281a7 on mutex deadlock, get a backtrace of the thread that we're deadlocked
with
2004-02-25 21:15:25 +00:00
Glenn Maynard 93c86a63a4 on mutex deadlock, get a backtrace of the thread that we're deadlocked
with
2004-02-25 21:08:10 +00:00
Glenn Maynard 5cb9970c4e split out do_backtrace 2004-02-25 08:34:26 +00:00
Glenn Maynard c69f29e54d fix crash on fallback 2004-02-25 05:26:20 +00:00
Glenn Maynard 0c1ef3f594 SDL surfaces don't get along with const (grr)
don't make assumptions about the format of the input surface
2004-02-25 05:03:13 +00:00
Glenn Maynard ecd2c3c515 path fixes 2004-02-25 05:02:06 +00:00
Glenn Maynard f7a9946cac fix d3d screenshot crashes 2004-02-25 04:48:46 +00:00
Glenn Maynard c548f045c0 add ConvertSDLSurface( src, dst )
split out CopySDLSurface(), CompareSDLFormats()
restore alpha flags when done converting
2004-02-25 03:36:20 +00:00
Glenn Maynard 1fbbc6be7a cleanup 2004-02-25 02:02:15 +00:00
Glenn Maynard 44592bc351 small fixes/const fixes 2004-02-25 01:57:41 +00:00
Glenn Maynard 44e8427729 fix screenshot filename searching if a file like "screen0.jpg" exists 2004-02-25 01:51:31 +00:00
Glenn Maynard 142be7ea83 stop including "windows.h" everywhere
make sure sm_crash shows up in stack traces
2004-02-25 01:35:19 +00:00
Glenn Maynard ecce498108 use sm_crash 2004-02-25 01:33:15 +00:00
Glenn Maynard 2c881d223c fix missing headers 2004-02-25 01:11:56 +00:00
Glenn Maynard 2c56af5715 fix XmlFile.h conflicts with windows.h 2004-02-25 01:09:17 +00:00
Glenn Maynard 9a769ec619 add missing header 2004-02-25 00:57:26 +00:00
Glenn Maynard 32b39d5730 underrun detection fix 2004-02-25 00:14:30 +00:00
Glenn Maynard 0bb5338ba9 simplify; make sure buffer_bytes_filled is never negative 2004-02-25 00:06:52 +00:00
Glenn Maynard 25869ac4d4 regression test for stop segment on first bpm segment 2004-02-24 23:41:20 +00:00
Glenn Maynard 113c7b43ec fix timing when a freeze lies before or on the first BPM segment (Black Cat) 2004-02-24 23:40:28 +00:00
Glenn Maynard 9667559886 fix course entry masking 2004-02-24 23:07:03 +00:00
Glenn Maynard 03fc6c5ecb Enable all players. 2004-02-24 23:00:52 +00:00
Glenn Maynard 6396362352 fix "Visualizations/foo.avi/ isn't a directory" crash due to visualizations
being loaded as BGAnimations
2004-02-24 02:17:03 +00:00
Glenn Maynard 5faeed32e7 validate grade input (so we don't crash later writing stats.html) 2004-02-24 02:14:31 +00:00
Glenn Maynard 76b2ae8afb alpha 13b 2004-02-23 23:57:00 +00:00
Glenn Maynard c139ce871e fix results voltage 2004-02-23 23:21:14 +00:00
Glenn Maynard 053fd3bd04 don't import invalid grades 2004-02-23 23:12:40 +00:00
Glenn Maynard 38635516ba comment 2004-02-23 22:45:04 +00:00
Glenn Maynard a6b2385f30 fix grade conversion from a12 2004-02-23 21:27:04 +00:00
Glenn Maynard 77a2f196dc update 2004-02-23 09:36:26 +00:00
Glenn Maynard fb70433e0e fix choosing a disabled selection (editor with no songs) results in options not
responding
2004-02-23 08:51:03 +00:00
Glenn Maynard 9e3437e9f7 SaveMachinePublicKeyToDir fix 2004-02-23 08:09:21 +00:00
Glenn Maynard 9c0ccfae1d fix compile, simplify 2004-02-23 08:08:04 +00:00
Glenn Maynard 748eed520d There have been some reports of people upgrading their installation
but ending up with a metrics.ini from a previous version.  Make sure we
overwrite old files.
2004-02-23 04:42:52 +00:00
Glenn Maynard 7c14df6eba simplify 2004-02-23 04:31:35 +00:00
Glenn Maynard 4924439787 allow continuing if uninstaller fails 2004-02-23 04:23:34 +00:00
Glenn Maynard 838dcab316 Work around a common installation problem: the uninstaller window
takes a second to come up, and during that time it's possible to accidentally
start the new installation.  Wait for the uninstaller to finish, and check whether
it succeeded.

Now using NSIS 2.  The script assumes all previous versions are released
with 1.x, and all versions from here on in are 2.x.  This is extremely important,
since we have to work around an incompatible uninstaller change.
2004-02-23 04:12:07 +00:00
Glenn Maynard 2cd3818400 ScreenNameEntryTraditional invalid 2004-02-23 01:57:24 +00:00
Glenn Maynard 54ead61dbc fix warnings 2004-02-23 01:47:59 +00:00
Glenn Maynard 4f28086bfd simplify 2004-02-23 01:43:57 +00:00
Glenn Maynard 8642a728aa troubleshooting 2004-02-23 01:40:13 +00:00
Glenn Maynard 19ed4d89b2 use localtime_r, not localtime 2004-02-23 01:16:22 +00:00
Glenn Maynard 6def357f15 fix overflow in AttenuateBuf 2004-02-23 01:04:58 +00:00
Glenn Maynard 6ff5eba04d Forcibly terminate after a crash. 2004-02-23 00:47:18 +00:00
Glenn Maynard 9bd0ca032b fix memleak on open fail 2004-02-23 00:29:16 +00:00
Glenn Maynard 7bc279d0c1 cleanup, comment 2004-02-23 00:23:52 +00:00
Glenn Maynard 832355dba4 fix linux build 2004-02-23 00:21:26 +00:00
Glenn Maynard 78d35a1efb fix glitches if the time is set far ahead during gameplay 2004-02-23 00:10:32 +00:00
Glenn Maynard 2c8b17ebf8 RageTimer fixes 2004-02-23 00:04:38 +00:00
Glenn Maynard 1208c42c4d use localtime_r
fix off-by-one errors in time output
2004-02-22 23:39:11 +00:00
Glenn Maynard 9e6a952a41 Better check for the system clock moving backwards. Fixes assist tick.
Needs more testing.
2004-02-22 23:27:42 +00:00
Glenn Maynard d17828c60c simplify 2004-02-22 23:26:46 +00:00
Glenn Maynard 5305320e09 honor m_sLastUsedHighScoreName 2004-02-22 22:44:39 +00:00
Glenn Maynard 23622db584 fix warnings 2004-02-22 21:46:11 +00:00
Glenn Maynard 869fcfad18 whoops, fix link 2004-02-22 21:32:36 +00:00
Glenn Maynard 95edf1db8a const fixes 2004-02-22 21:25:22 +00:00
Glenn Maynard 06a3aea227 fix warnings 2004-02-22 21:23:47 +00:00
Glenn Maynard b485039b32 m_fTotalCaloriesBurned -> float 2004-02-22 21:23:04 +00:00
Glenn Maynard 0eb34d9da0 add int PrettyPercent 2004-02-22 21:22:27 +00:00
Glenn Maynard 370451ebd4 fix warnings 2004-02-22 21:13:27 +00:00
Glenn Maynard 17422a5c43 don't output scores for hidden/locked songs 2004-02-22 21:10:18 +00:00
Glenn Maynard 26f438bf65 reorder deletes 2004-02-22 08:33:14 +00:00
Glenn Maynard 16afd86637 fix gcc compile 2004-02-22 08:20:36 +00:00
Glenn Maynard 5dd654fdee MemCard.ini is gone 2004-02-22 08:18:11 +00:00
Glenn Maynard 802e1a6758 Store unlock data in a more fundamental form in the profile, and derive
the special values as needed.  Centralize most of it in GameState::EndGame.
2004-02-22 08:16:49 +00:00
Glenn Maynard 066826e421 this happens normally in the default theme, so let's not warn about it 2004-02-22 08:13:30 +00:00
Glenn Maynard cf9961950b FOREACH_Grade 2004-02-22 07:09:34 +00:00
Glenn Maynard 376ca15029 simplify 2004-02-22 07:07:03 +00:00
Glenn Maynard a381630ac2 gcc compile fix 2004-02-22 05:50:54 +00:00
Glenn Maynard d92da4f66a simplify 2004-02-22 05:26:02 +00:00
Glenn Maynard 368c773d5c save Steps key data in attrs 2004-02-22 05:18:50 +00:00
Glenn Maynard c631036b6c simplify 2004-02-22 05:16:12 +00:00
Glenn Maynard 0188f51f4e add better accessors for attributes 2004-02-22 05:12:23 +00:00
Glenn Maynard 97e9277d1c this comment came from somewhere else, I think 2004-02-22 04:57:17 +00:00
Glenn Maynard 0fb39e11e0 fix assert when !PREFSMAN->m_bSignProfileData 2004-02-22 04:48:39 +00:00
Glenn Maynard 6ad0103404 calling GetMD5 is OK when !PREFSMAN->m_bSignProfileData 2004-02-22 04:47:35 +00:00
Glenn Maynard 555cca6ec2 fix NumSongsPlayedByStyle data being written with short style
names, eg "Single", which are not unique among games: need to
write the game type, too
2004-02-22 04:37:58 +00:00
Glenn Maynard 8c8595d94b omit more unplayed data 2004-02-22 04:20:20 +00:00
Glenn Maynard e4ff8dd725 more of the same (store dir in an attribute, so it's easier to navigate)
perhaps all "key" data should be in attributes; it's a clean distinction,
and we rarely have more than one key (at most 3 for edits)
2004-02-22 04:06:36 +00:00
Glenn Maynard 181e9186d9 more of the same 2004-02-22 04:01:12 +00:00
Glenn Maynard 9d1c482c2e save difficulty and notestype by name instead of number
only save/require description for edits
2004-02-22 03:53:10 +00:00
Glenn Maynard 597d5cf8c7 remove old comment 2004-02-22 03:39:04 +00:00
Glenn Maynard 5f426d7343 save RankingCategory as strings; save to attr to make navigation easier 2004-02-22 03:37:43 +00:00