Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway fa40d68c24 Missing metric. I am not sure what this is for or why I decided on false. Fix as needed. 2007-02-27 07:14:16 +00:00
Steve Checkoway e507e06144 sys/param.h should define BSD. 2007-02-25 15:23:44 +00:00
Steve Checkoway 2f80580882 sys/param.h should define BSD on bsd systems. Do not redefine it. 2007-02-25 15:22:22 +00:00
Steve Checkoway 2758771b1f Fix compile. 2007-02-25 14:37:32 +00:00
Steve Checkoway 596b5cf14d Possible compile fix for netbsd. 2007-02-25 14:20:34 +00:00
Steve Checkoway fced7b7a83 Fix warning. 2007-02-25 09:19:54 +00:00
Steve Checkoway 2afb681aea GetHighScoreForDifficulty -> GetHighGradeForDifficulty. 2007-02-25 07:02:27 +00:00
Steve Checkoway bf77a61057 Store the highest song grade in the HighScoreList. 2007-02-25 06:59:27 +00:00
Steve Checkoway 0f58d743f9 Spelling in a comment. 2007-02-25 05:01:58 +00:00
Steve Checkoway 2bfc4f77e5 Up to date libraries. Also link ffmpeg against the zlib we build. 2007-02-23 12:40:56 +00:00
Steve Checkoway ac17e6c8af I do not know what it cannot just use the same file, but it cannot, so stick in the copy. 2007-02-23 12:07:03 +00:00
Steve Checkoway 090cf465e2 Update README. 2007-02-23 12:00:56 +00:00
Steve Checkoway a1764ff913 Use static zlib. I could have it only use this for the ppc build and use the system one for i386 since that one is new enough, but I can't test that so I won't. 2007-02-23 11:58:33 +00:00
Steve Checkoway 5dc3c39603 Build zlib since the 10.2.8 sdk has a version that is too old. 2007-02-23 11:56:58 +00:00
Steve Checkoway a06dc00e7a Simplify. 2007-02-23 11:32:54 +00:00
Steve Checkoway 2faaa7518a GetCurThreadName -> GetCurrentThreadName to match GetCurrentThreadID. 2007-02-23 10:35:00 +00:00
Steve Checkoway 03ee27cf21 We can't throw exceptions except on the main thread. 2007-02-23 10:25:53 +00:00
Steve Checkoway 6ed2dcf230 Export GetInvalidThreadID() through RageThreads.h, rather than arch/Threads/Thread.h (via GetInvalidThreadId(), lowercase d). 2007-02-23 10:24:51 +00:00
Steve Checkoway 3b2e02d5fe Error() reinits the Dialog. Shut it down afterward. 2007-02-23 10:12:56 +00:00
Steve Checkoway a7cadaa835 Simplify. 2007-02-23 09:01:11 +00:00
Steve Checkoway 7ca0f5996b Unused. 2007-02-23 08:35:48 +00:00
Steve Checkoway 3c3fc0aaac Unused. 2007-02-23 08:09:49 +00:00
Steve Checkoway 65b279ce89 Misclick. 2007-02-22 19:36:58 +00:00
Steve Checkoway dca5f7a223 Add files. 2007-02-22 19:34:57 +00:00
Steve Checkoway f0c7d92fb5 Revert glSwapInterval since it does not actually do what I thought it did. Re-enable nVidia hack. 2007-02-20 22:28:52 +00:00
Steve Checkoway 0355d0cd80 missing metric 2007-02-19 04:25:18 +00:00
Steve Checkoway a0dfa4d06a Do this in metrics instead. 2007-02-19 04:25:07 +00:00
Steve Checkoway 8f18ee731d Stacked screens do not have a PrevScreen, they get popped. Fixes dialog box popping up after pressing escape at ScreenTextEntry. 2007-02-19 03:36:51 +00:00
Steve Checkoway 68420be177 Wide character. 2007-02-19 03:35:36 +00:00
Steve Checkoway bbbe762ee7 Update sm icon. 2007-02-19 01:18:55 +00:00
Steve Checkoway 0e7eed7637 Style. 2007-02-18 11:15:31 +00:00
Steve Checkoway cef0c5ea30 Header cleanup. 2007-02-18 10:19:31 +00:00
Steve Checkoway dc56558137 Sort extension list. 2007-02-18 07:30:58 +00:00
Steve Checkoway ede9c95a5e Simplify. 2007-02-18 07:12:24 +00:00
Steve Checkoway 0bc8d2c9bb This is ridiculous. I've cleaned up over a thousand lines of this code and I'm tired of it. I'd enumerate our code guidelines again, but the last n times had no effect. 2007-02-17 13:45:11 +00:00
Steve Checkoway 76040c2280 Simplify. 2007-02-17 13:20:14 +00:00
Steve Checkoway bf585ff477 This isn't calling the base ctor (that has already happened before RoomWheelData's ctor is called), this is creating a new WheelItemBaseData and then throwing it away. 2007-02-17 13:14:28 +00:00
Steve Checkoway 515bb3b263 Style to match the rest of the code. 2007-02-17 13:03:59 +00:00
Steve Checkoway bcbb72cfe0 MakeItem returns a MusicWheelItem*. 2007-02-17 13:03:27 +00:00
Steve Checkoway 5e8cead0f1 Crop life bar images. 2007-02-17 10:50:42 +00:00
Steve Checkoway 708f35f4b4 Pull this out of the header. It is not intended to be used by anything else. 2007-02-17 09:37:40 +00:00
Steve Checkoway be0b69ceb4 Missing quotes. 2007-02-17 08:52:17 +00:00
Steve Checkoway ba031ed6f8 Hush. 2007-02-16 10:21:53 +00:00
Steve Checkoway c3ac86cbc8 Use LoadFont 2007-02-16 09:23:20 +00:00
Steve Checkoway 92fd82b630 RString no longer allows NULL. (I have no idea how it took me so long to catch this.) 2007-02-16 07:28:43 +00:00
Steve Checkoway 19a65d889d Year. 2007-02-14 12:36:43 +00:00
Steve Checkoway ebbe1200f5 Foo::Bar. 2007-02-14 12:30:38 +00:00
Steve Checkoway 61ae8c3c1b NotesLoader is just a namespace. If you want to load a particular directory, there's no need to create a specialized loader, just call NotesLoader::LoadFromDir(). 2007-02-14 12:26:36 +00:00
Steve Checkoway c827907980 Cleanup. 2007-02-14 12:24:58 +00:00
Steve Checkoway 65d2149605 Unused. 2007-02-14 12:23:10 +00:00
Steve Checkoway 90a611387f Unused for some reason I haven't determined. 2007-02-14 11:57:24 +00:00
Steve Checkoway 4c70d12f90 BMSLoader is now stateless. 2007-02-14 11:48:55 +00:00
Steve Checkoway 75e1089900 Remove m_sDir. It seems like passing sDir to LoadFromDir is pointless since it should already be set in out.GetSongDir(), or is that a bug? Shouldn't SetSongDir() be called? 2007-02-14 11:43:24 +00:00
Steve Checkoway 41ef86d162 Working toward stateless loader. 2007-02-14 11:35:14 +00:00
Steve Checkoway 5de8b7d052 pOut -> out. 2007-02-14 11:17:13 +00:00
Steve Checkoway 649d24f780 Reference not pointer. 2007-02-14 11:16:11 +00:00
Steve Checkoway 45038b7216 Working toward stateless loader. 2007-02-14 11:15:02 +00:00
Steve Checkoway 80aaa5fbb9 Working toward stateless loader. 2007-02-14 11:09:20 +00:00
Steve Checkoway cdf80af9b9 Cleanup and style. 2007-02-14 10:57:26 +00:00
Steve Checkoway e9efc9fda9 Remove all state. 2007-02-14 10:55:36 +00:00
Steve Checkoway d4cd093daf These are also not member variables. If you only need a value in a function, just make it a local variable. 2007-02-14 10:50:13 +00:00
Steve Checkoway cb57db0d03 These are just local variables. 2007-02-14 10:44:54 +00:00
Steve Checkoway 598e602bd9 Style. 2007-02-14 10:27:02 +00:00
Steve Checkoway 11eec4b0f8 Merge these. 2007-02-14 10:26:30 +00:00
Steve Checkoway 68cc42acc8 Move closer to being stateless. (It still uses its superclass's data.) 2007-02-14 10:22:55 +00:00
Steve Checkoway 1b2c9da350 Don't create a loader. 2007-02-14 10:09:05 +00:00
Steve Checkoway 6c8ddaec73 Make this stateless. 2007-02-14 10:08:19 +00:00
Steve Checkoway 5b0a13dccc Header cleanup and spacing. 2007-02-14 09:33:31 +00:00
Steve Checkoway f92f1b8e4b This function is already compiled. The string value is empty. This fixes the ScreenCredits crash. 2007-02-13 12:55:11 +00:00
Steve Checkoway a95661e9c8 Unused. 2007-02-13 12:19:29 +00:00
Steve Checkoway be00e6897b One of these is enough. 2007-02-13 12:18:31 +00:00
Steve Checkoway 415fb9506c Oops. Diff first, then commit. 2007-02-13 11:41:39 +00:00
Steve Checkoway 926828eb55 Fix *nix launching through the $PATH variable. 2007-02-13 11:41:04 +00:00
Steve Checkoway 8a8faf7d76 Fix color. I removed the diffusealpha command since it looks like this can be done directly with color. If this is incorrect, I hope someone will fix it. 2007-02-13 09:51:29 +00:00
Steve Checkoway ec31f8c1ec update release script. 2007-02-12 06:55:16 +00:00
Steve Checkoway 02fd0dc140 Not virtual. 2007-02-12 04:44:05 +00:00
Steve Checkoway d3c116a178 Separate song and player mods. Set fall off for Battle. 2007-02-11 04:47:16 +00:00
Steve Checkoway 38cd50ffcc Separate song and player mods. 2007-02-11 04:46:45 +00:00
Steve Checkoway 1cb3fdc3d9 Separate forced song and player mods. 2007-02-11 04:46:30 +00:00
Steve Checkoway 923aba9d40 Bind GetDefaultSongOptions. 2007-02-11 04:22:32 +00:00
Steve Checkoway ccef45d77f We have assets here. No need for a dummy file to keep the directory from being pruned any longer. 2007-02-11 02:29:21 +00:00
Steve Checkoway b88d415b52 Style. 2007-02-11 01:51:44 +00:00
Steve Checkoway 80140f2168 atomic writes. 2007-02-11 01:30:51 +00:00
Steve Checkoway 2d1cd1de50 When changing resolutions, SwitchThemeAndLanguage was being called after clearing all subscribes but STAL wasn't reloading them because nothing had changed. Reload them explicitly if the theme doesn't change.
I'm not sure what the rationale behind taking this code path for changing the resolution as it seems to have nothing to do with the theme.
2007-02-11 01:19:30 +00:00
Steve Checkoway 735d9bfac5 flat has not been updated. 2007-02-11 00:37:15 +00:00
Steve Checkoway b3d52febb4 PowerPC linux build. 2007-02-09 01:13:51 +00:00
Steve Checkoway 450ebed713 Remove timing code. There is likely more to optimize here. The current break down for time spent is, 51.9% in XmlFileUtil::SaveToFile (all of that in GetXMLInternal), 23.7% in RadarValues::CreateNode (with half of that in ssprintf alone!), 12.8% in XNode::Free and the rest is spread around pretty evenly. For reference, before these changes, it was taking about 3.5 seconds to write my catalog.xml and now it's taking under 1.5 (that's .8 seconds for writing and .5 for creating the XNodes for Songs, if anyone was wondering). 2007-02-04 13:36:16 +00:00
Steve Checkoway 424f04219b Simplify. There is no need for a SAFE_DELETE since attribute and children data structures are clear()ed. 2007-02-04 13:23:24 +00:00
Steve Checkoway eebc1e9f3c Simplify. 2007-02-04 10:57:09 +00:00
Steve Checkoway 69b4f62a7a No need for this to be split out. 2007-02-04 10:49:42 +00:00
Steve Checkoway 6f312b4810 Put StepMania.app in the main directory no matter what the configuration is. (I'm not sure how this got changed.) 2007-02-04 10:45:25 +00:00
Steve Checkoway 6d2fa387d8 Cut xml writing time down by a third for catalog.xml by not concatenating strings before calling Write. 2007-02-04 10:44:45 +00:00
Steve Checkoway 169d7c8b44 Greatly decrease time to write catalog.xml by pulling THEME->GetMetricB out of the inner loop and passing it along to RadarValues. (Also don't copy the vector of Song*.) The time to generate the XNode for Songs was cut down by a fifth (from 2.5 seconds to .5 seconds for me, fully optimized). 2007-02-04 09:35:02 +00:00
Steve Checkoway e17ccc6bdb Allow quitting before creating the main window. 2007-02-04 08:17:22 +00:00
Steve Checkoway 6223d48554 Copyright years. 2007-02-04 08:15:47 +00:00
Steve Checkoway 5e15696c59 Yes. 2007-02-04 08:07:26 +00:00
Steve Checkoway ea316d22a0 The version_time variable is itself const. I.e., constant pointer to constant data. 2007-02-04 02:08:25 +00:00
Steve Checkoway 113a4f0eca extern const as per c++98 7.1.5.2. 2007-02-04 02:04:30 +00:00
Steve Checkoway af16c8df97 Use the perl script. 2007-02-04 01:35:54 +00:00
Steve Checkoway ae8f79a2ed Do not call perl from a bash script. Whatever required this before as since been fixed. 2007-02-04 01:35:37 +00:00