Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway 7580e3d9bf Fix for pre 10.4 2005-11-12 23:10:13 +00:00
Steve Checkoway ad26458081 Fix compile on OS X. 2005-11-12 03:59:24 +00:00
Steve Checkoway 67477db9f2 Don't show version number here. 2005-11-10 07:09:48 +00:00
Steve Checkoway c0056e546a Use a different api for this. 2005-11-08 06:04:09 +00:00
Steve Checkoway 69452209e3 SM 2005-11-07 09:51:01 +00:00
Steve Checkoway 5f2a151e9f hmm 2005-11-07 09:49:57 +00:00
Steve Checkoway 164555ac24 No debugging! 2005-11-07 09:49:18 +00:00
Steve Checkoway 90e4e1b039 Update. 2005-11-07 09:45:30 +00:00
Steve Checkoway 3e3ae3f34f Remove files I haven't finished writing from the build and fix the libjpeg header search path. 2005-11-04 12:56:12 +00:00
Steve Checkoway c45ef95e27 unused 2005-11-04 12:53:32 +00:00
Steve Checkoway e56e3551dd Write the bundle path for a particular version into the users preferences. 2005-11-04 09:23:15 +00:00
Steve Checkoway 45bdf1f517 This is supposed to "[take] the form of a Java package name, com.foosoft." 2005-11-04 07:47:02 +00:00
Steve Checkoway bafc4797a2 Use correct define. 2005-11-04 07:43:33 +00:00
Steve Checkoway 937721f718 Slight change to ProductInfo.h. Now just enter the strings without quotes in the PRODUCT_{NAME,VER}_BARE defines but still use PRODUCT_{NAME,VER} or PRODUCT_NAME_VER in the code.
Use PRODUCT_{NAME,VER}_BARE in the Info.plist instead of having to hand code that for every release (and forgetting for about a third of them).
2005-11-02 09:18:39 +00:00
Steve Checkoway 7042ab88f5 cleanup 2005-10-31 22:00:26 +00:00
Steve Checkoway 4df02ed98d cleanup 2005-10-31 21:28:53 +00:00
Steve Checkoway 8bb2254628 cleanup 2005-10-31 20:37:34 +00:00
Steve Checkoway 5d56e7e154 Cleanup, ensure that the stack finding functions are not inlined. 2005-10-31 20:37:18 +00:00
Steve Checkoway cc189a7e5d Update. 2005-10-31 03:24:52 +00:00
Steve Checkoway 57830f22ff Add separator between "Show All" and "Quit StepMania". 2005-10-31 03:09:02 +00:00
Steve Checkoway ed5fa87584 Fix spelling. 2005-10-31 03:03:53 +00:00
Steve Checkoway 33fb76772f Remove hack. 2005-10-31 02:30:22 +00:00
Steve Checkoway 9ef6cff623 cleanup 2005-10-31 01:56:42 +00:00
Steve Checkoway 8221c2f20d Let SM play nice with OS X's headers. 2005-10-31 01:56:15 +00:00
Steve Checkoway f89319f256 Fix warnings. 2005-10-31 01:55:05 +00:00
Steve Checkoway 784a073764 Quit is now handled by a menu key equivalent. 2005-10-31 00:51:06 +00:00
Steve Checkoway cdcf01470d Exclude from Window menu. 2005-10-31 00:49:40 +00:00
Steve Checkoway d87989bb8c Handle key equivalents in menus. 2005-10-31 00:47:58 +00:00
Steve Checkoway b6df02af4c Cannot use FOREACH here since --song is not valid for the first element. 2005-10-31 00:32:30 +00:00
Steve Checkoway 7a3887c1c1 Fix crash. 2005-10-30 23:59:12 +00:00
Steve Checkoway 2ca163bf00 oops 2005-10-30 13:53:10 +00:00
Steve Checkoway 3cb0889324 Fix ppc linux compile. 2005-10-30 13:11:15 +00:00
Steve Checkoway 91c38af1f7 Add/remove files. 2005-10-30 09:47:11 +00:00
Steve Checkoway 8d56d70e0f Move ExitGame into GameLoop.h. 2005-10-30 09:45:52 +00:00
Steve Checkoway 33c0408ca2 Move ExitGame into GameLoop.h 2005-10-30 09:45:39 +00:00
Steve Checkoway eea687a01a Fix warning. 2005-10-30 09:44:25 +00:00
Steve Checkoway 74bfe9f8a2 License. 2005-10-30 08:53:21 +00:00
Steve Checkoway c576663c15 Add cursor hack since SDL_ShowCursor fails. Also, prevent resizing the window. 2005-10-30 08:51:02 +00:00
Steve Checkoway 5ff545cbf2 Use setNeedsDisplay: since I think display: should only be called from the GUI thread. 2005-10-30 08:38:03 +00:00
Steve Checkoway 962652291d Cleanup. 2005-10-30 08:36:10 +00:00
Steve Checkoway 950e10c761 remove 2005-10-30 07:13:20 +00:00
Steve Checkoway a867e5a301 Replace SDLMain.* This still class SDL_main(), for now. 2005-10-30 07:09:56 +00:00
Steve Checkoway abf7399207 Apparently some DWIs use a tab for a separator. 2005-10-29 14:57:04 +00:00
Steve Checkoway ad6191e6d9 If you tell gcc to consider floating point constants as single precision (since that's most of what's used in SM), it warns here. This just shuts it up. 2005-10-29 13:04:07 +00:00
Steve Checkoway 4ce7d47899 Cleanup. 2005-10-29 12:22:43 +00:00
Steve Checkoway 3c0deebeba Actor::DrawPrimitives() does nothing. 2005-10-29 11:38:23 +00:00
Steve Checkoway e41570a8f8 Cleanup and simplify. 2005-10-28 14:21:23 +00:00
Steve Checkoway c4195979f3 Clean up a bit, remove useless code. Some work needs to be done to fix up the menu bar situation. 2005-10-28 08:07:53 +00:00
Steve Checkoway 42f4598f50 Add license. 2005-10-28 08:05:32 +00:00
Steve Checkoway 1726efed12 GetPreferredLanguage. 2005-10-28 08:04:44 +00:00
Steve Checkoway fd28146428 Fix beeps by just not posting keydown events. 2005-10-28 05:40:37 +00:00
Steve Checkoway c6c04d8c6b Remove out of date comment, cleanup. 2005-10-25 02:53:35 +00:00
Steve Checkoway 04d79278d4 Cleanup. Fix beeping when pressing certain keys while windowed. It still beeps in full screen and command key presses beep all the time.
I need to just replace SDL entirely to fix this. LowLevelWindow is all that remains.
2005-10-24 13:41:01 +00:00
Steve Checkoway 7280c1ccb3 Simplify. 2005-10-24 13:39:10 +00:00
Steve Checkoway fcff93222e Get the product description. 2005-10-24 12:46:25 +00:00
Steve Checkoway 55f9fe93be *shurg* it thinks they're newer. 2005-10-24 12:29:48 +00:00
Steve Checkoway 878247f51d Update. (I hope this adds the shell script phase to fix problems with ranlib.) 2005-10-24 11:46:48 +00:00
Steve Checkoway 8310140755 Set new arbitrary values with the input handler above the sound decoder. 2005-10-24 11:40:43 +00:00
Steve Checkoway ff9f7d25c5 Test having SM not run in the main thread. This is most noticeable during the loading window since events are still processed.
It's possible that this causes problems if something in SDL or SM absolutely must be run in the main thread. One thing to consider is lowering the main thread's precedence.
2005-10-24 11:29:34 +00:00
Steve Checkoway 10688caf8e Use SetThreadPrecedence(). 2005-10-24 11:21:46 +00:00
Steve Checkoway 05201a047c Header cleanup. Use SetThreadPrecedence() and add potential replacement code for GetCurrentTime(). 2005-10-24 11:21:17 +00:00
Steve Checkoway a1e97116b5 Cleanup and add SetThreadPrecedence(). 2005-10-24 11:18:28 +00:00
Steve Checkoway 2e84aba3a4 The new OS X input driver returns F13 for the F13 key. It might decide to return print screen for non-apple keyboards depending on the keyboard. Support both and keep cmd-F12 for laptops. 2005-10-24 11:18:01 +00:00
Steve Checkoway aa0f90feae __MACOSX__ --> MACOSX, keep __MACOSX__ for ogg. 2005-10-24 10:37:56 +00:00
Steve Checkoway 35ad7eb289 Support preferred sample rates and report the latency more correctly. 2005-10-24 08:55:25 +00:00
Steve Checkoway 5156e4cbf5 Cleanup. 2005-10-24 08:19:04 +00:00
Steve Checkoway cb229a8774 Remove redundant defines. 2005-10-24 08:17:12 +00:00
Steve Checkoway 3f93a76b21 Header cleanup. 2005-10-24 07:37:38 +00:00
Steve Checkoway 532b115aa6 Remove unnecessary. (Funny comment though.) 2005-10-24 06:51:20 +00:00
Steve Checkoway a2c1b1443d Cleanup. 2005-10-24 05:28:38 +00:00
Steve Checkoway 5d41ae8076 Update Library project. 2005-10-23 09:54:37 +00:00
Steve Checkoway 7888f7b53d Add theora. 2005-10-23 09:53:14 +00:00
Steve Checkoway e1ba368806 Update project file. 2005-10-23 09:52:29 +00:00
Steve Checkoway 1a78603d2a Add static libs. 2005-10-23 09:51:52 +00:00
Steve Checkoway 836762c977 update 2005-10-19 21:39:27 +00:00
Steve Checkoway 58323e3387 Use InputHandler_Carbon 2005-10-19 21:21:55 +00:00
Steve Checkoway 268b4007f8 Finish InputHandler_Carbon and use it. 2005-10-19 21:12:18 +00:00
Steve Checkoway 298925586e oops. 2005-10-19 20:25:12 +00:00
Steve Checkoway 9d6b0890a5 Work on keyboard handler. Nearly there. 2005-10-19 11:23:21 +00:00
Steve Checkoway 0257336607 Some sort of project update. 2005-10-19 07:25:55 +00:00
Steve Checkoway 85e0e3a1ec Prepare code for adding a KeyboardDevice by putting common code into a Device abstract class. 2005-10-18 09:00:53 +00:00
Steve Checkoway fd65b7e34e Cleanup, the carbon events aren't being dispatched so this will be done in the same way as the joysticks. 2005-10-18 07:48:02 +00:00
Steve Checkoway d070a41916 Cruft. 2005-10-17 11:53:20 +00:00
Steve Checkoway 19631fe280 Add Input thread. Remove DictValue since I managed to break it converting from a macro to a static inline function. That took about an hour to track down. 2005-10-17 11:04:31 +00:00
Steve Checkoway 944b1dd231 Cleanup. 2005-10-17 07:04:26 +00:00
Steve Checkoway 01d315364a Fix gcc (3.3) compile. 2005-10-17 06:55:58 +00:00
Steve Checkoway 849980cf74 Uglify. Ignore 80 column rule without going too far past.
Use inline functions instead of the two macros. No other nonspacing changes.
2005-10-16 23:09:00 +00:00
Steve Checkoway a0c117cd52 Initial input manager. The HID code works (so joysticks work) but the Carbon event handler is not being called. I might need to completely remove SDL first, or I might need to use some other API.
I'd rather not do this with HID, for fairly obvious reasons.
2005-10-15 07:30:16 +00:00
Steve Checkoway c7891c158b Fix memory leak. 2005-10-15 03:39:14 +00:00
Steve Checkoway 1e404783b9 Fix warnings. 2005-10-15 03:25:42 +00:00
Steve Checkoway 1150c33a57 Cleanup. 2005-10-14 07:20:14 +00:00
Steve Checkoway 74788af655 Fix compile (but not link--see list) on PPC linux. 2005-10-08 11:56:36 +00:00
Steve Checkoway 2a188c4ddd Add files. 2005-10-03 20:26:17 +00:00
Steve Checkoway 6ea0da1f43 Merge in changes from the 3.9 branch. 2005-10-03 20:26:00 +00:00
Steve Checkoway 186ed0f0ac It compiles but crashes with: Crash reason: ScreenNameEntry, ScreenMusicScroll, during ScreenNameEntry. 2005-09-26 08:10:04 +00:00
Steve Checkoway 594983dbdf Add/remove files, revert to gcc 3.3 and resume supporting 10.2.8. 2005-08-20 06:20:49 +00:00
Steve Checkoway 7f49cdd5ab Fix compile for 10.2.8. 2005-08-20 06:20:16 +00:00
Steve Checkoway 6289241cdb namespace pollution fix 2005-08-20 06:19:33 +00:00
Steve Checkoway d837282c96 Unneeded on OS X, it's in stdlib.h 2005-08-20 05:28:48 +00:00
Steve Checkoway 3447df45f0 Fix crash. 2005-08-19 21:55:46 +00:00