Commit Graph

27538 Commits

Author SHA1 Message Date
Colby Klein 73f3c134f8 This was reverted by one of the last few commits, it should be there. 2009-01-05 08:07:33 +00:00
Rob Campbell 1c87ce4db1 transition work part II, and some other small touchups 2009-01-05 07:06:40 +00:00
Steve Checkoway f6edbc8a28 Only subscribe to PlayerJoined a single time. 2009-01-05 07:00:49 +00:00
Steve Checkoway a15f9e4968 Add IsSubscribedToMessage() 2009-01-05 07:00:29 +00:00
Steve Checkoway dbca9eedf6 Revert. IF is a macro, if is a conditional statement. Furthermore, casting to an unsigned 32 bit integer on a 64 bit machine causes the the x<0 to always be false. But since there is a comma, the "bad integer" was evaluating to a nonzero address and so the conditional was always true and the empty statement would be executed. That is wrong. 2009-01-05 06:17:44 +00:00
Rob Campbell 503999eedc Add some screen transitions 2009-01-05 05:54:37 +00:00
Colby Klein 786c340c47 Remove metrics for deleted screens (ScreenSelectStyle, ScreenSelectDifficulty, ScreenSelectGroup). 2009-01-04 22:59:55 +00:00
Colby Klein e3c623bc39 Update ScreenSelectPlayer when a player joins. This prevents it from crashing if the cursor has not been moved. 2009-01-04 21:57:56 +00:00
Rob Campbell be4eef5e05 Fix a compile error 2009-01-04 20:33:15 +00:00
Colby Klein b4c7ab6eb9 Add metric to show/hide skip display in stats. 2009-01-03 13:10:34 +00:00
Colby Klein 3764146303 Only display the video renderer in stats on Windows. Mac OS and Linux only have OpenGL available so this doesn't matter. 2009-01-02 21:44:45 +00:00
Colby Klein 42fd54048e Fix compile. 2009-01-02 01:43:48 +00:00
Colby Klein 708093a745 Cleanup 2009-01-01 23:48:05 +00:00
Colby Klein b44c4dd92d Fix percent 2009-01-01 07:22:16 +00:00
Colby Klein 90c26e3164 Allow selecting up to 400% rate (this is particularly useful for transitions). 2008-12-31 07:38:28 +00:00
Colby Klein c1bec5d876 Add semicolons (for consistency) 2008-12-31 01:08:04 +00:00
Steve Checkoway d4209f54ce We have inttypes.h and we want the standard format macros. 2008-12-27 01:17:49 +00:00
Steve Checkoway 382dad70a1 On a 64 bit machines, uint32_t is promoted to unsigned int when compared with 0 and cannot ever be negative. cast it to int32_t first to force sign extension when comparing with 0. 2008-12-26 23:28:04 +00:00
Steve Checkoway 19e1c8bb4e Fix format strings. 2008-12-26 23:23:18 +00:00
Steve Checkoway 2258f21c2d Include inttypes.h, if we have it, and use the standard format macro PRIi64 if it is defined. 2008-12-26 23:21:20 +00:00
Steve Checkoway fc59d1f853 Constant format string. 2008-12-26 13:24:00 +00:00
Steve Checkoway b19f2fba56 Comparison is always false on x86_64. 2008-12-26 13:00:35 +00:00
Steve Checkoway 0132ef996b Fix possible crash with non constant format string. 2008-12-26 12:59:04 +00:00
Steve Checkoway fa7d3e5141 The first of these was correct, the second was actually incorrect, so fix and simplify. 2008-12-26 12:57:13 +00:00
Steve Checkoway 595a0f85d8 Gcc assumes that I do not know order of operation of && and ||, so add parentheses to silence warnings. 2008-12-26 12:37:29 +00:00
Steve Checkoway 45c642ec28 Fix issues on x86_64 where unsigned is not large enough to hold RString::npos and so the comparison is always false. Gcc would have been free to optimize that away. Not sure if it did or not. 2008-12-26 12:34:46 +00:00
Steve Checkoway a6b0a78d98 Use constant format string. 2008-12-26 12:33:29 +00:00
Steve Checkoway ef7749175e Initialize in the correct order. 2008-12-26 12:32:48 +00:00
Steve Checkoway 05a5a33cda Initialize in the correct order. 2008-12-26 12:32:14 +00:00
Steve Checkoway 436f6f48ec Initialize in the correct order. 2008-12-26 12:31:57 +00:00
Steve Checkoway b831f1d405 Without the do, this is a block followed by the no op statement "while(false){}". The breaks were thus breaking out of the outer loop. 2008-12-26 12:30:49 +00:00
Steve Checkoway 887174fcd3 Make sure all of the crash data is written. Also silences annoying gcc warning. execve takes char *const[] as arguments so copy magic parameter. I think that is a standards bug, personally. 2008-12-26 12:23:34 +00:00
Steve Checkoway 7f2d87315d Er, actually doing it correctly this time. 2008-12-26 12:11:00 +00:00
Steve Checkoway a92c75880a Handle failed and partial writes correctly. 2008-12-26 12:07:29 +00:00
Steve Checkoway 97024035e8 Fix spacing issues. Who wrote this code? Why is there no copyright? 2008-12-26 12:03:06 +00:00
Steve Checkoway 70be48e225 Fix possible crash converting to RString. 2008-12-26 11:51:03 +00:00
Steve Checkoway e47215222d Fix warning. 2008-12-26 11:48:20 +00:00
Steve Checkoway 0c83062440 Fix warnings about untested return value for system and nonconstant format string with no arguments for Throw. 2008-12-26 11:46:47 +00:00
Steve Checkoway e57268a9a9 Make ffmpeg stop complaining. 2008-12-26 11:38:47 +00:00
Steve Checkoway dc144f9ad0 Silence warning by doing something with the return value. 2008-12-26 11:36:21 +00:00
Steve Checkoway 8f46ca3b0c Fix warning on x86_64. 2008-12-26 11:11:48 +00:00
Steve Checkoway f630359630 Fix lua error. 2008-12-26 08:52:22 +00:00
Steve Checkoway af4c632f26 Pass PlayerNumber argument. 2008-12-26 08:51:52 +00:00
Steve Checkoway 1509d09ad4 Check that there is actually an argument at that position before attempting to do something with it. 2008-12-26 08:50:47 +00:00
Steve Checkoway a0d35509d3 Add gamma to release. 2008-12-26 03:51:35 +00:00
Steve Checkoway bd1284d43c Add new mac models, used for debug info. It would be really handy if this information could be gotten programatically. 2008-12-26 03:41:54 +00:00
Colby Klein 967ed29eaa Add myself to credits. 2008-12-24 04:14:14 +00:00
Colby Klein fa31e8d187 Broadcast more specific messages when switching songs on the MusicWheel. 2008-12-23 08:18:47 +00:00
Steve Checkoway c4b751ef02 Unnecessary includes. 2008-12-23 02:46:50 +00:00
Steve Checkoway 264121edb8 Remove BLAS stuff. These matrices are too small for this to be useful. 2008-12-23 02:42:10 +00:00