Commit Graph
22519 Commits
Author SHA1 Message Date
Steve Checkoway 941dac27b3 Fix memory leak and possible buffer overflow. CFStringGetMaximumSizeForEncoding() doesn't mention anything about NULL terminators so add one to protect against that. 2006-09-17 05:14:20 +00:00
Steve Checkoway a5ecf51f8a Fix linux compile (not tested). 2006-09-17 03:56:28 +00:00
Steve Checkoway 6cd7373a95 Change other languges. We should probably use correct quotes for others languages. 2006-09-17 03:32:46 +00:00
Steve Checkoway af711bb8d5 update string 2006-09-17 03:26:58 +00:00
Steve Checkoway 6ea2a41b00 Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible. 2006-09-17 01:19:19 +00:00
Steve Checkoway c9fa49b7ba Use UserLog. Also clean up RageException::Throw() calls. 2006-09-17 01:14:39 +00:00
Steve Checkoway 79446f6ef5 Theme element and theme metric. 2006-09-17 01:13:40 +00:00
Steve Checkoway e2a56902c9 Check the format. 2006-09-16 23:20:13 +00:00
Jason Felds aacfdc0727 Add an example of a course that uses the AWARD# mods. No other mods this time around. 2006-09-16 20:28:42 +00:00
Steve Checkoway 420846a012 oops, missed one. 2006-09-16 19:56:00 +00:00
Steve Checkoway ba8b31a1cf Simplify at the top then cleanup the breaks. 2006-09-16 19:28:44 +00:00
Steve Checkoway 4e7afa70fb Use the course song index, not the stage index (which is always STAGE_1 rather than STAGE_ONI for some reason). 2006-09-16 19:15:36 +00:00
Steve Checkoway 6051deb2a8 Comment. 2006-09-16 03:59:02 +00:00
Steve Checkoway 951741153b Only flush the directory into which we're writing. 2006-09-16 03:44:47 +00:00
AJ Kelly 1ce9e46fa3 Only flush the toilet. (Fix an input error caused when exiting Stepmania Credits from the options menu; Now goes to ScreenTitleMenu) 2006-09-16 03:41:04 +00:00
Steve Checkoway e7e034949b Only flush the modified dir. Why do we need to flush this at all? 2006-09-16 03:39:11 +00:00
Steve Checkoway 1b35499f4e Only flush the directories of the NoteSkins in question. 2006-09-16 03:34:44 +00:00
Steve Checkoway 335f6a4790 Only flush songs/courses/edits directories. 2006-09-16 03:31:27 +00:00
Steve Checkoway a22b349e81 Only flush the directory of the theme in question. 2006-09-16 03:26:23 +00:00
Steve Checkoway d15318cc42 Only flush "Save/". 2006-09-16 03:17:18 +00:00
Steve Checkoway ed9ae19afd Only flush the screen shot directory. 2006-09-16 03:16:03 +00:00
Steve Checkoway f8522927cc reply -> replay 2006-09-16 03:12:07 +00:00
Steve Checkoway 363e726652 Only flush the directory cache of the screen shot directory. 2006-09-16 03:09:42 +00:00
Steve Checkoway 5265df4393 Fix memory leak if screenshot fails. 2006-09-16 03:04:04 +00:00
Steve Checkoway 2cf71907ee Fix comment. Only 5 numbers. 2006-09-16 02:26:14 +00:00
Steve Checkoway bdcdba3811 Simplify. 2006-09-16 00:14:20 +00:00
Steve Checkoway a95ce5ecdb Cleanup. 2006-09-15 23:58:23 +00:00
Glenn Maynard 6a1db3af03 remove old sdl stuff 2006-09-15 23:52:37 +00:00
Glenn Maynard 6c8d5774fc remove old SDL stuff 2006-09-15 23:48:15 +00:00
Steve Checkoway db88a9a4fd Fix compile. 2006-09-15 23:36:05 +00:00
Steve Checkoway 06268ef92b Use AppFocusChanged(). 2006-09-15 23:34:24 +00:00
Steve Checkoway 37314eb432 While running, it's possible to lose focus and regain focus before an update has ended (for example if the main thread is block on a dialog return) such that it appears that focus was never lost. AppFocusChanged() will return true if the focus has changed since the last time it was called. 2006-09-15 23:33:43 +00:00
Steve Checkoway f3f17b1ae3 Level range is 0 to 1. 2006-09-15 22:52:05 +00:00
Steve Checkoway 5734377d37 Fix confusing local and global variables having the same name. 2006-09-15 22:51:29 +00:00
Steve Checkoway a5dc103bc2 Fix. s is upper case, sGrade is not. 2006-09-15 22:50:15 +00:00
Steve Checkoway e262e7902a No need for static. 2006-09-15 22:11:08 +00:00
Steve Checkoway 7ca6b10016 s -> g. 2006-09-15 22:04:29 +00:00
Steve Checkoway eff3e0d91c Break on exception. 2006-09-15 19:40:32 +00:00
Steve Checkoway 87d3d0e043 Cleanup. 2006-09-15 19:03:21 +00:00
Steve Checkoway 89c3ef56d4 Remove Xbox hack. (Unless there's a DEL defined as well.) 2006-09-15 18:21:41 +00:00
Steve Checkoway e8cf81a759 Spacing. 2006-09-15 18:21:12 +00:00
Renaud Lepage 51bbfb87f3 FIXME: Aspect ratio. Solved with a recent commit to the Xbox GraphicsScreen. 2006-09-15 15:06:55 +00:00
Renaud Lepage 262518fc85 PNG Fix for Xbox. 2006-09-15 15:05:49 +00:00
Renaud Lepage 32420d97e5 Xbox XBE IDs are defined as such:
Main: ASCII Hex values of STEP
Alternate: ASCII Hex values of PETS

This paves the way for savegame-style storing.
2006-09-15 15:03:44 +00:00
Renaud Lepage 0a872c8c77 Code cleanup. 2006-09-15 15:01:50 +00:00
Renaud Lepage 7f4797e7af Secondary fix for the PAL and Video values. This is more clean, while as working as the previous commit. 2006-09-15 14:54:43 +00:00
Renaud Lepage 12a7250def Feature patch: Xbox Crash Handling.
Seems that the Xbox had debugger detection routines and a way to have a Debug Break. this patch activates it.
2006-09-15 14:06:27 +00:00
Steve Checkoway 125fccc33c Simplify. Don't pass the button pressed bool along. This can be derived from the level every time. 2006-09-15 08:31:53 +00:00
Glenn Maynard fe95757304 simplify 2006-09-15 08:05:15 +00:00
Steve Checkoway a0e54b55e9 Support rotations. I'm not sure what it means to rotate left, right, etc., so I just picked left to be negative values to be left/up and positive values to be right/down.
Use make_pair.
2006-09-15 08:04:21 +00:00