Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway 175ae8cac4 I ended up not using this. 2006-09-21 07:19:13 +00:00
Steve Checkoway 93a5184cfd Simplify. Now FromStack() is unused except for Pop(). 2006-09-21 07:12:49 +00:00
Steve Checkoway d7e64dc979 Simplify. PushStack was only calling Push and possibly generating a function for each enumerated type which in the end only called Push. Rename PopStack -> Pop to be symmetric with Push. 2006-09-21 07:06:18 +00:00
Steve Checkoway 064f147f84 Unneeded. 2006-09-21 06:52:39 +00:00
Steve Checkoway a70080c094 Static. 2006-09-21 06:52:13 +00:00
Steve Checkoway 01c4e531d9 Remove files. 2006-09-21 03:54:03 +00:00
Steve Checkoway 2e927c3636 Simplify. 2006-09-21 01:51:27 +00:00
Steve Checkoway c9e0e7e51d Don't return NULL. 2006-09-20 00:04:19 +00:00
Steve Checkoway 6016440012 Don't return NULL. 2006-09-19 23:52:34 +00:00
Steve Checkoway ea1e408b24 Simplify. 2006-09-19 04:47:09 +00:00
Steve Checkoway 32c209a322 Cleanup. 2006-09-19 04:44:59 +00:00
Steve Checkoway 4a81774221 Remove empty duplicate. 2006-09-18 10:30:24 +00:00
Steve Checkoway 7f6ccd1688 Cleanup. Don't return NULL when RString is expected. 2006-09-18 10:04:05 +00:00
Steve Checkoway b1ccf2e5ff The correct syntax for theme metrics is "class::name". 2006-09-17 05:37:42 +00:00
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
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
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
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
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
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
Steve Checkoway 2f2338021d Update. 2006-09-15 04:42:08 +00:00
Steve Checkoway ac68dd3c57 Don't use ints for enums. 2006-09-15 04:40:27 +00:00
Steve Checkoway 1fc4b23cfa Factor out code detection and simplify. The "Tricky" comment was out of date. 2006-09-15 03:09:23 +00:00
Steve Checkoway b342279547 Fix back. Simplify. 2006-09-15 02:53:15 +00:00
Steve Checkoway 88baa838a8 Unwrap. Also make start only trigger on the first press. Without this, alt-enter will start the song. 2006-09-15 02:28:05 +00:00
Steve Checkoway 23221ec7bf Screen::MenuStart() doesn't do anything. 2006-09-15 02:08:47 +00:00
Steve Checkoway 4b7edef4d7 Allow repeating left/right. 2006-09-15 01:54:21 +00:00
Steve Checkoway 944a913790 PlayerNumber -> IEP. 2006-09-15 01:47:24 +00:00
Steve Checkoway 7dc2867dd2 PlayerNumber -> IEP. 2006-09-15 01:13:39 +00:00
Steve Checkoway 416a5e3ddc Add patcher/upgrader/installer thingy. 2006-09-15 00:27:02 +00:00
Steve Checkoway 5bea54f406 Initialize all members. 2006-09-14 21:50:40 +00:00
Steve Checkoway 7b636c506b Add debugging for 1555891. 2006-09-14 21:30:35 +00:00
Steve Checkoway 222b082f55 This assert was triggered in bug 1554335. Debugging. 2006-09-14 21:02:55 +00:00
Steve Checkoway af20d30581 Unused. 2006-09-14 09:33:06 +00:00
Steve Checkoway b5f57abc4e longchar -> wchar_t 2006-09-14 09:32:04 +00:00
Steve Checkoway 5083893317 Use UCKeyTranslate if the 'uchr' resource exists. If not, fall back on the 'KCHR' resource. 2006-09-14 09:13:46 +00:00
Steve Checkoway 6e8d262f8f Simplify and optimize by building a reverse lookup table the first time it is called. 2006-09-14 07:21:44 +00:00
Steve Checkoway dd0e3ce082 Cleanup. 2006-09-14 07:20:05 +00:00
Steve Checkoway 4dd57b99bd Don't hard code joystick and pump numbers. 2006-09-14 06:06:53 +00:00
Steve Checkoway b30cc9d9d1 IsPump(). 2006-09-14 06:06:04 +00:00
Steve Checkoway abe6090775 Simplify. 2006-09-14 05:53:13 +00:00
Steve Checkoway 51ab7b551f Initialize pn. 2006-09-13 10:57:58 +00:00
Steve Checkoway 5e203c6dcb Match other thread names, e.g. Decode thread. 2006-09-13 10:29:54 +00:00
Steve Checkoway 8612011f08 Add license. 2006-09-13 10:22:37 +00:00
Steve Checkoway af2bd3b70a Launching via the Finder includes a single argument that looks like: -psn_0_3801089. there's some mapping between this number and pids but I don't know what off hand (or why it's even used at all). Don't pass it along to our main(). 2006-09-13 10:20:25 +00:00
Steve Checkoway 0194675b29 Remove StyleInput.h 2006-09-13 10:18:05 +00:00
Steve Checkoway 4f83f9b9ae Cleanup. 2006-09-13 09:57:14 +00:00
Steve Checkoway 8f676b30d5 Remove old LUA functions.txt. Add the xsl style sheet and gifs (taken from stepmania.com) used for http://stepmania.sf.net/Lua.xml. 2006-09-13 09:21:28 +00:00
Steve Checkoway 12ce8fe6a5 Add date generated. 2006-09-13 09:20:21 +00:00
Steve Checkoway 01cbd5a0e3 Move to ActorsInMenus. 2006-09-13 08:54:54 +00:00
Steve Checkoway fa7ff235bc Cleanup. Does anyone even know what this does any more? It hasn't been touched in 3 years. SSMode doesn't even use it. It's only used by one screen which hasn't had any real work beyond compile fixes in 3 years. Also, why is "Frieza's" real name not on this? 2006-09-13 08:53:31 +00:00
Steve Checkoway dd5e6290be Unused. 2006-09-13 08:42:22 +00:00
Steve Checkoway 1dec26279a These have no state and only static methods. Make them namespaces. 2006-09-13 08:35:50 +00:00
Steve Checkoway 78d266cf6e Simplify. 2006-09-13 08:17:56 +00:00
Steve Checkoway 48a329597c Fix comment stripping. Fixes editor bug. 2006-09-12 04:28:11 +00:00
Steve Checkoway 1f1e574baf Spacing. 2006-09-12 04:27:48 +00:00
Steve Checkoway 4a0718c4e8 Flush the directory cache so that --temp-- is removed. Is there a reason to do this rather than access(2)? (Obviously, this would need to be done in the FileManager itself.) 2006-09-12 03:24:58 +00:00
Steve Checkoway e7f2cc2d50 Spacing. 2006-09-12 03:23:28 +00:00
Steve Checkoway f147eef491 Sort. 2006-09-08 06:26:43 +00:00
Steve Checkoway 2a0692f4ed Cleanup. 2006-09-08 06:26:31 +00:00
Steve Checkoway e9651a568f Undef. 2006-09-08 05:40:39 +00:00
Steve Checkoway c06c8470a3 Fix prototype. 2006-09-08 05:36:29 +00:00
Steve Checkoway 90336496bc Cleanup. 2006-09-08 05:06:02 +00:00
Steve Checkoway f89680bf06 Simplify. 2006-09-08 05:05:42 +00:00
Steve Checkoway d9e7fc0ecd No, I wanted to both reset and flush the queue. 2006-09-08 05:05:09 +00:00
Steve Checkoway 00be7b5462 Reset(). 2006-09-08 04:49:48 +00:00
Steve Checkoway eff97a098e Revert. I should be calling Reset() instead. 2006-09-08 04:49:40 +00:00