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 |
|
Steve Checkoway
|
0506ca384b
|
Flush all input events after the dialog box closes. Without this, pressing return to close the dialog box sends an event (usually menu start or equivalent).
|
2006-09-08 04:12:22 +00:00 |
|
Steve Checkoway
|
8c3f4cebba
|
Allow flushing of queued input events.
|
2006-09-08 04:10:47 +00:00 |
|
Steve Checkoway
|
18b047fd94
|
Accept input from P2 if it is expected.
|
2006-09-08 02:07:19 +00:00 |
|
Steve Checkoway
|
1636443da5
|
Don't overwrite LCTRL.
|
2006-09-08 01:50:59 +00:00 |
|
Steve Checkoway
|
faf32603f1
|
Consistent user warnings.
|
2006-09-04 08:09:27 +00:00 |
|
Steve Checkoway
|
dae47979ea
|
Change the UserLog() to output a more consistent message.
|
2006-09-04 08:09:05 +00:00 |
|
Steve Checkoway
|
1ebea3ccf5
|
Cleanup.
|
2006-09-04 05:26:34 +00:00 |
|
Steve Checkoway
|
b791ce0c4c
|
Safe casts.
|
2006-09-03 05:53:53 +00:00 |
|
Steve Checkoway
|
72aa78003c
|
Fix memory leak. See stepmania-devs.
|
2006-09-03 05:43:36 +00:00 |
|
Steve Checkoway
|
808c8019d6
|
Simplify.
|
2006-09-03 05:24:24 +00:00 |
|
Steve Checkoway
|
9954228e17
|
Cleanup.
|
2006-09-03 05:19:46 +00:00 |
|
Steve Checkoway
|
4606d68fdf
|
Move warnings meant for the user to userlog.txt. These are as inconsistent in format as before but at least they're all in one place.
|
2006-09-03 05:16:09 +00:00 |
|
Steve Checkoway
|
c6eb78a3cf
|
Add a file for user warnings, userlog.txt. Until now, these types of warnings have either been cluttering info.txt or buried in log.txt where no sane user would want to look.
|
2006-09-03 05:14:18 +00:00 |
|
Steve Checkoway
|
fe7a3e8127
|
Do not remove these files. It is not even always the same location that they'd be written.
|
2006-09-03 03:48:56 +00:00 |
|
Steve Checkoway
|
d47dd07956
|
Cleanup. HOOKS isn't used.
|
2006-09-03 03:45:05 +00:00 |
|
Steve Checkoway
|
d95d230875
|
Remove unused files.
|
2006-09-03 03:03:27 +00:00 |
|
Steve Checkoway
|
c2fc8b1fc1
|
Add two debugging asserts. http://sourceforge.net/tracker/index.php?func=detail&aid=1550127&group_id=37892&atid=421366
|
2006-09-03 02:29:11 +00:00 |
|
Steve Checkoway
|
0df9785a79
|
Fix input strangeness. I don't understand the rational for setting mp when GAMESTATE->m_bMultiplayer is false, but this preserves that changing Game, Style, and Menu inputs when it is false.
|
2006-09-03 02:01:43 +00:00 |
|
Steve Checkoway
|
96804e2db5
|
Last beat hint and floating point validation text.
|
2006-09-02 23:31:44 +00:00 |
|
Steve Checkoway
|
5af590ccba
|
Allow setting the last beat hint in the editor.
|
2006-09-02 23:27:46 +00:00 |
|
Steve Checkoway
|
dd71daeee4
|
Validation function for floating point values.
1
2.3
-4.5
-8.2e-10
are all valid.
|
2006-09-02 23:27:27 +00:00 |
|
Steve Checkoway
|
dc98ba4190
|
StringToFloat overload. Returns true if the entire string is a valid, finite float.
|
2006-09-02 23:26:07 +00:00 |
|
Steve Checkoway
|
b939bdec8e
|
Add a last beat hint. The real last beat will be at least as long as the hint.
|
2006-09-02 22:22:57 +00:00 |
|
Steve Checkoway
|
9613079a92
|
static
|
2006-09-02 21:19:32 +00:00 |
|
Steve Checkoway
|
7f3f7b4d6f
|
Add the dance pad and the character as children so they tween fade along with the screen.
|
2006-09-02 20:59:06 +00:00 |
|
Steve Checkoway
|
74ad63769f
|
fromString -> FromString
toString -> ToString const
|
2006-09-02 20:24:39 +00:00 |
|
Steve Checkoway
|
cff13747a6
|
Cleanup.
|
2006-09-02 20:17:17 +00:00 |
|
Steve Checkoway
|
136915b798
|
Simplify.
|
2006-09-02 19:50:59 +00:00 |
|
Steve Checkoway
|
6b1aa1514b
|
Simple optimization, avoids allocating memory unnecessarily.
|
2006-09-02 19:49:46 +00:00 |
|
Steve Checkoway
|
4f52b37aec
|
Singleton.
|
2006-09-02 19:35:52 +00:00 |
|
Steve Checkoway
|
4300663c5e
|
Simplify. DeviceInputs are equal if their InputDevice and DeviceButton are equal.
|
2006-09-02 19:34:54 +00:00 |
|
Steve Checkoway
|
a379ad2c29
|
Const.
|
2006-09-02 19:33:49 +00:00 |
|
Steve Checkoway
|
818626a270
|
Add a patch to compile with altivec correctly. (Patch is up at http://stepmania.sf.net/ffmpeg-0.4.9-pre1-altivec.patch .)
|
2006-09-02 09:49:54 +00:00 |
|
Steve Checkoway
|
6fc2fbbc88
|
Bump.
|
2006-09-02 06:12:45 +00:00 |
|
Steve Checkoway
|
a2975d3e4f
|
Write award#.
|
2006-09-02 06:12:14 +00:00 |
|
Steve Checkoway
|
1d28ee0e42
|
Allow per song life gain. Conform to the DWI syntax, even though it is ugly.
|
2006-09-02 06:06:15 +00:00 |
|
Steve Checkoway
|
4239a8cf7c
|
Cleanup.
|
2006-09-02 06:05:17 +00:00 |
|
Steve Checkoway
|
ee1d3212af
|
Revert. Screens should not maintain state across BeginScreen().
|
2006-09-01 08:32:28 +00:00 |
|
Steve Checkoway
|
cc7e78d058
|
Only restart the options the first time BeginScreen is called. If you want the options restarted, call it explicitly. This combined with grouping of options screens allows for a much more intuitive options interface. Hunting for the one option you need is already hard enough, being forced to keep scrolling down every time you back out of one of the option screens is beyond annoying.
|
2006-09-01 08:19:44 +00:00 |
|
Steve Checkoway
|
aa77643b3e
|
Use dwarf instead of stabs. (I'm not sure this actually does anything, maybe if building a debug build using gcc 4.)
|
2006-09-01 08:15:29 +00:00 |
|
Steve Checkoway
|
176eb8aa5a
|
Group and persist option screens but do not preload any of them.
|
2006-09-01 08:14:10 +00:00 |
|
Steve Checkoway
|
37dc530c0a
|
Don't rebuild the vector of human players for each row.
|
2006-09-01 07:46:37 +00:00 |
|
Steve Checkoway
|
763738cafa
|
Const.
|
2006-09-01 07:46:08 +00:00 |
|
Steve Checkoway
|
deacf2cffc
|
Newline.
|
2006-09-01 03:06:22 +00:00 |
|
Steve Checkoway
|
076205f683
|
Bind.
|
2006-09-01 03:05:47 +00:00 |
|