Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway a649cce9a6 Disable the real time critical sections, it's causing audio problems on single processor machines. 2006-03-28 02:06:06 +00:00
Steve Checkoway 0766c4bf25 How did that happen? 2006-03-25 10:12:10 +00:00
Steve Checkoway 9fc2026e23 oops 2006-03-25 09:27:25 +00:00
Steve Checkoway bb1d5d4c05 Fix iFPS != 0 assertion, at least when a nonzero rate is returned. (Not sure what LCD displays will report.) 2006-03-20 19:59:11 +00:00
Steve Checkoway 568cc67a5b Allow disabling ffmpeg. 2006-03-20 19:01:19 +00:00
Steve Checkoway 7488850bb4 fix strtof check 2006-03-20 18:42:11 +00:00
Steve Checkoway 003adafdec Something about UB, c++, precompiled prefix headers, and -gfull fails so no strip dead code in universal binaries. 2006-03-20 18:37:58 +00:00
Steve Checkoway 4ca585dc01 npos. 2006-03-20 08:39:24 +00:00
Steve Checkoway c3e74bbecc Oops. 2006-03-20 08:06:51 +00:00
Steve Checkoway c1f2256399 Update...something. 2006-03-20 07:59:17 +00:00
Steve Checkoway acbfd4224f Use OS X text converter, not iconv (trying to keep the code base the same no matter for which arch it is compiling). 2006-03-20 07:58:42 +00:00
Steve Checkoway 003cb4baa6 OS X text converter. 2006-03-20 07:56:18 +00:00
Steve Checkoway b330d744fa Fix warning. 2006-03-20 07:27:46 +00:00
Steve Checkoway 8597aa1bd6 Old commit. 2006-03-20 06:53:17 +00:00
Steve Checkoway bb1b56aed4 BSD 2006-03-20 06:52:06 +00:00
Steve Checkoway f7c28cb43b This seems wrong. The test for TLS should not set HAVE_TLS if it is not supported. 2006-03-20 06:50:37 +00:00
Steve Checkoway 3a304b1a41 BSD stuff. Some of this seems like it should be in its own file... 2006-03-20 06:46:19 +00:00
Steve Checkoway 988e1729f9 Namespace 2006-03-20 06:45:58 +00:00
Steve Checkoway 01ec5db85a Do not rely on gnu coreutils and find. 2006-03-20 06:41:58 +00:00
Steve Checkoway c5b491ab62 Check for BSD. 2006-03-20 06:40:33 +00:00
Steve Checkoway b0a9165a57 NetBSD 2006-03-20 06:38:23 +00:00
Steve Checkoway 0b81507b2e Use iconv appeared some point after 10.2.8 but with the broken BSD headers. 2006-03-20 06:12:51 +00:00
Steve Checkoway 4861bc0949 Handle broken iconv headers (BSD and derivatives). ICONV_CONST is defined in config.h by the autotools, if HAVE_ICONV is defined, define ICONV_CONST to either const or leave it empty for other OSes. 2006-03-20 06:11:47 +00:00
Steve Checkoway 5d9ab0982b Fix warnings about possibly being used uninitialized. 2006-03-20 06:09:00 +00:00
Steve Checkoway b7b28f2435 Only Linux needs this. Nearly every other OS put it in stdlib.h (or stdlib.h includes alloca.h as needed). My stdlib.h in linux includes it if any of __USE_GNU, __USE_BSD, or __USE_MISC is defined. 2006-03-20 05:25:13 +00:00
Steve Checkoway 26741978ad This is not supposed to be in CVS. 2006-03-20 05:21:59 +00:00
Steve Checkoway 8166dbcc2d Unused. 2006-03-19 06:19:55 +00:00
Steve Checkoway 40b44ee6b8 Fix attacks not working properly with random songs in the editor. 2006-03-19 01:59:42 +00:00
Steve Checkoway 77a8b6ab61 Use EditMode_CourseMods and remove hack from ScreenEdit. 2006-03-19 01:20:42 +00:00
Steve Checkoway bd58e1661e Add return type. 2006-03-19 00:58:26 +00:00
Steve Checkoway c4835e0adb Revert. Reloading is a hack and shouldn't be part of the API. 2006-03-18 13:26:01 +00:00
Steve Checkoway dd3206c4fc Play invalid sound. 2006-03-18 13:24:31 +00:00
Steve Checkoway f648efa84e Add string. 2006-03-18 13:23:38 +00:00
Steve Checkoway 80fdf6d8eb group/persist/etc 2006-03-18 13:23:18 +00:00
Steve Checkoway a79329daa3 Only rebuild the option rows when they've actually changed. 2006-03-18 11:28:41 +00:00
Steve Checkoway 1d45c8a0fd For non-fixed songs find the longest non-tutorial song and use that for picking mods. Something isn't quite right with ScreenEdit though (it doesn't display existing attacks so you can add attacks but you cannot remove them, global mods can be modified normally). 2006-03-18 11:13:22 +00:00
Steve Checkoway 95c756f9e5 ReloadScreen(). 2006-03-18 11:02:56 +00:00
Steve Checkoway 2dcdea5467 Add ReloadScreen(). 2006-03-18 11:02:20 +00:00
Steve Checkoway 1b0c19d442 Copy code from RageThreads.cpp. 2006-03-18 09:22:56 +00:00
Steve Checkoway cd45684d48 Warn on bad backgrounds. 2006-03-18 09:17:20 +00:00
Steve Checkoway 678c74e7c1 Fix warning. 2006-03-18 08:43:15 +00:00
Steve Checkoway 3faa5ad4f2 If it's a random entry, rather than doing nothing, open ScreenPlayerOptions and set modifiers for the entry. It's less clear how attacks should be handled...so don't.
Strange things happen with second player. I'll look at it later.
2006-03-14 11:39:35 +00:00
Steve Checkoway d113837cd4 Consider attacks to be at the same time if they are less than 1 ms apart. 2006-03-14 08:51:12 +00:00
Steve Checkoway 811c4d8b09 Work on course editor.
1. Press v to place an attack at the current location or to modify an existing attack.
2. With a selection, press m to place an attack for the duration of the selection or to modify an existing attack's duration.
3. With only the start of a selection, press m to place an attack extending to the end of the song or to ... (you get the idea).
4. With no selection, press m to set modifies for the course entry. This could go away if we stop having modifiers and just attacks that encompass the entire song (in which case it would act the same but add an attack rather than modifiers).
5. Is anyone still reading this?
2006-03-14 08:41:16 +00:00
Steve Checkoway 4f0c3e36de Don't rely on the trail here since a particular entry might not be in any given trail. Try hard to get the specific st/cd combination, if all else fails, get any valid, non-autogenerated steps.
Also reset the course and trail when anything changes to update overlays.
2006-03-14 08:33:49 +00:00
Steve Checkoway b7d8e85741 Use the more robust names for the enum rather than the brittle corresponding integer values. 2006-03-14 03:48:46 +00:00
Steve Checkoway d4f3329c5a Modify the StringToX macro to emit a template specialization of the (new) T StringTo<T>(const RString& s) function. Doing this allows a general ThemeMetricEnum class which instead of reading an int will now read a string and then call the appropriate StringToX function via the StringTo<X> function.
Currently the only thing which uses ThemeMetricEnum is the EditMode enums. As a result, this breaks the EditMode=n (for n in 0..2) metrics (which I just broke with the previous commit anyway). That commit coming shortly.
2006-03-14 03:47:43 +00:00
Steve Checkoway 0c52c3698c Add EditModeToString and StringToEditMode. 2006-03-14 03:39:38 +00:00
Steve Checkoway abca5e5a78 View this as utf-8. 2006-03-14 03:37:20 +00:00
Steve Checkoway 00ddde56ba Revert. 2006-03-12 23:53:31 +00:00
Steve Checkoway 9a6a581e14 Const. 2006-03-12 23:42:50 +00:00
Steve Checkoway 3e9c9141fe Fix declared extern and then redeclared static warning. 2006-03-12 23:39:54 +00:00
Steve Checkoway 3481196347 Songs can be in any of the following formats:
*
song
group/*
group/song
If we read in "song" don't write out "group/song". If we read in "group/song" make sure we set the course entry's group name.
2006-03-12 09:10:31 +00:00
Steve Checkoway 3511392d6d Make this public. 2006-03-12 09:06:31 +00:00
Steve Checkoway 17847941ba Remove unused. 2006-03-12 00:48:19 +00:00
Steve Checkoway 8b5b59ac93 Use ScreenEdit. 2006-03-12 00:46:30 +00:00
Steve Checkoway 14d737a085 Working on course mod editor. Add new edit mode. 2006-03-12 00:45:18 +00:00
Steve Checkoway 6a0106ef56 When loading course entries that specify a song, fill out the song group too. 2006-03-12 00:35:55 +00:00
Steve Checkoway cbd67ed683 Fix debugging. 2006-03-12 00:19:25 +00:00
Steve Checkoway dd2857c70f Fix define. 2006-03-11 22:06:20 +00:00
Steve Checkoway 7e0d36ae5f Simplify. 2006-03-11 21:35:12 +00:00
Steve Checkoway d0b0ab2543 Cleanup. 2006-03-11 21:32:29 +00:00
Steve Checkoway 8ebe2c4563 Add Secret. 2006-03-10 23:56:45 +00:00
Steve Checkoway 233bf29cee Add Secret row to mark course entries as hidden. 2006-03-10 23:55:58 +00:00
Steve Checkoway 1530f4c4fe Cleanup. 2006-03-10 23:50:40 +00:00
Steve Checkoway 9e7ba6ff9d Fix Checkobug 1: If we cannot go full screen unless we have focus. 2006-03-10 23:21:37 +00:00
Steve Checkoway 61b3768b22 Cleanup. 2006-03-10 22:32:20 +00:00
Steve Checkoway bbc1fee1a7 Add metric. 2006-03-10 22:29:14 +00:00
Steve Checkoway f40d23227c Fix crash on random entry. Add metric to hide the mods row. 2006-03-10 22:29:05 +00:00
Steve Checkoway 587fca151c Unused. 2006-03-09 09:42:16 +00:00
Steve Checkoway 4bea77fca9 Missing string. 2006-03-07 19:39:48 +00:00
Steve Checkoway 778025184c More editor work. Pressing \ cycles through steps/difficulties and updates the meter value for the particular difficulty. 2006-03-05 03:52:00 +00:00
Steve Checkoway 373d226dd7 Partial revert. This ended up not needing to be global. 2006-03-04 11:40:41 +00:00
Steve Checkoway c23e9f2e88 Mostly functional course editor. (It's not pretty, but then I have no ability/experience with graphics/metrics.) You can create, edit, and delete courses. I'm not sure about setting mods yet. 2006-03-04 10:27:09 +00:00
Steve Checkoway cef0c4cebb Const. 2006-03-04 10:24:50 +00:00
Steve Checkoway 4bd0599906 Set the path when loading from an edit. 2006-03-04 10:23:50 +00:00
Steve Checkoway 0e4899d83b Explicit. 2006-03-04 10:19:27 +00:00
Steve Checkoway 2ff53582a1 Fix crashes when using the second player.
Use the master player number for everything except setting the current trail which needs to be PLAYER_1 because there are different messages for each player's trail changing. Perhaps that should change at some point.
2006-03-04 02:34:01 +00:00
Steve Checkoway 1214a91649 SetHasFocus if we are the active application when the LLW is created, otherwise if the user switches to a different application before LLW is brought on screen then input is still registered (because we're bypassing the standard event model and getting the events directly from the hardware).
Also, ensure that the actual video mode params are set at all times and that the rate parameter is never zero.
2006-03-03 11:57:38 +00:00
Steve Checkoway 380d55d3de German. 2006-03-02 06:00:26 +00:00
Steve Checkoway c425e718d9 Localize crash button. 2006-03-02 05:48:11 +00:00
Steve Checkoway df1a6ca90a I think it's supposed to be conjugated in Italian and thus is not mostrare. However it is not conjugated in, "Non mostrare più questo messaggio," literally, "Not to show anymore this message." 2006-03-02 05:19:58 +00:00
Steve Checkoway 529fc86893 Babelfish. Can anyone check this? 2006-03-02 05:01:47 +00:00
Steve Checkoway ffffa58e70 Spanish menu items seem to use the infinitive, so use mostrar as well. 2006-03-02 04:55:38 +00:00
Steve Checkoway a618c19f06 Use localized strings in the OS X dialog driver. Still don't have any clue what "Don't show again" might be in various languages. 2006-03-02 04:28:13 +00:00
Steve Checkoway 1898a7f612 Include the strings file. 2006-03-02 04:24:25 +00:00
Steve Checkoway 6102e01d8f Add strings in various languages. Use 2 character codes for all of them. 2006-03-02 04:24:02 +00:00
Steve Checkoway 829ad0d1d9 Fix compile. 2006-03-02 03:32:28 +00:00
Steve Checkoway bb1f0be90c If the joystick is a Para controller, attempt to power it on using SetReport(). [Not tested.] 2006-02-27 00:45:22 +00:00
Steve Checkoway bcb239a7be Add SetReport. 2006-02-27 00:44:30 +00:00
Steve Checkoway a63a1284fa Return -1 if no InputDevice numbers can be assigned to logical devices. 2006-02-27 00:21:14 +00:00
Steve Checkoway 5a916de95b Use -1 as a sentinel. 2006-02-27 00:20:18 +00:00
Steve Checkoway 58fc707fdb Other window titles and menu items refer to PRODUCT_FAMILY, being consistent. 2006-02-26 03:16:52 +00:00
Steve Checkoway 0661f37f9c Update. The file Info.plist file is cached, it's easiest to just delete stepmania/PBProject/build and rebuild. 2006-02-26 03:14:29 +00:00
Steve Checkoway 3f9ed65afd Fix backing out of manage profiles. 2006-02-26 00:11:17 +00:00
Steve Checkoway 3e72c0e002 Fix pump pad support. Second player untested but seems likely to work. 2006-02-25 14:58:14 +00:00
Steve Checkoway 4c836c9da7 Working on course editor. 2006-02-25 09:33:23 +00:00
Steve Checkoway 53e36d2e42 Course editor metrics. 2006-02-25 09:32:27 +00:00
Steve Checkoway 99046ebd9f Add missing entries. 2006-02-25 09:31:38 +00:00
Steve Checkoway 5515dcf3ee Very simple overlay, mostly to help while working on the course editor. 2006-02-25 09:31:10 +00:00