Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway 0e06bf54b4 xml -> lua. Not tested. 2007-05-21 00:14:13 +00:00
Steve Checkoway bfb3a52be6 xml -> lua. These could probably be BitmapText, if they scale well, that is. 2007-05-20 23:57:59 +00:00
Steve Checkoway 97987f5ae8 xml -> lua 2007-05-20 23:46:30 +00:00
Steve Checkoway 88b6bb5159 xml -> lua. I am not sure why this text is not just a Bitmap text. Some of the graphics need to be scaled back too. 2007-05-20 22:54:06 +00:00
Steve Checkoway ebb7a7a91d Fix Player judgments. 2007-05-20 22:20:50 +00:00
Steve Checkoway 1dd699f78e Load but set visible to false. 2007-05-19 22:36:37 +00:00
Steve Checkoway 15515d466b Move into Actors. 2007-05-19 22:20:50 +00:00
Steve Checkoway 3632a20c5b Revert. This is the wrong way to do it. 2007-05-19 22:20:32 +00:00
Steve Checkoway b5aecac462 revert. 2007-05-19 22:20:04 +00:00
Steve Checkoway 2ccaa568da Only show the score frames for enabled players. 2007-05-19 22:17:15 +00:00
Steve Checkoway c2f99f83cd Do not just set visible to false, do not even load the graphic unless the player is human. 2007-05-19 22:04:40 +00:00
Steve Checkoway 3329d87c51 xml -> lua. 2007-05-19 21:58:22 +00:00
Steve Checkoway 4f29dd5508 Flip heads and tails when reverse. 2007-05-17 08:34:17 +00:00
Steve Checkoway 66894d80ed CRASH_HANDLER is always defined for OS X. Make sure that we _exit() after fatal signals. (Initialize the crash handler while I'm at it since that's likely to be needed for the x86 crash handler, which I can't really write without an x86.) 2007-05-16 08:07:49 +00:00
Steve Checkoway 11262ae912 Use GoToURL since HOOKS is set up by this point. 2007-05-16 08:02:01 +00:00
Steve Checkoway 2b46dbc74a Fix backwards. 2007-05-16 07:48:14 +00:00
Steve Checkoway ad23ae70ed Fix warning about not having any options selected and no fallback set. 2007-05-16 07:02:05 +00:00
Steve Checkoway 6a30575bbd Fix comment and header guards. 2007-05-16 06:50:00 +00:00
Steve Checkoway fe46839027 Cleanup. 2007-05-15 08:19:08 +00:00
Steve Checkoway 6a665f43fb Generic tween on/off. 2007-05-13 03:42:31 +00:00
Steve Checkoway e5c803d24c The stats are reset in BeginStage(). Fixes a crash if you fail the first song since the stats are reset so it tries to go to SEvalSummary. 2007-05-13 03:41:13 +00:00
Steve Checkoway 0a9979e507 Bind Flush(). A wait to step through lua would really be great. 2007-05-13 03:07:18 +00:00
Steve Checkoway 78d78d7e4a Missed commit. Update the OS X release process. 2007-05-13 00:32:40 +00:00
Steve Checkoway fe516372cf Partial revert. I'm not sure what I was thinking. The first argument is the binary run. 2007-05-12 23:17:12 +00:00
Steve Checkoway 153fe902d6 const. 2007-05-12 21:33:35 +00:00
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