Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway 431f13437b Unused otherwise. 2006-05-05 09:41:23 +00:00
Steve Checkoway 49d51f0a53 Remove file. 2006-05-05 09:41:16 +00:00
Steve Checkoway 7124e3360a Add MachineId(). 2006-05-05 09:27:26 +00:00
Steve Checkoway 2f95767104 Year. 2006-04-29 11:41:33 +00:00
Steve Checkoway 53f0531bba Reimplement without using Cocoa. Put crashinfo.txt into ~/Library/Logs/PRODUCT_ID along with log.txt and info.txt. 2006-04-29 11:38:49 +00:00
Steve Checkoway 414e2313a8 Reimplement without using Cocoa. 2006-04-29 09:44:02 +00:00
Steve Checkoway cb4c2f5c53 Cleanup. 2006-04-29 09:26:45 +00:00
Steve Checkoway 6869d2f0ba Implement GoToURL(). 2006-04-29 08:36:43 +00:00
Steve Checkoway 9350fe2427 Fix warnings. 2006-04-29 08:35:50 +00:00
Steve Checkoway 16c000665a Remove old files. 2006-04-26 05:14:41 +00:00
Steve Checkoway f2b10c2441 Remove unused search paths. 2006-04-07 07:39:41 +00:00
Steve Checkoway c7131c1b8c Use ~/Library/Preferences instead of ~/Library/Application Support. 2006-04-06 05:55:58 +00:00
Steve Checkoway e13fc56198 Initial linux ppc backtrace implementation. 2006-04-05 00:49:56 +00:00
Steve Checkoway 61363eff0b Use Frame*. 2006-03-29 11:21:44 +00:00
Steve Checkoway 8195572649 If we don't have gtk on linux, use the Null loading window, don't throw an exception. 2006-03-29 07:01:01 +00:00
Steve Checkoway 1a240d3b6c Cleanup. 2006-03-28 14:37:40 +00:00
Steve Checkoway 79fdd16a55 Add CrashHandlerInternal.cpp, remove libresample. 2006-03-28 14:31:14 +00:00
Steve Checkoway 5e898497d2 Add file. 2006-03-28 14:26:35 +00:00
Steve Checkoway 81afe152ec Oops, two changes in that last commit. Don't have the child kill the parent any longer. This doesn't work when gdb is tracing. Why is the parent waiting for the child anyway? It shouldn't really matter that much if the child is signaled.
Also, why doesn't RunCrashHandler call _exit()? ForceDeadlock() calls _exit() after RunCrashHandler(), but ForceCrash does not, it has to go back to sm_crash() before _exit() is called. It's all very mysterious at 6:30 am.
2006-03-28 14:26:22 +00:00
Steve Checkoway 746261d8bd Split out itoa, SignalName, and SignalCodeName. All of these are macros, so testing for them directly is okay (at least on OS X and linux). If some other system doesn't implement them as macros, then checks for them can be added to the configure.ac script.
All of these can be called under crash conditions.
2006-03-28 14:20:57 +00:00
Steve Checkoway 6d001dc761 Leave Save in Application Support, put Cache and Logs in Library, and put screenshots in Documents/PRODUCT_ID Screenshots. 2006-03-28 14:16:56 +00:00
Steve Checkoway 30624ab737 No optimizations in any Debug builds. 2006-03-28 10:02:19 +00:00
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