Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway b1a7a883d6 Force gcc to inline these functions. This should help satisfy the constraints for the instructions that take immediate arguments. 2007-05-10 18:35:24 +00:00
Steve Checkoway f86bc2e24e Revert. 2007-05-08 18:37:13 +00:00
Steve Checkoway e7562b27a3 Add LW_Null.h. 2007-05-08 18:36:51 +00:00
Steve Checkoway 30b7cb3311 Start implementing render targets for OS X. Mostly just copying of the linux code so far. 2007-05-08 13:14:34 +00:00
Steve Checkoway 96026cade1 Remove LoadingWindow_Null.h 2007-05-08 12:15:20 +00:00
Steve Checkoway b723042427 Unneeded. 2007-05-08 12:14:44 +00:00
Steve Checkoway 53b5a1f5e2 Having a separate class which does nothing is no better than just having the base class do nothing. Remove LW_Null. 2007-05-08 12:14:21 +00:00
Steve Checkoway 2853fd09fc Make SetText pure virtual instead of Paint(). 2007-05-08 12:06:50 +00:00
Steve Checkoway 961e2008fa Unused header. 2007-05-08 11:57:28 +00:00
Steve Checkoway a0077d5f22 Just poking around at code because I can't sleep. 2007-05-08 11:53:39 +00:00
Steve Checkoway 73577f4178 C header file, not C++. Just fixes syntax highlighting in Xcode. 2007-05-08 11:30:31 +00:00
Steve Checkoway b8c95a7938 Increment argv to skip the process serial number in the arguments list passed to SM_main. Also, "-psn_" has 5 characters. 2007-05-08 11:29:39 +00:00
Steve Checkoway 60350ee449 Missed cleanup commit. 2007-05-08 06:42:13 +00:00
Steve Checkoway c6d598ad60 Cleanup. 2007-05-08 06:41:51 +00:00
Steve Checkoway c5fb5593ac If two threads call vssprintf at the same time, it is possible for bInitialized to be set before actually setting bExactSizeSupported. Set bInitialized after setting bExactSizeSupported to avoid this. 2007-05-06 17:59:11 +00:00
Steve Checkoway c8c9a14507 If we have thrown on another thread, crash, but don't lose the error. (It will be buried at the end of the log, but no one really looks there.) 2007-05-06 17:45:44 +00:00
Steve Checkoway 1ce1b46814 Simplify. 2007-05-06 17:42:11 +00:00
Steve Checkoway 7eaacb3ef1 We cannot use RageException::Throw() from a thread. Assert instead. Plus, this isn't a user error. 2007-05-06 17:39:13 +00:00
Steve Checkoway a341d98591 Simplify. 2007-05-05 23:21:58 +00:00
Steve Checkoway fba31da4e6 Fix crash for courses. 2007-05-05 11:16:40 +00:00
Steve Checkoway fb7553a2c0 Add GetGradeForTrail(). 2007-05-05 11:16:07 +00:00
Steve Checkoway 7d90dc3967 Removed use of UNLOCKMAN inside an UnlockManager member function. 2007-05-05 11:13:24 +00:00
Steve Checkoway f9dbb386d7 Do not use SONGMAN inside SongManager member functions. This one actually was using it inside const functions. 2007-05-05 11:12:34 +00:00
Steve Checkoway 0aa7e6e5e2 Removed uses of TEXTUREMAN inside TextureManager member functions. 2007-05-05 11:11:23 +00:00
Steve Checkoway cd791f9239 Remount depends on FILEMAN existing so make it nonstatic. Removed uses of FILEMAN from RageFileManager member functions. 2007-05-05 11:10:46 +00:00
Steve Checkoway 497126b655 Removed uses of LUA from LuaManager member functions. 2007-05-05 11:09:37 +00:00
Steve Checkoway 6072fb29cc Functions in singletons that depend on the singleton having been created should not be static. Removed uses of GAMESTATE inside GameState member functions. 2007-05-05 11:08:50 +00:00
Steve Checkoway 227ae779da Don't use PROFILEMAN inside ProfileManager. At best, you're just referring to this, at worst, you're throwing away the constness. 2007-05-05 10:34:28 +00:00
Steve Checkoway 726de6f23f Remove dead code and fix indenting. "hurk"? 2007-05-05 06:50:47 +00:00
Steve Checkoway c6e054a78b Unused. 2007-04-29 23:18:42 +00:00
Steve Checkoway eb2761f521 This is in progress, apparently, but silence warnings for now. 2007-04-29 23:18:31 +00:00
Steve Checkoway 5a602a6fa2 Compute the file path cache one time. 2007-04-28 08:59:00 +00:00
Steve Checkoway 3945856c37 Move to GlobalSingletons. 2007-04-28 08:34:27 +00:00
Steve Checkoway e34b60b989 Add files. 2007-04-26 07:03:19 +00:00
Steve Checkoway 3ddb737cf2 Put SMData.smzip in Packages. Install SM as a directory into the bindir. I could not think of a better place. If you want to specify /usr/games, then build with --bindir=/usr/games, or if using the build.sh script, ./build.sh -- --bindir=/usr/games, see ./build.sh --help for details. 2007-04-24 09:27:07 +00:00
Steve Checkoway e161979b42 Add files and set stepmania and GtkModule.so to not be installed. We will do this manually from the top level Makefile. 2007-04-24 09:24:29 +00:00
Steve Checkoway 04d4f0447e Do not use datadir at Glenn's behest. Look for Packages as well as Songs so that this can be installed with the data in Packages. 2007-04-24 09:21:34 +00:00
Steve Checkoway 270f537b74 Fix build. 2007-04-24 08:56:05 +00:00
Steve Checkoway 777e89c0a7 Pointers to member functions requires &. 2007-04-24 08:39:08 +00:00
Steve Checkoway cb6b092431 Install the whole Data directory. 2007-04-24 00:38:16 +00:00
Steve Checkoway 25d66981ec Mount StepMania.app/Contents/Resources/SMData.smzip, if it exists. This makes SM installable as a single drag and drop application bundle. 2007-04-23 06:27:02 +00:00
Steve Checkoway 6d21c77474 make dist will now correctly make a source tarball which will also contain the SMData.smzip. 2007-04-23 06:25:08 +00:00
Steve Checkoway acb88e2f91 Look in the application directory and in DATADIR for SMData.smzip. This way the distributed binary can be run its directory or if compiled from source, the data may be installed and we will look there instead. For development, of course, SMData.smzip should not be installed as we should be using the files in Themes and so forth. One easy way to insure that is to set the prefix somewhere like /tmp when developing so that it will look for /tmp/share/stepmania\ cvs/SMData.smzip, which will not exist. 2007-04-23 06:23:27 +00:00
Steve Checkoway 3e53607dbd Use the new forms of AC_INIT and AM_INIT_AUTOMAKE. Do not bother defining the package and version variables, we do that ourself. Add the datadir to the CPPFLAGS. 2007-04-23 06:18:23 +00:00
Steve Checkoway 9f9b4403d9 Perl script to package up the default data into SMData.smzip. 2007-04-23 06:10:29 +00:00
Steve Checkoway 4c614ae701 The file drivers are one of the few things that can be accessed before LOG is set up, guard all accesses. 2007-04-23 05:52:51 +00:00
Steve Checkoway 9681c7fb3f Then stick it some place it only gets included for the Windows build. 2007-04-23 02:54:42 +00:00
Steve Checkoway 96ad156980 The last of the missing files. 2007-04-22 08:42:42 +00:00
Steve Checkoway aad8662bdb This is not unique to Linux. 2007-04-22 07:00:19 +00:00
Steve Checkoway 27049d68fd Remove unneeded include. 2007-04-22 06:30:12 +00:00
Steve Checkoway 507842fe52 Add/remove files. 2007-04-22 05:17:45 +00:00
Steve Checkoway 3d11ecd137 Style cleanup. 2007-04-22 00:14:36 +00:00
Steve Checkoway 9e186e22bc Load commands. 2007-04-22 00:06:50 +00:00
Steve Checkoway 5529b25ea9 static. 2007-04-22 00:02:32 +00:00
Steve Checkoway eb4246df82 Spacing cleanup and static. 2007-04-22 00:01:59 +00:00
Steve Checkoway f224db5ce6 Load the commands. Not tested. 2007-04-21 23:51:24 +00:00
Steve Checkoway 2d6c04e4f3 One ON_COMMAND is probably enough. 2007-04-21 23:51:08 +00:00
Steve Checkoway ad4cf84255 Maybe fix compile on windows. (Part III) 2007-04-21 23:20:36 +00:00
Steve Checkoway ebe44e87e3 Revert. 2007-04-21 23:16:04 +00:00
Steve Checkoway 3d9cfcd130 String, not boolean. 2007-04-21 23:15:18 +00:00
Steve Checkoway d152259801 Remove /. Also use a font that exists. 2007-04-21 22:27:17 +00:00
Steve Checkoway 7f7d798cc0 Simplify. 2007-04-21 22:08:15 +00:00
Steve Checkoway 15b259f4f5 Remove LoadInternal. 2007-04-21 22:01:31 +00:00
Steve Checkoway 734ad88eb0 Unneeded headers. 2007-04-21 21:58:27 +00:00
Steve Checkoway bfd7e70d2d Const. 2007-04-21 21:54:37 +00:00
Steve Checkoway 13ee0302db The code uses MaxSongs. I was not sure which to change. 2007-04-21 21:41:15 +00:00
Steve Checkoway 4270b68356 Maybe fix compile on windows. (Part II) 2007-04-21 21:20:39 +00:00
Steve Checkoway 5222d704f8 Maybe fix compile on windows. (How is it that it's 2007 and VC still doesn't support c99?) 2007-04-21 20:59:26 +00:00
Steve Checkoway e29505ba7a Fix warning. 2007-04-21 20:58:22 +00:00
Steve Checkoway 4295093cd9 Speed the music scroll up. 2007-04-21 20:41:57 +00:00
Steve Checkoway a805778002 Extra stage mods were swapped. 2007-04-21 20:29:21 +00:00
Steve Checkoway 1e99c68e8b Make the compiled bytecode more portable by requiring that the generic int sizes be 32 bits. In addition, swap 32 bit ints and 64 bit doubles as needed. 2007-04-21 20:08:12 +00:00
Steve Checkoway a87cc6a80a The language does not depend on librt. 2007-04-21 19:46:55 +00:00
Steve Checkoway 8bc650fbaf CollapsePath thinks that .. is a file name. Add a slash to convince it otherwise. 2007-04-20 08:02:53 +00:00
Steve Checkoway 5a7d251465 Add configure option to build lua and luac. Disable by default. 2007-04-20 05:52:33 +00:00
Steve Checkoway 2d2c294e11 Fix compile on Linux. 2007-04-20 05:50:11 +00:00
Steve Checkoway d712d086bb Remove references to a nonexistant readme. Real information should probably be maintained somewhere. 2007-04-20 04:07:00 +00:00
Steve Checkoway a5b5ebaa66 Comment. 2007-04-20 03:53:33 +00:00
Steve Checkoway 53e0736f1e These weren't added to both targets. 2007-04-19 10:45:23 +00:00
Steve Checkoway af5f399f33 Add files. 2007-04-19 10:28:28 +00:00
Steve Checkoway 92fff09378 Fix compile. Judging by the name of the function, it is possible this should be checking all memory cards, not just the ones for pn. I am not sure so this is only temporary until Glenn reappears. 2007-04-19 10:17:20 +00:00
Steve Checkoway 2468ded99d Use real 32 bit integers. 2007-04-19 10:06:53 +00:00
Steve Checkoway 78a233d669 Unused. There is a similarly named one that is used. 2007-04-19 10:05:42 +00:00
Steve Checkoway 2453b0fa80 String, not integer. 2007-04-19 10:05:10 +00:00
Steve Checkoway 1f71dc3241 Fix possible crash while crashing (yes, that's right). Fix format warning. 2007-04-17 08:12:53 +00:00
Steve Checkoway 6415e8651a Files should be relative to the enclosing group, not the project. 2007-04-17 08:05:46 +00:00
Steve Checkoway a09220ebae Remove files. 2007-04-10 16:24:27 +00:00
Steve Checkoway 31174bded7 Make the div hide, not the table. Add newlines. 2007-04-09 03:37:58 +00:00
Steve Checkoway ce90152ab6 Do not persist ScreenGameplaySyncMachine. Init() needs to be called every time. 2007-04-08 23:56:03 +00:00
Steve Checkoway fa949c78e4 Don't play ready/go/failed/toasty/next song twice. I believe that since GenericTweenOn() returns true, BeginScreen() will run On on the entire screen. 2007-04-08 23:19:49 +00:00
Steve Checkoway 9f458bd62b Only load the commands once. 2007-04-08 22:48:25 +00:00
Steve Checkoway 8e2e7aefb9 No cheating. 2007-04-08 22:40:30 +00:00
Steve Checkoway cba7fe4362 Partial revert since firefox cannot seem to handle xml -> xhtml but it can handle xml -> html. 2007-04-08 10:42:37 +00:00
Steve Checkoway a5e1825914 It seems all I needed to do was change onClick to onclick and it is xhtml 1.0 strict. 2007-04-08 10:16:44 +00:00
Steve Checkoway 6c8f1992ac Add mostly empty documentation file. It should contain enough information to figure out how to add documentation to other lua functions. 2007-04-08 10:08:31 +00:00
Steve Checkoway 626e4a94dc Read LuaDocumentation.xml and add the documentation to the output file. Also, output HTML 4.01 strict. I would like xhtml 1.0 at some point, but it does not really matter. 2007-04-08 10:06:46 +00:00
Steve Checkoway 8aa8d9c144 Modify xml schema to support function documentation. 2007-04-08 10:04:49 +00:00
Steve Checkoway ec2f600056 Expand the class when clicking on a link for it. 2007-04-08 01:03:13 +00:00
Steve Checkoway 7f61fdcbc3 Simplify. I had no idea I could use {@name}. 2007-04-08 00:57:00 +00:00
Steve Checkoway 7487b2c933 Fix getting base class. 2007-04-08 00:26:52 +00:00